commit:     90e56563897328f87ebe64254b141fa30cb9cabe
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb 26 20:17:46 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 22:41:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=90e56563

dev-python/MutatorMath: enable py3.11

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/MutatorMath/Manifest                    |  2 +-
 dev-python/MutatorMath/MutatorMath-3.0.1-r1.ebuild | 31 -------------------
 dev-python/MutatorMath/MutatorMath-3.0.1-r2.ebuild | 36 ++++++++++++++++++++++
 3 files changed, 37 insertions(+), 32 deletions(-)

diff --git a/dev-python/MutatorMath/Manifest b/dev-python/MutatorMath/Manifest
index fc02a1687..40ad3235a 100644
--- a/dev-python/MutatorMath/Manifest
+++ b/dev-python/MutatorMath/Manifest
@@ -1 +1 @@
-DIST MutatorMath-3.0.1.gh.tar.gz 234416 BLAKE2B 
999b0fb3c5cca8252fc27efa099e5046d17604b77a38322fd3a13b7e96d7b6ac123dafe75f3a295e908ec8891e5342df319c7faca3612d953849895e8c99f17a
 SHA512 
a1be360c866783543b375872a406eb61ac41ce21a6fd7c9b8d349758525c998d7d2613ad55208a5f8709a81c0ea8ea7e4bad76f0a554e8ce8e62aa6c9a00bbb5
+DIST MutatorMath-3.0.1.zip 421722 BLAKE2B 
bfa6f796ac0b67f2c8d22bdca9f1dfbcebe9b8185778563c1c67c5e8a5748cf0462e06d9e58dc5ea49e5986f9faeabb9310ce775281f9ee888262047b0f87dea
 SHA512 
9f0af87f4811b27dd3b0e791a230fe0fa1e90e9605673d8753fb3966155483a37fd126646e4deeae79233e8ecc22ee042ae5f985a1bdc5e2696997eff444b801

diff --git a/dev-python/MutatorMath/MutatorMath-3.0.1-r1.ebuild 
b/dev-python/MutatorMath/MutatorMath-3.0.1-r1.ebuild
deleted file mode 100644
index 8e11d9d5a..000000000
--- a/dev-python/MutatorMath/MutatorMath-3.0.1-r1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A library for piecewise linear interpolation in multiple 
dimensions"
-HOMEPAGE="https://github.com/LettError/MutatorMath";
-SRC_URI="https://github.com/LettError/MutatorMath/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-
-KEYWORDS="~amd64"
-LICENSE="BSD"
-SLOT="0"
-
-RDEPEND="
-       dev-python/defcon[${PYTHON_USEDEP}]
-       dev-python/fontMath[${PYTHON_USEDEP}]
-       >=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       test? (
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/unicodedata2[${PYTHON_USEDEP}]
-       )
-"
-
-distutils_enable_tests setup.py

diff --git a/dev-python/MutatorMath/MutatorMath-3.0.1-r2.ebuild 
b/dev-python/MutatorMath/MutatorMath-3.0.1-r2.ebuild
new file mode 100644
index 000000000..92758d459
--- /dev/null
+++ b/dev-python/MutatorMath/MutatorMath-3.0.1-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+inherit distutils-r1 pypi
+
+DESCRIPTION="A library for piecewise linear interpolation in multiple 
dimensions"
+HOMEPAGE="
+       https://pypi.org/project/MutatorMath/
+       https://github.com/LettError/MutatorMath
+"
+SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)"
+
+KEYWORDS="~amd64"
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="
+       dev-python/defcon[${PYTHON_USEDEP}]
+       dev-python/fontMath[${PYTHON_USEDEP}]
+       >=dev-python/fonttools-3.32[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       app-arch/unzip
+       test? (
+               >=dev-python/unicodedata2-15.0.0[${PYTHON_USEDEP}]
+       )
+"
+
+DOCS=( Docs README.rst )
+
+distutils_enable_tests setup.py

Reply via email to