diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-15 06:18:51 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-15 06:18:51 +0000 |
| commit | 87006ab87bd4add8073914637c07bc65f0eae8d9 (patch) | |
| tree | 1816a1ba66c7895b5fcb4bf4733e5bbe3907d543 /dev-python | |
| parent | 8fbac5d3da191888ce0af4328c0cbb80b85e7c80 (diff) | |
| download | baldeagleos-repo-87006ab87bd4add8073914637c07bc65f0eae8d9.tar.gz baldeagleos-repo-87006ab87bd4add8073914637c07bc65f0eae8d9.tar.xz baldeagleos-repo-87006ab87bd4add8073914637c07bc65f0eae8d9.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.28.48.ebuild | 68 | ||||
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.31.48.ebuild | 68 | ||||
| -rw-r--r-- | dev-python/frozenlist/frozenlist-1.4.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/jupyterlab/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/jupyterlab/jupyterlab-4.0.6.ebuild | 77 | ||||
| -rw-r--r-- | dev-python/langdetect/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/langdetect/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/python-engineio/python-engineio-4.7.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/python-keystoneclient/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-keystoneclient/python-keystoneclient-5.2.0.ebuild | 56 | ||||
| -rw-r--r-- | dev-python/simple-websocket/simple-websocket-0.10.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/stripe/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/stripe/stripe-6.5.0.ebuild | 72 |
15 files changed, 357 insertions, 7 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0826616a1db6..9681b58a7f7b 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -10,3 +10,4 @@ DIST boto3-1.28.44.gh.tar.gz 698689 BLAKE2B 9c23bd7aa680f59ad686ad5ec46dd751d22b DIST boto3-1.28.45.gh.tar.gz 699111 BLAKE2B 6873e83e58d4a778b5296c7def5ed5060f5d1d18c1b123e1662be8688a683aac8fe8f10821a59ac0cfb6192e925c15fe8aafc46b6bd1ddc261142024427d9b7a SHA512 8d8f6b9735995ee3ff5f47ddd79d19ec490da116454f7adbf65a22dd592b82727e7528236d4bca577ebe7857a2f9e14ac34357988fb958696b81e54162d8b081 DIST boto3-1.28.46.gh.tar.gz 699277 BLAKE2B 7bc3a739cbb40b56c7b993132571add6d77f6a1941b00a1ae35cfa62a836a7b21dfe572d6ccccaf674b20abfe4895d53d3247c4fa52410fed276ace282a05fd1 SHA512 8a6a1b8325da12e75563cd8fc7973f79d1c2a2e418c8a5401064525381f06800c8a4e282253af3330e301a56fa74290743ea5f0a516bb4f017d8f23c9ed7e43c DIST boto3-1.28.47.gh.tar.gz 699978 BLAKE2B 056a6c4ac0d94dd147cf1a0e438f9947b2a0bf9f608b5317fe71f58192003cd6de819acc090067cc86124be6ead967bf8cc15ac9061008a15e57cb4259145bb8 SHA512 e0ad5c30677a6c04206a1845ac1cb19a91789885de7ca2cfbac70743e54f8d3254471672c560dc0b97f3d46b6366455521cb78d1c300428ff01f2fdfa1da7ff6 +DIST boto3-1.28.48.gh.tar.gz 700213 BLAKE2B 3ddb02067fee032d3d5e493849936b854130def109f46806fe826845da1daa681920448d96658910ec3064d576de1fe6055d514345cbe88d548278c16c2a28a9 SHA512 b561b0631af566a82495d97ba9c4dc58183361868042b70c353004c58c3cfc38c3496eb5a4d387e5272b76f479a7f101676fc3a9b6306d203e5122bde0091e98 diff --git a/dev-python/boto3/boto3-1.28.48.ebuild b/dev-python/boto3/boto3-1.28.48.ebuild new file mode 100644 index 000000000000..e654679ffe12 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.48.ebuild @@ -0,0 +1,68 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 4c9bb02b9bfc..1fcbb99f2d8a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,3 +10,4 @@ DIST botocore-1.31.44.gh.tar.gz 11937780 BLAKE2B 38660a6025cef328a4df7e3f0170a79 DIST botocore-1.31.45.gh.tar.gz 11938951 BLAKE2B 842d76cfea05de7515d6dfe8c977c8981924e400ebf518d5ed139c2c12b517b7136811a50e4bf768fb45d2d18e782e82d9482566d9e90a06cf0e76485fa931a3 SHA512 8ad8de83dbe5aa1b90da0627b25022e80df9b4d759050c5baf72b1cc8f29a8df260017e943c7f4b9b9b5b4b112c4acb15a8998531a48777de926dee54af82424 DIST botocore-1.31.46.gh.tar.gz 11938173 BLAKE2B 99c9b49b8403d005f0153f1bf89f6da8708b9c39c7ac4d8b00bae181ae1663cda95470ff804e38b582f4a07047a21167475aa75247b4003e8bbca887dadde944 SHA512 51a7d1df2c7c2e7098dbca05e602af0975988fe8ee4c608235608b27a338e016b16b1cf6605a74ebe52e77b335333d06a3c9b4338c2843dca19dec1c64c1407e DIST botocore-1.31.47.gh.tar.gz 11942023 BLAKE2B 94bdc5b5ca5e5749d40996c7396f1bd4236eeeefeee98b3fef6b452cb0d4c5886b0028f165175a70d7794328113f13ab7449c71b8c375a995f0d1d4b629c807a SHA512 788af17274fca19028eaa61ebc72f17cb40b95d1b354ee88fe063ece5eeff3b3f6f3aacea462c4dd065bcd8f3ddd577d6180c8d3f5d0c8c589dd8d31d60aba94 +DIST botocore-1.31.48.gh.tar.gz 11946450 BLAKE2B 5393125dcc346182ea81ebebeb181cc7aad8e64e4ca5d93e23e9fe98d12dd2d175b8ff659864574d6dea15e5248dbbaf7a247f8261e74a9cea48a73e3e6b87f4 SHA512 51e13e1bd2962e4ed1c2dff97e9ead583e78bc3cb43cecc92b79299b3da9f449d244d0218e94506ae2c59ba4be49db21c03af6f6fc1451340f4d7fb2d6c082f3 diff --git a/dev-python/botocore/botocore-1.31.48.ebuild b/dev-python/botocore/botocore-1.31.48.ebuild new file mode 100644 index 000000000000..10b7950a4ee2 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.48.ebuild @@ -0,0 +1,68 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/frozenlist/frozenlist-1.4.0.ebuild b/dev-python/frozenlist/frozenlist-1.4.0.ebuild index d1d99a5a7583..8ef712c886d7 100644 --- a/dev-python/frozenlist/frozenlist-1.4.0.ebuild +++ b/dev-python/frozenlist/frozenlist-1.4.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 8a3547f69d60..8268aa4b79aa 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -2,3 +2,4 @@ DIST jupyterlab-3.6.3.tar.gz 16847186 BLAKE2B 6916722469ab100a1a240b8a565c9800f3 DIST jupyterlab-4.0.3.tar.gz 18222352 BLAKE2B 7dee4109e94173d35794c2b3a05de5cbab145fc031b22628ca4b5c1d97497658807b0a9b713d58a7aae3a38a64a37e04e535988d727cab6ba3c3aebe2ff6c0a2 SHA512 cb7694c1398cbf1b061d385518d08d5ff4411bc7f53828d99edd3cf8420d39c09d99e1ee061d60a86d83e640c37777bfd4f98ce71276366f291f784f23740d4d DIST jupyterlab-4.0.4.tar.gz 18223782 BLAKE2B 8f2b157d27c68fba62fcfdeeb055b0c9b646987d2f31447b87720110ec2331ddad90c0288ad7554faa26674bf810d92d99f1924e2d34f81d2303a4ab6b213cd9 SHA512 23479cee2405ddc42a11c477cb93fad6cb5481a70766d48c1f7f1e498481c36a0dca47c5523ff3fc97aacfd86a37debd53cc3570e3e0916cc0a6cb526d99a574 DIST jupyterlab-4.0.5.tar.gz 18235811 BLAKE2B c1847bc3b9cb420d987c1ffd6d00951946c7312dbc94f49e3a4fadc85f4059c6d76294e78be4a629a4d2565bac5b569d957521aa26b4bd2365528cae7548b074 SHA512 befb13b653037511651387e339b8e41c17989c146080ad41c68b60f415a4c3c539d666719ba3256b341998fa13fe414c28c78159429d26f7000d0e01bba41ecc +DIST jupyterlab-4.0.6.tar.gz 18236816 BLAKE2B e39e7cb6fbdecfee0b5e592091f989fe94907369d057457130f8bc2f391ca4c83cc09542bc9da766413821eb4c4e9eaaca3adfeccf26b0b2f61ab5e65dac9e45 SHA512 fc4acde65f2bb24adbf95e5cde17e0225390a0c8aca10e04b7c9cf5b2bcebe529608b53ce259f081508b86216b94c71fb260c857b9fe3a2bef16cb4e7af3dcda diff --git a/dev-python/jupyterlab/jupyterlab-4.0.6.ebuild b/dev-python/jupyterlab/jupyterlab-4.0.6.ebuild new file mode 100644 index 000000000000..50bbfa7df101 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.0.6.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/async-lru[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index ddb5b0f1787e..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>cyber+gentoo@sysrq.in</email> - <name>Anna</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-engineio/python-engineio-4.7.1.ebuild b/dev-python/python-engineio/python-engineio-4.7.1.ebuild index d92fbba27b11..03d25ae06ff5 100644 --- a/dev-python/python-engineio/python-engineio-4.7.1.ebuild +++ b/dev-python/python-engineio/python-engineio-4.7.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/aiohttp[${PYTHON_USEDEP}] diff --git a/dev-python/python-keystoneclient/Manifest b/dev-python/python-keystoneclient/Manifest index 0b87e5ed851f..4ae7b261f294 100644 --- a/dev-python/python-keystoneclient/Manifest +++ b/dev-python/python-keystoneclient/Manifest @@ -1 +1,2 @@ DIST python-keystoneclient-5.1.0.tar.gz 325232 BLAKE2B 18d901b0d249574224dc2e398266a3fca60baff12b076c3dae8a73da1698c8ae13d0f6cf6ab8b1f1a8a3ed657e1ce1fec71f50d49b04769c3c65379ae3d1ea09 SHA512 6589109b7c79f40af75ee8bfd438dc16ed8a097ba51a95ffbcb4f84377d7681f5f26568e99c5fea0c34710fb4f33f3e47355f5ec9bc4e5e1f8bf1740188d7ae6 +DIST python-keystoneclient-5.2.0.tar.gz 324652 BLAKE2B 2279e4d094faefc17b70211dc65083a4b726dd178d655d2efb55c9ae6f4d0837051d563e96b7ecca553c2f855de7affc20e11dcff615fdb2fb755fdd6e508f3c SHA512 2cb7137d88b090e3054448b3134084964597b77f013e75b3665bf80438b6f900630407b8dbd992ae39a877b2546bb61e6ffa665690cc7ed79aa453ee459c909e diff --git a/dev-python/python-keystoneclient/python-keystoneclient-5.2.0.ebuild b/dev-python/python-keystoneclient/python-keystoneclient-5.2.0.ebuild new file mode 100644 index 000000000000..595342b02fab --- /dev/null +++ b/dev-python/python-keystoneclient/python-keystoneclient-5.2.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1, +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Client Library for OpenStack Identity" +HOMEPAGE=" + https://opendev.org/openstack/python-keystoneclient/ + https://github.com/openstack/python-keystoneclient/ + https://pypi.org/project/python-keystoneclient/ +" + +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/keystoneauth1-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/simple-websocket/simple-websocket-0.10.1.ebuild b/dev-python/simple-websocket/simple-websocket-0.10.1.ebuild index 4b29d5a7f1ad..6c8be257c49a 100644 --- a/dev-python/simple-websocket/simple-websocket-0.10.1.ebuild +++ b/dev-python/simple-websocket/simple-websocket-0.10.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND=" dev-python/wsproto[${PYTHON_USEDEP}] diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index b70b2188b7fb..09fc4500a2f5 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -4,3 +4,4 @@ DIST stripe-6.1.0.tar.gz 263336 BLAKE2B 176903f3b6f4eabdcb3181272c96a66432f6569f DIST stripe-6.2.0.tar.gz 264754 BLAKE2B be5d34887537154df852fd328e81949a0eb858e02236ecf5bcd33a43c0d1c7f1f71cbe67c89e4cb177e50fadd047a0a0c6945702993712f9212b46ea154a067a SHA512 e18fff6735f6c03d64a427232d3a67fff653d570a0413e03a3cb9c2e8dedeee88640197f8f8ad93cea76ace2c9fdee81b79d54cf48cf92a5f2a79b2e33160a7a DIST stripe-6.3.0.tar.gz 276422 BLAKE2B 2fa438593bdec94f5c8306ee180921c2920e8995036d3ec53794dcba89f4f97c257bfe13561d1fd993c49247d0423ca4d7f4e994c1b4b8386ebaddf47f9063de SHA512 900a85bd8a44404dcc8ed4e057db64087b7a6f05d8e01183c22fc5dd7da815298e23b386d2d41dee6ea3925e92653858cc945e163757870fe04c543def017424 DIST stripe-6.4.0.tar.gz 278866 BLAKE2B 62b8ae5202e7c4b866eddc7de7654fe94ae10187ef060b543c7c461cb273575e1b0bc499c27128dfdf18482e48a18f4a1b8eebd261e3c8bf1e520635efb34a25 SHA512 29f5efd6ea94b73db3fab85a40e2d033b571410c657d0e7af6d1c4d24c4c703eb196806ea58d6563fc5ee4fc2fa3e7fa7b77a0fcb6377ea71d4a7aed0b8e081f +DIST stripe-6.5.0.tar.gz 290534 BLAKE2B 40672358ae9b962f14cb3dad669e7857bf52981b1801325f92193b2cd42e42a7ad14dcd25272ec36589c103c28b10c8eaae0fe6175eb10b00a6a0f278dee5312 SHA512 920bb7e0a0e1cbd4b5e085928f28c12ab793bfc1e1aa29aa58f4cbf11f1bfdfeadac84d2be1fc9e14e70ce9a2f9e4900112cf982b6bab220e1cc09569d7db2f4 diff --git a/dev-python/stripe/stripe-6.5.0.ebuild b/dev-python/stripe/stripe-6.5.0.ebuild new file mode 100644 index 000000000000..99aa62d0b0e6 --- /dev/null +++ b/dev-python/stripe/stripe-6.5.0.ebuild @@ -0,0 +1,72 @@ +# 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_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.175.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + epytest tests +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} |
