diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/python-magic | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/python-magic')
-rw-r--r-- | dev-python/python-magic/Manifest | 6 | ||||
-rw-r--r-- | dev-python/python-magic/python-magic-0.4.26.ebuild (renamed from dev-python/python-magic/python-magic-0.4.25.ebuild) | 27 | ||||
-rw-r--r-- | dev-python/python-magic/python-magic-0.4.27.ebuild | 39 |
3 files changed, 61 insertions, 11 deletions
diff --git a/dev-python/python-magic/Manifest b/dev-python/python-magic/Manifest index 710384f051c0..885240e3c49b 100644 --- a/dev-python/python-magic/Manifest +++ b/dev-python/python-magic/Manifest @@ -1,3 +1,5 @@ -DIST python-magic-0.4.25.gh.tar.gz 864121 BLAKE2B ec79112aba9f79a6dd6a3840a1286432806c0cd035d301668fd8177ce36b270ddf1c928f70d51cfacb88cca4d5fb31706cff946b16ed230e8850bca9ebda8c0b SHA512 eb138f7f2d1320f831516fdf21bf7dd404acf070be6093b7ed8697325f60998d886405c5ff348c7e4ad69ecd2ee0ab899afe455db90eda502acdf8b86337f79c -EBUILD python-magic-0.4.25.ebuild 748 BLAKE2B 23132036facdc06cb6a5198aae572371d44ea4416bcb0766d69d5da75048789aa12687b282077544cc1c6cc7450d2e829afba97c6983a9927b5e5cadd94ff9cd SHA512 047afbc4eadb6e70f9d8b72eddabaeb7300ba63e2ac82cc59afa889fc5107cdb25cdb6b37a35091caed38f01cc219f59d97653ae9f988e8c10fbb4790516af5d +DIST python-magic-0.4.26.gh.tar.gz 863618 BLAKE2B 62d85758402d77376e685eb0f8964fd5d9e2a62775c3566d7f2a76284b287b6b17f9f759dbc08404087fc8a524609cefa65ab8e74020c4bd4f49e8ae3a2d604f SHA512 a9f2f8ef9f1aef9e9455b656fabf8e6cf7b1a9df4af2012c7a9426e0740cd6e8952e6957e01710809ab018d008fd531a74e9f66640af1299b61c35ede590b749 +DIST python-magic-0.4.27.gh.tar.gz 863649 BLAKE2B 4ba22d0f8bd5e70eb37e3b46eba1b885d49682bf45d703ad7966bcc67614427ebe597e3100575f863b7e54421c6de6fc875af24a9d5b49742fe07b361b65f198 SHA512 a476730a5caa9a2a784187f57743d5cec4b1829a6a76d4d1fb4e0112caf5487888961df293bc38074ef1a5d313b0fc4aed4cc99b980f5336e8a907c44a33e84e +EBUILD python-magic-0.4.26.ebuild 780 BLAKE2B fe8eb0b4274fa6da8247b689442405652e6dfe0586f480cd1ebe921670eff12d7b92776339d029894d66e9c365919d372f141978f005eab1493a129f4ec01f20 SHA512 0affc72f396735ceeb81ea3b4c51b90d4d0902d97a9838aae1adfb9df485b6c880348d97d6b9b137701309cb05498d163d144bc8208a8214d6b5fa8cbb6850a3 +EBUILD python-magic-0.4.27.ebuild 792 BLAKE2B 5cb73489b78ae49cd370c5502168c06b48e020ce309c0d1f3fd82107f5bb4a63ea6c95b48b6b7c17c6a63466aeaed20589b33fa2688958f1763907a6250f6b37 SHA512 5d5c487574a4457ba36fd7aa2d45f07d410e27f63486dd624e525546425a36037f137667bc9fcf712d79d1e54c4bc5b958f4c182c8014dec6987b58393689234 MISC metadata.xml 411 BLAKE2B 614256656c3be285f997a177b6239cc4f6c253c8708cdb7339dab99f6a21fdec0a36af90a5c8cbe39f29939cfb64b276abd572fd9687e609a26e1098bb1ceb69 SHA512 ff2c756d280d753fe614396f5dda04958b3a3d0a3d94586724d2580d5901af01ebe30e1cbb98e263ca6dd95e6043222311be375595653cbf7ccf54dff9cd971e diff --git a/dev-python/python-magic/python-magic-0.4.25.ebuild b/dev-python/python-magic/python-magic-0.4.26.ebuild index 2f64601425d4..fcecb826af0c 100644 --- a/dev-python/python-magic/python-magic-0.4.25.ebuild +++ b/dev-python/python-magic/python-magic-0.4.26.ebuild @@ -4,27 +4,36 @@ 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" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux" -IUSE="test" -RESTRICT="!test? ( test )" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux" -RDEPEND="sys-apps/file[-python]" +RDEPEND=" + sys-apps/file[-python] +" BDEPEND=" - test? ( sys-apps/file ) + test? ( + sys-apps/file + ) " +distutils_enable_tests unittest + python_test() { local -x LC_ALL=en_US.UTF-8 - "${EPYTHON}" test/test.py -v || die "Tests fail with ${EPYTHON}" + eunittest -p "*_test.py" } diff --git a/dev-python/python-magic/python-magic-0.4.27.ebuild b/dev-python/python-magic/python-magic-0.4.27.ebuild new file mode 100644 index 000000000000..156134420732 --- /dev/null +++ b/dev-python/python-magic/python-magic-0.4.27.ebuild @@ -0,0 +1,39 @@ +# 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..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Access the libmagic file type identification library" +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 +" + +LICENSE="BSD-2 MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux" + +RDEPEND=" + sys-apps/file[-python] +" +BDEPEND=" + test? ( + sys-apps/file + ) +" + +distutils_enable_tests unittest + +python_test() { + local -x LC_ALL=en_US.UTF-8 + eunittest -p "*_test.py" +} |