From 39953c8d360240f216ef9017cb61af9897ba3d2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 9 Mar 2020 12:17:08 +0100 Subject: [PATCH] dev-python/pytrie: Modernize, add tests, py3.{7,8} MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../{pytrie-0.3.1.ebuild => pytrie-0.3.1-r1.ebuild} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename dev-python/pytrie/{pytrie-0.3.1.ebuild => pytrie-0.3.1-r1.ebuild} (79%) diff --git a/dev-python/pytrie/pytrie-0.3.1.ebuild b/dev-python/pytrie/pytrie-0.3.1-r1.ebuild similarity index 79% rename from dev-python/pytrie/pytrie-0.3.1.ebuild rename to dev-python/pytrie/pytrie-0.3.1-r1.ebuild index 565ed0863459..412387da3573 100644 --- a/dev-python/pytrie/pytrie-0.3.1.ebuild +++ b/dev-python/pytrie/pytrie-0.3.1-r1.ebuild @@ -1,23 +1,23 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_6 ) +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 MY_PN="PyTrie" MY_P="${MY_PN}-${PV}" - DESCRIPTION="A pure Python implementation of the trie data structure" HOMEPAGE="https://github.com/gsakkis/pytrie/ https://pypi.org/project/PyTrie/" SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -DEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" +RDEPEND="dev-python/sortedcontainers[${PYTHON_USEDEP}]" -S="${WORKDIR}/${MY_P}" +distutils_enable_tests setup.py -- 2.26.2