pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-packaging py-packaging: updated to 17.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c226d61726a
branches:  trunk
changeset: 378172:7c226d61726a
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Apr 02 19:52:11 2018 +0000

description:
py-packaging: updated to 17.1

17.1:
Fix utils.canonicalize_version when supplying non PEP 440 versions.

17.0:
Drop support for python 2.6, 3.2, and 3.3.
Define minimal pyparsing version to 2.0.2.
Add epoch, release, pre, dev, and post attributes to Version and LegacyVersion.
Add Version().is_devrelease and LegacyVersion().is_devrelease to make it easy to determine if a release is a development release.
Add utils.canonicalize_version to canonicalize version strings or Version instances

diffstat:

 devel/py-packaging/Makefile |  18 ++++++++++--------
 devel/py-packaging/distinfo |  10 +++++-----
 2 files changed, 15 insertions(+), 13 deletions(-)

diffs (49 lines):

diff -r 597ca699e1a0 -r 7c226d61726a devel/py-packaging/Makefile
--- a/devel/py-packaging/Makefile       Mon Apr 02 19:40:33 2018 +0000
+++ b/devel/py-packaging/Makefile       Mon Apr 02 19:52:11 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/06/01 13:31:45 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2018/04/02 19:52:11 adam Exp $
 
-DISTNAME=      packaging-16.8
+DISTNAME=      packaging-17.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packaging/}
@@ -10,13 +10,15 @@
 COMMENT=       Core utilities for Python packages
 LICENSE=       modified-bsd OR apache-2.0
 
-DEPENDS+=              ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
-DEPENDS+=              ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-# needed for tests, but would introduce dependency cycle
-#BUILD_DEPENDS+=               ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-pyparsing>=2.0.2:../../devel/py-pyparsing
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-#BOOTSTRAP_SETUPTOOLS= yes
+USE_LANGUAGES= # none
 
-.include "../../lang/python/application.mk"
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 597ca699e1a0 -r 7c226d61726a devel/py-packaging/distinfo
--- a/devel/py-packaging/distinfo       Mon Apr 02 19:40:33 2018 +0000
+++ b/devel/py-packaging/distinfo       Mon Apr 02 19:52:11 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/02/08 12:10:01 wiz Exp $
+$NetBSD: distinfo,v 1.2 2018/04/02 19:52:11 adam Exp $
 
-SHA1 (packaging-16.8.tar.gz) = 68f9574b50683c0962ad90346879e7a2319cc6d8
-RMD160 (packaging-16.8.tar.gz) = a6b8e25435ae429add03db68e63e10ffe9d56292
-SHA512 (packaging-16.8.tar.gz) = d1a7b65472c7c02dd758f0c469d6c6aeea34de7b798613f7fcdf45fcccbeba1e9085cab113fa89b392a60f758f8747d13b1c265c809566990c22e61ca8db49bb
-Size (packaging-16.8.tar.gz) = 44706 bytes
+SHA1 (packaging-17.1.tar.gz) = 8dbd54a645fcc7951fcd6c06e9ac6494a0ada816
+RMD160 (packaging-17.1.tar.gz) = cc3577c2b06262cf5901a67499379e5023647a5b
+SHA512 (packaging-17.1.tar.gz) = 52d2f482ae5cd0f8e7b3ac35c4b270ca736bc4f7ebaa569631d1dcb8ea024ee6f75127ca2aa3c95e686ebbd427de2ef4bc01bcd839591f7b4c1e26f9b8d9acb0
+Size (packaging-17.1.tar.gz) = 49849 bytes



Home | Main Index | Thread Index | Old Index