pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-intervals py-intervals: update to 0.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8eba1145f68
branches:  trunk
changeset: 369930:c8eba1145f68
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Oct 08 10:12:40 2017 +0000

description:
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

diffstat:

 math/py-intervals/Makefile   |  10 ++++++----
 math/py-intervals/PLIST      |  15 +++++++++------
 math/py-intervals/distinfo   |  10 +++++-----
 math/py-intervals/options.mk |  15 ---------------
 4 files changed, 20 insertions(+), 30 deletions(-)

diffs (90 lines):

diff -r d4f143ec6554 -r c8eba1145f68 math/py-intervals/Makefile
--- a/math/py-intervals/Makefile        Sun Oct 08 09:44:13 2017 +0000
+++ b/math/py-intervals/Makefile        Sun Oct 08 10:12:40 2017 +0000
@@ -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 @@
 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 -r d4f143ec6554 -r c8eba1145f68 math/py-intervals/PLIST
--- a/math/py-intervals/PLIST   Sun Oct 08 09:44:13 2017 +0000
+++ b/math/py-intervals/PLIST   Sun Oct 08 10:12:40 2017 +0000
@@ -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/__init__.py
+${PYSITELIB}/intervals/__init__.pyc
+${PYSITELIB}/intervals/__init__.pyo
 ${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/interval.py
+${PYSITELIB}/intervals/interval.pyc
+${PYSITELIB}/intervals/interval.pyo
 ${PYSITELIB}/intervals/parser.py
 ${PYSITELIB}/intervals/parser.pyc
 ${PYSITELIB}/intervals/parser.pyo
diff -r d4f143ec6554 -r c8eba1145f68 math/py-intervals/distinfo
--- a/math/py-intervals/distinfo        Sun Oct 08 09:44:13 2017 +0000
+++ b/math/py-intervals/distinfo        Sun Oct 08 10:12:40 2017 +0000
@@ -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 -r d4f143ec6554 -r c8eba1145f68 math/py-intervals/options.mk
--- a/math/py-intervals/options.mk      Sun Oct 08 09:44:13 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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



Home | Main Index | Thread Index | Old Index