diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-04-09 21:55:08 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-04-09 21:55:08 +0000 |
commit | 675ed6dde6fde5d799ef5a297d6d5952f0f6e9ae (patch) | |
tree | faf2f088a8a3dd905ab7a0a1f1c89c624c578ef0 /net-proxy/mitmproxy | |
parent | old (diff) | |
download | gentoo-2-675ed6dde6fde5d799ef5a297d6d5952f0f6e9ae.tar.gz gentoo-2-675ed6dde6fde5d799ef5a297d6d5952f0f6e9ae.tar.bz2 gentoo-2-675ed6dde6fde5d799ef5a297d6d5952f0f6e9ae.zip |
Version bump (bug #411359).
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy/mitmproxy')
-rw-r--r-- | net-proxy/mitmproxy/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/mitmproxy/mitmproxy-0.8.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/net-proxy/mitmproxy/ChangeLog b/net-proxy/mitmproxy/ChangeLog index 4bfaeb16fb48..8a518f1db288 100644 --- a/net-proxy/mitmproxy/ChangeLog +++ b/net-proxy/mitmproxy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/mitmproxy # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/mitmproxy/ChangeLog,v 1.2 2012/03/24 23:45:23 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/mitmproxy/ChangeLog,v 1.3 2012/04/09 21:55:08 radhermit Exp $ + +*mitmproxy-0.8 (09 Apr 2012) + + 09 Apr 2012; Tim Harder <radhermit@gentoo.org> +mitmproxy-0.8.ebuild: + Version bump (bug #411359). 24 Mar 2012; Tim Harder <radhermit@gentoo.org> mitmproxy-0.7.ebuild: Add test support using pry. diff --git a/net-proxy/mitmproxy/mitmproxy-0.8.ebuild b/net-proxy/mitmproxy/mitmproxy-0.8.ebuild new file mode 100644 index 000000000000..a84307d37827 --- /dev/null +++ b/net-proxy/mitmproxy/mitmproxy-0.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/mitmproxy/mitmproxy-0.8.ebuild,v 1.1 2012/04/09 21:55:08 radhermit Exp $ + +EAPI="4" + +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_MODNAME="libmproxy" + +inherit distutils + +DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy" +HOMEPAGE="http://mitmproxy.org/ http://pypi.python.org/pypi/mitmproxy/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +RDEPEND=">=dev-python/imaging-1.1 + >=dev-python/lxml-2.3 + >=dev-python/pyasn1-0.1.2 + >=dev-python/pyopenssl-0.12 + >=dev-python/urwid-1.0.0" +DEPEND="${RDEPEND} + test? ( dev-python/pry )" + +src_test() { + cd test + + testing() { + PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" "${EROOT}"/usr/bin/pry + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + use doc && dohtml -r doc/* + use examples && dodoc -r examples +} |