pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 17:13:41 UTC 2020

Modified Files:
        pkgsrc/devel/py-dotenv: Makefile
        pkgsrc/devel/py-entrypoints: Makefile
        pkgsrc/devel/py-extras: Makefile
        pkgsrc/devel/py-flake8-import-order: Makefile
        pkgsrc/devel/py-flake8-polyfill: Makefile
        pkgsrc/devel/py-func_timeout: Makefile
        pkgsrc/devel/py-fuzzywuzzy: Makefile
        pkgsrc/devel/py-iso3166: Makefile
        pkgsrc/devel/py-isort: Makefile

Log Message:
pytest from versioned deps.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-dotenv/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-entrypoints/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-extras/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-flake8-import-order/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-flake8-polyfill/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-func_timeout/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-fuzzywuzzy/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-iso3166/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-isort/Makefile

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-dotenv/Makefile
diff -u pkgsrc/devel/py-dotenv/Makefile:1.2 pkgsrc/devel/py-dotenv/Makefile:1.3
--- pkgsrc/devel/py-dotenv/Makefile:1.2 Mon May  4 15:37:01 2020
+++ pkgsrc/devel/py-dotenv/Makefile     Sat May 16 17:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/05/04 15:37:01 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      python-dotenv-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
@@ -13,7 +13,6 @@ LICENSE=      modified-bsd
 DEPENDS+=      ${PYPKGPREFIX}-click>=5.0:../../devel/py-click
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-sh-[0-9]*:../../sysutils/py-sh
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 .include "../../lang/python/pyversion.mk"

Index: pkgsrc/devel/py-entrypoints/Makefile
diff -u pkgsrc/devel/py-entrypoints/Makefile:1.3 pkgsrc/devel/py-entrypoints/Makefile:1.4
--- pkgsrc/devel/py-entrypoints/Makefile:1.3    Tue Jan 22 10:48:14 2019
+++ pkgsrc/devel/py-entrypoints/Makefile        Sat May 16 17:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/01/22 10:48:14 adam Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      entrypoints-0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/takluyver/e
 COMMENT=       Discover and load entry points from installed packages
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
@@ -23,4 +23,5 @@ do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/distutils.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-extras/Makefile
diff -u pkgsrc/devel/py-extras/Makefile:1.5 pkgsrc/devel/py-extras/Makefile:1.6
--- pkgsrc/devel/py-extras/Makefile:1.5 Sun Nov  3 10:18:27 2019
+++ pkgsrc/devel/py-extras/Makefile     Sat May 16 17:13:40 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2019/11/03 10:18:27 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      extras-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/extras/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,15 +10,16 @@ HOMEPAGE=   https://github.com/testing-cab
 COMMENT=       Useful extra bits for Python
 LICENSE=       mit
 
-USE_LANGUAGES= # none
-
-# TEST_DEPENDS
-BUILD_DEPENDS+=                ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 # testtools depends on extras
 #BUILD_DEPENDS+=       ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
 
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+USE_LANGUAGES= # none
+
 do-test:
-       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flake8-import-order/Makefile
diff -u pkgsrc/devel/py-flake8-import-order/Makefile:1.12 pkgsrc/devel/py-flake8-import-order/Makefile:1.13
--- pkgsrc/devel/py-flake8-import-order/Makefile:1.12   Tue Mar  5 12:48:17 2019
+++ pkgsrc/devel/py-flake8-import-order/Makefile        Sat May 16 17:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/03/05 12:48:17 adam Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      flake8-import-order-0.18.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,10 +14,12 @@ DEPENDS+=   ${PYPKGPREFIX}-asttokens-[0-9]
 DEPENDS+=      ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
 TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
 TEST_DEPENDS+= ${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 do-test:
-       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flake8-polyfill/Makefile
diff -u pkgsrc/devel/py-flake8-polyfill/Makefile:1.2 pkgsrc/devel/py-flake8-polyfill/Makefile:1.3
--- pkgsrc/devel/py-flake8-polyfill/Makefile:1.2        Mon Jan  1 21:26:15 2018
+++ pkgsrc/devel/py-flake8-polyfill/Makefile    Sat May 16 17:13:41 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/01/01 21:26:15 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/16 17:13:41 adam Exp $
 
 DISTNAME=      flake8-polyfill-1.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,15 +11,16 @@ COMMENT=    Polyfill package for Flake8 plu
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
-# TEST_DEPENDS
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-pep8-[0-9]*:../../devel/py-pep8
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-pep8-[0-9]*:../../devel/py-pep8
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 USE_LANGUAGES= # none
 
 # needs to be installed
 do-test:
-       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-func_timeout/Makefile
diff -u pkgsrc/devel/py-func_timeout/Makefile:1.1 pkgsrc/devel/py-func_timeout/Makefile:1.2
--- pkgsrc/devel/py-func_timeout/Makefile:1.1   Thu Mar 12 07:32:28 2020
+++ pkgsrc/devel/py-func_timeout/Makefile       Sat May 16 17:13:41 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/03/12 07:32:28 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/16 17:13:41 adam Exp $
 
 DISTNAME=      func_timeout-4.3.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/kata198/fun
 COMMENT=       Specify timeouts when calling any existing function
 LICENSE=       gnu-lgpl-v2
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 USE_LANGUAGES= # none
 
@@ -20,4 +20,5 @@ do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-fuzzywuzzy/Makefile
diff -u pkgsrc/devel/py-fuzzywuzzy/Makefile:1.1 pkgsrc/devel/py-fuzzywuzzy/Makefile:1.2
--- pkgsrc/devel/py-fuzzywuzzy/Makefile:1.1     Mon Apr  6 08:00:19 2020
+++ pkgsrc/devel/py-fuzzywuzzy/Makefile Sat May 16 17:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/04/06 08:00:19 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      fuzzywuzzy-0.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,14 +13,11 @@ LICENSE=    gnu-gpl-v2
 DEPENDS+=      ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein
 TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
-#post-install:
-#      cd ${DESTDIR}${PREFIX}/bin && \
-#      ${MV} futurize futurize-${PYVERSSUFFIX} && \
-#      ${MV} pasteurize pasteurize-${PYVERSSUFFIX} || ${TRUE}
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-iso3166/Makefile
diff -u pkgsrc/devel/py-iso3166/Makefile:1.5 pkgsrc/devel/py-iso3166/Makefile:1.6
--- pkgsrc/devel/py-iso3166/Makefile:1.5        Thu Jan 16 10:08:31 2020
+++ pkgsrc/devel/py-iso3166/Makefile    Sat May 16 17:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/01/16 10:08:31 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      iso3166-1.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/deactivated
 COMMENT=       Self-contained ISO 3166-1 country definitions
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 USE_LANGUAGES= # none
 
@@ -18,4 +18,5 @@ do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-isort/Makefile
diff -u pkgsrc/devel/py-isort/Makefile:1.17 pkgsrc/devel/py-isort/Makefile:1.18
--- pkgsrc/devel/py-isort/Makefile:1.17 Mon Jul  1 07:15:00 2019
+++ pkgsrc/devel/py-isort/Makefile      Sat May 16 17:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2019/07/01 07:15:00 adam Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/16 17:13:40 adam Exp $
 
 DISTNAME=      isort-4.3.21
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,8 @@ COMMENT=      Python utility / library to sor
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
@@ -29,4 +30,5 @@ do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test_isort.py
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index