commit: 0dc0552594d2674c2af6ee59a0fd336817f7e61d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 07:31:58 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 14 08:25:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc05525
dev-python/python-magic: Enable py3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-magic/python-magic-0.4.25.ebuild | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/dev-python/python-magic/python-magic-0.4.25.ebuild
b/dev-python/python-magic/python-magic-0.4.25.ebuild
index 2f64601425d4..5f8d4351a95d 100644
--- a/dev-python/python-magic/python-magic-0.4.25.ebuild
+++ b/dev-python/python-magic/python-magic-0.4.25.ebuild
@@ -4,14 +4,19 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
inherit distutils-r1
DESCRIPTION="Access the libmagic file type identification library"
-HOMEPAGE="https://github.com/ahupp/python-magic"
+HOMEPAGE="
+ https://github.com/ahupp/python-magic/
+ https://pypi.org/project/python-magic/
+"
SRC_URI="
https://github.com/ahupp/python-magic/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
+ -> ${P}.gh.tar.gz
+"
LICENSE="BSD-2 MIT"
SLOT="0"
@@ -19,7 +24,9 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc
x86 ~amd64-linux"
IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="sys-apps/file[-python]"
+RDEPEND="
+ sys-apps/file[-python]
+"
BDEPEND="
test? ( sys-apps/file )
"