pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-intervaltree py-intervaltree: updated to 3.0.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c22543542ef5
branches:  trunk
changeset: 327617:c22543542ef5
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 04 22:56:59 2019 +0000

description:
py-intervaltree: updated to 3.0.2

Version 3.0.2
- Fixed:
  - On some systems, setup.py opened README.md with a non-unicode encoding. My fault for leaving the encoding flapping in the breeze. It's been fixed.

Version 3.0.1
- Added:
  - Travis testing for 3.7 and 3.8-dev. These needed OpenSSL, sudo and Xenial. 3.8-dev is allowed to fail.
- Fixed:
  - PyPI wasn't rendering markdown because I didn't tell it what format to use.
  - Python 2 wasn't installing via pip because of a new utils package. It has been zapped.
- Maintainers:
  - TestPyPI version strings use .postN as the suffix instead of bN, and N counts from the latest tagged commit, which should be the last release
  - Install from TestPyPI works via make install-testpypi

Version 3.0.0
- Breaking:
  - search(begin, end, strict) has been replaced with at(point), overlap(begin, end), and envelop(begin, end)
  - extend(items) has been deleted, use update(items) instead
  - Methods that take a strict=True/False argument now consistently default to strict=True
  - Dropped support for Python 2.6, 3.2, and 3.3
  - Add support for Python 3.5, 3.6, and 3.7
- Faster Interval overlap checking
- Updated README:
  - new restructuring methods from 2.1.0
  - example of from_tuples() added
  - more info about chop(), split_overlaps(), merge_overlaps() and merge_equals().
- Fixes:
  - Node.from_tuples() will now raise an error if given an empty iterable. This should never happen, and it should error if it does.
  - Interval.distance_to() gave an incorrect distance when passed the Interval's upper boundary
  - Node.pop_greatest_child() sometimes forgot to rotate() when creating new child nodes.
  - IntervalTree.begin() and end() are O(1), not O(n).
  - intersection_update() and symmetric_difference() and symmetric_difference_update() didn't actually work. Now they do.
  - collections.abc deprecation warning no longer happens
- Maintainers:
  - PyPi accepts Markdown! Woohoo!
  - reorganize tests
  - more tests added to improve code coverage (We're at 96%! Yay!)
  - test for issue 4 had a broken import reference

diffstat:

 devel/py-intervaltree/Makefile |  10 ++++++----
 devel/py-intervaltree/PLIST    |  16 ++++++++--------
 devel/py-intervaltree/distinfo |  10 +++++-----
 3 files changed, 19 insertions(+), 17 deletions(-)

diffs (72 lines):

diff -r e4e48c3fd768 -r c22543542ef5 devel/py-intervaltree/Makefile
--- a/devel/py-intervaltree/Makefile    Fri Jan 04 22:48:43 2019 +0000
+++ b/devel/py-intervaltree/Makefile    Fri Jan 04 22:56:59 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/03/20 21:59:04 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2019/01/04 22:56:59 adam Exp $
 
-DISTNAME=      intervaltree-2.1.0
+DISTNAME=      intervaltree-3.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/intervaltree/}
 
 MAINTAINER=    minskim%NetBSD.org@localhost
@@ -10,7 +10,9 @@
 COMMENT=       Editable interval tree data structure
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers-[0-9]*:../../devel/py-sortedcontainers
+DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=2.0:../../devel/py-sortedcontainers
+
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e4e48c3fd768 -r c22543542ef5 devel/py-intervaltree/PLIST
--- a/devel/py-intervaltree/PLIST       Fri Jan 04 22:48:43 2019 +0000
+++ b/devel/py-intervaltree/PLIST       Fri Jan 04 22:56:59 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/20 21:59:04 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/01/04 22:56:59 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,14 +6,14 @@
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/intervaltree/__init__.py
+${PYSITELIB}/intervaltree/__init__.pyc
 ${PYSITELIB}/intervaltree/__init__.pyo
-${PYSITELIB}/intervaltree/__init__.pyc
+${PYSITELIB}/intervaltree/interval.py
+${PYSITELIB}/intervaltree/interval.pyc
 ${PYSITELIB}/intervaltree/interval.pyo
-${PYSITELIB}/intervaltree/interval.pyc
-${PYSITELIB}/intervaltree/intervaltree.pyo
+${PYSITELIB}/intervaltree/intervaltree.py
 ${PYSITELIB}/intervaltree/intervaltree.pyc
-${PYSITELIB}/intervaltree/node.pyo
+${PYSITELIB}/intervaltree/intervaltree.pyo
+${PYSITELIB}/intervaltree/node.py
 ${PYSITELIB}/intervaltree/node.pyc
-${PYSITELIB}/intervaltree/interval.py
-${PYSITELIB}/intervaltree/intervaltree.py
-${PYSITELIB}/intervaltree/node.py
+${PYSITELIB}/intervaltree/node.pyo
diff -r e4e48c3fd768 -r c22543542ef5 devel/py-intervaltree/distinfo
--- a/devel/py-intervaltree/distinfo    Fri Jan 04 22:48:43 2019 +0000
+++ b/devel/py-intervaltree/distinfo    Fri Jan 04 22:56:59 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/03/20 21:59:04 minskim Exp $
+$NetBSD: distinfo,v 1.2 2019/01/04 22:56:59 adam Exp $
 
-SHA1 (intervaltree-2.1.0.tar.gz) = 40db027009fc3f8d38ec91e0cd9d8fd7f793dc0f
-RMD160 (intervaltree-2.1.0.tar.gz) = 7bb674dfa4fd1955279e6a9f667a524607cf1347
-SHA512 (intervaltree-2.1.0.tar.gz) = 983318e23c681ae53371125700bf6f2494467f719e5ffce661564e117d2a7c711da17e74a5793ce2688d8389b3373f17fbb384ac0b37d2be10d6c0a6ec5ecd29
-Size (intervaltree-2.1.0.tar.gz) = 38404 bytes
+SHA1 (intervaltree-3.0.2.tar.gz) = 52a3c630c7c3b491d132f9f9108f52f652b9bbe3
+RMD160 (intervaltree-3.0.2.tar.gz) = 292e24e5124bd7ec68dba2b81c7f22c284aed809
+SHA512 (intervaltree-3.0.2.tar.gz) = 51d6aa302c95c9a573bcf594de390037ec1a6d674061e6a0b4025fa889dfd0187e37bc0331f13d6703340973e4c539aa1349431b14c742de9d2050cbb53d8255
+Size (intervaltree-3.0.2.tar.gz) = 30663 bytes



Home | Main Index | Thread Index | Old Index