summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-01-09 10:28:19 +0000
committeradam <adam@pkgsrc.org>2019-01-09 10:28:19 +0000
commit66add5bbec060a9b3d2ab8cc73e9f5e5bce48e42 (patch)
treeb341871da3926fcb13a71f8be1e73fabf4e2a230 /archivers
parentfcffafe7f96e9763b7a09b5b41acba9a2b9c81e0 (diff)
downloadpkgsrc-66add5bbec060a9b3d2ab8cc73e9f5e5bce48e42.tar.gz
py-bz2file: added version 0.98
Bz2file is a Python library for reading and writing bzip2-compressed files. It contains a drop-in replacement for the file interface in the standard library's bz2 module, including features from the latest development version of CPython that are not available in older releases.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile3
-rw-r--r--archivers/py-bz2file/DESCR4
-rw-r--r--archivers/py-bz2file/Makefile21
-rw-r--r--archivers/py-bz2file/PLIST5
-rw-r--r--archivers/py-bz2file/distinfo6
5 files changed, 38 insertions, 1 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index ca44e7b99de..d73aa70eec4 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.158 2018/06/18 20:46:49 minskim Exp $
+# $NetBSD: Makefile,v 1.159 2019/01/09 10:28:19 adam Exp $
#
COMMENT= Archivers
@@ -88,6 +88,7 @@ SUBDIR+= pigz
SUBDIR+= ppmd
SUBDIR+= ppunpack
SUBDIR+= py-brotlipy
+SUBDIR+= py-bz2file
SUBDIR+= py-czipfile
SUBDIR+= py-lhafile
SUBDIR+= py-libarchive-c
diff --git a/archivers/py-bz2file/DESCR b/archivers/py-bz2file/DESCR
new file mode 100644
index 00000000000..5a9a8ed0a71
--- /dev/null
+++ b/archivers/py-bz2file/DESCR
@@ -0,0 +1,4 @@
+Bz2file is a Python library for reading and writing bzip2-compressed files. It
+contains a drop-in replacement for the file interface in the standard library's
+bz2 module, including features from the latest development version of CPython
+that are not available in older releases.
diff --git a/archivers/py-bz2file/Makefile b/archivers/py-bz2file/Makefile
new file mode 100644
index 00000000000..da41b487473
--- /dev/null
+++ b/archivers/py-bz2file/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/01/09 10:28:19 adam Exp $
+
+DISTNAME= bz2file-0.98
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= archivers python
+MASTER_SITES= ${MASTER_SITE_PYPI:=b/bz2file/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/nvawda/bz2file
+COMMENT= Read and write bzip2-compressed files
+LICENSE= apache-2.0
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_ACCEPTED= 27
+
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} test_bz2file.py
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/py-bz2file/PLIST b/archivers/py-bz2file/PLIST
new file mode 100644
index 00000000000..475796cb309
--- /dev/null
+++ b/archivers/py-bz2file/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/09 10:28:19 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/bz2file.py
+${PYSITELIB}/bz2file.pyc
+${PYSITELIB}/bz2file.pyo
diff --git a/archivers/py-bz2file/distinfo b/archivers/py-bz2file/distinfo
new file mode 100644
index 00000000000..dd4a88eaf8b
--- /dev/null
+++ b/archivers/py-bz2file/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/09 10:28:19 adam Exp $
+
+SHA1 (bz2file-0.98.tar.gz) = 46a66ab968518f258c4fd33f82c030659c910418
+RMD160 (bz2file-0.98.tar.gz) = 5fa4788ca3ebc2f3fbed7e37bc8e8ce13d11ccdf
+SHA512 (bz2file-0.98.tar.gz) = 2d28e71fe71b5fea4008d65a1fa91d5c6fafcacc09f891c5deaaa985661576bd97f2e33fe9f8c5943841f09c153f2079a2511329c066e57c775fb0b089b30b20
+Size (bz2file-0.98.tar.gz) = 11333 bytes