aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2021-04-12 23:21:41 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2021-04-12 23:24:20 +0000
commitdfcece22a2cb1b45e0cbf8531709250fde686119 (patch)
tree15ab418e20a3e54750e145c96e605419c305f25a
parent6dd01d1520ee30194d0493c1dea31bc71a12151d (diff)
downloadports-dfcece22a2cb1b45e0cbf8531709250fde686119.tar.gz
ports-dfcece22a2cb1b45e0cbf8531709250fde686119.zip
biology/py-bigwig: Python access to bigWig files using libBigWig
A python extension, written in C, for quick access to bigBed files and access to and creation of bigWig files. This extension uses libBigWig for local and remote file access.
-rw-r--r--biology/Makefile1
-rw-r--r--biology/py-bigwig/Makefile21
-rw-r--r--biology/py-bigwig/distinfo3
-rw-r--r--biology/py-bigwig/pkg-descr5
4 files changed, 30 insertions, 0 deletions
diff --git a/biology/Makefile b/biology/Makefile
index 73af8b5788bd..25eba238a6ad 100644
--- a/biology/Makefile
+++ b/biology/Makefile
@@ -123,6 +123,7 @@
SUBDIR += protomol
SUBDIR += psi88
SUBDIR += py-Genesis-PyAPI
+ SUBDIR += py-bigwig
SUBDIR += py-biom-format
SUBDIR += py-biopython
SUBDIR += py-bx-python
diff --git a/biology/py-bigwig/Makefile b/biology/py-bigwig/Makefile
new file mode 100644
index 000000000000..ab33b4650777
--- /dev/null
+++ b/biology/py-bigwig/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= pyBigWig
+DISTVERSION= 0.3.18
+CATEGORIES= biology python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jwb@FreeBSD.org
+COMMENT= Python access to bigWig files using libBigWig
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS= libcurl.so:ftp/curl
+
+USES= localbase python
+USE_PYTHON= autoplist distutils
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyBigWig.so
+
+.include <bsd.port.mk>
diff --git a/biology/py-bigwig/distinfo b/biology/py-bigwig/distinfo
new file mode 100644
index 000000000000..35e26a9f88d0
--- /dev/null
+++ b/biology/py-bigwig/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1617288519
+SHA256 (pyBigWig-0.3.18.tar.gz) = 4c2a8c571b4100ad7c4c318c142eb48558646be52aaab28215a70426f5be31bc
+SIZE (pyBigWig-0.3.18.tar.gz) = 64834
diff --git a/biology/py-bigwig/pkg-descr b/biology/py-bigwig/pkg-descr
new file mode 100644
index 000000000000..825fb27ac6f0
--- /dev/null
+++ b/biology/py-bigwig/pkg-descr
@@ -0,0 +1,5 @@
+A python extension, written in C, for quick access to bigBed files and access
+to and creation of bigWig files. This extension uses libBigWig for local and
+remote file access.
+
+WWW: https://pypi.org/project/pyBigWig/