On Wed, Mar 20, 2019 at 07:56:09PM -0400, Kurt Mosiejczuk wrote:
> Update for py-setuptools_scm. I pulled the rm since it breaks the
> tests with this new version. While here, I converted this to use
> MODPY_PYTEST so got rid of the py-test TEST_DEPENDS and the do-test
> target redefinition.
> I ran through builds of all of the consumers that list it in .
> BUILD_DEPENDS No issues .
Ping.
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-setuptools_scm/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 28 Apr 2018 10:45:08 -0000 1.9
+++ Makefile 20 Mar 2019 02:32:16 -0000
@@ -2,7 +2,7 @@
COMMENT = plugin to manage your versions by scm tags
-MODPY_EGG_VERSION = 2.0.0
+MODPY_EGG_VERSION = 3.2.0
DISTNAME = setuptools_scm-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
@@ -16,17 +16,15 @@ MODULES = lang/python
TEST_DEPENDS = devel/git \
devel/mercurial \
- devel/py-pip${MODPY_FLAVOR} \
- devel/py-test${MODPY_FLAVOR}
+ devel/py-pip${MODPY_FLAVOR}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
+MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?=
-do-test:
- @rm ${WRKSRC}/testing/test_setuptools_support.py
- cd ${WRKSRC} && ${MODPY_BIN} -m pytest
+TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH}
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-setuptools_scm/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 28 Apr 2018 10:45:08 -0000 1.8
+++ distinfo 20 Mar 2019 02:32:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (setuptools_scm-2.0.0.tar.gz) = Y4YnZV7EYlt6BVpbZfROiBIfzgWigaFZer1qn4wEE5s=
-SIZE (setuptools_scm-2.0.0.tar.gz) = 30286
+SHA256 (setuptools_scm-3.2.0.tar.gz) = UqtHcV+g/H2ObNFRaNGmm6mV/rFQUTHD6BTrcIe1c1g=
+SIZE (setuptools_scm-3.2.0.tar.gz) = 39646
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-setuptools_scm/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST 28 Apr 2018 10:45:08 -0000 1.2
+++ pkg/PLIST 20 Mar 2019 02:32:16 -0000
@@ -14,14 +14,22 @@ lib/python${MODPY_VERSION}/site-packages
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}discover.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}file_finder.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}file_finder_git.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}file_finder_hg.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}git.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}hacks.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}hg.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}integration.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/config.py
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/discover.py
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/file_finder.py
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/file_finder_git.py
+lib/python${MODPY_VERSION}/site-packages/setuptools_scm/file_finder_hg.py
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/git.py
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/hacks.py
lib/python${MODPY_VERSION}/site-packages/setuptools_scm/hg.py
No comments:
Post a Comment