aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-03-08 12:23:14 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-03-08 12:31:00 +0500
commit67dcee14e9038c44df3f7bbc6040536786c6e3e2 (patch)
treecf61904fcf5e89d5b497117f5491ed682d2dd5d0
parentdev-python/simplemma: add 0.9.1, drop 0.7.0 (diff)
downloadguru-67dcee14e9038c44df3f7bbc6040536786c6e3e2.tar.gz
guru-67dcee14e9038c44df3f7bbc6040536786c6e3e2.tar.bz2
guru-67dcee14e9038c44df3f7bbc6040536786c6e3e2.zip
dev-python/pystardict: enable py3.11
Closes: https://bugs.gentoo.org/897546 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
-rw-r--r--dev-python/pystardict/Manifest2
-rw-r--r--dev-python/pystardict/pystardict-0.8-r1.ebuild26
-rw-r--r--dev-python/pystardict/pystardict-0.8.ebuild21
3 files changed, 27 insertions, 22 deletions
diff --git a/dev-python/pystardict/Manifest b/dev-python/pystardict/Manifest
index 9619607e69..7ee7706bd7 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 0000000000..a427270d8e
--- /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 f528981f27..0000000000
--- 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