commit:     7b4cb702931092572f9a65e3b7f529073a7b2b1a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Mar  1 00:43:41 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Apr 30 15:02:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b4cb702

dev-python/fontPens: enable py3.11

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

 dev-python/fontPens/Manifest                 |  2 +-
 dev-python/fontPens/fontPens-0.2.4-r1.ebuild | 26 ------------------------
 dev-python/fontPens/fontPens-0.2.4-r2.ebuild | 30 ++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 27 deletions(-)

diff --git a/dev-python/fontPens/Manifest b/dev-python/fontPens/Manifest
index 7debcc413..cc50868c0 100644
--- a/dev-python/fontPens/Manifest
+++ b/dev-python/fontPens/Manifest
@@ -1 +1 @@
-DIST fontPens-0.2.4.gh.tar.gz 17680 BLAKE2B 
82577a022f020e255a75bb8317a2f804467626095374103fbf091ba96773d287dcc7af1ef641e200ae8abef2d07cbe7b1f1868ca8b9934d9c77c83e51ba70870
 SHA512 
cbef24fbf421f4b09e1d9b474500e748f424ef1df2d9871424761e6bc0ac68a5b13484cf933f6fdac390f0f5e66573a1bcfc321b04de3e19e8ae9923da6768bb
+DIST fontPens-0.2.4.zip 22445 BLAKE2B 
bdb2550d7a3a4a161b77f9920640f140b4655cfc0c4e62e21de36425b59bac9769a86eeeb25511a3d587c6d0090d994442153e8cc8034f6b36d80933ce17c59e
 SHA512 
0155ab6d43d00ae14e325b93e4e40f3d240cd9ea13945e724a91054b5a6edd1a4a74f1244100b18aa8905029651080c930b3341aa881be970a2459f2a374e009

diff --git a/dev-python/fontPens/fontPens-0.2.4-r1.ebuild 
b/dev-python/fontPens/fontPens-0.2.4-r1.ebuild
deleted file mode 100644
index 8dc786723..000000000
--- a/dev-python/fontPens/fontPens-0.2.4-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A collection of classes implementing the pen protocol for 
manipulating glyphs"
-HOMEPAGE="https://github.com/robotools/fontPens";
-SRC_URI="https://github.com/robotools/fontPens/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.gh.tar.gz"
-
-KEYWORDS="~amd64 ~x86"
-LICENSE="BSD"
-SLOT="0"
-
-RDEPEND=">=dev-python/fonttools-3.32[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       test? (
-               dev-python/fontParts[${PYTHON_USEDEP}]
-       )
-"
-
-distutils_enable_tests pytest

diff --git a/dev-python/fontPens/fontPens-0.2.4-r2.ebuild 
b/dev-python/fontPens/fontPens-0.2.4-r2.ebuild
new file mode 100644
index 000000000..a153cece8
--- /dev/null
+++ b/dev-python/fontPens/fontPens-0.2.4-r2.ebuild
@@ -0,0 +1,30 @@
+# 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 collection of classes implementing the pen protocol for 
manipulating glyphs"
+HOMEPAGE="
+       https://pypi.org/project/fontPens/
+       https://github.com/robotools/fontPens
+"
+SRC_URI=$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND=">=dev-python/fonttools-3.32[${PYTHON_USEDEP}]"
+BDEPEND="
+       app-arch/unzip
+       test? (
+               >=dev-python/fontParts-0.8.1[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest

Reply via email to