dev-python/decoratortools: Port to EAPI 6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=611772
Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
David Seifert
2017-03-10 21:22:48 +01:00
parent 0018b296d7
commit d65c46738f

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
EAPI=6
PYTHON_COMPAT=( python2_7 pypy )
@@ -29,6 +29,8 @@ S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# Disable tests broken with named tuples.
sed -e "s/additional_tests/_&/" -i test_decorators.py || die "sed failed"
distutils-r1_python_prepare_all
}
python_test() {