dev-python/httpretty: remove old

Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Virgil Dupras
2018-12-03 06:58:36 -05:00
parent 4ebb5a1c44
commit 4e67a7471d
9 changed files with 0 additions and 478 deletions

View File

@@ -1,7 +1 @@
DIST httpretty-0.7.0.tar.gz 28066 BLAKE2B e4460fb060efd5b2551218a01f52b9dc6250f1ad0582e8c48ebc98fbaaac053ca914620e7a88d4404e8a15106853caae31ee05434f3756f293c1d01db23e5514 SHA512 9adfd906336aa0ac2c21be8b789eb2e57994f4aac719958fc657291d922fe28b1fcc60d9b39e0e616b6d8565adaecb8228df3a9d1428cc189372b1cc700f664e
DIST httpretty-0.7.1.tar.gz 28394 BLAKE2B 2b98d2b6f9cca35d5396a038c0851cffc6aa45456f6ae3ef082b0fba90c6cd137a2e99534ee836c7c00b5394668a266206df579253a32b4213b8127b58f8d629 SHA512 53b6f063e0e7863fa77aad1eebb0ad3078528bc97d26df80a3c6491c42b9a9008080da35bbb1e9372674c996f25e5109c84b48a2a6d9f0de5b7c53331bdad857
DIST httpretty-0.8.0.tar.gz 34291 BLAKE2B 71bc13eeb1153f6b7a1c5e60b6cb197a3e6a7d8bf32db047843d17cdd1fe0eff0904f10c4b9424728e12f12a98574de317a6a7db16b1f1e8315642e872187275 SHA512 0c6193c488a27345b3d98cc6a62e8933b67828b7335700367b28cf328ef86ff2342056bada84ca631d6acc5650b7b456e80d85d8099e873f07cd41140c481650
DIST httpretty-0.8.10.tar.gz 41741 BLAKE2B 2d0648074eea08223fe2191c1f416af7349ab16d1578e4b259d02e163462bb1c2222f122ed532a9d4c8179d332ef29347a8da67765e34a81643f8fa988f095bd SHA512 5bc734a89c45daa746551ef7d150c02bf6d9cddf1bc5426a8800d2241bb5bf8a834d2736fd9a4846ce150747d9c2064686a3ed63e97e5f131778d834956a9107
DIST httpretty-0.8.12.tar.gz 43396 BLAKE2B ed2b9e7d8b2e7088a613234c8d60edcc5294506c77f16e5821060e3115bc8521f568abba313b359008add09e47e320bfc7178eca86e5e59158d7e303dc6f017d SHA512 1d1cbc2fd56c4aa8c2ba1e5bdb6d56db57a74f73028ebeab141f93d55eaac4a46a19c66148435e45c91d21a561ecaa6100cbe1ac0dbb65b2bdf2c8551b99a523
DIST httpretty-0.8.14.tar.gz 43574 BLAKE2B 4015bb234c2fe3017a43fff6e3b51a7f015d9d133756d4326750da1ea06ce1910d91d7b47625a08ec85856d156a0d8b3b18706e582578e3d186994b8e4f55c69 SHA512 5adab6450e8360cc21bab4136f64cd11757b9f292c7e27980fe2561f3e705baf4f0211b9e6ff4ec9ba96a788a6c5b5b1d26657972b67423c9c25491927b0884b
DIST httpretty-0.8.6.tar.gz 40815 BLAKE2B 6964f96fb6de59f2ff9bc5018e6bec15c391454888fb0f42045257bad8fcc96a9cb6e1c4f4347267e85efc96473ede26c37f6680b67bb47a1632e371dcf313de SHA512 bd5d0b1a33b52ae3d0e09673429e771ce582795bf58d38b34d4df39f74b377ec199d720fa061a84b64175b6ba67a91bdb35c242b4fd754627d2744cb8b33b313

View File

@@ -1,68 +0,0 @@
rebased from https://github.com/jamielennox/HTTPretty/commit/3a7d5a04b2ed5cebc8e1fc14f706f5da7fc5162f
diff -ur httpretty-0.7.0.orig/requirements.pip httpretty-0.7.0/requirements.pip
--- requirements.pip 2013-10-02 12:44:47.000000000 +0800
+++ requirements.pip 2013-12-02 15:37:00.611977792 +0800
@@ -1,12 +1,9 @@
-argparse==1.2.1
-coverage==3.5.3
-httplib2==0.7.6
-misaka==1.0.2
-mock==1.0.1
-nose==1.2.1
-requests==1.1.0
-steadymark==0.4.5
+coverage>=3.5
+httplib2
+mock>=1.0
+nose>=1.2
+requests>=1.1
sure>=1.2.1
-tornado==2.4
-tox==1.4.2
-urllib3
\ No newline at end of file
+tornado>=2.2
+tox>=1.4.2
+urllib3
diff -ur httpretty-0.7.0.orig/setup.cfg httpretty-0.7.0/setup.cfg
--- setup.cfg 2013-10-08 05:42:31.000000000 +0800
+++ setup.cfg 2013-12-02 15:40:34.331985437 +0800
@@ -2,4 +2,9 @@
tag_build =
tag_date = 0
tag_svn_revision = 0
-
+[nosetests]
+verbosity=2
+with-coverage=1
+cover-erase=1
+cover-package=httpretty
+cover-inclusive=1
diff -ur httpretty-0.7.0.orig/setup.py httpretty-0.7.0/setup.py
--- setup.py 2013-10-08 05:42:31.000000000 +0800
+++ setup.py 2013-12-02 15:42:26.467989448 +0800
@@ -50,10 +50,11 @@
author_email='gabriel@nacaolivre.org',
url='http://github.com/gabrielfalcao/httpretty',
zip_safe=False,
- packages=find_packages(HTTPRETTY_PATH, ('tests')),
+ packages=find_packages(),
tests_require=test_packages(),
install_requires=['urllib3'],
license='MIT',
+ test_suite='nose.collector',
classifiers=["Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Testing"],
diff -ur httpretty-0.7.0.orig/tests/functional/test_requests.py httpretty-0.7.0/tests/functional/test_requests.py
--- tests/functional/test_requests.py 2013-10-08 05:42:31.000000000 +0800
+++ tests/functional/test_requests.py 2013-12-02 15:43:48.763992391 +0800
@@ -698,7 +698,7 @@
response['response'].should.have.key("status").being.equal(200)
response['response'].should.have.key("body").being.an(unicode)
response['response'].should.have.key("headers").being.a(dict)
- response['response']["headers"].should.have.key("server").being.equal("TornadoServer/2.4")
+ response['response']["headers"].should.have.key("server").being.equal("TornadoServer")
def test_playing_calls():

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
>=dev-python/coverage-3.5[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=dev-python/steadymark-0.4.5[${PYTHON_USEDEP}]
>=dev-python/sure-1.2.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
"
# I believe we don't need unpackaged package markment
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND} )"
PATCHES=( "${FILESDIR}"/${P}-deps.patch )
python_prepare_all() {
distutils-r1_python_prepare_all
if ! use test; then
rm -rf tests/
fi
}
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125
nosetests tests/unit \
-e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_streaming_responses \
tests/functional || die "Tests failed under ${EPYTHON}"
rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die
}

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
>=dev-python/coverage-3.5[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=dev-python/steadymark-0.4.5[${PYTHON_USEDEP}]
>=dev-python/sure-1.2.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND} )"
python_prepare_all() {
distutils-r1_python_prepare_all
if ! use test; then
rm -rf tests/
fi
}
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125
nosetests tests/unit \
-e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
tests/functional || die "Tests failed under ${EPYTHON}"
rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die
}

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2015 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
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
dev-python/sure[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
dev-python/ipdb[${PYTHON_USEDEP}] )"
#Required for test phase
DISTUTILS_IN_SOURCE_BUILD=1
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur
# py3.4 hangs on many tests and is deemed underdone
# Upstream does not make it clear whether py3.4 is sctually tested and supported.
# python2.7 has substantial failure in tests/functional/test_requests.py and is removed.
# Some tests excluded attempt connection to the network
# On testing in the state below, py2.7 still has a tally of FAILED (failures=5)
# that occur within the folder tests/unit which upstream should address.
# https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106
if [[ "${EPYTHON}" == python3.4 ]]; then
einfo "python3.4 not adequately supported in testsuite"
elif [[ "${EPYTHON}" == python2.7 ]]; then
rm -f tests/functional/test_requests.py || die
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python2.7"
else
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python3.3"
fi
rm -rf "${BUILD_DIR}"/../tests/ || die
}

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_4 )
inherit distutils-r1
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="test"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
dev-python/sure[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
dev-python/ipdb )"
python_prepare_all() {
distutils-r1_python_prepare_all
if ! use test; then
rm -rf tests/
fi
}
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125
nosetests tests/unit \
-e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
tests/functional || die "Tests failed under ${EPYTHON}"
rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die
}

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2015 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
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="test"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
dev-python/sure[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
dev-python/ipdb[${PYTHON_USEDEP}] )"
#Required for test phase
DISTUTILS_IN_SOURCE_BUILD=1
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur
# py3.4 hangs on many tests and is deemed underdone
# Upstream does not make it clear whether py3.4 is sctually tested and supported.
# python2.7 has substantial failure in tests/functional/test_requests.py and is removed.
# Some tests excluded attempt connection to the network
# On testing in the state below, py2.7 still has a tally of FAILED (failures=5)
# that occur within the folder tests/unit which upstream should address.
# https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106
if [[ "${EPYTHON}" == python3.4 ]]; then
einfo "python3.4 not adequately supported in testsuite"
elif [[ "${EPYTHON}" == python2.7 ]]; then
rm -f tests/functional/test_requests.py || die
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python2.7"
else
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python3.3"
fi
rm -rf "${BUILD_DIR}"/../tests/ || die
}

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/coverage-3.5[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
dev-python/sure[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
dev-python/ipdb[${PYTHON_USEDEP}]
)"
#Required for test phase
DISTUTILS_IN_SOURCE_BUILD=1
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur
# py3.4 hangs on many tests and is deemed underdone
# Upstream does not make it clear whether py3.4 is sctually tested and supported.
# python2.7 has substantial failure in tests/functional/test_requests.py and is removed.
# Some tests excluded attempt connection to the network
# On testing in the state below, py2.7 still has a tally of FAILED (failures=5)
# that occur within the folder tests/unit which upstream should address.
# https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106
if [[ "${EPYTHON}" == python3.4 ]]; then
einfo "python3.4 not adequately supported in testsuite"
elif [[ "${EPYTHON}" == python2.7 ]]; then
rm -f tests/functional/test_requests.py || die
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python2.7"
else
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python3.3"
fi
rm -rf "${BUILD_DIR}"/../tests/ || die
}

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
inherit distutils-r1
DESCRIPTION="HTTP client mock for Python"
HOMEPAGE="https://github.com/gabrielfalcao/httpretty"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}]
>=dev-python/nose-1.2[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
dev-python/sure[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=www-servers/tornado-2.2[${PYTHON_USEDEP}]
dev-python/ipdb[${PYTHON_USEDEP}] )"
#Required for test phase
DISTUTILS_IN_SOURCE_BUILD=1
python_test() {
# https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur
# py3.4 hangs on many tests and is deemed underdone
# Upstream does not make it clear whether py3.4 is sctually tested and supported.
# python2.7 has substantial failure in tests/functional/test_requests.py and is removed.
# Some tests excluded attempt connection to the network
# On testing in the state below, py2.7 still has a tally of FAILED (failures=5)
# that occur within the folder tests/unit which upstream should address.
# https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106
if [[ "${EPYTHON}" == python3.4 ]]; then
einfo "python3.4 not adequately supported in testsuite"
elif [[ "${EPYTHON}" == python2.7 ]]; then
rm -f tests/functional/test_requests.py || die
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python2.7"
else
nosetests -e test_recording_calls \
-e test_playing_calls \
-e test_callback_setting_headers_and_status_response \
-e test_httpretty_bypasses_when_disabled \
-e test_using_httpretty_with_other_tcp_protocols \
tests/unit \
tests/functional || die "Tests failed under python3.3"
fi
rm -rf "${BUILD_DIR}"/../tests/ || die
}