From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 416601581C1 for ; Thu, 4 Jul 2024 05:13:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E2D32BC014; Thu, 4 Jul 2024 05:13:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43057E2A8C for ; Thu, 4 Jul 2024 05:13:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58372342FA7 for ; Thu, 4 Jul 2024 05:13:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD1411DDC for ; Thu, 4 Jul 2024 05:13:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1720069988.93e00cae4bd6d5b56a8b51e52c47b3b690766b4d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/openstacksdk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/openstacksdk/Manifest dev-python/openstacksdk/openstacksdk-3.2.0.ebuild X-VCS-Directories: dev-python/openstacksdk/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 93e00cae4bd6d5b56a8b51e52c47b3b690766b4d X-VCS-Branch: master Date: Thu, 4 Jul 2024 05:13:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 710c8e29-4ac1-40d8-bb1d-464323d12066 X-Archives-Hash: 970e2480945acbf99f7a14b2bdbe55da commit: 93e00cae4bd6d5b56a8b51e52c47b3b690766b4d Author: Michał Górny gentoo org> AuthorDate: Thu Jul 4 04:59:01 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 4 05:13:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93e00cae dev-python/openstacksdk: Bump to 3.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/openstacksdk/Manifest | 1 + dev-python/openstacksdk/openstacksdk-3.2.0.ebuild | 91 +++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index 975418fc6abe..941c29fefbab 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1 +1,2 @@ DIST openstacksdk-3.1.0.tar.gz 1215965 BLAKE2B 6bf5c3f85dcc2a027af10b675f7a3c7f7cf82bccc20558c0e094def02ff07fca4952ed71240bdf29600c3ef077575c49dce0dccb1683539bef756897813f4d1a SHA512 97ef0610115e1f1534900a6003d699028c6b331af0ef95fadb27babf0bf1467a304a3cc935f07270bf597053e2536e74de79333f67d116cf0b18583a3c8db878 +DIST openstacksdk-3.2.0.tar.gz 1228138 BLAKE2B f03f90898beb4650f1ba3b13192f4d85dd630ad680c0a5988e9d284e0c5574e6a66085c93b291338df810bc2e31dbddd972557e159ac293be77298ffcac9ab1c SHA512 8cfc9054fe2749024d33556111c60af6b0225abce800fdb7fe1fbf81b0b7e9e183a191dd62eb12ba768b5815d76c1e0b335c0b5a3eac63efe005330794988537 diff --git a/dev-python/openstacksdk/openstacksdk-3.2.0.ebuild b/dev-python/openstacksdk/openstacksdk-3.2.0.ebuild new file mode 100644 index 000000000000..010c1c968e8f --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-3.2.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 +}