1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-28 10:55:53 +01:00

Added patched version of pystardict lib

This commit is contained in:
2023-05-31 15:27:21 +02:00
parent 9fac88fa2e
commit e90a340277
4 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} 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}]"
PATCHES=( "${FILESDIR}/pystardict-0.8-multiple-defs.patch" )
distutils_enable_tests pytest