summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-06-29 12:17:57 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-06-29 12:17:57 +0200
commit6d1c23fea5cf250949424a973aeef046888a532b (patch)
tree80fa844c04dbe167a1d95e7923e36ce36377542e /dev-python/promise
parentdev-python/requests-cache: Bump (diff)
downloadgentoo-6d1c23fea5cf250949424a973aeef046888a532b.tar.gz
gentoo-6d1c23fea5cf250949424a973aeef046888a532b.tar.bz2
gentoo-6d1c23fea5cf250949424a973aeef046888a532b.zip
dev-python/promise: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/promise')
-rw-r--r--dev-python/promise/Manifest1
-rw-r--r--dev-python/promise/promise-0.4.2.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/promise/Manifest b/dev-python/promise/Manifest
index b9c4091783c4..6b6af2455e34 100644
--- a/dev-python/promise/Manifest
+++ b/dev-python/promise/Manifest
@@ -1,2 +1,3 @@
DIST promise-0.2.2.tar.gz 19765 SHA256 1fb52a23bee47644819c4a11b0b7169474625c44629f9b76a04cf59e118f4f6c SHA512 271731b2be94ce65680079d3c43034e2ef5da37efc00c36e513cacc0e19a47ccfc43911c43f6c860789ddf86d96870ad8ca7c3cf0074f977727d630354d79840 WHIRLPOOL cbe48adf35a65cc737b85cbdc0a542dadd56b4e2e45d75567b03f1031dd39f229b0dbba26ed23ee4dfae4e1b0dd0e5f22592ddfa24dc457697895d9e7a5298fe
DIST promise-0.4.1.tar.gz 6877 SHA256 75a8427f8d2f670067154acb08048fd2b52f4f5c836f15c07a2c073b8d4eb1d4 SHA512 57cc594a75c542430aea3b12731319e377b1c5123d900ed7588088667c9ec6b17bec03d5d0300712ae887af8394c2bfaa23d98feac97944de4c04eca5d80825c WHIRLPOOL c0e163cbb58377eb8ae5e98fdb27b7fff6f4b668b6eeb03106db3ed4599f3bbf2c1cd32c38444cc210cc3fb5f61cede3fa20413075423bafdb84bf886d437ecf
+DIST promise-0.4.2.tar.gz 7309 SHA256 70646a304676fcd021b1b984c1dcc3953c5d569f2f9f52a0fcb2b44191ae29cc SHA512 e3f0bd3dddfe3a304cb51d857418c8b8993f6e97c1a9e64622438869952174275ef4631259d5e6f090bfb39d4a2fd6bca8fe50ada5bb8ccea19ff726adcde7fd WHIRLPOOL 070b04c1cbb8b4636180758c42d47f74ae57204ef8e5046429716c36b9820e6de9aaa196e764ad9c4b09e57cbddb5f64e097f91946c67b75388eba3043cc7fa5
diff --git a/dev-python/promise/promise-0.4.2.ebuild b/dev-python/promise/promise-0.4.2.ebuild
new file mode 100644
index 000000000000..7b890dc96812
--- /dev/null
+++ b/dev-python/promise/promise-0.4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Bytecode optimisation using staticness assertions"
+HOMEPAGE="https://github.com/rfk/promise/ https://pypi.python.org/pypi/promise"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND="${PYTHON_DEPS}"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+python_test() {
+ # Timing tests fail.
+ PROMISE_SKIP_TIMING_TESTS="1" nosetests || die "tests failed"
+}