summaryrefslogtreecommitdiff
path: root/dev-python/python-mimeparse
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-mimeparse')
-rw-r--r--dev-python/python-mimeparse/Manifest2
-rw-r--r--dev-python/python-mimeparse/python-mimeparse-2.0.0.ebuild23
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/python-mimeparse/Manifest b/dev-python/python-mimeparse/Manifest
index 387d68d80434..3ffcde8ac28d 100644
--- a/dev-python/python-mimeparse/Manifest
+++ b/dev-python/python-mimeparse/Manifest
@@ -1,4 +1,6 @@
AUX python-mimeparse-1.6.0-py3.13.patch 2328 BLAKE2B 9a6cf6844565eea60b71ab72472d3f607925f93c53ff1e3c38b08fd994455feafa4ff6b349905cc5216ce54a62e65258cc4d593139340acec9daae5033a087ef SHA512 dc44720a0711f2b3298ed727752e11eaf98648c505b07287cdebe312385a6804cead685e554e0375b1f02c8a66e9c54affe901150af431daa270d995a9dc3431
DIST python-mimeparse-1.6.0.tar.gz 6541 BLAKE2B 15de86feddf892ee4599e0fe7c113a93f343d5b8afc09725263e2fcb3869f8f152612b9f30dbf68279aa95e2ce8f6ba9d4dc6e8e2b75366a972dcdb705220742 SHA512 cc2ec8059034fc224c59bffeb77e7fd0ba86b753373c8daf3a182fd56d647f0b96d7bacb6708be285dd7e246ebc19b813e2bfb8ac79a86f6d4e702c223f5187e
+DIST python_mimeparse-2.0.0.tar.gz 7162 BLAKE2B c87e391a87d06a0c967f51df4c9010c8f415a6a96d7b10f58ede9fb225ebabb9f85b42c22fef9ef583537e86341c9050527b1f8d38eec2c78cc1cf3f56f443ac SHA512 02fd28d6a5b1754ab9317571037b38dae94309694bc5d758c189acdda596a5e1e9c4cb2439abb9e932ddf1d6926930874f00d3c685a7edf568d339f9fe0c712a
EBUILD python-mimeparse-1.6.0-r5.ebuild 694 BLAKE2B 7daa803d427e5e0eedf8aa97b02bffe96b1b16b2a6fed7eed6e5524c9717d85bd03a69beb34e2a8a9ee326e16149a65256b4de677e1f327b923b173b733e916b SHA512 5eda9e9764275cb8b4080a4cb9ab9c14168d2cd747e7322213dd1d727fac9086a69cddddffe67129b4e255bfd6eded7e3668f27656266a2547c9f3ca1243dad8
+EBUILD python-mimeparse-2.0.0.ebuild 636 BLAKE2B 55fb03b57a100ed00a0a04b038d97ba18b336a28918add054ad8b451d4bc6f8b5ca04c22b23b74f3c2dde11a6f053cb22619c9e18fd812701924e40883882b77 SHA512 1ec28555737c7ac6cd3b7b151697d378ca61864d744bdbd7c1a1db6f1bdcd2c5a7eb956d836280acaf9b141642c8aa2813ab34e47333fa3f9d0d3ffecdecce0a
MISC metadata.xml 422 BLAKE2B 83de811254521c0ba086160057d59ed1c49ae1258f78bd7c05acc8e2e0de86f3ce571f689df5a6c1247c6cbf99fde496eea2ac14d9133fd81493c6ac0c8bf28b SHA512 d14e037ea668ef4e6fadc15417ac5b74253b7b22385594965be785f5610e0071af0b74dfd80a5cf2386bfa01919955afff50dff1fd75853de7db7ed013b2e235
diff --git a/dev-python/python-mimeparse/python-mimeparse-2.0.0.ebuild b/dev-python/python-mimeparse/python-mimeparse-2.0.0.ebuild
new file mode 100644
index 000000000000..a797008b33c0
--- /dev/null
+++ b/dev-python/python-mimeparse/python-mimeparse-2.0.0.ebuild
@@ -0,0 +1,23 @@
+# 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} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Basic functions for handling mime-types in python"
+HOMEPAGE="
+ https://github.com/falconry/python-mimeparse/
+ https://pypi.org/project/python-mimeparse/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+python_test() {
+ "${EPYTHON}" mimeparse_test.py -v || die "Tests fail with ${EPYTHON}"
+}