diff options
author | adam <adam@pkgsrc.org> | 2020-05-16 08:45:23 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-05-16 08:45:23 +0000 |
commit | 4e38094c1a217df2fa3beacf8f227fa28cec4707 (patch) | |
tree | ba56ef3f54e31236283dbf29bebcc9bbd3328095 /databases | |
parent | e583741536f684f252909ac98bfae20e0295ea5b (diff) | |
download | pkgsrc-4e38094c1a217df2fa3beacf8f227fa28cec4707.tar.gz |
py-alembic: pytest from versioned depends
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-alembic/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/py-alembic/Makefile b/databases/py-alembic/Makefile index 5bc78b4a4d7..7966475f2d4 100644 --- a/databases/py-alembic/Makefile +++ b/databases/py-alembic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2020/04/10 08:02:04 adam Exp $ +# $NetBSD: Makefile,v 1.23 2020/05/16 08:45:23 adam Exp $ DISTNAME= alembic-1.4.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -15,10 +15,11 @@ DEPENDS+= ${PYPKGPREFIX}-editor>=0.3:../../editors/py-editor DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock -TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none +PYTHON_VERSIONED_DEPENDENCIES= pytest + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} alembic alembic-${PYVERSSUFFIX} || ${TRUE} @@ -27,4 +28,5 @@ do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" |