pkgsrc-WIP-changes archive

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

py-cutadapt: Add ALTERNATIVES for multiple python versions



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Feb 7 10:52:44 2021 -0600
Changeset:	8db4db1a93b217728f4e073fcb78f1a18aedff1b

Modified Files:
	py-cutadapt/Makefile
	py-cutadapt/PLIST

Log Message:
py-cutadapt: Add ALTERNATIVES for multiple python versions

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8db4db1a93b217728f4e073fcb78f1a18aedff1b

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

diffstat:
 py-cutadapt/Makefile | 3 +++
 py-cutadapt/PLIST    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-cutadapt/Makefile b/py-cutadapt/Makefile
index 52973bbfc3..9a2b1fbcef 100644
--- a/py-cutadapt/Makefile
+++ b/py-cutadapt/Makefile
@@ -13,5 +13,8 @@ LICENSE=	mit
 DEPENDS+=	${PYPKGPREFIX}-xopen>=1.0.0:../../devel/py-xopen
 DEPENDS+=	${PYPKGPREFIX}-dnaio>=0.5.0:../../wip/py-dnaio
 
+post-install:
+	(cd ${DESTDIR}${PREFIX}/bin && ${MV} cutadapt cutadapt-${PYVERSSUFFIX})
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cutadapt/PLIST b/py-cutadapt/PLIST
index e58188d61d..f661b75774 100644
--- a/py-cutadapt/PLIST
+++ b/py-cutadapt/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/cutadapt
+bin/cutadapt-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt


Home | Main Index | Thread Index | Old Index