summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorleot <leot>2017-04-14 14:01:02 +0000
committerleot <leot>2017-04-14 14:01:02 +0000
commit50f599a5524d19f5b11e3d5655ad2dbc4fae88b7 (patch)
treed858136bd256c71d04ef17e541afe453630c7d1c /archivers
parenta34d4855a7176f7cae8eb182ec061bc997e74505 (diff)
downloadpkgsrc-50f599a5524d19f5b11e3d5655ad2dbc4fae88b7.tar.gz
Import py-rarfile-3.0 as archivers/py-rarfile
This is Python module for RAR archive reading. The interface is made as zipfile like as possible. Licensed under ISC license. Features: * Supports both RAR3 and RAR5 format archives. * Supports multi volume archives. * Supports Unicode filenames. * Supports password-protected archives. * Supports archive and file comments. * Archive parsing and non-compressed files are handled in pure Python code. * Compressed files are extracted by executing external tool: either unrar from RARLAB or bsdtar from libarchive. * Works with both Python 2.7 and 3.x.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-rarfile/DESCR14
-rw-r--r--archivers/py-rarfile/Makefile18
-rw-r--r--archivers/py-rarfile/PLIST8
-rw-r--r--archivers/py-rarfile/distinfo6
4 files changed, 46 insertions, 0 deletions
diff --git a/archivers/py-rarfile/DESCR b/archivers/py-rarfile/DESCR
new file mode 100644
index 00000000000..c7800bf39bb
--- /dev/null
+++ b/archivers/py-rarfile/DESCR
@@ -0,0 +1,14 @@
+This is Python module for RAR archive reading. The interface is made as zipfile
+like as possible. Licensed under ISC license.
+
+Features:
+
+ * Supports both RAR3 and RAR5 format archives.
+ * Supports multi volume archives.
+ * Supports Unicode filenames.
+ * Supports password-protected archives.
+ * Supports archive and file comments.
+ * Archive parsing and non-compressed files are handled in pure Python code.
+ * Compressed files are extracted by executing external tool: either unrar from
+ RARLAB or bsdtar from libarchive.
+ * Works with both Python 2.7 and 3.x.
diff --git a/archivers/py-rarfile/Makefile b/archivers/py-rarfile/Makefile
new file mode 100644
index 00000000000..7dd8cb8dcf4
--- /dev/null
+++ b/archivers/py-rarfile/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 14:01:02 leot Exp $
+
+DISTNAME= rarfile-3.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/rarfile/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/markokr/rarfile
+COMMENT= RAR archive reader for Python
+LICENSE= isc
+
+DEPENDS+= bsdtar-[0-9]*:../../archivers/bsdtar
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/py-rarfile/PLIST b/archivers/py-rarfile/PLIST
new file mode 100644
index 00000000000..32c41e873d2
--- /dev/null
+++ b/archivers/py-rarfile/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 14:01:02 leot Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/rarfile.py
+${PYSITELIB}/rarfile.pyc
+${PYSITELIB}/rarfile.pyo
diff --git a/archivers/py-rarfile/distinfo b/archivers/py-rarfile/distinfo
new file mode 100644
index 00000000000..fdde33e46d2
--- /dev/null
+++ b/archivers/py-rarfile/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 14:01:02 leot Exp $
+
+SHA1 (rarfile-3.0.tar.gz) = 97adfdd73a0b04d4a5d51481ebcdab9470c51685
+RMD160 (rarfile-3.0.tar.gz) = 20b4ae5564bd532fa9755a2834020324f9a47db8
+SHA512 (rarfile-3.0.tar.gz) = b0b816bf09fe455e4d8d35b447c30e7810468a6927555164a1b513d4161f3fd4e77a37439620bd935c3a12e46b1e5eda3e35d7d281899d2f9fd26b6e989aa6e4
+Size (rarfile-3.0.tar.gz) = 110665 bytes