pkgsrc-WIP-changes archive

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

py-xopen: Open compressed files, dep for py-cutadapt, p5-trimgalore



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Fri Nov 3 14:18:25 2017 -0500
Changeset:	b9761cdf4f5a3b55a9326675b9de2bdb39ee506c

Modified Files:
	Makefile
	p5-trimgalore/Makefile
	py-cutadapt/Makefile
Added Files:
	py-xopen/DESCR
	py-xopen/Makefile
	py-xopen/PLIST
	py-xopen/distinfo

Log Message:
py-xopen: Open compressed files, dep for py-cutadapt, p5-trimgalore

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

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

diffstat:
 Makefile               |  1 +
 p5-trimgalore/Makefile |  3 +--
 py-cutadapt/Makefile   |  2 ++
 py-xopen/DESCR         |  4 ++++
 py-xopen/Makefile      | 25 +++++++++++++++++++++++++
 py-xopen/PLIST         |  8 ++++++++
 py-xopen/distinfo      |  6 ++++++
 7 files changed, 47 insertions(+), 2 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 9912ebf596..2daae077c7 100644
--- a/Makefile
+++ b/Makefile
@@ -3810,6 +3810,7 @@ SUBDIR+=	py-xdgapp
 SUBDIR+=	py-xdress
 SUBDIR+=	py-xlutils
 SUBDIR+=	py-xmltodict
+SUBDIR+=	py-xopen
 SUBDIR+=	py-xpra
 SUBDIR+=	py-yams
 SUBDIR+=	py-yapf
diff --git a/p5-trimgalore/Makefile b/p5-trimgalore/Makefile
index fb1d732394..c5fc4546c8 100644
--- a/p5-trimgalore/Makefile
+++ b/p5-trimgalore/Makefile
@@ -14,7 +14,6 @@
 #		p5-File-Spec-Native>=0:devel/p5-File-Spec-Native \
 #		p5-File-BaseDir>=0:devel/p5-File-BaseDir \
 #		p5-Cwd-Guard>=0:devel/p5-Cwd-Guard \
-#		${PYPKGPREFIX}-cutadapt>0:wip/py-cutadapt \
 #		fastqc>0:wip/fastqc
 
 DISTNAME=	trimgalore-${PORTVERSION}
@@ -44,6 +43,6 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/trim_galore ${DESTDIR}${PREFIX}/bin
 	cd ${WRKSRC} && pax -rw test_files ${DESTDIR}${DATADIR}
 
-# .include "../..///buildlink3.mk"
+.include "../../wip/py-cutadapt/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cutadapt/Makefile b/py-cutadapt/Makefile
index 606fc811b9..00859b0e0d 100644
--- a/py-cutadapt/Makefile
+++ b/py-cutadapt/Makefile
@@ -14,6 +14,8 @@ MAINTAINER=	bacon4000%gmail.com@localhost
 COMMENT=	Finds and removes adapter sequences, primers, poly-A tails, etc
 LICENSE=	mit
 
+DEPENDS+=	${PYPKGPREFIX}-xopen>=0:../../wip/py-xopen
+
 USE_LANGUAGES=	c
 PYDISTUTILSPKG=	yes
 
diff --git a/py-xopen/DESCR b/py-xopen/DESCR
new file mode 100644
index 0000000000..f1dd08af79
--- /dev/null
+++ b/py-xopen/DESCR
@@ -0,0 +1,4 @@
+This small Python module provides a xopen function that works like the built-in
+open function, but can also deal with compressed files. Supported compression
+formats are gzip, bzip2 and xz. They are automatically recognized by their file
+extensions .gz, .bz2 or .xz.
diff --git a/py-xopen/Makefile b/py-xopen/Makefile
new file mode 100644
index 0000000000..b76c8cfc66
--- /dev/null
+++ b/py-xopen/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Fri Nov  3 14:01:34 CDT 2017               #
+###########################################################
+
+DISTNAME=	xopen-${PORTVERSION}
+PKGNAME=	${PYPKGPREFIX}-xopen-${PORTVERSION}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=x/xopen/}
+
+MAINTAINER=	bacon4000%gmail.com@localhost
+HOMEPAGE=	https://pypi.python.org/pypi/xopen
+COMMENT=	Open compressed files transparently
+# Check this
+LICENSE=	mit
+
+PYDISTUTILSPKG=	yes
+
+PORTVERSION=	0.2.1
+
+# Verify that we shouldn't use egg.mk or extensions.mk instead.
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-xopen/PLIST b/py-xopen/PLIST
new file mode 100644
index 0000000000..1dfe454140
--- /dev/null
+++ b/py-xopen/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
+${PYSITELIB}/xopen.py
+${PYSITELIB}/xopen.pyc
+${PYSITELIB}/xopen.pyo
diff --git a/py-xopen/distinfo b/py-xopen/distinfo
new file mode 100644
index 0000000000..db6aa3389e
--- /dev/null
+++ b/py-xopen/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (xopen-0.2.1.tar.gz) = e8a9a5a7d772a5a632634319a5b164e0581c784d
+RMD160 (xopen-0.2.1.tar.gz) = 24c5cc36415d2ca2ea2c1a324f1dd98af5fcbad4
+SHA512 (xopen-0.2.1.tar.gz) = 7339660f691ecce7fff7105487b6586b89840a9256a1e221603670be43f4dbf944c88736d72030abbaf0fc1f58aec6c43c4d565c88a603ddfd9c3858d437ae50
+Size (xopen-0.2.1.tar.gz) = 4353 bytes


Home | Main Index | Thread Index | Old Index