summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pry/ChangeLog7
-rw-r--r--dev-python/pry/pry-0.2.1.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-python/pry/ChangeLog b/dev-python/pry/ChangeLog
index 3157b461797d..09721dd382cc 100644
--- a/dev-python/pry/ChangeLog
+++ b/dev-python/pry/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pry
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pry/ChangeLog,v 1.1 2012/03/24 23:36:00 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pry/ChangeLog,v 1.2 2012/10/30 08:06:38 radhermit Exp $
+
+*pry-0.2.1 (30 Oct 2012)
+
+ 30 Oct 2012; Tim Harder <radhermit@gentoo.org> +pry-0.2.1.ebuild:
+ Add official release and mask dev-ruby/pry (bug #430536).
*pry-0.2.1_p20090810 (24 Mar 2012)
diff --git a/dev-python/pry/pry-0.2.1.ebuild b/dev-python/pry/pry-0.2.1.ebuild
new file mode 100644
index 000000000000..468349e609a0
--- /dev/null
+++ b/dev-python/pry/pry-0.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pry/pry-0.2.1.ebuild,v 1.1 2012/10/30 08:06:38 radhermit Exp $
+
+EAPI="5"
+
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_MODNAME="libpry"
+
+inherit distutils eutils
+
+DESCRIPTION="A unit testing framework and coverage engine"
+HOMEPAGE="https://github.com/cortesi/pry http://pypi.python.org/pypi/pry/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="!dev-ruby/pry"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.2.1-exit-status.patch
+}
+
+src_test() {
+ cd test
+ testing() {
+ PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" \
+ ../build-${PYTHON_ABI}/scripts-${PYTHON_ABI}/pry
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r doc/*
+}