archivers/py-rarfile

Version 3.1

DESCR:
rarfile is a Python module for RAR archive reading. The interface
is made as zipfile like as possible.

Supports both RAR3 and RAR5 format archives, multi volume archives,
Unicode filenames, password-protected archives, archive and file
comments, and archive parsing and non-compressed files handled with
pure Python code, Compressed files are extracted by executing either
unrar from RARLAB or bsdtar from libarchive.  Works with both Python
2.7 and 3.x.

ok landry
This commit is contained in:
kmos 2019-11-07 21:45:52 +00:00
parent 7d05a3fb48
commit 6dba602bec
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/11/07 21:45:52 kmos Exp $
COMMENT = RAR archive reader for Python
MODPY_EGG_VERSION = 3.1
DISTNAME = rarfile-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = archivers
HOMEPAGE = https://github.com/markokr/rarfile
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
# ISC
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR ?=
RUN_DEPENDS = archivers/libarchive \
archivers/unrar
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (rarfile-3.1.tar.gz) = 3BBiF2xSn0F1Iq99oSkaNbhcgBdGTmZaq84EjP4mWbY=
SIZE (rarfile-3.1.tar.gz) = 121579

View File

@ -0,0 +1,9 @@
rarfile is a Python module for RAR archive reading. The interface
is made as zipfile like as possible.
Supports both RAR3 and RAR5 format archives, multi volume archives,
Unicode filenames, password-protected archives, archive and file
comments, and archive parsing and non-compressed files handled with
pure Python code, Compressed files are extracted by executing either
unrar from RARLAB or bsdtar from libarchive. Works with both Python
2.7 and 3.x.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/11/07 21:45:52 kmos Exp $
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}rarfile.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rarfile-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/rarfile-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/rarfile-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/rarfile-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/rarfile-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/rarfile.py