pkgsrc-Changes archive

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

CVS commit: pkgsrc/biology/py-cutadapt



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 11 10:30:56 UTC 2021

Modified Files:
        pkgsrc/biology/py-cutadapt: Makefile PLIST
Added Files:
        pkgsrc/biology/py-cutadapt: ALTERNATIVES

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/biology/py-cutadapt/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/biology/py-cutadapt/Makefile \
    pkgsrc/biology/py-cutadapt/PLIST

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

Modified files:

Index: pkgsrc/biology/py-cutadapt/Makefile
diff -u pkgsrc/biology/py-cutadapt/Makefile:1.1 pkgsrc/biology/py-cutadapt/Makefile:1.2
--- pkgsrc/biology/py-cutadapt/Makefile:1.1     Mon Feb  8 01:55:23 2021
+++ pkgsrc/biology/py-cutadapt/Makefile Thu Feb 11 10:30:55 2021
@@ -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 @@ HOMEPAGE=   https://cutadapt.readthedocs.i
 COMMENT=       Find and remove adapter sequences, primers, poly-A tails, etc
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-xopen>=1.0.0:../../devel/py-xopen
 DEPENDS+=      ${PYPKGPREFIX}-dnaio>=0.5.0:../../biology/py-dnaio
+DEPENDS+=      ${PYPKGPREFIX}-xopen>=1.0.0:../../devel/py-xopen
+
+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"
Index: pkgsrc/biology/py-cutadapt/PLIST
diff -u pkgsrc/biology/py-cutadapt/PLIST:1.1 pkgsrc/biology/py-cutadapt/PLIST:1.2
--- pkgsrc/biology/py-cutadapt/PLIST:1.1        Mon Feb  8 01:55:23 2021
+++ pkgsrc/biology/py-cutadapt/PLIST    Thu Feb 11 10:30:55 2021
@@ -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

Added files:

Index: pkgsrc/biology/py-cutadapt/ALTERNATIVES
diff -u /dev/null pkgsrc/biology/py-cutadapt/ALTERNATIVES:1.1
--- /dev/null   Thu Feb 11 10:30:56 2021
+++ pkgsrc/biology/py-cutadapt/ALTERNATIVES     Thu Feb 11 10:30:55 2021
@@ -0,0 +1 @@
+bin/cutadapt @PREFIX@/bin/cutadapt-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index