pkgsrc-WIP-changes archive

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

py-pip-api: convert to versioned_dependencies.mk



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Wed Nov 10 00:40:11 2021 +0100
Changeset:	74582f48f1d17b60be341103ac5443e731a5d3fc

Modified Files:
	py-pip-api/Makefile

Log Message:
py-pip-api: convert to versioned_dependencies.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74582f48f1d17b60be341103ac5443e731a5d3fc

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

diffstat:
 py-pip-api/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-pip-api/Makefile b/py-pip-api/Makefile
index 1c1ec0e144..ba55b93a64 100644
--- a/py-pip-api/Makefile
+++ b/py-pip-api/Makefile
@@ -10,18 +10,20 @@ HOMEPAGE=	https://pypi.org/project/pip-audit/
 COMMENT=	Unofficial, importable pip API
 LICENSE=	apache-2.0
 
-DEPENDS+=	${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
 TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+=	${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 TEST_DEPENDS+=	${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
 
 USE_LANGUAGES=	# none
 
+PYTHON_VERSIONED_DEPENDENCIES+=	pip
+
 # does not fully work, needs pip-api installed first
 # if this is done, as of 0.0.23:
 # 27 passed, 5 warnings, 15 errors
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
 
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index