1 |
commit: 9bb3cc95e5507febfc65bc295e34bb50e2e3e487 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 21:52:19 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 22:22:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb3cc95 |
7 |
|
8 |
dev-python/python-magic: Bump to 0.4.23 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-magic/Manifest | 1 + |
13 |
dev-python/python-magic/python-magic-0.4.23.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-magic/Manifest b/dev-python/python-magic/Manifest |
17 |
index 3d84bdf143a..fc4007252a8 100644 |
18 |
--- a/dev-python/python-magic/Manifest |
19 |
+++ b/dev-python/python-magic/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-magic-0.4.22.gh.tar.gz 863567 BLAKE2B 6994869e4cc5ba5ff7ae1a6ac6117f5b1553a11079fb5faaa23b48ee241b2615e2514270f66c55b417b4051d6a5aedd7c289f139c23842979e4af0cdb7a34e3a SHA512 7f16c090a713be4ecc25727f0195bddfadfa9f54507899e35f48bd268ea1d78637ca024ecf02e331a8988a931e430f7346bb5f4b46e58ddc1ff03ec678640e6d |
22 |
+DIST python-magic-0.4.23.gh.tar.gz 863739 BLAKE2B 7adcf4f8662cb5c6dab1d680a48f80db03f78d6f2f67a81f9d1464a79b820d8ed28a69ca5aa1c8eaa1b016556217dcab0878725a370318db0905985d332561f4 SHA512 8f6093ba6e1138e8c81e7afc596946c3657ddea55554edcf555f6490e2d19c936f41367cd27a04554a344b3116d033ab760c2c954ac6ffd017b9c319abe44b00 |
23 |
|
24 |
diff --git a/dev-python/python-magic/python-magic-0.4.23.ebuild b/dev-python/python-magic/python-magic-0.4.23.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8cbe1ca0fe8 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-magic/python-magic-0.4.23.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{7..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Access the libmagic file type identification library" |
40 |
+HOMEPAGE="https://github.com/ahupp/python-magic" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/ahupp/python-magic/archive/${PV}.tar.gz |
43 |
+ -> ${P}.gh.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2 MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND="sys-apps/file[-python]" |
52 |
+BDEPEND=" |
53 |
+ test? ( sys-apps/file ) |
54 |
+" |
55 |
+ |
56 |
+python_test() { |
57 |
+ local -x LC_ALL=en_US.UTF-8 |
58 |
+ "${EPYTHON}" test/test.py -v || die "Tests fail with ${EPYTHON}" |
59 |
+} |