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/requests-toolbelt/
Date: Tue,  2 May 2023 03:14:33 +0000 (UTC)	[thread overview]
Message-ID: <1682996663.047b3075df7d9624fbd14b20d35abbaa651d3b9f.mgorny@gentoo> (raw)

commit:     047b3075df7d9624fbd14b20d35abbaa651d3b9f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May  2 02:56:07 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May  2 03:04:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=047b3075

dev-python/requests-toolbelt: Bump to 1.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/requests-toolbelt/Manifest              |  1 +
 .../requests-toolbelt-1.0.0.ebuild                 | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/requests-toolbelt/Manifest b/dev-python/requests-toolbelt/Manifest
index 3bed56bb5352..79be3b0d1ed6 100644
--- a/dev-python/requests-toolbelt/Manifest
+++ b/dev-python/requests-toolbelt/Manifest
@@ -1 +1,2 @@
 DIST requests-toolbelt-0.10.1.gh.tar.gz 201504 BLAKE2B 48c5b9f46000d9809e482278626bbce805b93ed2a4a5d074bad4f7fbda75984dd55919eca31909c98c9a74ca7b323e73c90691dced0734964621d4ba5748d464 SHA512 ad6dfe3329c8be5a4521d223d25ec303201e706b34199c084efd0a30b8bc8cfb3382e80a502dc25bd5f7e5b2774a119d2255c49408979aaec45e221f412a7b52
+DIST requests-toolbelt-1.0.0.gh.tar.gz 199298 BLAKE2B c8a75005fd27bb725cabe7c6e4493b65bfc6914d7b22490c10869f0f35f6f08d0e829196e7de2e7ec07fed7ad52559f550bfbe072020ed8e782543273c903805 SHA512 1ee5d5dbb0d140796c81d42c051ccfab8810bf5ec511b32c9a54b4adccbab460f3108acdfe5a65b3cb68377586ff0f55206bf231e64651aaea077feda7984953

diff --git a/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
new file mode 100644
index 000000000000..e7aefb234fe6
--- /dev/null
+++ b/dev-python/requests-toolbelt/requests-toolbelt-1.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A utility belt for advanced users of python-requests"
+HOMEPAGE="
+	https://toolbelt.readthedocs.io/
+	https://github.com/requests/toolbelt/
+	https://pypi.org/project/requests-toolbelt/
+"
+SRC_URI="
+	https://github.com/requests/toolbelt/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+S=${WORKDIR}/${P#requests-}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="test-rust"
+
+RDEPEND="
+	<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/betamax[${PYTHON_USEDEP}]
+		test-rust? (
+			dev-python/cryptography[${PYTHON_USEDEP}]
+			dev-python/pyopenssl[${PYTHON_USEDEP}]
+		)
+	)
+"
+
+DOCS=( AUTHORS.rst HISTORY.rst README.rst )
+
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# Internet
+		tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_no_content_length_header
+		tests/test_multipart_encoder.py::TestFileFromURLWrapper::test_read_file
+		tests/test_multipart_encoder.py::TestMultipartEncoder::test_reads_file_from_url_wrapper
+	)
+	local EPYTEST_IGNORE=()
+
+	if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]" ||
+		! has_version "dev-python/pyopenssl[${PYTHON_USEDEP}]"
+	then
+		EPYTEST_IGNORE+=(
+			tests/test_x509_adapter.py
+		)
+	fi
+
+	epytest
+}


             reply	other threads:[~2023-05-02  3:14 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02  3:14 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-12 16:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/requests-toolbelt/ Sam James
2025-03-01 19:01 Arthur Zamarin
2025-02-16 20:33 Michał Górny
2024-07-11 20:55 James Le Cuirot
2024-05-18  9:29 Michał Górny
2023-06-01 17:23 Michał Górny
2023-06-01 17:20 Arthur Zamarin
2023-06-01 16:53 Arthur Zamarin
2023-05-02  3:14 Michał Górny
2022-11-08 20:26 Arthur Zamarin
2022-10-25  8:28 Michał Górny
2022-10-07  6:40 Michał Górny
2022-06-21 20:14 Michał Górny
2022-06-21 18:55 Arthur Zamarin
2022-05-22  9:01 Michał Górny
2022-05-22  9:01 Michał Górny
2022-04-25 16:50 Sam James
2021-11-28 14:42 Michał Górny
2021-11-27 10:27 Michał Górny
2021-07-28 23:38 Marek Szuba
2021-03-09  8:47 Michał Górny
2020-11-28 15:26 Sam James
2020-11-28 15:26 Sam James
2020-07-25  8:31 Michał Górny
2020-07-14 15:57 Sam James
2020-07-13 23:13 Sam James
2020-07-05  9:27 Sergei Trofimovich
2020-07-02 17:05 Sergei Trofimovich
2020-07-01 12:21 Michał Górny
2020-06-22 19:05 Mart Raudsepp
2020-06-10  8:11 Michał Górny
2020-05-30 20:33 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-27  6:10 Michał Górny
2020-03-17  2:09 Matt Turner
2020-01-28 11:32 Agostino Sarubbo
2020-01-28 10:20 Agostino Sarubbo
2019-12-04 22:28 Patrick McLean
2019-12-04 19:44 Sergei Trofimovich
2019-06-16  6:59 Matthew Thode
2019-05-16 16:00 Matthew Thode
2018-06-07 19:53 Matt Thode
2018-06-02  9:58 Mikle Kolyada
2018-05-29 11:17 Thomas Deutschmann
2018-03-14  1:45 Brian Dolbec
2017-08-11 19:57 Amy Liffey
2017-05-10 22:26 Manuel Rüger
2017-05-01 14:56 Michał Górny
2017-05-01 14:56 Michał Górny
2017-05-01 14:56 Michał Górny
2017-05-01 14:56 Michał Górny
2017-04-15 21:52 Manuel Rüger
2016-08-30  7:13 Amy Winston
2016-08-12 17:49 Amy Winston
2016-02-21 15:18 Amy Winston

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=1682996663.047b3075df7d9624fbd14b20d35abbaa651d3b9f.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