summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-24 07:46:21 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-24 09:49:22 +0100
commit54131ad7185d9a0ff0326be76ff997d73d2fde74 (patch)
treee13864fe2437a714cb69dcdeb13d09cd780a1253 /dev-python/puremagic
parentdev-python/pydantic: Bump to 2.6.2 (diff)
downloadgentoo-54131ad7185d9a0ff0326be76ff997d73d2fde74.tar.gz
gentoo-54131ad7185d9a0ff0326be76ff997d73d2fde74.tar.bz2
gentoo-54131ad7185d9a0ff0326be76ff997d73d2fde74.zip
dev-python/puremagic: Bump to 1.21
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/puremagic')
-rw-r--r--dev-python/puremagic/Manifest1
-rw-r--r--dev-python/puremagic/puremagic-1.21.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest
index d31e5f5b62ab..466f0c25ac1a 100644
--- a/dev-python/puremagic/Manifest
+++ b/dev-python/puremagic/Manifest
@@ -1,2 +1,3 @@
DIST puremagic-1.15.gh.tar.gz 295922 BLAKE2B b78a691fe5843eec7be4874c11492565ce474a741bd80cb5787bbfacd4522363acf880071d4e9b3beab14287890e851da1e92eeea2aacce1161729287b99ce9e SHA512 46d8ad7e2aa309558e37589b8a9508ef4156a5d6768b738df5f8539cb9edc12d83ac46a2fd46ef48d9323c73dfeff0e6f5eee8046bdd910f6ea14bb5402e477e
DIST puremagic-1.20.gh.tar.gz 296430 BLAKE2B 9c10c43edd03ba85d40827e253fe7cbc18ad40e78c0824e653fb47583bf2fe67e5382657e55a4497c982f553f593e21a42bd2b842411e74365dee63a09d5dfee SHA512 a926dbf4957ad78391b8ce9ee77d873593e9c51bc4590d900eafe8162ee1cf75aa3a22679164cdc2fb39adc168c7ecca97dadd7b9d0396dc77d078ef19a0a465
+DIST puremagic-1.21.gh.tar.gz 296990 BLAKE2B 78709c296ee8599009f07f8fadfaa60957895d1a45d3fd5f12605a54901e2f0ab878abdb4dc121a77d2c4da922b2f5a173d13ef660a2265298716a26da28f293 SHA512 cc2c76a2ddcfacdfce778e565b07692dcd247723aa85c562ba4d8c70992f79a8f13a7bc33f1468ee37298c266d35d76febe2e6164fdc145077d68b05cfa2e1c4
diff --git a/dev-python/puremagic/puremagic-1.21.ebuild b/dev-python/puremagic/puremagic-1.21.ebuild
new file mode 100644
index 000000000000..e9212eebd43c
--- /dev/null
+++ b/dev-python/puremagic/puremagic-1.21.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python implementation of magic file detection"
+HOMEPAGE="
+ https://github.com/cdgriffith/puremagic/
+ https://pypi.org/project/puremagic/
+"
+SRC_URI="
+ https://github.com/cdgriffith/${PN}/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( CHANGELOG.md README.rst )
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}