py-alembic: use PYVERSSUFFIX and ALTERNATIVES
This commit is contained in:
parent
f15858065d
commit
91820a104b
3 changed files with 8 additions and 3 deletions
1
databases/py-alembic/ALTERNATIVES
Normal file
1
databases/py-alembic/ALTERNATIVES
Normal file
|
@ -0,0 +1 @@
|
|||
bin/alembic @PREFIX@/bin/alembic@PYVERSSUFFIX@
|
|
@ -1,7 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.3 2018/01/17 11:55:35 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2018/01/18 09:18:06 adam Exp $
|
||||
|
||||
DISTNAME= alembic-0.9.7
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=a/alembic/}
|
||||
|
||||
|
@ -19,6 +20,9 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
post-install:
|
||||
cd ${DESTDIR}${PREFIX}/bin && ${MV} alembic alembic${PYVERSSUFFIX} || ${TRUE}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2017/09/17 04:00:15 minskim Exp $
|
||||
bin/alembic
|
||||
@comment $NetBSD: PLIST,v 1.2 2018/01/18 09:18:06 adam Exp $
|
||||
bin/alembic${PYVERSSUFFIX}
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
|
|
Loading…
Reference in a new issue