pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-rarfile: Import py-rarfile-3.0 as wip/py-rarfile
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Feb 12 14:00:22 2017 +0100
Changeset: 2b7185b95a295004e8edbca18f7a39520e35650e
Modified Files:
Makefile
Added Files:
py-rarfile/DESCR
py-rarfile/Makefile
py-rarfile/PLIST
py-rarfile/distinfo
Log Message:
py-rarfile: Import py-rarfile-3.0 as wip/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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2b7185b95a295004e8edbca18f7a39520e35650e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-rarfile/DESCR | 14 ++++++++++++++
py-rarfile/Makefile | 20 ++++++++++++++++++++
py-rarfile/PLIST | 8 ++++++++
py-rarfile/distinfo | 6 ++++++
5 files changed, 49 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index d6d70eb44a..1151a0cad4 100644
--- a/Makefile
+++ b/Makefile
@@ -3395,6 +3395,7 @@ SUBDIR+= py-radon
SUBDIR+= py-radontea
SUBDIR+= py-ranger
SUBDIR+= py-raphrase
+SUBDIR+= py-rarfile
SUBDIR+= py-rasterio
SUBDIR+= py-raven
SUBDIR+= py-rcsparse
diff --git a/py-rarfile/DESCR b/py-rarfile/DESCR
new file mode 100644
index 0000000000..c7800bf39b
--- /dev/null
+++ b/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/py-rarfile/Makefile b/py-rarfile/Makefile
new file mode 100644
index 0000000000..25fc47c4aa
--- /dev/null
+++ b/py-rarfile/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= rarfile-3.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/rarfile/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/markokr/rarfile
+COMMENT= RAR archive reader for Python
+LICENSE= isc
+
+# XXX: Should we use `USE_TOOLS+= bsdtar:run' instead?
+# XXX: Should we permit to eventually use unrar?
+DEPENDS+= bsdtar-[0-9]*:../../archivers/bsdtar
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-rarfile/PLIST b/py-rarfile/PLIST
new file mode 100644
index 0000000000..deef9f3401
--- /dev/null
+++ b/py-rarfile/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${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/py-rarfile/distinfo b/py-rarfile/distinfo
new file mode 100644
index 0000000000..48b16aed52
--- /dev/null
+++ b/py-rarfile/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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
Home |
Main Index |
Thread Index |
Old Index