pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-xopen: Resurrect and update to 1.9.0
Module Name: pkgsrc-wip
Committed By: Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Sun Feb 4 09:43:01 2024 -0600
Changeset: 625f2e3f55265265eabb89282e08989ffe6e6a49
Added Files:
py-xopen/DESCR
py-xopen/Makefile
py-xopen/PLIST
py-xopen/distinfo
Log Message:
py-xopen: Resurrect and update to 1.9.0
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=625f2e3f55265265eabb89282e08989ffe6e6a49
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-xopen/DESCR | 4 ++++
py-xopen/Makefile | 23 +++++++++++++++++++++++
py-xopen/PLIST | 14 ++++++++++++++
py-xopen/distinfo | 5 +++++
4 files changed, 46 insertions(+)
diffs:
diff --git a/py-xopen/DESCR b/py-xopen/DESCR
new file mode 100644
index 0000000000..39c2bcac74
--- /dev/null
+++ b/py-xopen/DESCR
@@ -0,0 +1,4 @@
+This small Python module provides an xopen function that works like the
+built-in open function, but can also deal with compressed files. Supported
+compression formats are gzip, bzip2 and xz. They are automatically recognized
+by their file extensions .gz, .bz2 or .xz.
diff --git a/py-xopen/Makefile b/py-xopen/Makefile
new file mode 100644
index 0000000000..6e886e96fa
--- /dev/null
+++ b/py-xopen/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.14 2019/09/06 06:04:17 adam Exp $
+
+DISTNAME= xopen-1.9.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=x/xopen/}
+
+MAINTAINER= bacon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/marcelm/xopen
+COMMENT= Open compressed files transparently
+LICENSE= mit
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+= pigz-[0-9]*:../../archivers/pigz
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+do-test:
+ cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-xopen/PLIST b/py-xopen/PLIST
new file mode 100644
index 0000000000..657a313cae
--- /dev/null
+++ b/py-xopen/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/xopen/__init__.py
+${PYSITELIB}/xopen/__init__.pyc
+${PYSITELIB}/xopen/__init__.pyo
+${PYSITELIB}/xopen/_version.py
+${PYSITELIB}/xopen/_version.pyc
+${PYSITELIB}/xopen/_version.pyi
+${PYSITELIB}/xopen/_version.pyo
+${PYSITELIB}/xopen/py.typed
diff --git a/py-xopen/distinfo b/py-xopen/distinfo
new file mode 100644
index 0000000000..145bde472f
--- /dev/null
+++ b/py-xopen/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (xopen-1.9.0.tar.gz) = 1617c1f27e8af4d2622c11c7d52be2b2e493e6580b4a36cfb7f8be98565605c7
+SHA512 (xopen-1.9.0.tar.gz) = 81e257ee84e4a0470760d80a6a0433dbea331b9bc079b7cb8ab744cc965325157fe961d6b8a76357f970cc72c366ac0233f5b6aff81eb43f7727f3695c83cdd8
+Size (xopen-1.9.0.tar.gz) = 30580 bytes
Home |
Main Index |
Thread Index |
Old Index