commit: 39953c8d360240f216ef9017cb61af9897ba3d2c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 9 11:17:08 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 9 11:21:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39953c8d
dev-python/pytrie: Modernize, add tests, py3.{7,8}
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../pytrie/{pytrie-0.3.1.ebuild => pytrie-0.3.1-r1.ebuild} | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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 565ed086345..412387da357 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