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/openstacksdk/
Date: Fri, 23 Feb 2024 03:40:39 +0000 (UTC)	[thread overview]
Message-ID: <1708659428.4bf3c1a263e891535a9704155194888724164d98.mgorny@gentoo> (raw)

commit:     4bf3c1a263e891535a9704155194888724164d98
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 03:21:01 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 03:37:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf3c1a2

dev-python/openstacksdk: Bump to 3.0.0

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

 dev-python/openstacksdk/Manifest                  |  1 +
 dev-python/openstacksdk/openstacksdk-3.0.0.ebuild | 91 +++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest
index f7b2b313e380..67412c6af05f 100644
--- a/dev-python/openstacksdk/Manifest
+++ b/dev-python/openstacksdk/Manifest
@@ -1 +1,2 @@
 DIST openstacksdk-2.1.0.tar.gz 1208013 BLAKE2B 59867d2a5a8c7e11d916f760f62187b363395f72e26f0849b74bede207083d05c5b8e65e7f1aadd4c648b92995b96727c24c42b393af0f23942cfe32324f04ec SHA512 266c410ed8e1525bb341512d410abeaab8dc27deae5f2fba20ce1146cfec27f755062ff72ad0f446daf58f601409586b9d935877e56822ede306ba1425afcffe
+DIST openstacksdk-3.0.0.tar.gz 1214285 BLAKE2B f28526732c624ed1417196ea15caecce434a6ec22f716349a3c2df7359fc478302723b4be24db10d502fa153ab7e7ec7d67238efecb98736927cfec4760c9f97 SHA512 33cc81b05a682503add54094da2cd96552c492181c6ea66fe85c5c6f04a98cb2ebaf1234defad95c14861e5dfff11bfa35a4084c4135241c10d719cd61ecb9c9

diff --git a/dev-python/openstacksdk/openstacksdk-3.0.0.ebuild b/dev-python/openstacksdk/openstacksdk-3.0.0.ebuild
new file mode 100644
index 000000000000..010c1c968e8f
--- /dev/null
+++ b/dev-python/openstacksdk/openstacksdk-3.0.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A collection of libraries for building applications to work with OpenStack"
+HOMEPAGE="
+	https://opendev.org/openstack/openstacksdk/
+	https://github.com/openstack/openstacksdk/
+	https://pypi.org/project/openstacksdk/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+	>=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
+	>=dev-python/decorator-4.4.1[${PYTHON_USEDEP}]
+	>=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}]
+	>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
+	>=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}]
+	>=dev-python/jsonpatch-1.21[${PYTHON_USEDEP}]
+	>=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}]
+	>=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}]
+	>=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}]
+	>=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
+	>=dev-python/platformdirs-3[${PYTHON_USEDEP}]
+	>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
+	>=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	>=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
+	test? (
+		>=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
+		>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+		>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
+		>=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}]
+		>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+		>=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}]
+		>=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
+		>=dev-python/statsd-3.3.0[${PYTHON_USEDEP}]
+		>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+		>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+	# Internet?
+	sed -e 's:test_create_dynamic_large_object:_&:' \
+		-i openstack/tests/unit/cloud/test_object.py || die
+
+	# TODO
+	sed -e 's:test_generate_form:_&:' \
+		-e 's:test_create_static_large_object:_&:' \
+		-e 's:test_object_segment_retries:_&:' \
+		-e 's:test_object_segment_retry_failure:_&:' \
+		-e 's:test_slo_manifest_retry:_&:' \
+		-i openstack/tests/unit/cloud/test_object.py || die
+	sed -e 's:test_servers:_&:' \
+		-i openstack/tests/unit/test_stats.py || die
+
+	# unhappy about paths due to test runner
+	sed -e 's:test_method_not_supported:_&:' \
+		-i openstack/tests/unit/test_exceptions.py || die
+	sed -e 's:test_repr:_&:' \
+		-i openstack/tests/unit/test_resource.py || die
+
+	# requires hacking
+	rm openstack/tests/unit/test_hacking.py || die
+
+	# fragile warning-based tests
+	sed -e 's:test_unsupported_version_override:_&:' \
+		-i openstack/tests/unit/test_missing_version.py || die
+	sed -e 's:test_create_unknown_proxy:_&:' \
+		-i openstack/tests/unit/test_connection.py || die
+
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	# functional tests require cloud instance access
+	eunittest -b openstack/tests/unit
+}


             reply	other threads:[~2024-02-23  3:40 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23  3:40 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02  8:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/openstacksdk/ Michał Górny
2024-10-18 16:16 Arthur Zamarin
2024-09-21 12:02 Michał Górny
2024-09-21 11:08 Arthur Zamarin
2024-09-03  5:23 Michał Górny
2024-08-03  6:37 Michał Górny
2024-08-03  6:24 Michał Górny
2024-07-27  7:19 Michał Górny
2024-07-27  7:12 Arthur Zamarin
2024-07-17 12:35 Michał Górny
2024-07-07 14:36 Michał Górny
2024-07-04  5:13 Michał Górny
2024-05-04  7:25 Michał Górny
2024-05-04  7:13 Arthur Zamarin
2024-04-17 13:23 Michał Górny
2024-03-09 11:30 Michał Górny
2024-03-09 11:03 Jakov Smolić
2024-01-29 10:11 Michał Górny
2024-01-29  8:01 Sam James
2024-01-13  8:20 Michał Górny
2023-11-22 11:59 Michał Górny
2023-11-22 11:11 Sam James
2023-11-08 12:12 Michał Górny
2023-10-20  4:42 Michał Górny
2023-09-08  4:53 Michał Górny
2023-09-07 19:52 Sam James
2023-08-31 13:22 Michał Górny
2023-08-04  2:42 Michał Górny
2023-07-24 11:09 Michał Górny
2023-06-30  2:56 Michał Górny
2023-06-23  6:06 Michał Górny
2023-05-29  4:37 Michał Górny
2023-05-28 18:58 Arthur Zamarin
2023-05-23  5:07 Michał Górny
2023-04-27 17:24 Michał Górny
2023-03-03 17:48 Michał Górny
2023-03-03 17:38 Arthur Zamarin
2023-02-14  4:57 Michał Górny
2023-02-01  4:57 Michał Górny
2022-12-25 17:33 Michał Górny
2022-11-25  5:14 Michał Górny
2022-11-13 18:43 Michał Górny
2022-11-13 17:42 Arthur Zamarin
2022-11-13 17:38 Sam James
2022-11-13 16:54 Arthur Zamarin
2022-11-12 11:59 Arthur Zamarin
2022-10-13 17:09 Michał Górny
2022-09-26  6:06 Michał Górny
2022-08-24 19:36 Arthur Zamarin
2022-08-18  6:18 Michał Górny
2022-08-17 19:31 Arthur Zamarin
2022-07-16  8:02 Michał Górny
2022-06-28 19:42 Michał Górny
2022-06-28 19:10 Arthur Zamarin
2022-05-28 21:12 Jakov Smolić
2022-05-21  6:47 Michał Górny
2022-04-01 18:45 Michał Górny
2022-04-01 17:37 Arthur Zamarin
2022-04-01 17:37 Arthur Zamarin
2022-04-01 17:37 Arthur Zamarin
2022-02-24 18:08 Michał Górny
2021-12-27 21:16 Michał Górny
2021-12-27 18:48 Arthur Zamarin
2021-12-17  9:15 Michał Górny
2021-12-17  9:15 Michał Górny
2021-12-03 19:46 Michał Górny
2021-11-25 18:42 Arthur Zamarin
2021-10-04  8:05 Michał Górny
2021-10-04  0:49 Sam James
2021-09-30 12:18 Arthur Zamarin
2021-08-28  6:54 Michał Górny
2021-08-26 15:31 Michał Górny
2021-07-17  7:03 Michał Górny
2021-07-07  6:33 Michał Górny
2021-07-07  2:17 Sam James
2021-06-24 23:57 Sam James
2021-06-23 15:23 Michał Górny
2021-06-23 14:10 Michał Górny
2021-06-23 14:10 Michał Górny
2020-11-18  9:35 Michał Górny
2020-11-17 19:17 Agostino Sarubbo
2020-11-14 22:00 Michał Górny
2020-10-10 23:09 Matthew Thode
2020-10-10 20:34 Matthew Thode
2020-07-18 22:30 Matthew Thode
2020-07-17  1:52 Sam James
2020-06-20 19:23 Matthew Thode
2020-03-28 11:21 Michał Górny
2020-03-28 11:21 Michał Górny
2019-11-19 18:36 Matthew Thode
2019-10-21  0:19 Matthew Thode
2019-05-11 19:25 Matthew Thode
2019-04-10 22:44 Matthew Thode
2018-09-28 20:33 Matt Thode
2018-09-05 21:33 Matt Thode
2018-06-24 14:22 Pacho Ramos
2018-03-31  1:54 Matt Thode
2018-02-24  5:51 Matt Thode
2017-08-28 21:52 Matt Thode
2017-02-27  5:45 Matt Thode
2016-03-27  2:32 Matt Thode

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=1708659428.4bf3c1a263e891535a9704155194888724164d98.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