summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-14 09:31:58 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-14 10:25:48 +0200
commit0dc0552594d2674c2af6ee59a0fd336817f7e61d (patch)
tree8d560a8eb54e3e3078135c7b698f7daf813ebf54 /dev-python/python-magic
parentapp-portage/mgorny-dev-scripts: Bump to v17 (diff)
downloadgentoo-0dc0552594d2674c2af6ee59a0fd336817f7e61d.tar.gz
gentoo-0dc0552594d2674c2af6ee59a0fd336817f7e61d.tar.bz2
gentoo-0dc0552594d2674c2af6ee59a0fd336817f7e61d.zip
dev-python/python-magic: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-magic')
-rw-r--r--dev-python/python-magic/python-magic-0.4.25.ebuild15
1 files 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 )
"