From eaa16359c8c0f869e026cd62a58fb7a572254f24 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 16 Jul 2022 06:51:45 +0000 Subject: Adding metadata --- dev-python/commentjson/commentjson-0.9.0-r2.ebuild | 40 ++++ dev-python/dulwich/Manifest | 1 + dev-python/dulwich/dulwich-0.20.45.ebuild | 59 ++++++ .../greenlet/files/greenlet-1.1.2-fix-py3.11.patch | 223 +++++++++++++++++++++ dev-python/greenlet/greenlet-1.1.2-r1.ebuild | 4 + dev-python/iminuit/Manifest | 1 + dev-python/iminuit/iminuit-2.12.2.ebuild | 41 ++++ dev-python/irc/Manifest | 1 + dev-python/irc/irc-20.1.0.ebuild | 46 +++++ dev-python/keystoneauth/Manifest | 1 + dev-python/keystoneauth/keystoneauth-5.0.0.ebuild | 62 ++++++ dev-python/markdown/Manifest | 1 + dev-python/markdown/markdown-3.4.ebuild | 40 ++++ dev-python/pyinotify/metadata.xml | 1 + dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild | 30 +++ dev-python/pytest-metadata/Manifest | 1 + .../pytest-metadata/pytest-metadata-2.0.2.ebuild | 32 +++ dev-python/python-cinderclient/Manifest | 1 + .../python-cinderclient-9.0.0.ebuild | 45 +++++ dev-python/python-ironicclient/Manifest | 1 + dev-python/python-ironicclient/metadata.xml | 1 + .../python-ironicclient-5.0.0.ebuild | 46 +++++ dev-python/python-keystoneclient/Manifest | 1 + .../python-keystoneclient-5.0.0.ebuild | 52 +++++ dev-python/python-neutronclient/Manifest | 1 + .../python-neutronclient-8.0.0.ebuild | 72 +++++++ dev-python/python-swiftclient/Manifest | 1 + .../python-swiftclient-4.0.1.ebuild | 40 ++++ dev-python/sentry-sdk/Manifest | 1 + dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild | 91 +++++++++ .../simplegeneric/simplegeneric-0.8.1-r2.ebuild | 21 ++ .../sphinx-aiohttp-theme-0.1.6-r1.ebuild | 23 +++ 32 files changed, 981 insertions(+) create mode 100644 dev-python/commentjson/commentjson-0.9.0-r2.ebuild create mode 100644 dev-python/dulwich/dulwich-0.20.45.ebuild create mode 100644 dev-python/greenlet/files/greenlet-1.1.2-fix-py3.11.patch create mode 100644 dev-python/iminuit/iminuit-2.12.2.ebuild create mode 100644 dev-python/irc/irc-20.1.0.ebuild create mode 100644 dev-python/keystoneauth/keystoneauth-5.0.0.ebuild create mode 100644 dev-python/markdown/markdown-3.4.ebuild create mode 100644 dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild create mode 100644 dev-python/pytest-metadata/pytest-metadata-2.0.2.ebuild create mode 100644 dev-python/python-cinderclient/python-cinderclient-9.0.0.ebuild create mode 100644 dev-python/python-ironicclient/python-ironicclient-5.0.0.ebuild create mode 100644 dev-python/python-keystoneclient/python-keystoneclient-5.0.0.ebuild create mode 100644 dev-python/python-neutronclient/python-neutronclient-8.0.0.ebuild create mode 100644 dev-python/python-swiftclient/python-swiftclient-4.0.1.ebuild create mode 100644 dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild create mode 100644 dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild create mode 100644 dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild (limited to 'dev-python') diff --git a/dev-python/commentjson/commentjson-0.9.0-r2.ebuild b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild new file mode 100644 index 000000000000..6397723d578d --- /dev/null +++ b/dev-python/commentjson/commentjson-0.9.0-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Add Python and JavaScript style comments in your JSON files" +HOMEPAGE=" + https://pypi.org/project/commentjson/ + https://github.com/vaidik/commentjson/ +" +SRC_URI=" + https://github.com/vaidik/commentjson/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/lark[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/six[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # remove lark-parser dependency to allow painless upgrade to lark + sed -e '/lark-parser/d' -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index 23ce166b9e5c..a04d2d47f412 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,2 +1,3 @@ DIST dulwich-0.20.43.tar.gz 423604 BLAKE2B e8f6b3fc22ac2289e6529d862f54d8c407725c8d22ba9ee7ddb0d700b4ea617f8b069b14168c43c25cccf6e84592e63f88d3402e58b15413952e5b139bda2c2b SHA512 68ef6e3928a202d76ab882d764d08f8948743825b3b07950a81bd86522c9db6865260c2c725a08b26365719e99343daa1c2a2d242bafe991be2552d06b2e3684 DIST dulwich-0.20.44.tar.gz 425226 BLAKE2B ba120c682b0fd298a9f17eec524ffdd92af9024e30d0b8c52accda3ef8a1d4876b483e8aaa5f12b4beb73a6c1719ed4504c52396cd355244ab688ceab551faaf SHA512 124a3ae89abf5df9e192919f916012be67112195fc7cfd7c30e814a04d93749a3dc396e12f2d8df1456b113a24cdd1b2f3a1f2733864d5cfad22431a987c25fb +DIST dulwich-0.20.45.tar.gz 424373 BLAKE2B 4eb6731312bd8bb45d35efdc1e640dd2cfb118b633de461c4f9ffa2a9e50258bada2c77b4d4bf2e72bc9947f143f89fd720e4e9411f0f84d67ab208f39f7b4b8 SHA512 5b7217fac88a84591e42db2cd3c812a0aae6482221e1da9474df9b3fd968a80b653353fec804103f36a29f0f96e650267f124575a260dd082a3106de5f13fc7b diff --git a/dev-python/dulwich/dulwich-0.20.45.ebuild b/dev-python/dulwich/dulwich-0.20.45.ebuild new file mode 100644 index 000000000000..6174956163fa --- /dev/null +++ b/dev-python/dulwich/dulwich-0.20.45.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/jelmer/dulwich/ + https://pypi.org/project/dulwich/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+ Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + !hppa? ( !ia64? ( !s390? ( + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/geventhttpclient[${PYTHON_USEDEP}] + ) ) ) + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE \ + GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v dulwich.tests.test_suite || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/greenlet/files/greenlet-1.1.2-fix-py3.11.patch b/dev-python/greenlet/files/greenlet-1.1.2-fix-py3.11.patch new file mode 100644 index 000000000000..475fcd82fb34 --- /dev/null +++ b/dev-python/greenlet/files/greenlet-1.1.2-fix-py3.11.patch @@ -0,0 +1,223 @@ +From: Victor Stinner +Subject: [PATCH] Closes #305: Add Python 3.11 support + +* Add GREENLET_PY311 macro +* PyGreenlet structure: + + * Add 3 members for the "data stack": 'datastack_chunk', + 'datastack_top' and 'datastack_limit'. + * Add 'current_frame' member. + +* Rename CFrame to _PyCFrame +* tox.ini: Add py311 environment. + +Changes partially backport from the master branch: +commit 63e1099acc3677e614532bea0fa2e1967b69125f. + +Co-Authored-By: Miro HronĨok + +https://github.com/python-greenlet/greenlet/pull/306 +--- a/src/greenlet/greenlet.c ++++ b/src/greenlet/greenlet.c +@@ -170,9 +170,11 @@ green_clear_exc(PyGreenlet* g) + { + #if GREENLET_PY37 + g->exc_info = NULL; +- g->exc_state.exc_type = NULL; + g->exc_state.exc_value = NULL; ++#if !GREENLET_PY311 ++ g->exc_state.exc_type = NULL; + g->exc_state.exc_traceback = NULL; ++#endif + g->exc_state.previous_item = NULL; + #else + g->exc_type = NULL; +@@ -525,8 +527,13 @@ g_switchstack(void) + { /* save state */ + PyGreenlet* current = ts_current; + PyThreadState* tstate = PyThreadState_GET(); ++#if GREENLET_PY311 ++ current->recursion_depth = (tstate->recursion_limit ++ - tstate->recursion_remaining); ++#else + current->recursion_depth = tstate->recursion_depth; + current->top_frame = tstate->frame; ++#endif + #if GREENLET_PY37 + current->context = tstate->context; + #endif +@@ -551,6 +558,15 @@ g_switchstack(void) + */ + current->cframe = tstate->cframe; + ts__g_switchstack_use_tracing = tstate->cframe->use_tracing; ++#if GREENLET_PY311 ++ current->current_frame = tstate->cframe->current_frame; ++ current->datastack_chunk = tstate->datastack_chunk; ++ current->datastack_top = tstate->datastack_top; ++ current->datastack_limit = tstate->datastack_limit; ++ PyFrameObject *frame = PyThreadState_GetFrame(tstate); ++ Py_XDECREF(frame); /* PyThreadState_GetFrame gives us a new reference. */ ++ current->top_frame = frame; ++#endif + #endif + } + +@@ -574,9 +590,6 @@ g_switchstack(void) + PyGreenlet* target = ts_target; + PyGreenlet* origin = ts_current; + PyThreadState* tstate = PyThreadState_GET(); +- tstate->recursion_depth = target->recursion_depth; +- tstate->frame = target->top_frame; +- target->top_frame = NULL; + + #if GREENLET_PY37 + tstate->context = target->context; +@@ -607,7 +620,18 @@ g_switchstack(void) + */ + tstate->cframe->use_tracing = ts__g_switchstack_use_tracing; + #endif +- ++#if GREENLET_PY311 ++ tstate->recursion_remaining = (tstate->recursion_limit ++ - target->recursion_depth); ++ tstate->cframe->current_frame = target->current_frame; ++ tstate->datastack_chunk = target->datastack_chunk; ++ tstate->datastack_top = target->datastack_top; ++ tstate->datastack_limit = target->datastack_limit; ++#else ++ tstate->recursion_depth = target->recursion_depth; ++ tstate->frame = target->top_frame; ++#endif ++ target->top_frame = NULL; + assert(ts_origin == NULL); + Py_INCREF(target); + ts_current = target; +@@ -810,7 +834,7 @@ static int GREENLET_NOINLINE(g_initialstub)(void* mark) + We want to defer copying the state info until we're sure + we need it and are in a stable place to do so. + */ +- CFrame trace_info; ++ _PyCFrame trace_info; + #endif + /* save exception in case getattr clears it */ + PyErr_Fetch(&exc, &val, &tb); +@@ -875,7 +899,12 @@ static int GREENLET_NOINLINE(g_initialstub)(void* mark) + } + self->top_frame = NULL; + green_clear_exc(self); ++#if GREENLET_PY311 ++ self->recursion_depth = (PyThreadState_GET()->recursion_limit ++ - PyThreadState_GET()->recursion_remaining); ++#else + self->recursion_depth = PyThreadState_GET()->recursion_depth; ++#endif + + /* restore arguments in case they are clobbered */ + ts_target = self; +@@ -1006,13 +1035,13 @@ green_new(PyTypeObject* type, PyObject* args, PyObject* kwds) + it uses the ``root_cframe`` just to have something to put there. + However, once the greenlet is actually switched to for the first + time, ``g_initialstub`` (which doesn't actually "return" while the +- greenlet is running) stores a new CFrame on its local stack, and ++ greenlet is running) stores a new _PyCFrame on its local stack, and + copies the appropriate values from the currently running CFrame; +- this is then made the CFrame for the newly-minted greenlet. ++ this is then made the _PyCFrame for the newly-minted greenlet. + ``g_initialstub`` then proceeds to call ``glet.run()``, which +- results in ``PyEval_...`` adding the CFrame to the list. Switches ++ results in ``PyEval_...`` adding the _PyCFrame to the list. Switches + continue as normal. Finally, when the greenlet finishes, the call to +- ``glet.run()`` returns and the CFrame is taken out of the linked ++ ``glet.run()`` returns and the _PyCFrame is taken out of the linked + list and the stack value is now unused and free to expire. + */ + ((PyGreenlet*)o)->cframe = &PyThreadState_GET()->root_cframe; +@@ -1121,9 +1150,11 @@ green_traverse(PyGreenlet* self, visitproc visit, void* arg) + Py_VISIT(self->context); + #endif + #if GREENLET_PY37 +- Py_VISIT(self->exc_state.exc_type); + Py_VISIT(self->exc_state.exc_value); ++#if !GREENLET_PY311 ++ Py_VISIT(self->exc_state.exc_type); + Py_VISIT(self->exc_state.exc_traceback); ++#endif + #else + Py_VISIT(self->exc_type); + Py_VISIT(self->exc_value); +@@ -1159,9 +1190,11 @@ green_clear(PyGreenlet* self) + Py_CLEAR(self->context); + #endif + #if GREENLET_PY37 +- Py_CLEAR(self->exc_state.exc_type); + Py_CLEAR(self->exc_state.exc_value); ++#if !GREENLET_PY311 ++ Py_CLEAR(self->exc_state.exc_type); + Py_CLEAR(self->exc_state.exc_traceback); ++#endif + #else + Py_CLEAR(self->exc_type); + Py_CLEAR(self->exc_value); +@@ -1253,9 +1286,11 @@ green_dealloc(PyGreenlet* self) + Py_CLEAR(self->context); + #endif + #if GREENLET_PY37 +- Py_CLEAR(self->exc_state.exc_type); + Py_CLEAR(self->exc_state.exc_value); ++#if !GREENLET_PY311 ++ Py_CLEAR(self->exc_state.exc_type); + Py_CLEAR(self->exc_state.exc_traceback); ++#endif + #else + Py_CLEAR(self->exc_type); + Py_CLEAR(self->exc_value); +--- a/src/greenlet/greenlet.h ++++ b/src/greenlet/greenlet.h +@@ -14,6 +14,15 @@ extern "C" { + /* This is deprecated and undocumented. It does not change. */ + #define GREENLET_VERSION "1.0.0" + ++#if PY_VERSION_HEX >= 0x30B00A6 ++# define GREENLET_PY311 1 ++ /* _PyInterpreterFrame moved to the internal C API in Python 3.11 */ ++# include ++#else ++# define GREENLET_PY311 0 ++# define _PyCFrame CFrame ++#endif ++ + typedef struct _greenlet { + PyObject_HEAD + char* stack_start; +@@ -25,6 +34,12 @@ typedef struct _greenlet { + PyObject* run_info; + struct _frame* top_frame; + int recursion_depth; ++#if GREENLET_PY311 ++ _PyInterpreterFrame *current_frame; ++ _PyStackChunk *datastack_chunk; ++ PyObject **datastack_top; ++ PyObject **datastack_limit; ++#endif + PyObject* weakreflist; + #if PY_VERSION_HEX >= 0x030700A3 + _PyErr_StackItem* exc_info; +@@ -39,7 +54,7 @@ typedef struct _greenlet { + PyObject* context; + #endif + #if PY_VERSION_HEX >= 0x30A00B1 +- CFrame* cframe; ++ _PyCFrame* cframe; + #endif + } PyGreenlet; + +--- a/tox.ini ++++ b/tox.ini +@@ -1,6 +1,6 @@ + [tox] + envlist = +- py27,py35,py36,py37,py38,py39,py310,docs ++ py27,py35,py36,py37,py38,py39,py310,py311,docs + + [testenv] + commands = diff --git a/dev-python/greenlet/greenlet-1.1.2-r1.ebuild b/dev-python/greenlet/greenlet-1.1.2-r1.ebuild index e7c25f4d76f1..e2c0a7e36def 100644 --- a/dev-python/greenlet/greenlet-1.1.2-r1.ebuild +++ b/dev-python/greenlet/greenlet-1.1.2-r1.ebuild @@ -21,6 +21,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +PATCHES=( + "${FILESDIR}/${P}-fix-py3.11.patch" +) + distutils_enable_sphinx docs distutils_enable_tests unittest diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 0db0c8a7018f..f16446a6b1cc 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,3 +1,4 @@ DIST iminuit-2.11.2.tar.gz 411984 BLAKE2B 8fa47b24890f26718ebb8f053c2f908d982a7b6cc7f71f6523f387128ab0bd894bb851f18e2f8611ff5ab1c113651f526893445f465fbbfa10d487dc15effcbd SHA512 b60755f21ae38bd19860e0d711bab9c6e37dd361cc8cf43bdd1a583e8c06abca38e42ae0a6c4631be05c5082c9ab169bddb51e4d84397ce8f81833fd4c46cdd7 DIST iminuit-2.12.0.tar.gz 420687 BLAKE2B 9d3761bd756f58a7c36a61f161e4667f8efbb6edef9bb1882fcd324efe46aaec126dbfb4b692a5b7f56a1f162cb292c9e58a0d3337ae04a019756455bc0df1e9 SHA512 1697c04722323506bbe43682befe1b6020656348c98fec0a877ea8403390e741ea106d61d95e31595d894b020025606b413b2f185fd747b2b7d733b729919fe1 DIST iminuit-2.12.1.tar.gz 420488 BLAKE2B 8910017f27d683b5129a506c7536def9b70b3dac27153985023f81bc94fb767c33f0a9fb4c8ac6911634839fd3870ac3bb63ddbf0cd8925b68778983c341354b SHA512 2b54ebb3c66eb508e848fbedae32aac32a82d794da899d10848d683b7a97b7882014e77b1e98be3563b0e96957208072f048e8df23a8c14f5e3b472eae5b5f23 +DIST iminuit-2.12.2.tar.gz 420639 BLAKE2B b158dd0916d5de229a1af16c402d8f51fd01cb9ed8e894677c2cb941fb587ac10ec94ce6787fb76291315c4e91cbf6c1492e65b821580a395385b2f50a38cdfd SHA512 620cfe19862ca6559ea5b2bc3f04a3212d8041e6de97056a17fe1e2a9dfe37d1c2128ae4bf6b2a5b796ce48719eeaa0d31dd025a0f469f401b1d9858685b3c82 diff --git a/dev-python/iminuit/iminuit-2.12.2.ebuild b/dev-python/iminuit/iminuit-2.12.2.ebuild new file mode 100644 index 000000000000..aeaeffc6c6f4 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.12.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +# forced implicitly +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake distutils-r1 virtualx + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/scikit-hep/iminuit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT LGPL-2.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/irc/Manifest b/dev-python/irc/Manifest index 9139bf355162..218cc6809b53 100644 --- a/dev-python/irc/Manifest +++ b/dev-python/irc/Manifest @@ -1 +1,2 @@ DIST irc-20.0.0.tar.gz 88662 BLAKE2B 627354a051964e53322484c8a2c28487e25738b21c485121589af331e2da59b80c5704ef4268ff0bac3e84d26f77af031ba6ce0064a46496e846c7160462a5f9 SHA512 cd54e20075e97d7c8259275514741f9bb2f93712b1cc8628399fb7d4b37ff7d1d6515be14f5326fa30e59f49cfb853b954f4f095b4d3cac870a63a9946cfbed2 +DIST irc-20.1.0.tar.gz 89157 BLAKE2B 42498e63e1d62a5c2e545f1d0d581bdbc9f49228ec14e523f4add130b903be2a736072b8ad53775a7f16298a7c57761d8c06053570dc01a338491593564b3fd7 SHA512 83a988b5f75c1d55376a140519725749824dbc9f32e6b0e5d3684d9c58973a746ae517441594cfa745edb89a0fbd98ef847e937a620548fed4e344b66a97ad1c diff --git a/dev-python/irc/irc-20.1.0.ebuild b/dev-python/irc/irc-20.1.0.ebuild new file mode 100644 index 000000000000..a641edc1caf3 --- /dev/null +++ b/dev-python/irc/irc-20.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="IRC client framework written in Python" +HOMEPAGE=" + https://github.com/jaraco/irc/ + https://pypi.org/project/irc/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/jaraco-collections[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + >=dev-python/jaraco-itertools-1.8[${PYTHON_USEDEP}] + dev-python/jaraco-logging[${PYTHON_USEDEP}] + dev-python/jaraco-stream[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/tempora-1.6[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/scripts" + dodoc -r scripts + fi + distutils-r1_python_install_all +} diff --git a/dev-python/keystoneauth/Manifest b/dev-python/keystoneauth/Manifest index 85f0bd315c85..3ce0b8fe465b 100644 --- a/dev-python/keystoneauth/Manifest +++ b/dev-python/keystoneauth/Manifest @@ -1 +1,2 @@ DIST keystoneauth1-4.6.0.tar.gz 267019 BLAKE2B ad1df2ce6f88ca03f1c9cde6bd84014fc7afedb3fb2375bc95461bab466f82464393e20919e4e506bce2cdbf1283ef53777c7ab3e92e2195b21d95459814f408 SHA512 fe6fbb0e47fb3608b0653362da0d19bdcb7055f9d043c776d487a2f6af76bda1cc1d8a2b87a771cafb54d0cd349695618428ed7dd93aba273d3d455b4175cbc8 +DIST keystoneauth1-5.0.0.tar.gz 267142 BLAKE2B 9c595151287c0f5eff2faa3618e97c1a540e7a2ae4bbf6b76b7ebb5b3a7d0b1443843d7ead98d1997d68ef5def7745b2eb728ff4cde7842a35d46e69b3ea15d7 SHA512 41844b669d8f355525f444b7c837aa6ad6e7efc3e7ce727b6bc6ff441d6b6b49fe8dc2d601d8135ac872484e827cec75c72b613d001f5312e077016d424dcbfa diff --git a/dev-python/keystoneauth/keystoneauth-5.0.0.ebuild b/dev-python/keystoneauth/keystoneauth-5.0.0.ebuild new file mode 100644 index 000000000000..d7aa9bdbae2f --- /dev/null +++ b/dev-python/keystoneauth/keystoneauth-5.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="This package contains tools for authenticating to an OpenStack-based cloud" +HOMEPAGE="https://github.com/openstack/keystoneauth" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}1/${PN}1-${PV}.tar.gz" +S="${WORKDIR}/${PN}1-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +CDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] +" +RDEPEND=" + ${CDEPEND} + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${CDEPEND} + test? ( + >=dev-python/betamax-0.7.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.2.0[${PYTHON_USEDEP}] + >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] + >=dev-python/requests-kerberos-0.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # relies on specific test runner name + sed -i -e 's:run\.py:unittest_or_fail.py:' \ + keystoneauth1/tests/unit/test_session.py || die + # remove the test that requires hacking + rm keystoneauth1/tests/unit/test_hacking_checks.py || die + distutils-r1_src_prepare +} + +python_test() { + eunittest -b +} diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest index 04cfe029ba61..6e147c912a8d 100644 --- a/dev-python/markdown/Manifest +++ b/dev-python/markdown/Manifest @@ -1 +1,2 @@ DIST Markdown-3.3.7.tar.gz 324130 BLAKE2B 4ecf804b81181a9895e15d2f54881544648939f2bb772b036aa84dc8bf57b7976c6ebdf8549041b39a303bd7c68c16df3c126463a8da19b3c92f99b420e9ffb9 SHA512 39b9f45939be9e842e90470307c3aeec88d1389439b0c7a0c5b39f6e203b51d3a52ce431c4d5c278f399552c4218fc1a619b0efc56883de50a9f300f42120f4e +DIST Markdown-3.4.tar.gz 322529 BLAKE2B db7d5a6f9c6e60916756d208b90ad5134349df83f2cf720ec23421de3e48cae4cc812b73423f1e1731b643642560697295499955dc3c40846efe40e23e3a9f43 SHA512 5ef87d89518a758009ec0d52ce1141b48777088e82c8dc4862d2b388f9a6b82ebaf66a7382342303076c8f71ca7afe5c79133f33b23dced5eb21ddcd8bdaa426 diff --git a/dev-python/markdown/markdown-3.4.ebuild b/dev-python/markdown/markdown-3.4.ebuild new file mode 100644 index 000000000000..e127e9fbd769 --- /dev/null +++ b/dev-python/markdown/markdown-3.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE=" + https://python-markdown.github.io/ + https://pypi.org/project/Markdown/ + https://github.com/Python-Markdown/markdown" +SRC_URI="mirror://pypi/M/${PN^}/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' 3.8 3.9)" +BDEPEND=" + test? ( + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytidylib[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest + +python_install_all() { + use doc && dodoc -r docs/ + + distutils-r1_python_install_all +} diff --git a/dev-python/pyinotify/metadata.xml b/dev-python/pyinotify/metadata.xml index 853174b8f2ab..ea8988e8af6a 100644 --- a/dev-python/pyinotify/metadata.xml +++ b/dev-python/pyinotify/metadata.xml @@ -7,4 +7,5 @@ gentoo-staging + \ No newline at end of file diff --git a/dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild b/dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild new file mode 100644 index 000000000000..e5ada1730f85 --- /dev/null +++ b/dev-python/pyinotify/pyinotify-0.9.6-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python module used for monitoring filesystems events" +HOMEPAGE=" + https://pypi.org/project/pyinotify/ + https://github.com/seb-m/pyinotify/" +SRC_URI="https://seb.dbzteam.org/pub/pyinotify/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +python_install_all() { + if use examples; then + dodoc -r python3/examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pytest-metadata/Manifest b/dev-python/pytest-metadata/Manifest index b68f6ba06d15..0d15cdb9c0c1 100644 --- a/dev-python/pytest-metadata/Manifest +++ b/dev-python/pytest-metadata/Manifest @@ -1 +1,2 @@ DIST pytest-metadata-2.0.1.gh.tar.gz 19945 BLAKE2B 931ede3b58471e3092eb26af38f380810140539c7c50b5e3e9a63bdddedd9577b1f23aafb24ce80de55078f772b0dae8715368559f79a3f31f33e15870134f45 SHA512 03981b4fbcd812cf5896d6db2b74cbc1e6c84cc13613f916248767cacfc7650580f668a5ea8892be85c87fa08101a8a2f440ee6e0cc1342d4fa9919d41153a6b +DIST pytest-metadata-2.0.2.gh.tar.gz 19993 BLAKE2B 274ce5532fe96b6e4116d6ed1bf20911342f8b239b00a9b6cc1b553ad2819a619691e34bd93ef82676ffdcd4ba32adebba481c65168ce76eef2099eb7295d65d SHA512 b35c0b1a357a246aa12b65dd67b48b6c4201d75d4a23db9026659407583e97517971ba6af1054cff7812f2c6ae54019b26d1108664d632a45c0514a716b321b2 diff --git a/dev-python/pytest-metadata/pytest-metadata-2.0.2.ebuild b/dev-python/pytest-metadata/pytest-metadata-2.0.2.ebuild new file mode 100644 index 000000000000..294d923ca56e --- /dev/null +++ b/dev-python/pytest-metadata/pytest-metadata-2.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A plugin for pytest that provides access to test session metadata" +HOMEPAGE="https://github.com/pytest-dev/pytest-metadata/" +SRC_URI=" + https://github.com/pytest-dev/pytest-metadata/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + =dev-python/pytest-7.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-6.2.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest index 61c254d31467..8ef79a403d23 100644 --- a/dev-python/python-cinderclient/Manifest +++ b/dev-python/python-cinderclient/Manifest @@ -1 +1,2 @@ DIST python-cinderclient-8.3.0.tar.gz 234371 BLAKE2B 092d7abdd348f5fac750efb3f3f4df1575584684ad613d22c558630576ad2f82c399af671aad7070dd224a89fa01d73333c2505dc0166d2e4c70e21ac01f298d SHA512 4d633b39a3c59cfdc2fc2c6235b3b87093f7617c89a80b50cf26d8f6fd63e8c3197d788e0b9e81347b9427cf363289b09b85376512d5820031472a735e0ca839 +DIST python-cinderclient-9.0.0.tar.gz 234533 BLAKE2B 18d673cbe02c5a4221b8667d051b1e0c1cbfe0c071e2b8c2f37b37dcf4ea9adae7ee64a7d5c8663c8ebd5946be53d91e253b9fb1df75e0d7f4dd8554098d22db SHA512 66542e10041d567fd7193a577ea5e8e7de6d7f735e05b1135f5d41e88847a6d042356431f54b481d9c13ec99c56e6d898df0222737e17c21fe6be6cfa886eafe diff --git a/dev-python/python-cinderclient/python-cinderclient-9.0.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.0.0.ebuild new file mode 100644 index 000000000000..6310c74a4f53 --- /dev/null +++ b/dev-python/python-cinderclient/python-cinderclient-9.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Cinder API" +HOMEPAGE="https://launchpad.net/python-cinderclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/keystoneauth-4.3.1[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}] + >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslo-serialization[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b cinderclient/tests/unit +} diff --git a/dev-python/python-ironicclient/Manifest b/dev-python/python-ironicclient/Manifest index 95214798ad3d..586227493cab 100644 --- a/dev-python/python-ironicclient/Manifest +++ b/dev-python/python-ironicclient/Manifest @@ -1 +1,2 @@ DIST python-ironicclient-4.11.0.tar.gz 220770 BLAKE2B a653cf04497a4df9627ed5026094690d0569dd7d6c55abf3a3223fee8cbc14e450106645ed1e4461cb3931f2ca49c8df47ca9e8e2ec9478cf15fcc0623d19379 SHA512 863429269807f759a864e427206d29a68b7431ce33009e1b6d3a630ab154e66b85b9f61dd90303a681a5ed459005af1686edf056eb9a63cfb6de1f1eda85bbb5 +DIST python-ironicclient-5.0.0.tar.gz 220583 BLAKE2B 8de728995db55d6786349ad390234c02b2dd38cb0119569c3f2af3a88789bae1b9fb6a43300502f083f4c01e75476d707a8b86576b509b4f3dbf750038f915b9 SHA512 3bee0be64daeee1ae3b88f00a3c3bf4a96a0ad10e7c55e60fd5342925e836a753668e32284b64aee4bf9d88b9f4379ad66287516559738b817efe1e815bb483d diff --git a/dev-python/python-ironicclient/metadata.xml b/dev-python/python-ironicclient/metadata.xml index 3a64259e3296..9bdbc5bff5b2 100644 --- a/dev-python/python-ironicclient/metadata.xml +++ b/dev-python/python-ironicclient/metadata.xml @@ -11,4 +11,5 @@ gentoo-staging + \ No newline at end of file diff --git a/dev-python/python-ironicclient/python-ironicclient-5.0.0.ebuild b/dev-python/python-ironicclient/python-ironicclient-5.0.0.ebuild new file mode 100644 index 000000000000..7451604bfa49 --- /dev/null +++ b/dev-python/python-ironicclient/python-ironicclient-5.0.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the Ironic API" +HOMEPAGE="https://www.openstack.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] + >dev-python/cliff-2.9.0[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.8.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.11.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.18.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/python-keystoneclient/Manifest b/dev-python/python-keystoneclient/Manifest index 47559eff7516..b1b492ec8ce4 100644 --- a/dev-python/python-keystoneclient/Manifest +++ b/dev-python/python-keystoneclient/Manifest @@ -1 +1,2 @@ DIST python-keystoneclient-4.5.0.tar.gz 325120 BLAKE2B 4511cb381ebfc11afefef0dbb7b9962efd2bbb5ac7455386ef4e831459614dfd51570cfaa1be9672936a6ed45d58b9b29e8326830840e80ffdb758089cbab887 SHA512 d3a5034bd05843b733410d4c6fc2c271edb25c837b50ba801031b45a00c0632b4420f2f4dd24dd25e78bf71b5ae31e2ec6b303d85aa4ecea0a89a49b5c67533d +DIST python-keystoneclient-5.0.0.tar.gz 325208 BLAKE2B 86feea8d226976ee9fc568d10514d56d378727a11fada2d3f7acb1f95a33cbdcef165e8c5add656e53874463d81f8250905753aa03234de9dc87cf8d92213309 SHA512 94010e8a681817cae7c0555968a34102a430366b81393badc7661fd13eeea17e4e82d2065385a41c569c0e6ee89f4ccf3308a909186fbe2d29d7f46c5795d95b diff --git a/dev-python/python-keystoneclient/python-keystoneclient-5.0.0.ebuild b/dev-python/python-keystoneclient/python-keystoneclient-5.0.0.ebuild new file mode 100644 index 000000000000..58e337e23f81 --- /dev/null +++ b/dev-python/python-keystoneclient/python-keystoneclient-5.0.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Client Library for OpenStack Identity" +HOMEPAGE="https://www.openstack.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] + >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest keystoneclient/tests/unit +} diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest index 51f239a6b70b..8bd8bfc82aca 100644 --- a/dev-python/python-neutronclient/Manifest +++ b/dev-python/python-neutronclient/Manifest @@ -1 +1,2 @@ DIST python-neutronclient-7.8.0.tar.gz 304872 BLAKE2B 780e1b2942a43bca93888683d1c2e713cfc0927d49135004a6f6d42dff7962def6b0fc7f308b75b4392f4fb5df4d26fcea107b9006d4ba957c0d76294395e5c9 SHA512 3022d79348334632ab3afa142aab11e424b168a4ba04223722da80e59de2695b477c2d829bb14a37e7baf387f9d63b8c4456fc5712f8d591d3de51fad76d6c78 +DIST python-neutronclient-8.0.0.tar.gz 304243 BLAKE2B 664594bacd1d7480d502f97a0b0a3f441433ee70dac2af9359a22091c64503aba51e026b4e5eb0c68e7bc847b9120639ffdc1547d1d4ff92785459e1880a9747 SHA512 8846a87fb70555ca9f02a93f04dc68aa4ad332aea41398df744531f9afab034a37cb5390b93fa4fe4bd9ca25a9ee5787cccc1493232fe4019e5fcb2a842b2b44 diff --git a/dev-python/python-neutronclient/python-neutronclient-8.0.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-8.0.0.ebuild new file mode 100644 index 000000000000..f72d2f58df48 --- /dev/null +++ b/dev-python/python-neutronclient/python-neutronclient-8.0.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Quantum API" +HOMEPAGE="https://launchpad.net/neutron" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.4.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/bandit[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslotest[${PYTHON_USEDEP}] + dev-python/python-openstackclient[${PYTHON_USEDEP}] + dev-python/subunit[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Needs osprofile + rm neutronclient/tests/unit/test_http.py || die + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b neutronclient.tests.unit +} + +python_install() { + distutils-r1_python_install + #stupid stupid + local SITEDIR="${D}$(python_get_sitedir)" || die + cd "${SITEDIR}" || die + local egg=( python_neutronclient*.egg-info ) + #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found" + ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die + ln -s neutronclient quantumclient || die + ln -s neutron quantumclient/quantum || die +} diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest index 8785322bdd90..b5c4eb220a2f 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -1 +1,2 @@ DIST python-swiftclient-4.0.0.tar.gz 200490 BLAKE2B 37cadf27758640a916014e09309282a4b7ffebb3e578ae7411744fafd22431cfb748cffb4127309b20a8b2d8daca7f8f0a1ed6431f55766c33b243744ce5a71e SHA512 9058558564973ea2a4944e87dedd7b9b12e106672576da1d796eae336d3127ce8b35803cade93c605b38fd16a2d3466e6dc710838ceb77143059007625299360 +DIST python-swiftclient-4.0.1.tar.gz 201300 BLAKE2B 6a506ae8996a3937048f67e7b3f8e5185605f9e5fe955f23e1131eead4d3699fb01e7851ab632e3dfaa75c12e88ec17cec5b4c1b19c1663163a2ff95530561ec SHA512 0028bc12a9694047e31da3c05fe92ce846de8858743771281cc9b93f0826c596bb6ed5ee72f4e5c68c4bba2dbd9f311062dccdf13c9917536d2aaec7eaf33ef9 diff --git a/dev-python/python-swiftclient/python-swiftclient-4.0.1.ebuild b/dev-python/python-swiftclient/python-swiftclient-4.0.1.ebuild new file mode 100644 index 000000000000..aeb051d1edbf --- /dev/null +++ b/dev-python/python-swiftclient/python-swiftclient-4.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings to the OpenStack Object Storage API" +HOMEPAGE="https://launchpad.net/python-swiftclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] + dev-python/python-keystoneclient[${PYTHON_USEDEP}] + >=dev-python/mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.11.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_prepare_all() { + sed -e 's/test_password_prompt/_&/' -i test/unit/test_shell.py || die + # fix duplicate script/entry point + # https://bugs.launchpad.net/python-swiftclient/+bug/1975361 + sed -i -e '/bin\/swift/d' setup.cfg || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index aa5147fca622..00d58a7bca7a 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -2,3 +2,4 @@ DIST sentry-sdk-1.5.12.tar.gz 247388 BLAKE2B 72dc4a5df97656074243045f20cfdbcb15b DIST sentry-sdk-1.6.0.gh.tar.gz 249637 BLAKE2B c4d6788c80184ce9127ed85dfb5305363fd27bcbebd74763e4c14c4fed35dd05069ad4a244fa2d8a59f8cb618df22d4d864bf72510fe42600d23fcc6bf8228cf SHA512 d2999831af595ed7f1861ec78887e46887eea8c4c931f22bd4003aede508511287f67eb6100232362a110d16b7bdec892572225440be52a9bd37952c30478f15 DIST sentry-sdk-1.7.0.gh.tar.gz 251695 BLAKE2B b31a11ee6dcd55960b2d267c26cabdb35a463ab8c081889dceca55ae9ad87c90827875fb75f0912e98457391f24263816d5e61c59551121fe8dede8bb4921a8b SHA512 5595266185618630493eb9bf84c8570f419339b37e8f4afcd4feee80d62d9f678da68d58df081a5361380fe166df589029606ba1d7b70c1844fe174e3292f54c DIST sentry-sdk-1.7.1.gh.tar.gz 251834 BLAKE2B e12c16780c3748754b9b104fbb38c7f7aba5fba3186c0ea00f40e742095828bedc926d6c8ed3cae05cc324fde8dac14053035ea4f75fa8f7669dc953e844ea0c SHA512 92d6e04cc6efb3d3272e3afdeb302115d8dfed9907db914bdf387bb257a8175f3d0713041e8c86c64a8d027fbcd3d6d03b4cccba55e6c76e52412ae404de7dc5 +DIST sentry-sdk-1.7.2.gh.tar.gz 254370 BLAKE2B e65b2236bfec9279a4aa05b77c9492547f657e461a7c96c4158acb6bc0887571186bfa71893dce34251ef8d783fb5d583b25aa12539c5db7993cec65fdf05229 SHA512 9fe2c283a326b78c8be95500e4916bb633dc7369960a4e0ef69c0f29de74c38db81f43b3931c47d50431ee7f1a66a2b18e8c4fc02ce71c404a5e9700644cb76c diff --git a/dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild new file mode 100644 index 000000000000..4d161997054c --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/eventlet[${PYTHON_USEDEP}] + ' python3_{8..9}) + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates +) diff --git a/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild b/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild new file mode 100644 index 000000000000..0a81c8f1f527 --- /dev/null +++ b/dev-python/simplegeneric/simplegeneric-0.8.1-r2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Simple generic functions for Python" +HOMEPAGE="https://pypi.org/project/simplegeneric/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +BDEPEND="app-arch/unzip" + +distutils_enable_tests setup.py diff --git a/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild b/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild new file mode 100644 index 000000000000..a02e48131a9d --- /dev/null +++ b/dev-python/sphinx-aiohttp-theme/sphinx-aiohttp-theme-0.1.6-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_PN="${PN#sphinx-}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Sphinx theme for aiohttp" +HOMEPAGE="https://github.com/aio-libs/aiohttp-theme" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" -- cgit v1.3