dev-python/readmdict: enable py3.11

Closes: https://bugs.gentoo.org/897560
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-03-08 12:36:11 +05:00
parent b07397e6b4
commit 07ba743080
2 changed files with 22 additions and 17 deletions

View File

@@ -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
}

View File

@@ -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"