diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-01 23:52:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-02 00:22:32 +0200 |
commit | 9bb3cc95e5507febfc65bc295e34bb50e2e3e487 (patch) | |
tree | cc93630df92bdf34ab03b8a606b748d88d1f44bc /dev-python | |
parent | dev-python/awxkit: Bump to 19.2.0 (diff) | |
download | gentoo-9bb3cc95e5507febfc65bc295e34bb50e2e3e487.tar.gz gentoo-9bb3cc95e5507febfc65bc295e34bb50e2e3e487.tar.bz2 gentoo-9bb3cc95e5507febfc65bc295e34bb50e2e3e487.zip |
dev-python/python-magic: Bump to 0.4.23
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-magic/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-magic/python-magic-0.4.23.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/python-magic/Manifest b/dev-python/python-magic/Manifest index 3d84bdf143a1..fc4007252a89 100644 --- a/dev-python/python-magic/Manifest +++ b/dev-python/python-magic/Manifest @@ -1 +1,2 @@ DIST python-magic-0.4.22.gh.tar.gz 863567 BLAKE2B 6994869e4cc5ba5ff7ae1a6ac6117f5b1553a11079fb5faaa23b48ee241b2615e2514270f66c55b417b4051d6a5aedd7c289f139c23842979e4af0cdb7a34e3a SHA512 7f16c090a713be4ecc25727f0195bddfadfa9f54507899e35f48bd268ea1d78637ca024ecf02e331a8988a931e430f7346bb5f4b46e58ddc1ff03ec678640e6d +DIST python-magic-0.4.23.gh.tar.gz 863739 BLAKE2B 7adcf4f8662cb5c6dab1d680a48f80db03f78d6f2f67a81f9d1464a79b820d8ed28a69ca5aa1c8eaa1b016556217dcab0878725a370318db0905985d332561f4 SHA512 8f6093ba6e1138e8c81e7afc596946c3657ddea55554edcf555f6490e2d19c936f41367cd27a04554a344b3116d033ab760c2c954ac6ffd017b9c319abe44b00 diff --git a/dev-python/python-magic/python-magic-0.4.23.ebuild b/dev-python/python-magic/python-magic-0.4.23.ebuild new file mode 100644 index 000000000000..8cbe1ca0fe8c --- /dev/null +++ b/dev-python/python-magic/python-magic-0.4.23.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..10} ) + +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 ~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}" +} |