From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpretty/
Date: Thu, 2 Apr 2020 11:41:49 +0000 (UTC) [thread overview]
Message-ID: <1585827702.7a6bd1434df6548c3678d98a0f3785a30c3aa6ea.mgorny@gentoo> (raw)
commit: 7a6bd1434df6548c3678d98a0f3785a30c3aa6ea
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 2 10:30:59 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 2 11:41:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6bd143
dev-python/httpretty: Bump to 1.0.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/httpretty/Manifest | 1 +
dev-python/httpretty/httpretty-1.0.2.ebuild | 43 +++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest
index 3b957d22e48..54077ea86c6 100644
--- a/dev-python/httpretty/Manifest
+++ b/dev-python/httpretty/Manifest
@@ -1,2 +1,3 @@
DIST httpretty-0.9.6.tar.gz 7147633 BLAKE2B e1d02ddfce5ca987c6ef1a17723544f86a8573c2a6a26ec197072021e52015efce5064af21bfbe1ec03f3ac11c21717a80f114b5be2526b113e3bc0a608702f4 SHA512 bc1c64d34370209c732bc12dd9935600b647507ab2c8f18c85f348e9b5e853618ba39e10e5a073b35036e6cbe3db2cb7a342a721d0e4affa81fe178fd0b75d92
DIST httpretty-0.9.7.tar.gz 6967749 BLAKE2B e2192871ca4f0f0c0bc7c39570251d26a6d78b6e5aabb1857df2b5c3533ae066400fca323d53e1790bfa2a1509e8ebb87d20d49659620087ca3c3765648662ec SHA512 4a1cdfc09af14ab2bc6eec84ad0905103ffb48c3154b127f646b39ff131584a52b1fd56bfe7a41959fc68d64eff94a221f9bf5a159a3dbfb3535fe4ac76c6170
+DIST httpretty-1.0.2.tar.gz 399185 BLAKE2B 033e954fccf6a351c09dac3c1585ddc65f064eca109dfd8f499fd510ea09ba3ce5198d3f4b54fb832b47425ab721ddc1b2da596b6066028bda1f0a1303cdc0ed SHA512 f9ef1c82f4fe3a31696e06228cea512664c5118b3c32910d7810d1fcf16b05d31b9b55db7bb6bd64967aadb162a2952757627439769db9117164b8248de9049c
diff --git a/dev-python/httpretty/httpretty-1.0.2.ebuild b/dev-python/httpretty/httpretty-1.0.2.ebuild
new file mode 100644
index 00000000000..448717cb08c
--- /dev/null
+++ b/dev-python/httpretty/httpretty-1.0.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~arm64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/urllib3[${PYTHON_USEDEP}]"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/nose-1.2[${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}]
+)"
+
+python_prepare_all() {
+ # remove useless deps
+ sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die
+ # tests requiring network access
+ rm tests/functional/test_passthrough.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests -v tests || die "Tests fail with ${EPYTHON}"
+}
next reply other threads:[~2020-04-02 11:41 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-02 11:41 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-11 11:48 [gentoo-commits] repo/gentoo:master commit in: dev-python/httpretty/ Michał Górny
2025-01-11 11:25 Sam James
2025-01-06 6:42 Michał Górny
2024-07-06 19:35 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-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
2016-01-21 8:33 Justin Lecher
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=1585827702.7a6bd1434df6548c3678d98a0f3785a30c3aa6ea.mgorny@gentoo \
--to=mgorny@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