From 07d089da37e40f6d6da79e7c041a6419146f5c2c Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sat, 14 Aug 2021 06:40:02 +0500 Subject: [PATCH] dev-python/bidict: bump EAPI, enable py3.10 Also add tests Closes: https://bugs.gentoo.org/807925 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/bidict/bidict-0.21.2.ebuild | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/dev-python/bidict/bidict-0.21.2.ebuild b/dev-python/bidict/bidict-0.21.2.ebuild index fc5822a573..61ecb2e163 100644 --- a/dev-python/bidict/bidict-0.21.2.ebuild +++ b/dev-python/bidict/bidict-0.21.2.ebuild @@ -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