gentoo/dev-python/pathlib/pathlib-1.0.1-r1.ebuild
Matthew Thode 9937009ab7
dev-python/pathlib: adding arm keyword for dev-python/keyring
Package-Manager: Portage-2.3.24, Repoman-2.3.6
2018-03-19 20:46:08 -05:00

23 lines
512 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# 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 pypy pypy3 )
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 ~ppc ppc64 x86"
IUSE=""
python_test() {
"${PYTHON}" test_pathlib.py || die
}