summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-02-16 15:20:36 +0000
committerIan Delaney <idella4@gentoo.org>2015-02-16 15:20:36 +0000
commit387b0bad05e5cb072115b899e13281a28e2ff2eb (patch)
tree1c806f400a1de3d6cda22e93d3832986166d59b0 /dev-python/promise
parentRemove old (diff)
downloadgentoo-2-387b0bad05e5cb072115b899e13281a28e2ff2eb.tar.gz
gentoo-2-387b0bad05e5cb072115b899e13281a28e2ff2eb.tar.bz2
gentoo-2-387b0bad05e5cb072115b899e13281a28e2ff2eb.zip
revbump; convert -> distutils-r1, rm old
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/promise')
-rw-r--r--dev-python/promise/ChangeLog10
-rw-r--r--dev-python/promise/promise-0.2.2-r1.ebuild31
-rw-r--r--dev-python/promise/promise-0.2.2.ebuild30
3 files changed, 39 insertions, 32 deletions
diff --git a/dev-python/promise/ChangeLog b/dev-python/promise/ChangeLog
index 46fec0c4a164..ac09e25b68f9 100644
--- a/dev-python/promise/ChangeLog
+++ b/dev-python/promise/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/promise
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/promise/ChangeLog,v 1.5 2014/08/10 21:15:32 slyfox Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/promise/ChangeLog,v 1.6 2015/02/16 15:20:36 idella4 Exp $
+
+*promise-0.2.2-r1 (16 Feb 2015)
+
+ 16 Feb 2015; Ian Delaney <idella4@gentoo.org> +promise-0.2.2-r1.ebuild,
+ -promise-0.2.2.ebuild:
+ revbump; convert -> distutils-r1, rm old
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> promise-0.2.2.ebuild:
QA: drop trailing '.' from DESCRIPTION
diff --git a/dev-python/promise/promise-0.2.2-r1.ebuild b/dev-python/promise/promise-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..c1d8d26d78d3
--- /dev/null
+++ b/dev-python/promise/promise-0.2.2-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/promise/promise-0.2.2-r1.ebuild,v 1.1 2015/02/16 15:20:36 idella4 Exp $
+
+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/ http://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"
+}
diff --git a/dev-python/promise/promise-0.2.2.ebuild b/dev-python/promise/promise-0.2.2.ebuild
deleted file mode 100644
index aa9650dcb3d1..000000000000
--- a/dev-python/promise/promise-0.2.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/promise/promise-0.2.2.ebuild,v 1.2 2014/08/10 21:15:32 slyfox Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-DISTUTILS_SRC_TEST="nosetests"
-
-inherit distutils
-
-DESCRIPTION="Bytecode optimisation using staticness assertions"
-HOMEPAGE="https://github.com/rfk/promise/ http://pypi.python.org/pypi/promise"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PF}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-DOCS="ChangeLog.txt README.txt"
-
-src_test() {
- # Timing tests fail.
- PROMISE_SKIP_TIMING_TESTS="1" distutils_src_test
-}