summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2016-01-16 19:24:31 +0000
committerMartin Wilke <miwi@FreeBSD.org>2016-01-16 19:24:31 +0000
commit87e98d1e8c5a48f9661c41d1b59c780964c69065 (patch)
tree3a599a96da60e92cbcf58165e6016c3481945da0
parentAllow building in poudriere or from ports when gnupg is not yet installed (diff)
This is Python module for RAR archive reading. The interface is made
as zipfile like as possible. WWW: https://github.com/markokr/rarfile PR: 206306 Submitted by: Kevin Golding <ports@caomhin.org>
Notes
Notes: svn path=/head/; revision=406269
Diffstat (limited to '')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/py-rarfile/Makefile21
-rw-r--r--archivers/py-rarfile/distinfo2
-rw-r--r--archivers/py-rarfile/pkg-descr4
4 files changed, 28 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index d9ff61fd06fd..9b90a71e7c1e 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -169,6 +169,7 @@
SUBDIR += py-lzma
SUBDIR += py-pyliblzma
SUBDIR += py-python-snappy
+ SUBDIR += py-rarfile
SUBDIR += qpress
SUBDIR += quazip
SUBDIR += quazip-qt5
diff --git a/archivers/py-rarfile/Makefile b/archivers/py-rarfile/Makefile
new file mode 100644
index 000000000000..665ff18497e8
--- /dev/null
+++ b/archivers/py-rarfile/Makefile
@@ -0,0 +1,21 @@
+# Created by: Kevin Golding <ports@caomhin.org>
+# $FreeBSD$
+
+PORTNAME= rarfile
+PORTVERSION= 2.7
+CATEGORIES= archivers python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports@caomhin.org
+COMMENT= Python module for RAR archive reading
+
+LICENSE= ISCL
+
+RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar
+
+NO_ARCH= yes
+USES= python:2.7+
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/archivers/py-rarfile/distinfo b/archivers/py-rarfile/distinfo
new file mode 100644
index 000000000000..af3e6bb79486
--- /dev/null
+++ b/archivers/py-rarfile/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rarfile-2.7.tar.gz) = 47148088ddb6c020774f4c38927fec9625ca33651bdc551bdaeafc78690b1635
+SIZE (rarfile-2.7.tar.gz) = 37515
diff --git a/archivers/py-rarfile/pkg-descr b/archivers/py-rarfile/pkg-descr
new file mode 100644
index 000000000000..cc780b342f81
--- /dev/null
+++ b/archivers/py-rarfile/pkg-descr
@@ -0,0 +1,4 @@
+This is Python module for RAR archive reading. The interface is made
+as zipfile like as possible.
+
+WWW: https://github.com/markokr/rarfile