summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-18 10:48:47 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-18 10:55:35 +0100
commitf487b959e29b56d12ae3293edd5778a65c24ec8f (patch)
tree3ebb0b65d23aa20888aa3a9f3aeff9df3d472f17
parentapp-portage/gemato: Enable py3.8 (diff)
downloadgentoo-f487b959e29b56d12ae3293edd5778a65c24ec8f.tar.gz
gentoo-f487b959e29b56d12ae3293edd5778a65c24ec8f.tar.bz2
gentoo-f487b959e29b56d12ae3293edd5778a65c24ec8f.zip
dev-python/pyxattr: Enable py3.8, remove nose dep
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild b/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild
index 5ce00c43a28..b31d3d000ed 100644
--- a/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild
+++ b/dev-python/pyxattr/pyxattr-0.6.1-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
inherit distutils-r1 eutils
@@ -14,14 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
+IUSE="doc"
RDEPEND="sys-apps/attr"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] )
- test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+ doc? ( >=dev-python/sphinx-1.3.1 )"
+
+distutils_enable_tests unittest
python_prepare_all() {
sed -i -e 's:, "-Werror"::' setup.py || die
@@ -56,10 +56,6 @@ src_test() {
distutils-r1_src_test
}
-python_test() {
- nosetests -v || die "Tests fail with ${EPYTHON}"
-}
-
python_install_all() {
use doc && local HTML_DOCS=( doc/html/. )
distutils-r1_python_install_all