commit: 0a18d08236f7980cd5207392c733c46a1f1282e2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 1 01:14:47 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 1 01:25:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a18d082
dev-python/rarfile: update EAPI 7 -> 8
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/rarfile/rarfile-4.0-r1.ebuild | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/dev-python/rarfile/rarfile-4.0-r1.ebuild
b/dev-python/rarfile/rarfile-4.0-r1.ebuild
new file mode 100644
index 000000000000..8c383b1620e6
--- /dev/null
+++ b/dev-python/rarfile/rarfile-4.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTLS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Module for RAR archive reading"
+HOMEPAGE="https://github.com/markokr/rarfile"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+compressed test"
+REQUIRED_USE="test? ( compressed )"
+
+RDEPEND="compressed? ( app-arch/unrar )"
+
+PATCHES=( "${FILESDIR}"/${P}.patch )
+
+distutils_enable_tests pytest