summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-16 08:45:23 +0000
committeradam <adam@pkgsrc.org>2020-05-16 08:45:23 +0000
commit4e38094c1a217df2fa3beacf8f227fa28cec4707 (patch)
treeba56ef3f54e31236283dbf29bebcc9bbd3328095 /databases
parente583741536f684f252909ac98bfae20e0295ea5b (diff)
downloadpkgsrc-4e38094c1a217df2fa3beacf8f227fa28cec4707.tar.gz
py-alembic: pytest from versioned depends
Diffstat (limited to 'databases')
-rw-r--r--databases/py-alembic/Makefile6
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"