diff options
-rw-r--r-- | dev-python/pathlib2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pathlib2/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pathlib2/pathlib2-2.1.0.ebuild | 25 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pathlib2/Manifest b/dev-python/pathlib2/Manifest new file mode 100644 index 000000000000..d31e4132fdea --- /dev/null +++ b/dev-python/pathlib2/Manifest @@ -0,0 +1 @@ +DIST pathlib2-2.1.0.tar.gz 30390 SHA256 deb3a960c1d55868dfbcac98432358b92ba89d95029cddd4040db1f27405055c SHA512 5dad54d4bf7a37a2c425afeca030a23d802a8a450186292f3d80aa9ee5c2985701871a0386a2f58e2b05b4bbfd7734a238d0a73625c5839237e4f3984088a8b1 WHIRLPOOL 61507dca96da2ed128fd3f8c0f5afe2c993dc56da3de294db7600aa38016a97891be2e9aede2f067cd52040939bc14ed139553004d4c98df72d32a3516719c73 diff --git a/dev-python/pathlib2/metadata.xml b/dev-python/pathlib2/metadata.xml new file mode 100644 index 000000000000..89ea9d25fcbd --- /dev/null +++ b/dev-python/pathlib2/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pathlib2</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pathlib2/pathlib2-2.1.0.ebuild b/dev-python/pathlib2/pathlib2-2.1.0.ebuild new file mode 100644 index 000000000000..693e8c310569 --- /dev/null +++ b/dev-python/pathlib2/pathlib2-2.1.0.ebuild @@ -0,0 +1,25 @@ +# 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 +} |