gentoo/dev-python/pathlib/pathlib-1.0.1-r1.ebuild
Michał Górny cd3f25deb1
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-01-05 11:55:46 +01:00

23 lines
511 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# In Python 3.4, pathlib is now part of the standard library.
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Object-oriented filesystem paths"
HOMEPAGE="https://pathlib.readthedocs.org/"
SRC_URI="mirror://pypi/p/pathlib/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ia64 ~mips ~ppc ppc64 ~sparc x86"
IUSE=""
python_test() {
"${PYTHON}" test_pathlib.py || die
}