diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-22 18:55:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-22 18:55:31 +0000 |
| commit | a5354da63fa3c8e79b10b2865b7c156e42a91a95 (patch) | |
| tree | 3dc53ede2827ac3d43b5675d012ae7d204c154cc /dev-python/oslo-config | |
| parent | d93e7ab096840eb29da40552b1d456c7ff5ca89a (diff) | |
| download | baldeagleos-repo-a5354da63fa3c8e79b10b2865b7c156e42a91a95.tar.gz baldeagleos-repo-a5354da63fa3c8e79b10b2865b7c156e42a91a95.tar.xz baldeagleos-repo-a5354da63fa3c8e79b10b2865b7c156e42a91a95.zip | |
Adding metadata
Diffstat (limited to 'dev-python/oslo-config')
| -rw-r--r-- | dev-python/oslo-config/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/oslo-config/oslo-config-9.7.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest index 401a8cef47a9..7700aee51d0f 100644 --- a/dev-python/oslo-config/Manifest +++ b/dev-python/oslo-config/Manifest @@ -1 +1,2 @@ DIST oslo.config-9.7.0.tar.gz 164544 BLAKE2B 25e8ff7697878447a9b6e22802322378eadc0e0a519b5bc61daf4913c818189c6a5ccc100b9920e862cc102a7a8250566466cfc09968e9f58abe5caccc84b8e8 SHA512 573376d1fe0ea8ba2a0e3d681eb89524746da4287795b2373591be55cad0bd6bec59e593a61d9e6df27bded47207261d18855acddc81d4b1cc5cad27e4eaec82 +DIST oslo_config-9.7.1.tar.gz 164787 BLAKE2B c6bf683ff175130d6772e1ff80362b1aae7f03564c2970778ceb51b64292d9dbfd5f75043348e17552a376c3dd183d81027a2005767cfa2924e3c51a6ff3e136 SHA512 a2e7e47f28533cbfea41940be6c6e5eafcf86b96ebcdbc5d911f7955845abf8049865f5959a25b37a9b6d949607fe9544a9ad7660cc39463100dec7879021e3c diff --git a/dev-python/oslo-config/oslo-config-9.7.1.ebuild b/dev-python/oslo-config/oslo-config-9.7.1.ebuild new file mode 100644 index 000000000000..f8f6636ef965 --- /dev/null +++ b/dev-python/oslo-config/oslo-config-9.7.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo Configuration API" +HOMEPAGE=" + https://opendev.org/openstack/oslo.config/ + https://github.com/openstack/oslo.config/ + https://pypi.org/project/oslo.config/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-1.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.5.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # broken by some dep upgrade + sed -i -e '/DeprecationWarningTestsNoOsloLog/,$d' \ + oslo_config/tests/test_cfg.py || di + distutils-r1_src_prepare +} + +python_test() { + local -x COLUMNS=80 + eunittest -b +} |
