gentoo/dev-python/pathlib2/pathlib2-2.1.0.ebuild
Manuel Rüger 4fd31462a3
dev-python/pathlib2: Initial version
Package-Manager: portage-2.3.0
2016-09-04 16:00:38 +02:00

26 lines
536 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
inherit distutils-r1
DESCRIPTION="Fork of pathlib aiming to support the full stdlib Python API"
HOMEPAGE="https://github.com/mcmtroffaes/pathlib2"
SRC_URI="mirror://pypi/p/pathlib2/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
python_test() {
${EPYTHON} test_pathlib2.py || die
}