summaryrefslogtreecommitdiff
path: root/dev-python/python-magic
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-magic')
-rw-r--r--dev-python/python-magic/Manifest4
-rw-r--r--dev-python/python-magic/python-magic-0.4.19.ebuild30
-rw-r--r--dev-python/python-magic/python-magic-0.4.20.ebuild30
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/python-magic/Manifest b/dev-python/python-magic/Manifest
index c588b1b4aa63..cee06ffc28aa 100644
--- a/dev-python/python-magic/Manifest
+++ b/dev-python/python-magic/Manifest
@@ -1,3 +1,7 @@
DIST python-magic-0.4.18.gh.tar.gz 856291 BLAKE2B 882c86d3e8995d1e1b6168637a01f4f8bc86f23390b1c67248baf46d16d574a41789938ccdf0acd83db0652678ab0fa0f6e043eb2c4a75743e5d448e80530da5 SHA512 d5f0047c7537ce0598537629c60aa708623480792d489fa003328b5c6c5b0d42748b6e996f27dc2c164c598813fcf19393567e7ea266a9f0718cf2ddafbd33ac
+DIST python-magic-0.4.19.gh.tar.gz 863519 BLAKE2B 2e777612d55256ba955e199fc6734f6e68b8cf996222820192cf9730b2c274b2f6be2d5fe58c92cce741047d77b79b0447c5961a056e1788d924d34cedba1d40 SHA512 1d78077fe02b4ab8c8aa1720064f2b5d19f304310ca88c1fada2dbafa5118820b6d7e3f031e3d7df5394ad480872d8bcd33489fec1ce2e6e0d9d84a7325040f1
+DIST python-magic-0.4.20.gh.tar.gz 863539 BLAKE2B 27f345b138068a44670456209b9f87e9715c475787bcfff396c711cb0f768ee83599b9e6ebbc4c0c73c6867c3653518938b51116d28e3d77a758a6d1b860c7b9 SHA512 3927958a6957177d1a6e8bcbbb3723f489018f9037b619bbf7478ab68ba2ddd52d9a0caf18e6a73671e8e5e1cb8a9efb957756ba9547a7dd66ab6ba293f37826
EBUILD python-magic-0.4.18.ebuild 748 BLAKE2B fe67a830827bdaddad26786095e639605b7203633c9349973109e7efcaeb1ad90eb18261ecf3e8ae35598340bb09cef37ae27c3acd2b54949e9704a817648b9e SHA512 eb90d9967e05f7bdc41a4bebc3e0a98c752490508263d6ba48a2c6413278957d8e90507e03fb84f989e6b4f22e23fa8d158beec7c1e735f0780f3632ec246a27
+EBUILD python-magic-0.4.19.ebuild 715 BLAKE2B 6530656d55d45961173dda8965a352b6470164cedfc438f33b6438d525454c9212dd3a783632251e0e6a48a77aa58214fdc596a529f60aae2dc0d7eb0b0b1b7e SHA512 a930230722089a77f4423c64c0a541c9434c78471d57c7f7962c84f2808c10925ba9c0990ea7b036bb4f6ebd0eaac38e167a680c653108cdc13e597a2e749c3e
+EBUILD python-magic-0.4.20.ebuild 715 BLAKE2B 6530656d55d45961173dda8965a352b6470164cedfc438f33b6438d525454c9212dd3a783632251e0e6a48a77aa58214fdc596a529f60aae2dc0d7eb0b0b1b7e SHA512 a930230722089a77f4423c64c0a541c9434c78471d57c7f7962c84f2808c10925ba9c0990ea7b036bb4f6ebd0eaac38e167a680c653108cdc13e597a2e749c3e
MISC metadata.xml 523 BLAKE2B 6f12df0b77967272d055c9841d681752ded29e31d7e93489403e7117f111b5cdf847675897880354c08674f15b4d33aac348f0ce8ed7f04762b471f6a3667ca8 SHA512 9e503b941a7e62f21ef1417de1659c8135249027d59961486ec128c95239f56051dac67980e728e8cba73f7160259424e3121f007692f68f9c7c13f86b5060fc
diff --git a/dev-python/python-magic/python-magic-0.4.19.ebuild b/dev-python/python-magic/python-magic-0.4.19.ebuild
new file mode 100644
index 000000000000..a4807619f588
--- /dev/null
+++ b/dev-python/python-magic/python-magic-0.4.19.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..9} )
+
+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}"
+}
diff --git a/dev-python/python-magic/python-magic-0.4.20.ebuild b/dev-python/python-magic/python-magic-0.4.20.ebuild
new file mode 100644
index 000000000000..a4807619f588
--- /dev/null
+++ b/dev-python/python-magic/python-magic-0.4.20.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..9} )
+
+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}"
+}