public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ndg-httpsclient/
Date: Fri, 21 Feb 2020 13:59:28 +0000 (UTC)	[thread overview]
Message-ID: <1582293550.44f86f9d1aa28c879ba16e3e70a0ae72b9f684ce.mgorny@gentoo> (raw)

commit:     44f86f9d1aa28c879ba16e3e70a0ae72b9f684ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 21 13:48:08 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 13:59:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f86f9d

dev-python/ndg-httpsclient: Bump to 0.5.1

Closes: https://bugs.gentoo.org/709964
Closes: https://bugs.gentoo.org/654612
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ndg-httpsclient/Manifest                |  1 +
 .../ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild   | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/ndg-httpsclient/Manifest b/dev-python/ndg-httpsclient/Manifest
index cdc9f522322..7f161b48de3 100644
--- a/dev-python/ndg-httpsclient/Manifest
+++ b/dev-python/ndg-httpsclient/Manifest
@@ -1,2 +1,3 @@
 DIST ndg_httpsclient-0.4.0.tar.gz 24038 BLAKE2B 147ba36c966b2220c068ce3376bd84259807f66c57141fee4ed95457333cd9d568d19fd4d3348e7ef25d456e3f7d794f83f8302a15beb16f451aa02ef6181848 SHA512 3c0225a20c25cf0f12f03005bb79e738527c0488bb660c1eb3b55c505a0ef503002d37fcffb3d013e5f91101bdd03080a68d5805d6d29b682cc01bdc9f0e4a19
 DIST ndg_httpsclient-0.4.2.tar.gz 25062 BLAKE2B 740075cf3031547028afa3ec2e005e5430e7fbb5c2bfd444e4051c60a9ac14ecacd3048f87f546516bddc4c0403738aa3ef227b3fd763a48bca28da09a47f707 SHA512 c7d6f442242ce01f69d2386b8ed41e4e5f72a2523ecbe38785c4333405f1b000e298133ccc4169d9685a3dcdcf0b20567c8e4b2dfd36f42721d36c73ee27d90a
+DIST ndg_httpsclient-0.5.1.tar.gz 26665 BLAKE2B 1c7f0a8d41b945d2b2a51cd69397ab0943cb91e25013c931f055c5608bc3a0106a99d9b126e8caaac9f8d9b409ec117631fb23f19dfd3194b783548ce3536050 SHA512 b2b4c1b1df87ea1a94811b9ae831e7bf32af27258f487fd5ec319e0e6e0d79dfdb1f7bfadaf397d0693a8a7f0720df170a7fc946aaf10c82e3957ac5464f672e

diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild
new file mode 100644
index 00000000000..4ad33ed6836
--- /dev/null
+++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
+HOMEPAGE="
+	https://github.com/cedadev/ndg_httpsclient/
+	https://pypi.org/project/ndg-httpsclient/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz"
+S="${WORKDIR}/${P/-/_}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND="
+	dev-python/pyaes[${PYTHON_USEDEP}]
+	dev-python/pyopenssl[${PYTHON_USEDEP}]"
+# we need to block the previous versions since incorrect namespace
+# install breaks tests
+DEPEND="${RDEPEND}
+	test? (
+		!!<dev-python/ndg-httpsclient-0.4.2-r1
+		dev-libs/openssl:0
+		sys-libs/libfaketime
+	)"
+
+distutils_enable_tests unittest
+
+src_test() {
+	# bundled certificates expired, so we need a time machine
+	local -x FAKETIME="@2019-12-01 12:00:00"
+	local -x LD_PRELOAD="libfaketime.so:${LD_PRELOAD}"
+
+	# we need to start a fake https server for tests to connect to
+	( cd ndg/httpsclient/test && sh ./scripts/openssl_https_server.sh ) &
+	local server_pid=${!}
+
+	distutils-r1_src_test
+
+	kill "${server_pid}"
+	wait
+}


             reply	other threads:[~2020-02-21 13:59 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-21 13:59 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-04  6:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/ndg-httpsclient/ Michał Górny
2021-11-28 14:42 Michał Górny
2021-10-02 10:23 James Le Cuirot
2021-06-05 19:00 Michał Górny
2021-02-22  7:43 Sam James
2021-02-22  6:02 Joshua Kinard
2020-12-27 19:43 Michał Górny
2020-12-27 12:51 Sergei Trofimovich
2020-12-07  3:38 Sam James
2020-11-28 12:13 Sam James
2020-11-28 11:26 Sergei Trofimovich
2020-07-29 23:53 Sam James
2020-07-29 23:49 Sam James
2020-07-25 11:54 Sam James
2020-07-24 21:14 Sam James
2020-07-24 18:22 Sam James
2020-07-24 18:22 Sam James
2020-07-24 18:16 Sam James
2020-07-24 18:16 Sam James
2020-07-24 18:04 Sam James
2020-05-31  8:12 Michał Górny
2020-04-04 10:52 Sergei Trofimovich
2020-03-29 21:21 Sergei Trofimovich
2020-03-28 23:40 Sergei Trofimovich
2020-03-16 20:09 Matt Turner
2020-02-26 12:18 Michał Górny
2019-06-16 11:15 David Seifert
2018-01-05  9:36 Michał Górny
2017-05-09 15:35 Michał Górny
2017-05-09 15:35 Michał Górny
2016-10-24 12:43 Lars Wendler
2016-06-21  2:47 Mike Frysinger
2015-11-23 10:05 Justin Lecher
2015-11-23  6:44 Jeroen Roovers
2015-11-22  8:40 Markus Meier
2015-11-19 10:25 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-10-18 16:48 Mikle Kolyada
2015-10-14 13:40 Justin Lecher
2015-10-11  7:05 Justin Lecher

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=1582293550.44f86f9d1aa28c879ba16e3e70a0ae72b9f684ce.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