diff options
Diffstat (limited to 'dev-python/webtest')
| -rw-r--r-- | dev-python/webtest/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/webtest/files/webtest-2.0.33-no-pylons-theme.patch | 51 | ||||
| -rw-r--r-- | dev-python/webtest/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/webtest/webtest-2.0.33.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/webtest/webtest-2.0.35.ebuild | 46 |
5 files changed, 165 insertions, 0 deletions
diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest new file mode 100644 index 000000000000..18b0e17c5bb7 --- /dev/null +++ b/dev-python/webtest/Manifest @@ -0,0 +1,2 @@ +DIST WebTest-2.0.33.tar.gz 76081 BLAKE2B 6c06d7cf6573282342ac190fe2365d041679fd9a75571a525cf0214f22a0631d5f97e94261090d9c2a372f77b005d22be5976f612c27c6b4c832c71469b33ee8 SHA512 9f5c614f8215837dc5cecc9c3e844c5e1678eb8275f9e27a0ec6a68648e9f4f09155aa72f6c731c34028b8671b7776a94235f3e54d7dbf5ff55de94840171ca8 +DIST WebTest-2.0.35.tar.gz 76227 BLAKE2B 2f10520a66a00cf61834d5ebe2b8eea469d4ca32155c9af3c0b78234607ea5443e695730a7db4476f5296f9b848f3950027d7485a4116e7d736fd9c33d8e78ae SHA512 ecad031702a9d2031d4e2230dc8213aaa6b1a3e9e6add296ee796aa2ef77d81c992dc24e481f721bc34711d1e33f3932d56cec4be3d62ee82a71fb405942c339 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/metadata.xml b/dev-python/webtest/metadata.xml new file mode 100644 index 000000000000..b2f7f657a23b --- /dev/null +++ b/dev-python/webtest/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">WebTest</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> 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..f6c90bb7be19 --- /dev/null +++ b/dev-python/webtest/webtest-2.0.33.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) + +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="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc64 s390 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 + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/pyquery[${PYTHON_USEDEP}] + dev-python/pastedeploy[${PYTHON_USEDEP}] + dev-python/wsgiproxy2[${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}" +#} diff --git a/dev-python/webtest/webtest-2.0.35.ebuild b/dev-python/webtest/webtest-2.0.35.ebuild new file mode 100644 index 000000000000..2f10b3f2dfac --- /dev/null +++ b/dev-python/webtest/webtest-2.0.35.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~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 + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pastedeploy[${PYTHON_USEDEP}] + dev-python/pyquery[${PYTHON_USEDEP}] + dev-python/wsgiproxy2[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/webtest-2.0.33-no-pylons-theme.patch" +) + +distutils_enable_sphinx docs +distutils_enable_tests pytest |
