summaryrefslogtreecommitdiff
path: root/dev-python/webtest
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/webtest
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/webtest')
-rw-r--r--dev-python/webtest/Manifest7
-rw-r--r--dev-python/webtest/metadata.xml11
-rw-r--r--dev-python/webtest/webtest-2.0.16.ebuild67
-rw-r--r--dev-python/webtest/webtest-2.0.21.ebuild67
4 files changed, 152 insertions, 0 deletions
diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest
new file mode 100644
index 000000000000..f5715231d718
--- /dev/null
+++ b/dev-python/webtest/Manifest
@@ -0,0 +1,7 @@
+DIST WebTest-2.0.16.zip 88232 SHA256 24ad0c9ee377f16df4d0bd626a64a75eec901852ac788bdb70e0261bff0026eb SHA512 da09abba8ed52c8d673acf547f47df6919b534b33b746944610fc78bd3695f36e3718f89e68f8aec7852b6cf98da0f0b5500dfe9427fd7926e5304ad216eafbb WHIRLPOOL 68d392000c8767ef9b5d4cc657bd6e99ec75eb4cb20cacdabdcca87942894b290f957854fb7dfb7c9eb8312877575c4e4d258e78c05f985e972b02ee04ec2643
+DIST WebTest-2.0.21.tar.gz 66866 SHA256 3dc92ecd7604e21fc7c97578e4c43aff2a67cebdd4884a2aa804d85e85b34b55 SHA512 21f58ee9192fd0eb0eb2d88179ffc015aa5cf04c8004db251bd65d13d54c34b9e6b5fc9fdd8e9fcbbc18fcfb2be714c0691b2ef034318861262f8705b4a44610 WHIRLPOOL f87c877dc30dcee5c86225849d27a1a3b5504f656e4c68ff88273c665f1684cb21f0e31ebcdd4b6981e1bc5269d8057379f78d90c708de8e319846a5aa27669d
+EBUILD webtest-2.0.16.ebuild 1744 SHA256 53a9d00fd73ea54cea5c51683a115b6c5c104a3b7fb506607a1e5a00188ac552 SHA512 e7cbc3bf52b3596e7487e334068bf146bb59d3230ab420f42e94add9c5ab0878d5491a70b7d06d5f65da71bb3bc693390331e650d87acc716e2adc5b05bff5c6 WHIRLPOOL d8f972cb5d2144ea312ec2003896f8e6be2359200fc4e7bbb01fc91a650dd5785984b4e8a6096102f3978588ceaa57cd1e60584402765b445af42e68cbd1ed59
+EBUILD webtest-2.0.21.ebuild 1841 SHA256 6d0e718690edc46372cb9ca4d9f5b332c0290c8858dcc0582cbd7c124df3d37e SHA512 1c0201d485c7cc3a00e3f2f6c3ed7c54f3eccba4c3404365139699a432fe751e94dd070ebb2fd3de7de52b6e2cd5c102aa7f5d297dfaa92c922b5b15b015299f WHIRLPOOL 84951cdeeffce9faee40e7cc6e2278e72df3b3a0f6fef92ba2b1674daa338d3e6fe06c551af72484eb3c216d1524f06e3a175f6d7bd3220088fcbe583d070ed0
+MISC ChangeLog 4715 SHA256 4e6946db205d968c28641c5b8257e6061d052b51f45fbde6fbb80a0bb0195263 SHA512 5e756a91700f83fa3cfa037a61f3d9ce16cec702f18e8d42cc387229789fff48af80cb6b3a724653f1789b4ce3e428bea646483a6c6e7dace4963722bf2c8b1d WHIRLPOOL 81681ce247da2d2b2f7cc6ed5bf4df4f3bb6ee415ea186ff4a679307ce95085037c179e7896d2111cf4d20c4abd6331d8cc2e3ce63fda8c87bd88b1fd3803971
+MISC ChangeLog-2015 12837 SHA256 378c7425939990215391035629f11bec2e15fdbeb2e78390b03e96b8dda62a28 SHA512 cc77a0344c643cd767ff124a67c1204525d9bb08d8c336eb2016ad638651fef365ef64e80d1b13a33dbfcabc6da917f533289a1122d55168ebd83aeb722d035b WHIRLPOOL f724d97d83d91914eddc4752eeb7d4dac405b7b41911f60e35ed3f61c702b2d58364a173629c7cd1e254ac6ee905389112d4cb8f67e5964a70f70c174c5b656f
+MISC metadata.xml 310 SHA256 a3292a9cbb8584e527b568d15d0e140c47a22f3b7e94bca11996209e164236cb SHA512 0fb6e471cf00fcbea309bdb63d23c5917250f2de2e3e245a91d6ccf1258123ee6f0a8c3f311c526b7f9062c6ed93df1c89f44abf16879440dd1dc81c7fba2743 WHIRLPOOL f41eddb5ae6b7c9accef230ca577562c0d4bdd5d0d94a503217bfaf72d68159b026c40d4cdb1a3c45312689012e361e1e941a7a0f27ccea1b7a30843dbe7442b
diff --git a/dev-python/webtest/metadata.xml b/dev-python/webtest/metadata.xml
new file mode 100644
index 000000000000..0990b16f82a6
--- /dev/null
+++ b/dev-python/webtest/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="pypi">WebTest</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/webtest/webtest-2.0.16.ebuild b/dev-python/webtest/webtest-2.0.16.ebuild
new file mode 100644
index 000000000000..fb9c40e1754b
--- /dev/null
+++ b/dev-python/webtest/webtest-2.0.16.ebuild
@@ -0,0 +1,67 @@
+# 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} )
+
+inherit distutils-r1
+
+MY_PN="WebTest"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Helper to test WSGI applications"
+HOMEPAGE="http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ppc64 ~s390 ~sh sparc x86"
+IUSE="doc test"
+
+#nose<1.3.0
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}]
+ >=dev-python/webob-1.2[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${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 )
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+# Makes testing easier; otherwise we get errors from pkg_resources.
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+ # Prevent un-needed d'loading during doc build
+ sed -s 's:intersphinx_mapping:_&:' -i docs/conf.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build docs html || die
+ fi
+}
+
+python_test() {
+ # Tests raise ImportErrors with our default PYTHONPATH.
+ local -x PYTHONPATH=
+ nosetests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/webtest/webtest-2.0.21.ebuild b/dev-python/webtest/webtest-2.0.21.ebuild
new file mode 100644
index 000000000000..a5fba1176103
--- /dev/null
+++ b/dev-python/webtest/webtest-2.0.21.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+MY_PN="WebTest"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Helper to test WSGI applications"
+HOMEPAGE="http://pythonpaste.org/webtest/ https://pypi.python.org/pypi/WebTest"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc64 ~s390 ~sh sparc x86"
+IUSE="doc test"
+
+# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}]
+ >=dev-python/webob-1.2[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${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 )
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+# Makes testing easier; otherwise we get errors from pkg_resources.
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_prepare_all() {
+ # Prevent un-needed d'loading during doc build
+ sed -s 's:intersphinx_mapping:_&:' -i docs/conf.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build docs html || die
+ fi
+}
+
+python_test() {
+ # Tests raise ImportErrors with our default PYTHONPATH.
+ local -x PYTHONPATH=
+ nosetests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( html/. )
+ distutils-r1_python_install_all
+}