dev-python/pyrsistent: New package, ebuild written by me
authorJustin Lecher <jlec@gentoo.org>
Wed, 27 Jan 2016 08:50:56 +0000 (09:50 +0100)
committerJustin Lecher <jlec@gentoo.org>
Wed, 27 Jan 2016 09:26:12 +0000 (10:26 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pyrsistent/Manifest [new file with mode: 0644]
dev-python/pyrsistent/metadata.xml [new file with mode: 0644]
dev-python/pyrsistent/pyrsistent-0.11.10.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyrsistent/Manifest b/dev-python/pyrsistent/Manifest
new file mode 100644 (file)
index 0000000..68ed083
--- /dev/null
@@ -0,0 +1 @@
+DIST pyrsistent-0.11.10.tar.gz 62646 SHA256 db0469748e74f72b6142aa60bf9a5a15b4a080f47d9ed2fb7c6c083756264149 SHA512 cc0caf78b596e2cd9a5960be354a7ecae50a6f324295e1d882100e85208145735d5154a8b17eb297b99d48a6b1edb36cf8bdae781efef046f097f53af00f732b WHIRLPOOL d0ac9088c0afaec1672eb8b4e29c8b3f85f7bb064f360d54a21f0d70daa4ea9d37ab8f947bbba41a0695fc8a5e2f6e73c263748791952c3b32eb7134d2c8d74b
diff --git a/dev-python/pyrsistent/metadata.xml b/dev-python/pyrsistent/metadata.xml
new file mode 100644 (file)
index 0000000..0439917
--- /dev/null
@@ -0,0 +1,15 @@
+<?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">pyrsistent</remote-id>
+    <maintainer status="unknown">
+      <email>tobias.l.gustafsson@gmail.com</email>
+      <name>Tobias Gustafsson</name>
+    </maintainer>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild b/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild
new file mode 100644 (file)
index 0000000..abd4446
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Persistent/Functional/Immutable data structures"
+HOMEPAGE="http://github.com/tobgu/pyrsistent/ http://pypi.python.org/pypi/pyrsistent"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )"
+
+# https://github.com/tobgu/pyrsistent/issues/78
+RESTRICT="test"
+
+python_test() {
+       py.test -v -v || die
+}