pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-packaging



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr  2 19:52:12 UTC 2018

Modified Files:
        pkgsrc/devel/py-packaging: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-packaging/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-packaging/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-packaging/Makefile
diff -u pkgsrc/devel/py-packaging/Makefile:1.2 pkgsrc/devel/py-packaging/Makefile:1.3
--- pkgsrc/devel/py-packaging/Makefile:1.2      Thu Jun  1 13:31:45 2017
+++ pkgsrc/devel/py-packaging/Makefile  Mon Apr  2 19:52:11 2018
@@ -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 @@ HOMEPAGE=   https://pypi.python.org/pypi/p
 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
+
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-packaging/distinfo
diff -u pkgsrc/devel/py-packaging/distinfo:1.1 pkgsrc/devel/py-packaging/distinfo:1.2
--- pkgsrc/devel/py-packaging/distinfo:1.1      Wed Feb  8 12:10:01 2017
+++ pkgsrc/devel/py-packaging/distinfo  Mon Apr  2 19:52:11 2018
@@ -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