aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2024-09-29 16:23:41 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2024-09-29 16:33:27 +0300
commit9fe55c139ea0af511852aba3f3d764d8e9263b50 (patch)
tree0472d502fe8fe5538a4b59b90aad734e56bc2731 /dev-python
parentdev-python/isal: new package, add 1.6.1 (diff)
downloadsci-9fe55c139ea0af511852aba3f3d764d8e9263b50.tar.gz
sci-9fe55c139ea0af511852aba3f3d764d8e9263b50.tar.bz2
sci-9fe55c139ea0af511852aba3f3d764d8e9263b50.zip
dev-python/xopen: new package, add 2.0.2
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/xopen/Manifest1
-rw-r--r--dev-python/xopen/metadata.xml12
-rw-r--r--dev-python/xopen/xopen-2.0.2.ebuild28
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/xopen/Manifest b/dev-python/xopen/Manifest
new file mode 100644
index 000000000..bda39b979
--- /dev/null
+++ b/dev-python/xopen/Manifest
@@ -0,0 +1 @@
+DIST xopen-2.0.2.tar.gz 32224 BLAKE2B caaafff311b2243092ac43c88f6eff789da7f1739f4faa796f72c1c85de0f1a3be72702ad00def72d88a229a63b4ed51e56b7854e9ef2f217ada2c3262a4a5b0 SHA512 65e628e4a86281c6fead189a058a5e59107079ba4a74b8b45dbe6afb149644872efdbb118d74a89c1ebf643d93378c72f2c24390a4a05a2e0f4ad0f77fe0bfac
diff --git a/dev-python/xopen/metadata.xml b/dev-python/xopen/metadata.xml
new file mode 100644
index 000000000..9d5d13024
--- /dev/null
+++ b/dev-python/xopen/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Xopen</remote-id>
+ <remote-id type="github">marcelm/xopen</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/xopen/xopen-2.0.2.ebuild b/dev-python/xopen/xopen-2.0.2.ebuild
new file mode 100644
index 000000000..3e94dcbb3
--- /dev/null
+++ b/dev-python/xopen/xopen-2.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Open compressed files transparently"
+HOMEPAGE="https://github.com/marcelm/xopen/"
+SRC_URI="$(pypi_sdist_url "${PN^}" "${PV}")"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+DEPEND="
+ dev-python/isal[${PYTHON_USEDEP}]
+ sys-libs/zlib-ng
+"
+RDEPEND="
+ ${DEPEND}
+ test? ( dev-python/pytest )
+"
+distutils_enable_tests pytest