summaryrefslogtreecommitdiff
path: root/dev-python/webtest
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/webtest')
-rw-r--r--dev-python/webtest/Manifest9
-rw-r--r--dev-python/webtest/files/webtest-2.0.33-no-pylons-theme.patch51
-rw-r--r--dev-python/webtest/webtest-2.0.21.ebuild1
-rw-r--r--dev-python/webtest/webtest-2.0.29-r1.ebuild3
-rw-r--r--dev-python/webtest/webtest-2.0.29.ebuild1
-rw-r--r--dev-python/webtest/webtest-2.0.33.ebuild54
6 files changed, 115 insertions, 4 deletions
diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest
index 47ba4e89c611..305ae9bb391e 100644
--- a/dev-python/webtest/Manifest
+++ b/dev-python/webtest/Manifest
@@ -1,6 +1,9 @@
+AUX webtest-2.0.33-no-pylons-theme.patch 1556 BLAKE2B e108d05467d87aa0dcc50e8a9fcb8032eeabdf6801d5a66fa9cbe6f51b6dd4539c71b4ff1cf0ef39edfee689e51a6e67e30e473fffa8f2db9225ff23e3b4619b SHA512 6423cc275c2774b07819079d8fe8478cf2b322c16860b600dbd039480a8883252046a6c9fc2136ec4ff54a8adbfceeb3a8ee4a7e43faea17ec588f42a5eafd5e
DIST WebTest-2.0.21.tar.gz 66866 BLAKE2B d2830fcce7fb4b91029838806952e3e9c6916c3b292c7142138f30486d936b4a1f0c2d28a5973b0c351c64e499f343f3711296c6e37c38548e3a81b108163a17 SHA512 21f58ee9192fd0eb0eb2d88179ffc015aa5cf04c8004db251bd65d13d54c34b9e6b5fc9fdd8e9fcbbc18fcfb2be714c0691b2ef034318861262f8705b4a44610
DIST WebTest-2.0.29.tar.gz 74620 BLAKE2B 7fc68f1178b1abb0a0f126112b846853762ad78cb060718bc340f5ba17517180b7283f384503ff77a2c7396645ebe2d5528dbc0f027c5d44beb002c4204bf894 SHA512 319700d1444f6a681f8ed8a4ee8661ba0462b3f4bfeb7510232f58be92e017066da3bac494ebe1a3c5b9f2d06c025e08e6193277e13c6113e9485108d4ccd2d2
-EBUILD webtest-2.0.21.ebuild 1799 BLAKE2B 79ee4916ebb9240a4593c4343a3e04c795c094e68dd381c685285d26e30a8ccd38acb2154d2a3fec532ffa7a2680d22ff8f7ac8582cc9fc07eec845b341d1f12 SHA512 487f84f142f63110677c85571f359ab6947fe2e81f1bd319b375434879f8087087c2b40f021cb9c687853ca05862e77b7bba5d690d9937aa0f76740d855ef4a3
-EBUILD webtest-2.0.29-r1.ebuild 1777 BLAKE2B 20932b53d3cef97efb43bf1e7bb62ac7541658f9ba71ce430e4c6cbf52cdc21ea39721b0942d22cfee18c4d3e1b81b32516c5fddc07f425c265922e615ceb1e4 SHA512 f372b9061bad6dd89ca3237245f06d5bc80c8fa8f0a6cb8be93a4b0a8563440dfb33f7517b60371aeae3cceb38dd0ae4c19212e4a8190fe28282c027cc176b6a
-EBUILD webtest-2.0.29.ebuild 1763 BLAKE2B 0609ce648d79fdc5179f366cadd22117a68ee764f96b44210811a49b08ea6d13875cf0962a98708f380a58b8c6e865653083ebd8a6abdc26ab8f6a1afaa0f5ed SHA512 eaec34fdabc880fec2febb84e14261d9730a0ab85d7f7c8ba62d7dcccf5affb05c960edbf9fe56f4fda52cf944d9fc6f9ef58c93be16c13e08049ee9e8c6923f
+DIST WebTest-2.0.33.tar.gz 76081 BLAKE2B 6c06d7cf6573282342ac190fe2365d041679fd9a75571a525cf0214f22a0631d5f97e94261090d9c2a372f77b005d22be5976f612c27c6b4c832c71469b33ee8 SHA512 9f5c614f8215837dc5cecc9c3e844c5e1678eb8275f9e27a0ec6a68648e9f4f09155aa72f6c731c34028b8671b7776a94235f3e54d7dbf5ff55de94840171ca8
+EBUILD webtest-2.0.21.ebuild 1826 BLAKE2B 263cf8e3cb907c535a4601fc37fd109dad206430fbd185c1cfaec5aa5dcd51b8162bc1fd346d032faa6d2a55bc606ba69a13ce73f92b23c41e3f9788c2f57273 SHA512 0e86ae36f3b2b4e21f1d17d99fd8dbe6e2af5d3d691666d77defea2f4644bc505dd4e766ca225f29892afeed48663800c7f56921b156f9b55dfcadcd7b63bf47
+EBUILD webtest-2.0.29-r1.ebuild 1804 BLAKE2B 41348dd6663ee8b891253605bcb7f0f3bd794651425cfc9f571469cf4bfc376175244aa1c6b9a4071667810f7cc7628d5df547fc09fb49fc18dd5e2fcacf33ae SHA512 d166a2b330e58488b7b1e5a7a4a676e2997a93eba95ffa2d1f0ab4ff9271f20e8000c7aaa215dca2989a29da32790ff491845ab96d5b703972bf398d88b02f00
+EBUILD webtest-2.0.29.ebuild 1790 BLAKE2B 7e1495a4ff208d9dba133d9f75d384088987305973e98a8a28aef30c4fadeeca56fe0a86f46420cca2eadbdb15465310e8a989fb7db9cd9cc7e6ac701248583a SHA512 4757ca7adbe64c8602e7f8c62789d45c28cca555b22a9aef8b12240951d6b21f4a153bd4c3fb84981f9d6c369839b583be9df35d76b2e161d0e0b344a22ec358
+EBUILD webtest-2.0.33.ebuild 1464 BLAKE2B 05afb0a70f659033976edd47a6ff00bf9bfb0658996071ca13bdcf6ab2a2a1d8657a429cff68d2d442bd4acfa26675ef2cfa8cb6a8611f74eead6b81a37213e1 SHA512 2446ef43b3ad3af304dfc70adab6c5987593beb119a899204e96ff0283b48823279e8e7c01f4719ad7cc596e0922b6c88b2a624dd20df283d7f114d1c2651f00
MISC metadata.xml 310 BLAKE2B 34f814fb04671947a228986ee91f8eaafec5a2931cdb87c63b8e135130dc60eff1a2fc2d15f0aba767fac07d853ffcdc339dfdd02495ccc40830b5452b6173d1 SHA512 0fb6e471cf00fcbea309bdb63d23c5917250f2de2e3e245a91d6ccf1258123ee6f0a8c3f311c526b7f9062c6ed93df1c89f44abf16879440dd1dc81c7fba2743
diff --git a/dev-python/webtest/files/webtest-2.0.33-no-pylons-theme.patch b/dev-python/webtest/files/webtest-2.0.33-no-pylons-theme.patch
new file mode 100644
index 000000000000..3fe4fe3770e2
--- /dev/null
+++ b/dev-python/webtest/files/webtest-2.0.33-no-pylons-theme.patch
@@ -0,0 +1,51 @@
+diff --git a/docs/conf.py b/docs/conf.py
+index 96746bf..2445d35 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -13,7 +13,7 @@
+
+ import sys, os
+ import datetime
+-import pylons_sphinx_themes
++#import pylons_sphinx_themes
+
+ # If extensions (or modules to document with autodoc) are in another directory,
+ # add these directories to sys.path here. If the directory is relative to the
+@@ -102,11 +102,11 @@ pygments_style = 'sphinx'
+
+ # The theme to use for HTML and HTML Help pages. See the documentation for
+ # a list of builtin themes.
+-html_theme = 'pylons'
+-html_theme_path = pylons_sphinx_themes.get_html_themes_path()
+-html_theme_options = dict(
+- github_url='https://github.com/Pylons/webtest',
+- )
++#html_theme = 'pylons'
++#html_theme_path = pylons_sphinx_themes.get_html_themes_path()
++#html_theme_options = dict(
++# github_url='https://github.com/Pylons/webtest',
++# )
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further. For a list of options available for each theme, see the
+ # documentation.
+@@ -180,13 +180,13 @@ smartquotes = False
+ htmlhelp_basename = 'WebTestdoc'
+
+ # Control display of sidebars
+-html_sidebars = { '**': [
+- 'localtoc.html',
+- 'ethicalads.html',
+- 'relations.html',
+- 'sourcelink.html',
+- 'searchbox.html',
+-] }
++#html_sidebars = { '**': [
++# 'localtoc.html',
++# 'ethicalads.html',
++# 'relations.html',
++# 'sourcelink.html',
++# 'searchbox.html',
++#] }
+
+ # -- Options for LaTeX output --------------------------------------------------
+
diff --git a/dev-python/webtest/webtest-2.0.21.ebuild b/dev-python/webtest/webtest-2.0.21.ebuild
index 3c08f04477b3..f3092e31f450 100644
--- a/dev-python/webtest/webtest-2.0.21.ebuild
+++ b/dev-python/webtest/webtest-2.0.21.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 ~s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
RDEPEND="
diff --git a/dev-python/webtest/webtest-2.0.29-r1.ebuild b/dev-python/webtest/webtest-2.0.29-r1.ebuild
index f7ea291c78c0..677e6864e782 100644
--- a/dev-python/webtest/webtest-2.0.29-r1.ebuild
+++ b/dev-python/webtest/webtest-2.0.29-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
RDEPEND="
diff --git a/dev-python/webtest/webtest-2.0.29.ebuild b/dev-python/webtest/webtest-2.0.29.ebuild
index 9a6df7650d61..71fe717f0d03 100644
--- a/dev-python/webtest/webtest-2.0.29.ebuild
+++ b/dev-python/webtest/webtest-2.0.29.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 s390 ~sh sparc x86"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
RDEPEND="
diff --git a/dev-python/webtest/webtest-2.0.33.ebuild b/dev-python/webtest/webtest-2.0.33.ebuild
new file mode 100644
index 000000000000..463f35e3e2a7
--- /dev/null
+++ b/dev-python/webtest/webtest-2.0.33.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
+
+inherit distutils-r1
+
+MY_PN="WebTest"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Helper to test WSGI applications"
+HOMEPAGE="https://pypi.org/project/WebTest/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/paste[${PYTHON_USEDEP}]
+ dev-python/pastedeploy[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ >=dev-python/webob-1.2[${PYTHON_USEDEP}]
+ >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pyquery[${PYTHON_USEDEP}]
+ dev-python/pastedeploy[${PYTHON_USEDEP}]
+ dev-python/wsgiproxy2[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 )
+ )"
+
+PATCHES=(
+ "${FILESDIR}/webtest-2.0.33-no-pylons-theme.patch"
+)
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+#python_test() {
+# distutils_install_for_testing
+# # Tests raise ImportErrors with our default PYTHONPATH.
+# local -x PYTHONPATH=
+# nosetests -v || die "Tests fail with ${EPYTHON}"
+#}