Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-alembic py-alembic: pytest from versioned...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7542a2e22ffb
branches: trunk
changeset: 431723:7542a2e22ffb
user: adam <adam%pkgsrc.org@localhost>
date: Sat May 16 08:45:23 2020 +0000
description:
py-alembic: pytest from versioned depends
diffstat:
databases/py-alembic/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 0d58e0021848 -r 7542a2e22ffb databases/py-alembic/Makefile
--- a/databases/py-alembic/Makefile Sat May 16 08:43:55 2020 +0000
+++ b/databases/py-alembic/Makefile Sat May 16 08:45:23 2020 +0000
@@ -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}-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 @@
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index