commit:     daa22b9ef0e50837ee522d59befd90c6de9a701b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Dec 30 18:35:10 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Dec 30 19:02:35 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=daa22b9e

sci-biology/screed: version bump 1.0.4

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 .../screed/{screed-0.9.ebuild => screed-1.0.4.ebuild}   | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/sci-biology/screed/screed-0.9.ebuild 
b/sci-biology/screed/screed-1.0.4.ebuild
similarity index 53%
rename from sci-biology/screed/screed-0.9.ebuild
rename to sci-biology/screed/screed-1.0.4.ebuild
index fe8f49405..eab1748f4 100644
--- a/sci-biology/screed/screed-0.9.ebuild
+++ b/sci-biology/screed/screed-1.0.4.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit distutils-r1
 
@@ -13,5 +13,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests --install pytest
+
+RDEPEND="dev-python/bz2file[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+       # do not depend on pytest-runner
+       sed -i "/pytest-runner/d" setup.py || die
+       distutils-r1_python_prepare_all
+}

Reply via email to