public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/wsgiproxy2/files/, dev-python/wsgiproxy2/
@ 2019-11-27 21:21 Patrick McLean
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McLean @ 2019-11-27 21:21 UTC (permalink / raw
  To: gentoo-commits

commit:     ebaec468eb5c7dd8689d6cc08769a68e7cfeb054
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Nov 27 19:23:08 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 21:19:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebaec468

dev-python/wsgiproxy2-0.4.6: bump, add py38 and pypy{,3}

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-python/wsgiproxy2/Manifest                     |  1 +
 .../wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch  | 19 +++++++++
 dev-python/wsgiproxy2/wsgiproxy2-0.4.6.ebuild      | 49 ++++++++++++++++++++++
 3 files changed, 69 insertions(+)

diff --git a/dev-python/wsgiproxy2/Manifest b/dev-python/wsgiproxy2/Manifest
index 3aa79290d2e..2274a532485 100644
--- a/dev-python/wsgiproxy2/Manifest
+++ b/dev-python/wsgiproxy2/Manifest
@@ -1,2 +1,3 @@
 DIST WSGIProxy2-0.4.2.zip 18817 BLAKE2B 90334926b726024c1a16b066d11cfe579ad80515861811766753aa772fa97e521466bce0a08c028a965e51ec40b977feb1f4b59aa6c023ca6a431deb63668ed5 SHA512 3dd750263485ceb644373d8ea9692c9a46126a1ed7cd640feba7d42b0fe618e290dcae2f76dc83be77de34211ac473f5a1496a8309e3fcc64982e9642af786fb
 DIST WSGIProxy2-0.4.4.tar.gz 16475 BLAKE2B 8cc91e8364204a03fb8f80abb926e69112c2224b595c695d25e2fa54553fe9c82e3420f68b58f266d04450dd49a6dbf9257c190da8645dfeee976ae101fc708b SHA512 6ae9fca65fe80f52924f42b26b447631e8c278f517ababc23d26e5f8598d6d9b7975197ec74faf64f2e051824366ac14c5db5727a014a187c70a1b4604105b42
+DIST WSGIProxy2-0.4.6.tar.gz 16481 BLAKE2B c33dc34d430da795e8144e06e1d6f100cce7d0155295c2d3038567a048647a4f008dbc0156fd4234ce069b3f4ec01af0e42b174dd68c92c9cb3ff4e13be83f8a SHA512 c60d794c0c8b383bf1857ec325d6d0b4fce9c4aec4a06cbf9d7549b609633e491e137342b7bbaf4eec12462eabba63096328c8517b0685e241d1baecd5827cad

diff --git a/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch b/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch
new file mode 100644
index 00000000000..77515b85b02
--- /dev/null
+++ b/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch
@@ -0,0 +1,19 @@
+diff --git a/wsgiproxy/test_wsgiproxy.py b/wsgiproxy/test_wsgiproxy.py
+index 39355d9..7806d3b 100644
+--- a/wsgiproxy/test_wsgiproxy.py
++++ b/wsgiproxy/test_wsgiproxy.py
+@@ -1,4 +1,6 @@
+ # -*- coding: utf-8 -*-
++import sys
++import platform
+ import unittest
+ from wsgiproxy import proxies
+ from webtest import TestApp
+@@ -86,6 +88,7 @@ class TestHttplib(unittest.TestCase):
+                             headers=[('Transfer-Encoding', 'chunked')])
+         resp.mustcontain(no='chunked')
+ 
++    @unittest.skipIf(sys.hexversion < 0x3000000 and 'pypy' not in platform.python_implementation().lower(), "broken on cpython2")
+     def test_quoted_utf8_url(self):
+         path = '/targets/NR2F1%C3%82-human/'
+         resp = self.app.get(path)

diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.4.6.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.4.6.ebuild
new file mode 100644
index 00000000000..257f448dd31
--- /dev/null
+++ b/dev-python/wsgiproxy2/wsgiproxy2-0.4.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
+
+inherit distutils-r1
+
+MY_PN="WSGIProxy2"
+
+DESCRIPTION="HTTP proxying tools for WSGI apps"
+HOMEPAGE="https://pypi.org/project/WSGIProxy2/"
+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"
+
+RDEPEND="
+	dev-python/requests[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	dev-python/urllib3[${PYTHON_USEDEP}]
+	dev-python/webob[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		>=dev-python/webtest-2.0.17[${PYTHON_USEDEP}]
+		dev-python/socketpool[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' -2)
+	)"
+# Tests needing restkit are skipped under py3
+# Testing also revealed the suite needs latest webtest
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+PATCHES=(
+	"${FILESDIR}/wsgiproxy2-0.4.6-tests.patch"
+)
+
+distutils_enable_sphinx docs
+distutils_enable_tests nose
+
+python_prepare_all() {
+	sed -i '/with-coverage/ d' setup.cfg || die
+
+	distutils-r1_python_prepare_all
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/wsgiproxy2/files/, dev-python/wsgiproxy2/
@ 2021-09-18 19:43 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2021-09-18 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     cb63d3f8c92184715b7d72d28169b1967dfe9cb2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 18 17:55:43 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 19:43:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb63d3f8

dev-python/wsgiproxy2: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/wsgiproxy2/Manifest                     |  2 -
 .../wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch  | 19 ----------
 dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild   | 44 ----------------------
 dev-python/wsgiproxy2/wsgiproxy2-0.5.0.ebuild      | 31 ---------------
 4 files changed, 96 deletions(-)

diff --git a/dev-python/wsgiproxy2/Manifest b/dev-python/wsgiproxy2/Manifest
index 2e92aa18fae..d3a18a7dbf3 100644
--- a/dev-python/wsgiproxy2/Manifest
+++ b/dev-python/wsgiproxy2/Manifest
@@ -1,3 +1 @@
-DIST WSGIProxy2-0.4.6.tar.gz 16481 BLAKE2B c33dc34d430da795e8144e06e1d6f100cce7d0155295c2d3038567a048647a4f008dbc0156fd4234ce069b3f4ec01af0e42b174dd68c92c9cb3ff4e13be83f8a SHA512 c60d794c0c8b383bf1857ec325d6d0b4fce9c4aec4a06cbf9d7549b609633e491e137342b7bbaf4eec12462eabba63096328c8517b0685e241d1baecd5827cad
-DIST WSGIProxy2-0.5.0.tar.gz 16464 BLAKE2B be8f818a1eb3280598427d52b4a7661f5c3cb86a4701e6c3c6b9c57bfde740a0ed616f9f6df8d7f4539c6716898bb5f7ebbf245d72452d84da9862df7cbec761 SHA512 8351225ffe78069f35e636efbd508d3ccd1a3365ac8846bc8fd5712c04869d21c1f9e9e9207d286649713cb9dcbc4770cf41f2c5f06a8d72e86f290211f05c0a
 DIST WSGIProxy2-0.5.1.tar.gz 16565 BLAKE2B 54bdc404111d910af61a59a7da5d47924e1950162dfb79dc0fd221a417c4fbb717dc4e7cf521589e3d087ffce1917449a199f5278bd4410ccce391b9c551eced SHA512 6be9d4893515cc70ee1c5d7b7a29895a8c8b5afd316e2ad05f92fc1fa93e26da22b93440994ec9782f0663ff7073e476f75351fb7955bde93a2b6fbf9f4bf78a

diff --git a/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch b/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch
deleted file mode 100644
index 77515b85b02..00000000000
--- a/dev-python/wsgiproxy2/files/wsgiproxy2-0.4.6-tests.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/wsgiproxy/test_wsgiproxy.py b/wsgiproxy/test_wsgiproxy.py
-index 39355d9..7806d3b 100644
---- a/wsgiproxy/test_wsgiproxy.py
-+++ b/wsgiproxy/test_wsgiproxy.py
-@@ -1,4 +1,6 @@
- # -*- coding: utf-8 -*-
-+import sys
-+import platform
- import unittest
- from wsgiproxy import proxies
- from webtest import TestApp
-@@ -86,6 +88,7 @@ class TestHttplib(unittest.TestCase):
-                             headers=[('Transfer-Encoding', 'chunked')])
-         resp.mustcontain(no='chunked')
- 
-+    @unittest.skipIf(sys.hexversion < 0x3000000 and 'pypy' not in platform.python_implementation().lower(), "broken on cpython2")
-     def test_quoted_utf8_url(self):
-         path = '/targets/NR2F1%C3%82-human/'
-         resp = self.app.get(path)

diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild
deleted file mode 100644
index 19cda237b3c..00000000000
--- a/dev-python/wsgiproxy2/wsgiproxy2-0.4.6-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="WSGIProxy2"
-DESCRIPTION="HTTP proxying tools for WSGI apps"
-HOMEPAGE="https://pypi.org/project/WSGIProxy2/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-	dev-python/requests[${PYTHON_USEDEP}]
-	dev-python/six[${PYTHON_USEDEP}]
-	dev-python/urllib3[${PYTHON_USEDEP}]
-	dev-python/webob[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		>=dev-python/webtest-2.0.17[${PYTHON_USEDEP}]
-		dev-python/socketpool[${PYTHON_USEDEP}]
-	)"
-# Testing also revealed the suite needs latest webtest
-
-PATCHES=(
-	"${FILESDIR}/wsgiproxy2-0.4.6-tests.patch"
-)
-
-distutils_enable_sphinx docs
-distutils_enable_tests nose
-
-python_prepare_all() {
-	sed -i '/with-coverage/ d' setup.cfg || die
-
-	distutils-r1_python_prepare_all
-}

diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.5.0.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.5.0.ebuild
deleted file mode 100644
index 5deefff8482..00000000000
--- a/dev-python/wsgiproxy2/wsgiproxy2-0.5.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-MY_PN="WSGIProxy2"
-DESCRIPTION="HTTP proxying tools for WSGI apps"
-HOMEPAGE="https://pypi.org/project/WSGIProxy2/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos"
-
-RDEPEND="
-	dev-python/requests[${PYTHON_USEDEP}]
-	dev-python/six[${PYTHON_USEDEP}]
-	dev-python/urllib3[${PYTHON_USEDEP}]
-	dev-python/webob[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		>=dev-python/webtest-2.0.17[${PYTHON_USEDEP}]
-	)"
-
-distutils_enable_sphinx docs
-distutils_enable_tests unittest


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-18 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-18 19:43 [gentoo-commits] repo/gentoo:master commit in: dev-python/wsgiproxy2/files/, dev-python/wsgiproxy2/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2019-11-27 21:21 Patrick McLean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox