summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-05-16 08:40:52 +0000
committerTim Harder <radhermit@gentoo.org>2013-05-16 08:40:52 +0000
commit9c6e305f6a25c2c6a3a55660308d08b57b52073d (patch)
treea1c6cb2b3e23093f8f8d2a61271f5014d5c10cda /net-proxy/mitmproxy
parentAdd test dep on pathod. (diff)
downloadgentoo-2-9c6e305f6a25c2c6a3a55660308d08b57b52073d.tar.gz
gentoo-2-9c6e305f6a25c2c6a3a55660308d08b57b52073d.tar.bz2
gentoo-2-9c6e305f6a25c2c6a3a55660308d08b57b52073d.zip
Version bump.
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-proxy/mitmproxy')
-rw-r--r--net-proxy/mitmproxy/ChangeLog7
-rw-r--r--net-proxy/mitmproxy/mitmproxy-0.9.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/net-proxy/mitmproxy/ChangeLog b/net-proxy/mitmproxy/ChangeLog
index c09bed75000d..9bfd6f88ce65 100644
--- a/net-proxy/mitmproxy/ChangeLog
+++ b/net-proxy/mitmproxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/mitmproxy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/mitmproxy/ChangeLog,v 1.5 2013/05/11 11:22:48 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/mitmproxy/ChangeLog,v 1.6 2013/05/16 08:40:52 radhermit Exp $
+
+*mitmproxy-0.9 (16 May 2013)
+
+ 16 May 2013; Tim Harder <radhermit@gentoo.org> +mitmproxy-0.9.ebuild:
+ Version bump.
11 May 2013; Tim Harder <radhermit@gentoo.org> mitmproxy-0.8.1.ebuild:
Drop unnecessary path to pry for tests.
diff --git a/net-proxy/mitmproxy/mitmproxy-0.9.ebuild b/net-proxy/mitmproxy/mitmproxy-0.9.ebuild
new file mode 100644
index 000000000000..0eda163e72dd
--- /dev/null
+++ b/net-proxy/mitmproxy/mitmproxy-0.9.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/mitmproxy/mitmproxy-0.9.ebuild,v 1.1 2013/05/16 08:40:52 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1
+
+DESCRIPTION="An interactive, SSL-capable, man-in-the-middle HTTP proxy"
+HOMEPAGE="http://mitmproxy.org/"
+SRC_URI="http://mitmproxy.org/download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND=">=dev-python/imaging-1.1[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
+ >=dev-python/netlib-0.9[${PYTHON_USEDEP}]
+ >dev-python/pyasn1-0.1.2[${PYTHON_USEDEP}]
+ >=dev-python/pyopenssl-0.12[${PYTHON_USEDEP}]
+ >=dev-python/urwid-1.1[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ www-servers/pathod[${PYTHON_USEDEP}]
+ )"
+
+RESTRICT="test"
+
+python_test() {
+ nosetests -v || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ dodoc CHANGELOG CONTRIBUTORS
+ use doc && dohtml -r doc/*
+ use examples && dodoc -r examples
+}