dev-python/pathlib2: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Sun, 4 Sep 2016 14:00:38 +0000 (16:00 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Sun, 4 Sep 2016 14:00:38 +0000 (16:00 +0200)
Package-Manager: portage-2.3.0

dev-python/pathlib2/Manifest [new file with mode: 0644]
dev-python/pathlib2/metadata.xml [new file with mode: 0644]
dev-python/pathlib2/pathlib2-2.1.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/pathlib2/Manifest b/dev-python/pathlib2/Manifest
new file mode 100644 (file)
index 0000000..d31e413
--- /dev/null
@@ -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 (file)
index 0000000..89ea9d2
--- /dev/null
@@ -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 (file)
index 0000000..693e8c3
--- /dev/null
@@ -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
+}