summaryrefslogtreecommitdiff
path: root/dev-python/puremagic
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/puremagic')
-rw-r--r--dev-python/puremagic/Manifest2
-rw-r--r--dev-python/puremagic/puremagic-1.24.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest
index ad71b49157e0..4098b4a1f5da 100644
--- a/dev-python/puremagic/Manifest
+++ b/dev-python/puremagic/Manifest
@@ -1,3 +1,5 @@
DIST puremagic-1.23.gh.tar.gz 306804 BLAKE2B b9da78fc20ee77dac85065f85a8770273ece5f97c372c42e274d272c3c389cca2ed1433774f96d1b55dff01ff542c63ad5093befa5c3530b052de32ffa142a77 SHA512 9bdb6ae0158ecf5d87e82de112ce9d988ac2b4a29d06dd06cba9c4675fe11d270c7cab611f8cb8ffb5ccd622be66fe43b441f203d27e9c4c9feb55bb81036fce
+DIST puremagic-1.24.gh.tar.gz 309763 BLAKE2B 7d2920d2028bb8db9f87f569ae57a00436289e2e6661a07da39d2cdf96975d56c5fbe6569a2909127fef1a1e8c51514ae5f1730df85e620a8cd84abfa8d0dd03 SHA512 06ef1008788c2941df9b3237d41df9908bf172e22f66e478470ab66d3cefd0c8d598f8a95df285bfde58477a98d4da557c0fef7a691b30bcf3d82d76067c518d
EBUILD puremagic-1.23.ebuild 632 BLAKE2B a05216707836158ec9988e1c3fb9090e6dfa09760f1d9c244eeb9197246c858b6a3430680486d4a2dd17975159d68cdad5f0fc7a679a2d56544a6937d1d7b7bd SHA512 af9161937efc171ee05b350241bab778f9d9faee5e6645d75b44dc5f92b301b7df1ed4c02527f71b2ff8d6580c9605ed4ea20248dfa0439c18eda551de85ccb5
+EBUILD puremagic-1.24.ebuild 633 BLAKE2B b5a157f1fbc51b0d98793a931ff2f6faa22ca8fc12155cbc336ea0345b86eb25572085cd0bcc43aaf0caab75f59c4817d50cf972c1c1d11ab6b9806459f72128 SHA512 72bde404febc8f6ddc0ec667c1a03fa3dc21b896d561d686951fee6fca90ca860a451fbd69ca5fa1f232f95f522a172dbcfcc43c1bdce08fa9df24e9bc29a452
MISC metadata.xml 441 BLAKE2B e16e921f5571378e7fe3922ef583aaecf4fdd0160ffe502105f982d05189679395bfb7babc5f3c12ce60af9ddc72ecedd5a7a68e18488cd35174ee1b3eb03c05 SHA512 ddedaeddbca2953c67d6d23414f6dd152823290bc4bd90aee470a16906c4fae9e21043250677faba4873ff50af4ddf88c7208cfd30a040b816ec44782687e3e9
diff --git a/dev-python/puremagic/puremagic-1.24.ebuild b/dev-python/puremagic/puremagic-1.24.ebuild
new file mode 100644
index 000000000000..7a5fd34c2d27
--- /dev/null
+++ b/dev-python/puremagic/puremagic-1.24.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..13} )
+
+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
+}