dev-python/bidict: bump EAPI, enable py3.10

Also add tests

Closes: https://bugs.gentoo.org/807925
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-08-14 06:40:02 +05:00
parent 03c1950da9
commit 07d089da37

View File

@@ -1,19 +1,27 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{8,9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="The bidirectional mapping library for Python."
DESCRIPTION="The bidirectional mapping library for Python"
HOMEPAGE="https://github.com/jab/bidict https://pypi.org/project/bidict/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
BDEPEND="test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
dev-python/sortedcollections[${PYTHON_USEDEP}]
)"
DOCS=( CHANGELOG.rst README.rst SECURITY.rst )
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/alabaster