commit:     07ba743080ccf99aef70a4d088b812b3c06910dd
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Mar  8 07:36:11 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Mar  8 07:38:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=07ba7430

dev-python/readmdict: enable py3.11

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

 dev-python/readmdict/readmdict-0.1.1-r1.ebuild | 22 ++++++++++++++++++++++
 dev-python/readmdict/readmdict-0.1.1.ebuild    | 17 -----------------
 2 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/dev-python/readmdict/readmdict-0.1.1-r1.ebuild 
b/dev-python/readmdict/readmdict-0.1.1-r1.ebuild
new file mode 100644
index 000000000..6ea607f43
--- /dev/null
+++ b/dev-python/readmdict/readmdict-0.1.1-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=poetry
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Read mdx/mdd files"
+HOMEPAGE="
+       https://github.com/ffreemt/readmdict
+       https://pypi.org/project/readmdict/
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+pkg_postinst() {
+       optfeature "LZO support" dev-python/python-lzo
+}

diff --git a/dev-python/readmdict/readmdict-0.1.1.ebuild 
b/dev-python/readmdict/readmdict-0.1.1.ebuild
deleted file mode 100644
index 57ce69474..000000000
--- a/dev-python/readmdict/readmdict-0.1.1.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Read mdx/mdd files"
-HOMEPAGE="https://github.com/ffreemt/readmdict 
https://pypi.org/project/readmdict/";
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-DEPENDS="dev-python/python-lzo[${PYTHON_USEDEP}]"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"

Reply via email to