From 2c0d456347e08ef160fede1a6f5b6ee20694463f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 23 Oct 2023 14:33:26 -0400 Subject: dev-python/unrardll: new package, add 0.1.7 reverse dependency of app-text/calibre Closes: https://bugs.gentoo.org/622854 Bug: https://bugs.gentoo.org/622856 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- dev-python/unrardll/Manifest | 1 + dev-python/unrardll/metadata.xml | 16 +++++++++++++++ dev-python/unrardll/unrardll-0.1.7.ebuild | 33 +++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/unrardll/Manifest create mode 100644 dev-python/unrardll/metadata.xml create mode 100644 dev-python/unrardll/unrardll-0.1.7.ebuild diff --git a/dev-python/unrardll/Manifest b/dev-python/unrardll/Manifest new file mode 100644 index 000000000000..692799ecadae --- /dev/null +++ b/dev-python/unrardll/Manifest @@ -0,0 +1 @@ +DIST unrardll-0.1.7.tar.gz 10780032 BLAKE2B 92f852ed9cbc02d4c48093dbd5a7f64f4bc279a7b3a3018247a832a61c263b3be19ec5ea94ffdc78c85bd2737647cc3eb231ae9d0953da1de5f23002e7e6ffdc SHA512 23da519c37e52e5cc032d119d1b723c0f4b4ec2c8a08b8ec24a193395d5530780c65a1c20f69aa58f6976ea5e7481c11b92a472cfbce8c477af14673be2189fc diff --git a/dev-python/unrardll/metadata.xml b/dev-python/unrardll/metadata.xml new file mode 100644 index 000000000000..34d0dccf4daa --- /dev/null +++ b/dev-python/unrardll/metadata.xml @@ -0,0 +1,16 @@ + + + + + eschwartz93@gmail.com + Eli Schwartz + + + python@gentoo.org + Python + + + kovidgoyal/unrardll + unrardll + + diff --git a/dev-python/unrardll/unrardll-0.1.7.ebuild b/dev-python/unrardll/unrardll-0.1.7.ebuild new file mode 100644 index 000000000000..2c4ab30ac2b9 --- /dev/null +++ b/dev-python/unrardll/unrardll-0.1.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for the UnRAR DLL" +HOMEPAGE=" + https://github.com/kovidgoyal/unrardll + https://pypi.org/project/unrardll/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# The version constraint is needed to resolve https://bugs.gentoo.org/916036 +# and guarantee the headers are findable. +DEPEND=">=app-arch/unrar-6.2.12-r1:=" +RDEPEND="${DEPEND}" + +distutils_enable_tests unittest + +src_prepare() { + default + # https://github.com/kovidgoyal/unrardll/pull/5 + mv test/basic.py test/test_basic.py || die +} -- cgit v1.2.3-65-gdbad