pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/biology/py-cutadapt py-cutadapt: fix CATEGORY, mark as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/675a479afcb5
branches:  trunk
changeset: 446595:675a479afcb5
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 11 10:30:55 2021 +0000

description:
py-cutadapt: fix CATEGORY, mark as not for 2.7 and 3.6, use ALTERNATIVES

diffstat:

 biology/py-cutadapt/ALTERNATIVES |   1 +
 biology/py-cutadapt/Makefile     |  12 ++++++++----
 biology/py-cutadapt/PLIST        |   4 ++--
 3 files changed, 11 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r ff0e0b2ae574 -r 675a479afcb5 biology/py-cutadapt/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/biology/py-cutadapt/ALTERNATIVES  Thu Feb 11 10:30:55 2021 +0000
@@ -0,0 +1,1 @@
+bin/cutadapt @PREFIX@/bin/cutadapt-@PYVERSSUFFIX@
diff -r ff0e0b2ae574 -r 675a479afcb5 biology/py-cutadapt/Makefile
--- a/biology/py-cutadapt/Makefile      Thu Feb 11 10:15:51 2021 +0000
+++ b/biology/py-cutadapt/Makefile      Thu Feb 11 10:30:55 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2021/02/08 01:55:23 bacon Exp $
+# $NetBSD: Makefile,v 1.2 2021/02/11 10:30:55 adam Exp $
 
 DISTNAME=      cutadapt-3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    biology
+CATEGORIES=    biology python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cutadapt/}
 
 MAINTAINER=    bacon%NetBSD.org@localhost
@@ -10,10 +10,14 @@
 COMMENT=       Find and remove adapter sequences, primers, poly-A tails, etc
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-dnaio>=0.5.0:../../biology/py-dnaio
 DEPENDS+=      ${PYPKGPREFIX}-xopen>=1.0.0:../../devel/py-xopen
-DEPENDS+=      ${PYPKGPREFIX}-dnaio>=0.5.0:../../biology/py-dnaio
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27 36 # py-xopen, dataclasses
 
-PYTHON_SELF_CONFLICT=  yes
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} cutadapt cutadapt-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ff0e0b2ae574 -r 675a479afcb5 biology/py-cutadapt/PLIST
--- a/biology/py-cutadapt/PLIST Thu Feb 11 10:15:51 2021 +0000
+++ b/biology/py-cutadapt/PLIST Thu Feb 11 10:30:55 2021 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2021/02/08 01:55:23 bacon Exp $
-bin/cutadapt
+@comment $NetBSD: PLIST,v 1.2 2021/02/11 10:30:55 adam Exp $
+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