commit:     14808f1b063b586b579dfe69a47a6093e59b9852
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 26 04:32:53 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 04:49:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14808f1b

dev-python/puremagic: Bump to 1.28

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/puremagic/Manifest              |  1 +
 dev-python/puremagic/puremagic-1.28.ebuild | 32 ++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/puremagic/Manifest b/dev-python/puremagic/Manifest
index 6977e55dacca..7b20de33cf1a 100644
--- a/dev-python/puremagic/Manifest
+++ b/dev-python/puremagic/Manifest
@@ -1 +1,2 @@
 DIST puremagic-1.27.gh.tar.gz 311630 BLAKE2B 
f2856a138600ae8d9592870080c04ca15b2eefbb774f1156f52327d6a0fe26f419ade498a8ee08c02b0f09f4ea6427ce595de8b478d2e17fd00f5f7263364051
 SHA512 
56365dc122160d306704290a054afa7be5007ca3634275fab168e1ea8bc29356477c5455abba3d84c9e229dc9ce3a21df58ed7e6ff216fe0c60d7257e4b02584
+DIST puremagic-1.28.gh.tar.gz 315168 BLAKE2B 
8102fc7a2fb2ecffc3b38d90ca4ca848c78f8989eb43bb74c5ecab3388238c9ee6285b8423ca0b999ea22462a150d5ecd5e59450edc136d666e8f68bf272d0eb
 SHA512 
8a9d04b34d32a552fa51de1c720556d46c2aef99913d9c339838a682e8758ba16c66bcd4d205fe59dd6ae7cd27c311b24638a4084baf7a27869e5304e4994d27

diff --git a/dev-python/puremagic/puremagic-1.28.ebuild 
b/dev-python/puremagic/puremagic-1.28.ebuild
new file mode 100644
index 000000000000..7a5fd34c2d27
--- /dev/null
+++ b/dev-python/puremagic/puremagic-1.28.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
+}

Reply via email to