commit:     67dcee14e9038c44df3f7bbc6040536786c6e3e2
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Mar  8 07:23:14 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Mar  8 07:31:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67dcee14

dev-python/pystardict: enable py3.11

Closes: https://bugs.gentoo.org/897546
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pystardict/Manifest                 |  2 +-
 dev-python/pystardict/pystardict-0.8-r1.ebuild | 26 ++++++++++++++++++++++++++
 dev-python/pystardict/pystardict-0.8.ebuild    | 21 ---------------------
 3 files changed, 27 insertions(+), 22 deletions(-)

diff --git a/dev-python/pystardict/Manifest b/dev-python/pystardict/Manifest
index 9619607e6..7ee7706bd 100644
--- a/dev-python/pystardict/Manifest
+++ b/dev-python/pystardict/Manifest
@@ -1 +1 @@
-DIST PyStarDict-0.8.tar.gz 795302 BLAKE2B 
eed78612e616a56920ab40035dd14682d8420d34919df8f00deabdf36b287723cd12815cda9bb3c5eb9d6d123edd961dbd5da7301a4f5c5ac56b0b49665a5050
 SHA512 
a5cb64993e4d870c3fb30e78462ac52bba994088b51d74e2eb7a0c41436bd1bb6733c6a11f30404eae446669209a7dc8f8d74efb28f5cce3997c26fcad833db7
+DIST pystardict-0.8-r1.tar.gz 795302 BLAKE2B 
eed78612e616a56920ab40035dd14682d8420d34919df8f00deabdf36b287723cd12815cda9bb3c5eb9d6d123edd961dbd5da7301a4f5c5ac56b0b49665a5050
 SHA512 
a5cb64993e4d870c3fb30e78462ac52bba994088b51d74e2eb7a0c41436bd1bb6733c6a11f30404eae446669209a7dc8f8d74efb28f5cce3997c26fcad833db7

diff --git a/dev-python/pystardict/pystardict-0.8-r1.ebuild 
b/dev-python/pystardict/pystardict-0.8-r1.ebuild
new file mode 100644
index 000000000..a427270d8
--- /dev/null
+++ b/dev-python/pystardict/pystardict-0.8-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+MY_PN="PyStarDict"
+DESCRIPTION="Library for manipulating StarDict dictionaries from within Python"
+HOMEPAGE="
+       https://pypi.org/project/PyStarDict/
+       https://github.com/lig/pystardict
+"
+SRC_URI="$(pypi_sdist_url --no-normalize ${MY_PN}) -> ${P}-r1.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest

diff --git a/dev-python/pystardict/pystardict-0.8.ebuild 
b/dev-python/pystardict/pystardict-0.8.ebuild
deleted file mode 100644
index f528981f2..000000000
--- a/dev-python/pystardict/pystardict-0.8.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-MY_PN="PyStarDict"
-DESCRIPTION="Library for manipulating StarDict dictionaries from within Python"
-HOMEPAGE="https://github.com/lig/pystardict 
https://pypi.org/project/PyStarDict/";
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest

Reply via email to