summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-27 09:50:56 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-27 10:26:12 +0100
commit501f5bd94a9e4076c15ff080fb8fe8f57e887bb4 (patch)
tree6f7b0496db7ef8218c54c80d2a979209741e40d6 /dev-python/pyrsistent
parentdev-python/joblib: Version Bump (diff)
downloadgentoo-501f5bd94a9e4076c15ff080fb8fe8f57e887bb4.tar.gz
gentoo-501f5bd94a9e4076c15ff080fb8fe8f57e887bb4.tar.bz2
gentoo-501f5bd94a9e4076c15ff080fb8fe8f57e887bb4.zip
dev-python/pyrsistent: New package, ebuild written by me
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pyrsistent')
-rw-r--r--dev-python/pyrsistent/Manifest1
-rw-r--r--dev-python/pyrsistent/metadata.xml15
-rw-r--r--dev-python/pyrsistent/pyrsistent-0.11.10.ebuild35
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pyrsistent/Manifest b/dev-python/pyrsistent/Manifest
new file mode 100644
index 000000000000..68ed083e556f
--- /dev/null
+++ b/dev-python/pyrsistent/Manifest
@@ -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
index 000000000000..0439917c20e0
--- /dev/null
+++ b/dev-python/pyrsistent/metadata.xml
@@ -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
index 000000000000..abd4446f06af
--- /dev/null
+++ b/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild
@@ -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
+}