summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-08 10:12:40 +0000
committeradam <adam@pkgsrc.org>2017-10-08 10:12:40 +0000
commit54b706228453db2220809f4c1fabc65e5d824807 (patch)
tree3c14d7a6a4230cd884644b010a9ddb13ce5aeb41
parent64118c84739493380aaa55f28268f5903aa72cfb (diff)
downloadpkgsrc-54b706228453db2220809f4c1fabc65e5d824807.tar.gz
py-intervals: update to 0.8.0
0.8.0: - Added is_connected utility method - Made interval constructor throw IllegalArgument exception for intervals such as (a..a) - Fixed some edge cases with interval intersections - Fixed interval union
-rw-r--r--math/py-intervals/Makefile10
-rw-r--r--math/py-intervals/PLIST15
-rw-r--r--math/py-intervals/distinfo10
-rw-r--r--math/py-intervals/options.mk15
4 files changed, 20 insertions, 30 deletions
diff --git a/math/py-intervals/Makefile b/math/py-intervals/Makefile
index 34b426c2cf7..62fbc81faed 100644
--- a/math/py-intervals/Makefile
+++ b/math/py-intervals/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2017/09/16 19:26:59 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2017/10/08 10:12:40 adam Exp $
-DISTNAME= intervals-0.3.1
+DISTNAME= intervals-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/intervals/}
@@ -11,10 +11,12 @@ COMMENT= Tools for handling intervals (ranges of comparable objects)
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-infinity>=0.1.3:../../math/py-infinity
+BUILD_DEPENDS+= ${PYPKGPREFIX}-flake8>=2.4.0:../../devel/py-flake8
+BUILD_DEPENDS+= ${PYPKGPREFIX}-isort>=4.2.2:../../devel/py-isort
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pygments>=1.2:../../textproc/py-pygments
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test
USE_LANGUAGES= # none
-.include "options.mk"
-
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-intervals/PLIST b/math/py-intervals/PLIST
index b2891d3e54e..5e492c837c2 100644
--- a/math/py-intervals/PLIST
+++ b/math/py-intervals/PLIST
@@ -1,16 +1,19 @@
-@comment $NetBSD: PLIST,v 1.1 2014/07/05 19:33:17 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/08 10:12:40 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/intervals/exc.py
-${PYSITELIB}/intervals/exc.pyc
-${PYSITELIB}/intervals/exc.pyo
${PYSITELIB}/intervals/__init__.py
${PYSITELIB}/intervals/__init__.pyc
${PYSITELIB}/intervals/__init__.pyo
+${PYSITELIB}/intervals/exc.py
+${PYSITELIB}/intervals/exc.pyc
+${PYSITELIB}/intervals/exc.pyo
+${PYSITELIB}/intervals/interval.py
+${PYSITELIB}/intervals/interval.pyc
+${PYSITELIB}/intervals/interval.pyo
${PYSITELIB}/intervals/parser.py
${PYSITELIB}/intervals/parser.pyc
${PYSITELIB}/intervals/parser.pyo
diff --git a/math/py-intervals/distinfo b/math/py-intervals/distinfo
index ea206a0405f..f1cf6977e1f 100644
--- a/math/py-intervals/distinfo
+++ b/math/py-intervals/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 23:33:42 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/10/08 10:12:40 adam Exp $
-SHA1 (intervals-0.3.1.tar.gz) = cc52b6f3523528b4f21a0bd35f28e60d6d23fe2f
-RMD160 (intervals-0.3.1.tar.gz) = 97c2e5f64232de2aeb33aeaa0a0ed9a3ba875b36
-SHA512 (intervals-0.3.1.tar.gz) = 411af76c29c864fed27c74a2fb34500d0014c40edb2ad11218d67868f7cece2fed6f1e9105870c8d1f9e6b72288bd206cd208f07b1e1875e9cdd8565779571f4
-Size (intervals-0.3.1.tar.gz) = 11250 bytes
+SHA1 (intervals-0.8.0.tar.gz) = 04f8f38298006c8110f7c69a938790a321ce2b20
+RMD160 (intervals-0.8.0.tar.gz) = 5523894f1c8c13979a012762812f74f75087db84
+SHA512 (intervals-0.8.0.tar.gz) = 1953c9535c9d5dbf2080409000e9942b71416473d4856f6eb1e08e55576fce1e979d00563953afca59eed4a6ff8df2f52cf0557e88312416cf1294213e924c38
+Size (intervals-0.8.0.tar.gz) = 15193 bytes
diff --git a/math/py-intervals/options.mk b/math/py-intervals/options.mk
deleted file mode 100644
index ac22002d693..00000000000
--- a/math/py-intervals/options.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# $NetBSD: options.mk,v 1.1 2014/07/05 19:33:17 rodent Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.py-intervals
-PKG_SUPPORTED_OPTIONS= tests
-PKG_SUGGESTED_OPTIONS+= # blank
-
-.include "../../mk/bsd.options.mk"
-
-.include "../../lang/python/pyversion.mk"
-
-.if !empty(PKG_OPTIONS:Mtests)
-DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test
-DEPENDS+= ${PYPKGPREFIX}-pygments>=1.2:../../textproc/py-pygments
-DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
-.endif