summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-04-20 11:30:35 +0200
committerDavid Seifert <soap@gentoo.org>2019-04-20 13:12:08 +0200
commit7ab150c0ab141bef4a8826fbf90e83af25ffdd9b (patch)
tree89e80ebaa72250578b294ea50b5d966a7c6e0e17 /dev-python/ruamel-std-pathlib
parentx11-libs/pango: use HTTPS (diff)
downloadgentoo-7ab150c0ab141bef4a8826fbf90e83af25ffdd9b.tar.gz
gentoo-7ab150c0ab141bef4a8826fbf90e83af25ffdd9b.tar.bz2
gentoo-7ab150c0ab141bef4a8826fbf90e83af25ffdd9b.zip
*/*: Remove last vestiges of python3_4
Closes: https://github.com/gentoo/gentoo/pull/11755 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/ruamel-std-pathlib')
-rw-r--r--dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild
index 4b62a6bae633..2b49051b9e24 100644
--- a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild
+++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.3.ebuild
@@ -7,9 +7,10 @@ PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1 vcs-snapshot
+MY_PN="${PN//-/.}"
+
DESCRIPTION="Ruamel enhancements to pathlib and pathlib2"
HOMEPAGE="https://pypi.org/project/ruamel.std.pathlib/ https://bitbucket.org/ruamel/std.pathlib"
-MY_PN="${PN//-/.}"
SRC_URI="https://bitbucket.org/${MY_PN/.//}/get/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
@@ -17,10 +18,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE="test"
-RDEPEND="
- ${PYTHON_DEPS}
- $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python3_4)
-"
+RDEPEND=""
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -30,11 +28,11 @@ DEPEND="
)
"
+python_test() {
+ py.test -v _test/test_*.py || die
+}
+
python_install() {
distutils-r1_python_install --single-version-externally-managed
find "${ED}" -name '*.pth' -delete || die
}
-
-python_test() {
- py.test -v _test/test_*.py || die
-}