summaryrefslogtreecommitdiff
path: root/dev-python/webtest
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/webtest
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/webtest')
-rw-r--r--dev-python/webtest/Manifest1
-rw-r--r--dev-python/webtest/files/webtest-2.0.33-no-pylons-theme.patch51
-rw-r--r--dev-python/webtest/metadata.xml10
-rw-r--r--dev-python/webtest/webtest-3.0.7.ebuild46
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest
new file mode 100644
index 000000000000..956319d7406e
--- /dev/null
+++ b/dev-python/webtest/Manifest
@@ -0,0 +1 @@
+DIST webtest-3.0.7.tar.gz 80260 BLAKE2B b004cdc05d5f19516d4051fd6246e839635c3e980aae075bb4b491f993d9e9c81b78d4fb1e113ff4a3e17739ed56a121981e2081b5300424ae234aeefb81d38b SHA512 fe9d897964179f7921831da50dd7812785190228bbf0dfe1219169163da760b67365e7334c271f07b8a7a3792dce6c320aa8342cf48727b4c49401e6ad05212a
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..5e95859f915a
--- /dev/null
+++ b/dev-python/webtest/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/webtest/webtest-3.0.7.ebuild b/dev-python/webtest/webtest-3.0.7.ebuild
new file mode 100644
index 000000000000..479ab06db9af
--- /dev/null
+++ b/dev-python/webtest/webtest-3.0.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN="WebTest"
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Helper to test WSGI applications"
+HOMEPAGE="
+ https://docs.pylonsproject.org/projects/webtest/en/latest/
+ https://github.com/Pylons/webtest/
+ https://pypi.org/project/WebTest/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
+
+RDEPEND="
+ dev-python/paste[${PYTHON_USEDEP}]
+ dev-python/pastedeploy[${PYTHON_USEDEP}]
+ >=dev-python/webob-1.2[${PYTHON_USEDEP}]
+ >=dev-python/waitress-3.0.2[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pyquery[${PYTHON_USEDEP}]
+ dev-python/wsgiproxy2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/legacy-cgi[${PYTHON_USEDEP}]
+ ' 3.{13..14})
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/webtest-2.0.33-no-pylons-theme.patch"
+)
+
+distutils_enable_sphinx docs
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest