public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpretty/
Date: Thu, 21 Jan 2016 08:33:41 +0000 (UTC)	[thread overview]
Message-ID: <1453365211.b1cd0fb88876fd4673672ceb7795766fec2dd007.jlec@gentoo> (raw)

commit:     b1cd0fb88876fd4673672ceb7795766fec2dd007
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 08:32:12 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 08:33:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1cd0fb8

dev-python/httpretty: Version Bump

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/httpretty/Manifest                |  1 +
 dev-python/httpretty/httpretty-0.8.14.ebuild | 69 ++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest
index 996357d..cf53484 100644
--- a/dev-python/httpretty/Manifest
+++ b/dev-python/httpretty/Manifest
@@ -3,4 +3,5 @@ DIST httpretty-0.7.1.tar.gz 28394 SHA256 a0f61cd3fbdffd28a556f8fd5eff703ad3c5c76
 DIST httpretty-0.8.0.tar.gz 34291 SHA256 e5512b38ad3bfb9f7d275c957b4a7eddc69e4b3a749e3b62a984c86fb6ab329b SHA512 0c6193c488a27345b3d98cc6a62e8933b67828b7335700367b28cf328ef86ff2342056bada84ca631d6acc5650b7b456e80d85d8099e873f07cd41140c481650 WHIRLPOOL f828e84fddc6e4ab9671a9cd33da6b0f2b4053fc3368e3119ed5d7410cde125486aaae8bcf1cf4eab3a641af48dda7c6531c231f0d59c36d65f1c3d173e8969f
 DIST httpretty-0.8.10.tar.gz 41741 SHA256 474a72722d66841f0e59cee285d837e1c6263be5be7bf2f8e824fc849a99adda SHA512 5bc734a89c45daa746551ef7d150c02bf6d9cddf1bc5426a8800d2241bb5bf8a834d2736fd9a4846ce150747d9c2064686a3ed63e97e5f131778d834956a9107 WHIRLPOOL 33fc4c025176c9d3493f8efe67f24db90d2c799536a949d490be4d9c11918190846d2612c6b09e6e000430a70f0e54b9bac87261cae62e5ba8ef558251f2bc3b
 DIST httpretty-0.8.12.tar.gz 43396 SHA256 0fb1c892c6161110c90b93096fe38ce1445ab484b6796f366e7af2cc7d37a9c1 SHA512 1d1cbc2fd56c4aa8c2ba1e5bdb6d56db57a74f73028ebeab141f93d55eaac4a46a19c66148435e45c91d21a561ecaa6100cbe1ac0dbb65b2bdf2c8551b99a523 WHIRLPOOL de6c283eca878b6b8f6d35317c36c3f798f24259d911f241f99c33ebf8d83cfd38ba47099324029905d2e7531c827b4b44fa2704a43d5802ee76dc1992ed82dc
+DIST httpretty-0.8.14.tar.gz 43574 SHA256 83c176bbac9d68a45a5cca54f2d5be7e6b16a063adf6f334e7fd0eee272e976e SHA512 5adab6450e8360cc21bab4136f64cd11757b9f292c7e27980fe2561f3e705baf4f0211b9e6ff4ec9ba96a788a6c5b5b1d26657972b67423c9c25491927b0884b WHIRLPOOL 356e8e4ffe5ce3ec65d424826588838cf30496af752c9cfb2a08cd950228a6623afb95b98c7daa600f6c95525875d130b6ce6ddacaa50aff8a98c03ef177aaff
 DIST httpretty-0.8.6.tar.gz 40815 SHA256 36bd574d289ee5ad781e28abb1f9cb6af696c27f13200769caf48a23e42f4938 SHA512 bd5d0b1a33b52ae3d0e09673429e771ce582795bf58d38b34d4df39f74b377ec199d720fa061a84b64175b6ba67a91bdb35c242b4fd754627d2744cb8b33b313 WHIRLPOOL 0803c822bfff000c7bc5630f29ca08232e50a1a8786122179471c84d5630281e8e2a746f820b027f6357eee77b8ece46275cb1b1cf25d957a5e785c6c9220d5b

diff --git a/dev-python/httpretty/httpretty-0.8.14.ebuild b/dev-python/httpretty/httpretty-0.8.14.ebuild
new file mode 100644
index 0000000..a8fdff1
--- /dev/null
+++ b/dev-python/httpretty/httpretty-0.8.14.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,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 python_is_python3; then
+		einfo "python3* not adequately supported by th package"
+	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
+}


             reply	other threads:[~2016-01-21  8:33 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21  8:33 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-06 19:35 [gentoo-commits] repo/gentoo:master commit in: dev-python/httpretty/ Michał Górny
2023-09-14 11:02 Andrew Ammerlaan
2023-03-16  3:50 Michał Górny
2023-01-10 14:37 Michał Górny
2022-10-21 14:34 Michał Górny
2022-10-13  4:54 Michał Górny
2022-07-29 13:39 Michał Górny
2022-06-16  9:23 Michał Górny
2022-06-16  9:10 Jakov Smolić
2022-05-18  6:59 Michał Górny
2022-05-14 13:00 Michał Górny
2021-12-14 12:29 Michał Górny
2021-12-14 12:29 Michał Górny
2021-09-18 19:43 Michał Górny
2021-09-18 17:29 Sam James
2021-08-17  7:28 Michał Górny
2021-07-26  5:33 Michał Górny
2021-07-26  3:07 Sam James
2021-07-26  2:14 Sam James
2021-07-26  2:14 Sam James
2021-07-26  1:30 Sam James
2021-05-25  5:13 Michał Górny
2021-05-21  7:57 Michał Górny
2021-05-18 17:28 Sam James
2021-05-15 19:28 Sam James
2021-05-15  2:23 Sam James
2021-05-15  1:55 Sam James
2021-05-14  8:14 Michał Górny
2021-05-13  8:56 Michał Górny
2021-02-19  8:50 Michał Górny
2021-02-19  2:54 Sam James
2021-01-06 10:00 Michał Górny
2020-12-25 23:35 Michał Górny
2020-12-25 23:00 Sam James
2020-11-25  8:37 Michał Górny
2020-09-01  4:22 Sam James
2020-08-29 23:22 Sam James
2020-08-18 11:18 Agostino Sarubbo
2020-07-19 13:37 Sergei Trofimovich
2020-07-17  0:17 Sam James
2020-07-16 19:34 Sam James
2020-07-16  2:02 Sam James
2020-05-30  8:08 Michał Górny
2020-05-28 19:39 Michał Górny
2020-05-15 10:28 Agostino Sarubbo
2020-05-15 10:18 Agostino Sarubbo
2020-05-15  7:27 Michał Górny
2020-05-04  9:37 Michał Górny
2020-04-27  9:30 Michał Górny
2020-04-02 11:41 Michał Górny
2020-03-27 11:45 Michał Górny
2020-03-27 11:45 Michał Górny
2020-03-27 11:45 Michał Górny
2020-03-17 10:13 Michał Górny
2020-03-10 15:29 Michał Górny
2019-09-09  5:54 Agostino Sarubbo
2019-09-08 19:15 Thomas Deutschmann
2019-06-18  7:07 Michał Górny
2019-06-18  7:07 Michał Górny
2018-12-03 12:00 Virgil Dupras
2018-02-13 19:28 Matt Thode
2017-05-16 11:18 Manuel Rüger
2017-02-22 16:08 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2016-03-25  5:29 Matt Thode
2015-12-17 16:28 Justin Lecher
2015-10-15  5:25 Matt Thode
2015-08-21  6:42 Agostino Sarubbo
2015-08-21  6:41 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453365211.b1cd0fb88876fd4673672ceb7795766fec2dd007.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox