mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/python-magic: add 0.4.25
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST python-magic-0.4.24.gh.tar.gz 863700 BLAKE2B 09ecc8bea1696343ec2462e6989da8059c40f88e401390c8c491e531540ef0b38e5a8eac1fb8a3356203e25cf2e5caa6dad0c13d24eb34a7a299b5a071ae29b3 SHA512 b3ec148da398293465299938fabf691b56c4b3876f6abbb7a734a9c0a5180cc758a15f7085bbf1bf40ec6031697ec84d98c161db1fd04301133af09928c611fc
|
||||
DIST python-magic-0.4.25.gh.tar.gz 864127 BLAKE2B 84ec440ef1944c7fc23dcbe29156670e0feb48309150c9135fdb1898623fe687aed19c3e9e0ea14f38ef7a8ce070e61f495093056b70da83eda1f862e3957f21 SHA512 5fd8ad8b895e361cad19319d572676c3c7a2a00585fc2272442dc438cb7d272ba518177f15e7846030f692d4391fa4b3d49bc3b36902d195d37316b0feffc8aa
|
||||
|
||||
30
dev-python/python-magic/python-magic-0.4.25.ebuild
Normal file
30
dev-python/python-magic/python-magic-0.4.25.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Access the libmagic file type identification library"
|
||||
HOMEPAGE="https://github.com/ahupp/python-magic"
|
||||
SRC_URI="
|
||||
https://github.com/ahupp/python-magic/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="sys-apps/file[-python]"
|
||||
BDEPEND="
|
||||
test? ( sys-apps/file )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
local -x LC_ALL=en_US.UTF-8
|
||||
"${EPYTHON}" test/test.py -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user