pkgsrc-WIP-changes archive

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

py-cutadapt: Use PYTHON_SELF_CONFLICT instead of ALTERNATIVES



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Feb 7 13:47:26 2021 -0600
Changeset:	2d911db7fb4f1cdbcca80a41aa94c1c8256eeea2

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

Log Message:
py-cutadapt: Use PYTHON_SELF_CONFLICT instead of ALTERNATIVES

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

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, 2 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-cutadapt/Makefile b/py-cutadapt/Makefile
index 9a2b1fbcef..109cd825b3 100644
--- a/py-cutadapt/Makefile
+++ b/py-cutadapt/Makefile
@@ -13,8 +13,7 @@ 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})
+PYTHON_SELF_CONFLICT=	yes
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cutadapt/PLIST b/py-cutadapt/PLIST
index f661b75774..e58188d61d 100644
--- a/py-cutadapt/PLIST
+++ b/py-cutadapt/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/cutadapt-${PYVERSSUFFIX}
+bin/cutadapt
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt


Home | Main Index | Thread Index | Old Index