summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-01-06 11:50:58 +0000
committerIan Delaney <idella4@gentoo.org>2014-01-06 11:50:58 +0000
commit765ce21b1c0919d7345d64b6a516344c2e9e83ab (patch)
treee1c9710e0853fcaa1973eaa9322dfba93c59bc81 /dev-python/httpretty
parentManually copied from kde overlay (diff)
downloadhistorical-765ce21b1c0919d7345d64b6a516344c2e9e83ab.tar.gz
historical-765ce21b1c0919d7345d64b6a516344c2e9e83ab.tar.bz2
historical-765ce21b1c0919d7345d64b6a516344c2e9e83ab.zip
correction to -0.7.0 deps, update to test phase, bump
Package-Manager: portage-2.2.0/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/httpretty')
-rw-r--r--dev-python/httpretty/ChangeLog10
-rw-r--r--dev-python/httpretty/Manifest12
-rw-r--r--dev-python/httpretty/httpretty-0.7.0.ebuild8
-rw-r--r--dev-python/httpretty/httpretty-0.7.1.ebuild47
4 files changed, 67 insertions, 10 deletions
diff --git a/dev-python/httpretty/ChangeLog b/dev-python/httpretty/ChangeLog
index b009a9968cb1..783eb8722e2d 100644
--- a/dev-python/httpretty/ChangeLog
+++ b/dev-python/httpretty/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/httpretty
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/ChangeLog,v 1.2 2013/12/03 02:15:29 idella4 Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/ChangeLog,v 1.3 2014/01/06 11:50:34 idella4 Exp $
+
+*httpretty-0.7.1 (06 Jan 2014)
+
+ 06 Jan 2014; Ian Delaney <idella4@gentoo.org> +httpretty-0.7.1.ebuild,
+ httpretty-0.7.0.ebuild:
+ correction to -0.7.0 deps, update to test phase, bump
03 Dec 2013; Ian Delaney <idella4@gentoo.org> httpretty-0.7.0.ebuild:
minor & ineffectual update to test phase sourced from upstream
diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest
index 28eee1ba09a9..7463201084a5 100644
--- a/dev-python/httpretty/Manifest
+++ b/dev-python/httpretty/Manifest
@@ -3,13 +3,15 @@ Hash: SHA256
AUX httpretty-0.7.0-deps.patch 2344 SHA256 f221f105ef6da02527a246c898083d7e52edbeaf5004165aec68937558d60b45 SHA512 d8c06d426966673d178969c8d0edb79e903ba89831a9942ba6788006d62e52a0302f306c40e1d171e39aaef03e75b73606b5a936babe50940b04025e7c46229c WHIRLPOOL 6c4f6782a676a6a6aeb090fefb277a56f7a1d19e636d99eb04f630d28d5c6fb4eca5a07a4699fc3b8b0de0961b74674cbe50fcde68d26202d3de84672eaf72f5
DIST httpretty-0.7.0.tar.gz 28066 SHA256 a422a74fe0f35fbb644c9a3a0a4ccb7a7469a8f5bae2d7c807d35a7d149d3fa6 SHA512 9adfd906336aa0ac2c21be8b789eb2e57994f4aac719958fc657291d922fe28b1fcc60d9b39e0e616b6d8565adaecb8228df3a9d1428cc189372b1cc700f664e WHIRLPOOL 8aaa28f26d038ba198b19a31a7f9490e2c3882a9eaacd6b5ccee34cd5f03f745e0facd96853da1be00c7ae949f18cfd4e8f3f696b51f26ffd9b2c6063502976a
-EBUILD httpretty-0.7.0.ebuild 1506 SHA256 14cb5fdd95cca1029a857a399e5ccbce0f579f9eb9db104840e40cad46d5ef29 SHA512 1d8675af1fd5bb68d241fdd22679999f65d5a65642bedb76bb7cee2eea5939662e87968c9dd29e262f2b5b646ecadac36dddf31a4cd06352a13212e691cfbacc WHIRLPOOL 576a30a31aa3b7af7bce014e47b8ff3d7b3c9ce1d446399dc1a4d869cab919b4469b3c72415257b6f17c7f706ef0b9c83ee3adb425826443611e70e5c50c4522
-MISC ChangeLog 618 SHA256 e45f334cdf9914c7cfbc3c588dc6368b895e44346056492689817d6d397ab91f SHA512 30a50d8592c09d89a670350ddf25be17eabf173819bb8908a30e924a6b6ce797d9d11a2c3a67dfae07f679dc20b795c3cf75d9d3f1b44f9a76ed720032068ac3 WHIRLPOOL 8c666c272c6ea1a5b47c050c87ef60eadb38c180b952bc95b6fe58ab5ed086eb21d9634fe62a975059831a48365fb5572dadda7424f5a1a22c2b88ef4165b128
+DIST httpretty-0.7.1.tar.gz 28394 SHA256 a0f61cd3fbdffd28a556f8fd5eff703ad3c5c76cf0c39ab8bc136f38d0a71857 SHA512 53b6f063e0e7863fa77aad1eebb0ad3078528bc97d26df80a3c6491c42b9a9008080da35bbb1e9372674c996f25e5109c84b48a2a6d9f0de5b7c53331bdad857 WHIRLPOOL 2112692eeaa034f6afa3b7ef76aa557f3211b0f9db9178369446148b7c1d8eb6292f51a47c767d168222a7d40ed66bfefd1557bbb1c9ee3c5394e1c524861e4b
+EBUILD httpretty-0.7.0.ebuild 1545 SHA256 81d7b9d1f25b045298f74a9c92125f16bb8b0dd70e6b40b941c03e165537f505 SHA512 4ebed296b740956edc390ca322da5ecddd7284863d3caacf9d92768d608504f7da006207688e91f18baf6b29dc5b0dcbf868b2319340a68a6155fcc683c489df WHIRLPOOL 9a048d69dd4cf6d9a524bcf5408e20333a3a1c3d063598badd74dbcf0e87f92ff570f5b4282ed9b9eda41533499aa6e594c9c979435666d1ed1286ba1d43f4e1
+EBUILD httpretty-0.7.1.ebuild 1386 SHA256 e61b543dd82d6e662bda6f218cba00913c2edb4a89ddab8012e12163112297ff SHA512 6c9924ebc1d01ceef91377c1aace70cb86ee5cc64389cca988e36cf9130e8b81214d3c1787ad4dfe778afdf6fce62900dfb620fbc8bdc4d50566561106e4f582 WHIRLPOOL 6a579d236ca564ed3ef66e983232bd760cb2b51ff13c164894c9900bea3888f4ebad7b05919aba61bead9f5f30f98192c879752ff29b103d7c0b4c1ef5a997c6
+MISC ChangeLog 806 SHA256 863bc94bcea617dd1addc3d9280692e46f8bffc34f5ca91272e9fceb5f21f71a SHA512 092439696d4dce2f2099bbbe845bddef5d84f55347bc0aea4841589c7c920ac79238a022015fb2dba0bad1356384c60eeab2865ec0d4ebde5bf4cd3069bc88a9 WHIRLPOOL e6149318160ef0368541bc8818e8b880e215ef11a5a135429833d1b849bc0bd16df24a558536b95fa66293290f64ab621d88231ef746a2aef9942df603298183
MISC metadata.xml 163 SHA256 b0cab84c52d3ee0149ad230fe3bd35b1452c372a7404586c62e251e428af3175 SHA512 89f1aa4dcc73e54f0b7fc8b49939e0cf47faa9d96682f95de2d3838f54e3e20b9a387c340dc4a865d75078cbc764679c414863b5b19a7d43b4e6de31fba6c529 WHIRLPOOL 9482649887fe0318efdcb80e74a3641779420c012d5ce752bfea12c1bab476f385f98c8f4c1090896cc5e0733aa60e1680c255105be14cb690784c8b4144d81f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlKdPs4ACgkQso7CE7gHKw3eUQCg3PwNXA8g60nhh2qGoShvFuzm
-mlUAni4raY8yZEn7HLJOUIa14IBv7QaM
-=rJuG
+iEYEAREIAAYFAlLKmJYACgkQso7CE7gHKw3yawCdEGPcxMg3yv3FGmLwe+/gDNRa
+MukAniIXcTobGmZtOXJfZRSjic+u95CC
+=ksD2
-----END PGP SIGNATURE-----
diff --git a/dev-python/httpretty/httpretty-0.7.0.ebuild b/dev-python/httpretty/httpretty-0.7.0.ebuild
index c0363959ee36..cfbe2d25d461 100644
--- a/dev-python/httpretty/httpretty-0.7.0.ebuild
+++ b/dev-python/httpretty/httpretty-0.7.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/httpretty-0.7.0.ebuild,v 1.2 2013/12/03 02:15:29 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/httpretty-0.7.0.ebuild,v 1.3 2014/01/06 11:50:34 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -28,7 +28,8 @@ RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
"
# I believe we don't need unpackaged package markment
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/sure[${PYTHON_USEDEP}] )"
+ test? ( ${RDEPEND} )"
+DISTUTILS_NO_PARALLEL_BUILD=1
PATCHES=( "${FILESDIR}"/${P}-deps.patch )
@@ -45,6 +46,7 @@ python_test() {
-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
}
diff --git a/dev-python/httpretty/httpretty-0.7.1.ebuild b/dev-python/httpretty/httpretty-0.7.1.ebuild
new file mode 100644
index 000000000000..db556fe30b91
--- /dev/null
+++ b/dev-python/httpretty/httpretty-0.7.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/httpretty/httpretty-0.7.1.ebuild,v 1.1 2014/01/06 11:50:34 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP client mock for Python"
+HOMEPAGE="http://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
+}