commit: 9fe55c139ea0af511852aba3f3d764d8e9263b50 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> AuthorDate: Sun Sep 29 13:23:41 2024 +0000 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> CommitDate: Sun Sep 29 13:33:27 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9fe55c13
dev-python/xopen: new package, add 2.0.2 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> dev-python/xopen/metadata.xml | 12 ++++++++++++ dev-python/xopen/xopen-2.0.2.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) 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>[email protected]</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
