pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-alembic



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan 18 09:18:06 UTC 2018

Modified Files:
        pkgsrc/databases/py-alembic: Makefile PLIST
Added Files:
        pkgsrc/databases/py-alembic: ALTERNATIVES

Log Message:
py-alembic: use PYVERSSUFFIX and ALTERNATIVES


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/py-alembic/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/py-alembic/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/py-alembic/PLIST

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

Modified files:

Index: pkgsrc/databases/py-alembic/Makefile
diff -u pkgsrc/databases/py-alembic/Makefile:1.3 pkgsrc/databases/py-alembic/Makefile:1.4
--- pkgsrc/databases/py-alembic/Makefile:1.3    Wed Jan 17 11:55:35 2018
+++ pkgsrc/databases/py-alembic/Makefile        Thu Jan 18 09:18:06 2018
@@ -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
 
 USE_LANGUAGES= # none
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} alembic alembic${PYVERSSUFFIX} || ${TRUE}
+
 do-test:
        cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
 

Index: pkgsrc/databases/py-alembic/PLIST
diff -u pkgsrc/databases/py-alembic/PLIST:1.1 pkgsrc/databases/py-alembic/PLIST:1.2
--- pkgsrc/databases/py-alembic/PLIST:1.1       Sun Sep 17 04:00:15 2017
+++ pkgsrc/databases/py-alembic/PLIST   Thu Jan 18 09:18:06 2018
@@ -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

Added files:

Index: pkgsrc/databases/py-alembic/ALTERNATIVES
diff -u /dev/null pkgsrc/databases/py-alembic/ALTERNATIVES:1.1
--- /dev/null   Thu Jan 18 09:18:06 2018
+++ pkgsrc/databases/py-alembic/ALTERNATIVES    Thu Jan 18 09:18:06 2018
@@ -0,0 +1 @@
+bin/alembic @PREFIX@/bin/alembic@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index