guru/dev-python/unicodedata2/unicodedata2-14.0.0.ebuild
Alessandro Barbieri 33f0eb4d86
dev-python/unicodedata2: enable py3.10
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-05-28 14:53:29 +02:00

27 lines
651 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MYPV="$(ver_rs 3 -)"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Unicodedata backport for python 2/3 updated to the latest unicode version"
HOMEPAGE="https://github.com/mikekap/unicodedata2"
SRC_URI="https://github.com/mikekap/unicodedata2/archive/refs/tags/${MYPV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MYPV}"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
DEPEND="
test? (
dev-python/pytest-randomly[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest