summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-20 09:05:38 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-20 09:41:40 +0200
commit2c03fdc940c64e9337087ef2137b6ce6fc44cffe (patch)
tree8d0967dc69f968f4552d78881f44786029cc5499 /dev-python/pdfrw
parentdev-python/pdfrw: Enable py3.{7,8} (diff)
downloadgentoo-2c03fdc940c64e9337087ef2137b6ce6fc44cffe.tar.gz
gentoo-2c03fdc940c64e9337087ef2137b6ce6fc44cffe.tar.bz2
gentoo-2c03fdc940c64e9337087ef2137b6ce6fc44cffe.zip
dev-python/pdfrw: EAPI 7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pdfrw')
-rw-r--r--dev-python/pdfrw/pdfrw-0.4.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/pdfrw/pdfrw-0.4.ebuild b/dev-python/pdfrw/pdfrw-0.4.ebuild
index 5059fdaf8e5c..ea380b6c0c9d 100644
--- a/dev-python/pdfrw/pdfrw-0.4.ebuild
+++ b/dev-python/pdfrw/pdfrw-0.4.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
@@ -41,7 +41,7 @@ src_prepare() {
sed -e '/repaginate\/7037/s:[0-9a-f]*$:skip:' \
-e '/.*\/72eb/s:[0-9a-f]*$:skip:' \
-i tests/expected.txt || die
- # fix py3.7+
+ # fix py3.7+ some
sed -i -e 's:raise StopIteration:return:' pdfrw/tokens.py || die
distutils-r1_src_prepare