From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B62E91396D0 for ; Sun, 1 Oct 2017 06:14:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12722E07D0; Sun, 1 Oct 2017 06:14:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6F6CE07D0 for ; Sun, 1 Oct 2017 06:14:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1F09341840 for ; Sun, 1 Oct 2017 06:14:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 195BD908A for ; Sun, 1 Oct 2017 06:14:18 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1506838454.b1c4789235e115a3f57071522a255f302c469909.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wsgiproxy2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wsgiproxy2/Manifest dev-python/wsgiproxy2/wsgiproxy2-0.4.4.ebuild X-VCS-Directories: dev-python/wsgiproxy2/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: b1c4789235e115a3f57071522a255f302c469909 X-VCS-Branch: master Date: Sun, 1 Oct 2017 06:14:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1bb4075e-694c-4a42-90c1-a706a87a3ff2 X-Archives-Hash: 88e2a4ed4dd5f15a4df6162b8f0e56bc commit: b1c4789235e115a3f57071522a255f302c469909 Author: Patrick Lauer gentoo org> AuthorDate: Sun Oct 1 06:13:58 2017 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sun Oct 1 06:14:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c47892 dev-python/wsgiproxy2: Bump Package-Manager: Portage-2.3.10, Repoman-2.3.3 dev-python/wsgiproxy2/Manifest | 1 + dev-python/wsgiproxy2/wsgiproxy2-0.4.4.ebuild | 50 +++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/wsgiproxy2/Manifest b/dev-python/wsgiproxy2/Manifest index 22f8f8424cd..d9f5fc4f8de 100644 --- a/dev-python/wsgiproxy2/Manifest +++ b/dev-python/wsgiproxy2/Manifest @@ -1,2 +1,3 @@ DIST WSGIProxy2-0.4.1.zip 18437 SHA256 70232dd33ffc742b2c1e8d7573a61035a1b7fcd92dc0c761e283de515ab94f69 SHA512 794cf74d47366ab80f03ef311cd77258b4152f266cabf662b3eccb0f706f246d6d4407f495432ed32520ed69ecf3cb5ae05ef8a50e7f59062c6ef7395d8c9eec WHIRLPOOL 08c784bb15a7a1da21ea38201781e502ad3f5515658a441f7671f2ba2c971966f320e52f223b6d47feedb35cefb4c513be454114f5d2635a78ec991b2e1a288f DIST WSGIProxy2-0.4.2.zip 18817 SHA256 a4b236fac5d4a2b51d9b3ed34cbe0d01aae173dce0ab9877f225b1dcdb4a6e8e SHA512 3dd750263485ceb644373d8ea9692c9a46126a1ed7cd640feba7d42b0fe618e290dcae2f76dc83be77de34211ac473f5a1496a8309e3fcc64982e9642af786fb WHIRLPOOL e585abf60d7f3bfe60d700dca99887efe0616f4cdb43de2edabe3b53b8b4f7eaf730c465d1a95618ac4ff0c99b488fa241400eaecd69ca8cd7c2e2012fbbcd51 +DIST WSGIProxy2-0.4.4.tar.gz 16475 SHA256 f9347ba1405ebe4ea614a290f10d44577f3fdc644e8ad2c9e10392c46416a398 SHA512 6ae9fca65fe80f52924f42b26b447631e8c278f517ababc23d26e5f8598d6d9b7975197ec74faf64f2e051824366ac14c5db5727a014a187c70a1b4604105b42 WHIRLPOOL 03c86eda1c20a28b6adbadfac8d7d717c8bc184313309db1377dea0a8b16a10beab6dca08413e5ff31ca6e7ed5cebf43851d79c18714fe5142405c96ff03ffca diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.4.4.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.4.4.ebuild new file mode 100644 index 00000000000..1756e680ae9 --- /dev/null +++ b/dev-python/wsgiproxy2/wsgiproxy2-0.4.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +MY_PN="WSGIProxy2" + +DESCRIPTION="HTTP proxying tools for WSGI apps" +HOMEPAGE="http://pythonpaste.org/wsgiproxy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + >=dev-python/webtest-2.0.17[${PYTHON_USEDEP}] + dev-python/socketpool[${PYTHON_USEDEP}] + dev-python/restkit[$(python_gen_usedep python2_7)] )" +# Tests needing restkit are skipped under py3 +# Testing also revealed the suite needs latest webtest + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + cd docs || die + sphinx-build -b html -d _build/doctrees . _build/html + fi +} + +python_test() { + nosetests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}