mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
*/*: Remove last vestiges of python3_4
Closes: https://github.com/gentoo/gentoo/pull/11755 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user