summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-09-04 16:00:38 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-09-04 16:00:38 +0200
commit4fd31462a3f27ba996a1cdd3b3827af0a965d0e3 (patch)
treeb152c1f2f62dc2360d609a0fa56fbbd5aa305092 /dev-python/pathlib2
parentdev-python/jaraco-itertools: remove old (diff)
downloadgentoo-4fd31462a3f27ba996a1cdd3b3827af0a965d0e3.tar.gz
gentoo-4fd31462a3f27ba996a1cdd3b3827af0a965d0e3.tar.bz2
gentoo-4fd31462a3f27ba996a1cdd3b3827af0a965d0e3.zip
dev-python/pathlib2: Initial version
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/pathlib2')
-rw-r--r--dev-python/pathlib2/Manifest1
-rw-r--r--dev-python/pathlib2/metadata.xml11
-rw-r--r--dev-python/pathlib2/pathlib2-2.1.0.ebuild25
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
+}