diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-24 23:36:00 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-24 23:36:00 +0000 |
commit | 58ffcd9355582fd4af68288740de59277fe8dfa1 (patch) | |
tree | a56065a9a949d91b291387336886c815906949c5 /dev-python | |
parent | Allow USE="openvg" for latest cairo release. (diff) | |
download | historical-58ffcd9355582fd4af68288740de59277fe8dfa1.tar.gz historical-58ffcd9355582fd4af68288740de59277fe8dfa1.tar.bz2 historical-58ffcd9355582fd4af68288740de59277fe8dfa1.zip |
Initial import required for running mitmproxy tests. Ebuild by me.
Package-Manager: portage-2.2.0_alpha95/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pry/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pry/Manifest | 19 | ||||
-rw-r--r-- | dev-python/pry/files/pry-0.2.1-exit-status.patch | 13 | ||||
-rw-r--r-- | dev-python/pry/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/pry/pry-0.2.1_p20090810.ebuild | 41 |
5 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/pry/ChangeLog b/dev-python/pry/ChangeLog new file mode 100644 index 000000000000..3157b461797d --- /dev/null +++ b/dev-python/pry/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*pry-0.2.1_p20090810 (24 Mar 2012) + + 24 Mar 2012; Tim Harder <radhermit@gentoo.org> +pry-0.2.1_p20090810.ebuild, + +files/pry-0.2.1-exit-status.patch, +metadata.xml: + Initial import required for running mitmproxy tests. Ebuild by me. + diff --git a/dev-python/pry/Manifest b/dev-python/pry/Manifest new file mode 100644 index 000000000000..07936c1fdb69 --- /dev/null +++ b/dev-python/pry/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX pry-0.2.1-exit-status.patch 263 RMD160 bba82e733040d2f85f5126282d4c57c8b04dd670 SHA1 5b72198fb4cc751aa1914f215c79d497f974ba5b SHA256 133208a9a278c431ff24ba753e53d940a60f61ecad1270c83a3511fb47b2e591 +DIST pry-0.2.1_p20090810.tar.gz 38183 RMD160 81536f61b6522567db9d38182bb69743dd7e93bd SHA1 f1f85ef78e3a9c7c364b6430137c6e9c7d35eb7a SHA256 c8e5f814c2a2b008d34fa7af93261ffb49e8fdf11ce85837fafeb699c8ab9c61 +EBUILD pry-0.2.1_p20090810.ebuild 943 RMD160 dc4b82a1f11c57fc28e4b795f893d12988846509 SHA1 9f07c29409e0ae5bd025e76a423efcfb30c3d703 SHA256 2783613e8e558cf689d50c2451bef00a57fb99f3901f6370b8e25ad41d9a1a3a +MISC ChangeLog 441 RMD160 e814a7c860a778f8a14280eb3ad21595a5c4d4f4 SHA1 b7979127d81fe107d1efaeceb2970620c3b64d69 SHA256 607382da2156d6d685f7b9073b27b184efc612761ba300d70ebbd1c685b8eedc +MISC metadata.xml 253 RMD160 6dfd64b8259be428652e27eb11d5854169e90f3d SHA1 b0793de863ae3e9c6d5903b9dc28701371de36d1 SHA256 9f2f51fd5d49ee6b0ef785dd7256455213e0e18e37f23b498cfee07dc1efac7f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQEcBAEBCgAGBQJPblprAAoJEEqz6FtPBkyjmxEH/2TJOF1TENZKdegkpvj/mSYa ++cBosN7GoyVf88F1txulWDNBt2NW7qrfAJu0SZ5192pfiPDvgC/lfEGaYeoBSUj9 +ijI6qUA70+9PP8ygNBMkfpuGvurXFAs4WzfMh4Ba5qt7OnmRvEmrKrdLCkUgXI58 +cA+34YuQ2gnNyltn0rn3Akzh3cqr2MZuqImHaomS4AjPL1djhCNz6bQ+pYdV+rEL +IgyZ3zBC0Aj7Y8TNPjVSSyztxFiPu/hwiAvNIIPtsJ3vN/NEVjftchASf3RhSpGR +mwnrGVTFKpn6+zYwZxj+K+2X529D5qKsYneytg4pDAUaicWhw8VgZVyZI6dEZxM= +=7u+j +-----END PGP SIGNATURE----- diff --git a/dev-python/pry/files/pry-0.2.1-exit-status.patch b/dev-python/pry/files/pry-0.2.1-exit-status.patch new file mode 100644 index 000000000000..0928ee0080d1 --- /dev/null +++ b/dev-python/pry/files/pry-0.2.1-exit-status.patch @@ -0,0 +1,13 @@ +--- pry-0.2.1/pry ++++ pry-0.2.1/pry +@@ -108,6 +108,10 @@ + else: + r._run(output, options.benchmark) + output.final(r) ++ if r.allErrors(): ++ sys.exit(1) ++ else: ++ sys.exit() + + + if __name__ == "__main__": diff --git a/dev-python/pry/metadata.xml b/dev-python/pry/metadata.xml new file mode 100644 index 000000000000..9300f12fbb80 --- /dev/null +++ b/dev-python/pry/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pry/pry-0.2.1_p20090810.ebuild b/dev-python/pry/pry-0.2.1_p20090810.ebuild new file mode 100644 index 000000000000..719bf6cf865c --- /dev/null +++ b/dev-python/pry/pry-0.2.1_p20090810.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_p20090810.ebuild,v 1.1 2012/03/24 23:36:00 radhermit Exp $ + +EAPI="4" + +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="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +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/* +} |