diff options
Diffstat (limited to 'dev-python')
21 files changed, 369 insertions, 64 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 534c32355c86..7f40fe2ee36f 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/Pyro4/Manifest b/dev-python/Pyro4/Manifest index 95c7d050f8bb..6d69b284e1a1 100644 --- a/dev-python/Pyro4/Manifest +++ b/dev-python/Pyro4/Manifest @@ -1,3 +1,3 @@ DIST Pyro4-4.82.tar.gz 516110 BLAKE2B ecd7b5cf1469896acfec1db92d99784aa316db5cadbb7fc595a5f9916ac705619d070771549fb8ba7379a7395e4449eabcfc84aa131d4b23b587b7467f4bf196 SHA512 f5916ce37ec52d8cd23bece79325480140621ac8412febb4877a32b1ce54502ef17d20bf591dc30eb20e9619741548b30a78165937d5e69e8d1911d95a23b1e1 -EBUILD Pyro4-4.82.ebuild 1251 BLAKE2B 7e14e212a8350b04f35174e1c7e9b8d3852c8462b0e306a88777b6e0f82306504ecf26f06173ad06a6c0b41838476e819c860e6528bb21b6c59ae11a51ef3754 SHA512 11e1063dcd0a51ffd52a809e459749bd404e7fd6278e805818c109a6e55495aa461b80fdc6099288bab79e679b6dc8c1a48dac9aa72526c3e3d43c2c20ee6ac6 +EBUILD Pyro4-4.82-r1.ebuild 1573 BLAKE2B ffd1493b5c4926a09413082af300688ee93a0797dabb119f28b7141d39d154260f0f2b54cc55fc20f3a15b54b3a0bc90c0d5afbb37cea3d69bd8afa8bbaed475 SHA512 7bc74b4a27c8d25178cec6bf2e3a36d252b33a97e285f92959ed2416727c56bf3cf800b44c5818ffda5fec6cc2e5430e02aba0fbe46815122ad92533576ecdf1 MISC metadata.xml 384 BLAKE2B e0dcf58b7db6287f6912e1ce549f52fb269eeac53def37ff75b8c30957c02eaef506a44bc15c3fdfdf01c2607e803b8706cc3be6b50585383f30edcd8c3cebf6 SHA512 9f4ed623a9e07d84fd61b3eccf65d80c883265b3de24d79b888c5d880498325dd268e4e5390f60ed67b19101e072276b1d7eb80724bf7a0cd6713fc20d374e33 diff --git a/dev-python/Pyro4/Pyro4-4.82-r1.ebuild b/dev-python/Pyro4/Pyro4-4.82-r1.ebuild new file mode 100644 index 000000000000..8f0ca7c2f4dd --- /dev/null +++ b/dev-python/Pyro4/Pyro4-4.82-r1.ebuild @@ -0,0 +1,60 @@ +# 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_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Distributed object middleware for Python (RPC)" +HOMEPAGE=" + https://github.com/irmen/Pyro4/ + https://pypi.org/project/Pyro4/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 ppc x86" +IUSE="doc examples" + +RDEPEND=" + >=dev-python/serpent-1.27[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + >=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}] + >=dev-python/dill-0.2.6[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # network + tests/PyroTests/test_naming.py + tests/PyroTests/test_naming2.py::OfflineNameServerTests::testStartNSfunc + tests/PyroTests/test_naming2.py::OfflineNameServerTestsDbmStorage::testStartNSfunc + tests/PyroTests/test_naming2.py::OfflineNameServerTestsSqlStorage::testStartNSfunc + tests/PyroTests/test_serialize.py::SerializeTests_dill::testSerCoreOffline + tests/PyroTests/test_serialize.py::SerializeTests_dill::testSerializeDumpsAndDumpsCall + tests/PyroTests/test_socket.py::TestSocketutil::testBroadcast + tests/PyroTests/test_socket.py::TestSocketutil::testGetIP + ) + + cd tests/PyroTests || die + epytest +} + +python_install_all() { + use doc && HTML_DOCS=( docs/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/Pyro4/Pyro4-4.82.ebuild b/dev-python/Pyro4/Pyro4-4.82.ebuild deleted file mode 100644 index ee8e259935ab..000000000000 --- a/dev-python/Pyro4/Pyro4-4.82.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -DESCRIPTION="Distributed object middleware for Python (RPC)" -HOMEPAGE="https://pypi.org/project/Pyro4/ - https://github.com/irmen/Pyro4" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/serpent-1.27[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - >=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}] - >=dev-python/dill-0.2.6[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] - )" - -python_prepare_all() { - # Disable tests requiring network connection. - rm tests/PyroTests/test_naming.py || die - sed \ - -e "s/testStartNSfunc/_&/" \ - -i tests/PyroTests/test_naming2.py || die - - sed \ - -e "s/testBroadcast/_&/" \ - -e "s/testGetIP/_&/" \ - -i tests/PyroTests/test_socket.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} - -python_install_all() { - use doc && HTML_DOCS=( docs/. ) - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 88807e420a1d..5425df380624 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -7,5 +7,5 @@ EBUILD cfn-lint-0.64.1.ebuild 1638 BLAKE2B aac7fa1a1a77be545e0198503a3557beff145 EBUILD cfn-lint-0.65.1.ebuild 1640 BLAKE2B 02c81bbb43b8d2d2f9c56982e3b8ca13f7eb0c7e94eb7565a93c78df387ab1d2a9980f52d8a2f8f843fc816dbdf92f855eed49ec7b82620f6f1f1f722f015032 SHA512 e0a42d3d67973996bda7a3f283c93479be102a8c05097a4cb03d3b91ccb9fb9f446dcc4e1fca7752ad9f3b63f546f871f1f6d99d903ee186faf97fbcfa5dbe77 EBUILD cfn-lint-0.66.0.ebuild 1640 BLAKE2B 02c81bbb43b8d2d2f9c56982e3b8ca13f7eb0c7e94eb7565a93c78df387ab1d2a9980f52d8a2f8f843fc816dbdf92f855eed49ec7b82620f6f1f1f722f015032 SHA512 e0a42d3d67973996bda7a3f283c93479be102a8c05097a4cb03d3b91ccb9fb9f446dcc4e1fca7752ad9f3b63f546f871f1f6d99d903ee186faf97fbcfa5dbe77 EBUILD cfn-lint-0.66.1.ebuild 1640 BLAKE2B 02c81bbb43b8d2d2f9c56982e3b8ca13f7eb0c7e94eb7565a93c78df387ab1d2a9980f52d8a2f8f843fc816dbdf92f855eed49ec7b82620f6f1f1f722f015032 SHA512 e0a42d3d67973996bda7a3f283c93479be102a8c05097a4cb03d3b91ccb9fb9f446dcc4e1fca7752ad9f3b63f546f871f1f6d99d903ee186faf97fbcfa5dbe77 -EBUILD cfn-lint-0.67.0.ebuild 1640 BLAKE2B 5e0449cce5bffb1d5f39957db46b0170b30f03dbd2bf5eed6c059ba526a76f7116cc232d8f2f35591e46352c7960e6c9ffa2a7413c69dcae0ad708890fc91dc8 SHA512 e253fd806d0aebbe84eb46f30b98eb432034da84a84712a06bd3696ceb55865009fe7b7cb41d8f575fd66e7a81fc15281c36a29e6bd69c2780d5b94358545312 +EBUILD cfn-lint-0.67.0.ebuild 1640 BLAKE2B 63dd864e85c9b5285085148ae9333b7f37fbfd315781d2c29c76fc44c31d8224bcf28d82f5ade7624d03edadbd98a10bbdfe9712b0893535e21f64258a5488c7 SHA512 0e7c486093354f630615e4cba7d3248f68f67c296ad24e87b607450cfb8b2467748a707fef6c1d8938b53daa95f196efc92f59561ff4c8526b9a3378aaf9bd6e MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild index 16f67b3a7ada..86e3c9ea0c3d 100644 --- a/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.67.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 3df4e298f859..ae36b89f7288 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -2,7 +2,7 @@ DIST dask-2022.10.0.gh.tar.gz 8778168 BLAKE2B d352f574cbf478747a95896c8b074c40c9 DIST dask-2022.9.0.gh.tar.gz 8762083 BLAKE2B 60c7a37124b61b49fc06a754b5842695fd63d234e087ec44a40793aeb330034e0d5e3caaedd239fd498a9b01c2bc450f62cdc22848bfd654bfdab6a07d9be7de SHA512 a88f71b9e8cdc69ce3a4babbc2434f830110df284d56eec37cadb6b81add3cd5f2e751ea5e9b390d112d16ee0952c296368851889fec202e3601c2fcf8f52a97 DIST dask-2022.9.1.gh.tar.gz 8766675 BLAKE2B da4735dd860b96d691bbe3782ce04fb4e53a265984dc52593ecd1cbd1a1e536ad2677998e01bcfa99d783255ce053a44c4ed4cb0ce83128520755c20530bca3f SHA512 944d333bbe2f946b85173d289e287737816359a959b61d9bf2b9ef0f75173482a2912355fd71f8a8aa29e58f5b66a91909dc53c1cd269ab2bc569bad62a67f6c DIST dask-2022.9.2.gh.tar.gz 8767605 BLAKE2B ad0d9b7f849f984316768f1d1983e13177c3263b6803ce6d861b15b8d88c21c7dce4dae917ca28f8688797573503c6fd518816ca7d993d67c56172ef2adc73ec SHA512 467411933432821413f8440e6434b18c2bf76c616a92ec990bc71c141ea2cab235c1330e888ed77f429b6d00d588042928cd3b06d9b693d51302cf8c114700dd -EBUILD dask-2022.10.0.ebuild 1780 BLAKE2B 0af473bd7b44c26022591b631cae4f656a861b33cd415b78336658692d589712373058e7e82bf288959df7819ade2b941af7c84bdea97bf40ba20489e4fd78f6 SHA512 de374eabcd08502dde1c0a39819e21cac7903756bfcaff74d83cc75be2341c2e67359f25ad2d255978a3dc71e8fcc519a762c519c6051d6a942343abd7505aab +EBUILD dask-2022.10.0.ebuild 1780 BLAKE2B 24148b6128c95f1b700b3a5f1d53cf1e05147bc234a7092d8d64991c99af531e18664e413d4c35124f6062a25f32da5112846297650c54d719f48a5aa7cd3761 SHA512 559f6e575414a68c1e2db39a355120abd40d60d17ac9bda60919d508e0414776c5a0abeea2e70adf6f19a6039edf101dd20cbccd9079b18cc2b7dcef9f6ad767 EBUILD dask-2022.9.0.ebuild 1779 BLAKE2B 4dea87e8411ff0ecb0aa0f647a0ca84f6b95f3289be3e9cf232bb66108bc1ecfbda8327960712df44cbdf1dcc6713c1a11cc3294ac6d8df7a700de5c058d9fd7 SHA512 4de6ded112a26208ef4c4ac039a2aa55464a47431d48b040c198e0e3fba3dc167af2a8786220cc8b1744ee2ffcaa0869eba90c187f1c481aa89e2fc5604f2f84 EBUILD dask-2022.9.1.ebuild 1780 BLAKE2B 0af473bd7b44c26022591b631cae4f656a861b33cd415b78336658692d589712373058e7e82bf288959df7819ade2b941af7c84bdea97bf40ba20489e4fd78f6 SHA512 de374eabcd08502dde1c0a39819e21cac7903756bfcaff74d83cc75be2341c2e67359f25ad2d255978a3dc71e8fcc519a762c519c6051d6a942343abd7505aab EBUILD dask-2022.9.2.ebuild 1780 BLAKE2B 0af473bd7b44c26022591b631cae4f656a861b33cd415b78336658692d589712373058e7e82bf288959df7819ade2b941af7c84bdea97bf40ba20489e4fd78f6 SHA512 de374eabcd08502dde1c0a39819e21cac7903756bfcaff74d83cc75be2341c2e67359f25ad2d255978a3dc71e8fcc519a762c519c6051d6a942343abd7505aab diff --git a/dev-python/dask/dask-2022.10.0.ebuild b/dev-python/dask/dask-2022.10.0.ebuild index 6ad6f0bd45e1..8f2f893b8e30 100644 --- a/dev-python/dask/dask-2022.10.0.ebuild +++ b/dev-python/dask/dask-2022.10.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 diff --git a/dev-python/jschema_to_python/Manifest b/dev-python/jschema_to_python/Manifest index b51b43fff6b2..fb44d1352de3 100644 --- a/dev-python/jschema_to_python/Manifest +++ b/dev-python/jschema_to_python/Manifest @@ -1,3 +1,4 @@ DIST jschema_to_python-1.2.3.tar.gz 10061 BLAKE2B e6d16ce5950cf787bc2073c5470c304f8d10bf97fdcc53f4ec2dd00f7cc5d6ec1308ef0813ef3eaf5b98a5cd018b43f3ca30abba441c5b1cb9a02783aa596f22 SHA512 e7e37612573e2f5cf96df6fe7206ecf31c83993e40877b0587df2a42ef2f2ae192e4f8442d40cdfb728c27fca880ae5bb427935fa7b0bbd9fadbb9a643c3c1f0 +EBUILD jschema_to_python-1.2.3-r1.ebuild 703 BLAKE2B 4640c10e94b0c055f2e513b967faf608cc018558288717718aed07cded500b2c0064d524f5469bb6745b71e3e5c1ae31aeda210f802f7f40ba9ac9efae03b19f SHA512 5e505cf993b2048bd28c4b8af6ead3140076eaf6f12c08bf33f2785d26439c1164e65a934165e18bd4bb2bcfde1ee73a5c71017d954e634e17bc3efb7945da52 EBUILD jschema_to_python-1.2.3.ebuild 669 BLAKE2B 0c01331254b21c9707d45bcb1bd16b36d21ddaf36c6f7b875b9773135cfca978457bc5469b98ea7a35b88555e5bed466415ea97b23a63f41c4f460de5bb7e007 SHA512 b76ba542f301b09986ad78aaa14347f6a308ee128e764dab1720ccc263367aace1448d3e0297144088f3a328bd08b0dc0ba02b27c26ae6fad56af1748a047e35 MISC metadata.xml 390 BLAKE2B a58571973b73ec3b26585f7c5cb74b154641c233c69c98994f2681b095201b65720db0a261239997ed820a0a2320c541ef4afadf37ea37cb29eb1f201c7a4973 SHA512 8daf722689f93c63525df31433a257bf2cd6b0be36e15ecf2fe71aadbbdf1d772b1be7f96b6c9d03f1db8d035c514a99ec7ed4e3e1790216b6b7755d991883c9 diff --git a/dev-python/jschema_to_python/jschema_to_python-1.2.3-r1.ebuild b/dev-python/jschema_to_python/jschema_to_python-1.2.3-r1.ebuild new file mode 100644 index 000000000000..d55e8935b7b8 --- /dev/null +++ b/dev-python/jschema_to_python/jschema_to_python-1.2.3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Generate source code for Python classes from a JSON schema" +HOMEPAGE=" + https://pypi.org/project/jschema-to-python/ + https://github.com/microsoft/jschema-to-python/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/jsonpickle[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/jsondiff/Manifest b/dev-python/jsondiff/Manifest index 1d2b12d0899b..a6b959642976 100644 --- a/dev-python/jsondiff/Manifest +++ b/dev-python/jsondiff/Manifest @@ -1,3 +1,5 @@ +DIST jsondiff-2.0.0-nose2pytest.diff 11525 BLAKE2B e1e9f6996448c5f8454a74dbe5782684d68cbb00eae1793fd010bccd80b682e6f3869082df9546603ce87bee82a99148a948db675b1da8f2815e5290eb632763 SHA512 791e4f8473459e374892067cf90099df23d981857b81cc164e2d0c35c51cbbede160de1b46474b6cb817b8811e2481172807eff31847a7847fc847948cf402f7 DIST jsondiff-2.0.0.gh.tar.gz 15405 BLAKE2B d69e5a9316e8ce32c6fd3e62162b609a471ff57bacb77f47a192b85352e77135a37c964d0ade5df4b4e37fe7d996eab13649dd4c6a3bc3fc0479294f840c82f9 SHA512 ca266040294c064b499763174613628125a9d426f37eddb8f63806d5774ce8828d514ca30ea4b42f6e2529aa34344c601ece05b6c1b42dcedd71c7b62ed0afba +EBUILD jsondiff-2.0.0-r1.ebuild 892 BLAKE2B 5f29e3b9ae618379c327678cfab3b74933ffa364884168d9d47c99a038240225a69d8e4a899a8a19e5a7347b3565bfe136c8714836548f78f71dc35ce71ff539 SHA512 a32091ae06d24364a083f9d697509a1e02ffd2704422f019dbba5a4e7adabba0bd87bc77a5b08e8716ebcee734a8e924564eb09fffff7946a125b3a07433241b EBUILD jsondiff-2.0.0.ebuild 797 BLAKE2B 8c42986621fd214308b98d2a1b7fe19880a6c2eedc03843cd15c256c3ae69a31d0476a20f1d62f597e825404f139cc2e8455c1700ad6d4aa6e913d2368579f71 SHA512 6d4c2837390fd10e334d0b1fb80720c5412a13d0447447b56d29e359604a277c4e85f0b7ca223640dbc8c3e6207b0fa4a2707d3a99412ab4ffdbe38bedbb9ad6 MISC metadata.xml 561 BLAKE2B f11baa5f35a81e4fd69adde15b5a39d728e8137a112ef7c794e8d008d5de829ab5a333fcfdc2e1dd2156d91bb779db204a21c73eaad424e983c7865b33a81785 SHA512 238d5cedd70a0fd887f6007cbee0e11faf4b574b346fa91c66ee6d93e06571364fb80a0fbc13fe347f34e217e7589f5b61984c5ab0ead465d5e725d1792af4c5 diff --git a/dev-python/jsondiff/jsondiff-2.0.0-r1.ebuild b/dev-python/jsondiff/jsondiff-2.0.0-r1.ebuild new file mode 100644 index 000000000000..42734118dd78 --- /dev/null +++ b/dev-python/jsondiff/jsondiff-2.0.0-r1.ebuild @@ -0,0 +1,37 @@ +# 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_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Diff JSON and JSON-like structures in Python" +HOMEPAGE=" + https://github.com/xlwings/jsondiff/ + https://pypi.org/project/jsondiff/ +" +SRC_URI=" + https://github.com/xlwings/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + https://dev.gentoo.org/~andrewammerlaan/${P}-nose2pytest.diff +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +PATCHES=( + # https://github.com/xlwings/jsondiff/pull/51 + "${DISTDIR}/${P}-nose2pytest.diff" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # Avoid file collision with jsonpatch's jsondiff cli. + sed -e "/'jsondiff=jsondiff.cli/ d" -i setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index e2f525e22503..38d8118e2d19 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,3 +1,5 @@ +AUX jsonpickle-2.2.0-python3.11.patch 1832 BLAKE2B e21a31ea09dbcd3f6cf5ad4864f959f63d295215f1edf539181710877f6ff33a601c72bed832c58422eaeb96b8aa471479db8b61961cb3108b93306c2f0c416b SHA512 560f269a0e19a5e0881c8266fdacf7fb764eaa872c12740dc57d36240421e2aa645cac2d9b107f7dd62b870e1c6371defa3b37a0ec10353ddf53109d83031e89 DIST jsonpickle-2.2.0.tar.gz 189866 BLAKE2B d8fcd0e8b71947b734c59240d9fa4f0b35b9b0ac2e2940a9baf05c160771db0eae5f011b61e3b1c0bc746a740ac2e137a392931e270fea3acf4884578133283e SHA512 b6cb35316e32f38875cbfa3784a3930f669d4ea730ead6117242070590647987383e9f933c193b8c246c40dba87ad56600a65db89c45c18a790b3c1f9232b245 +EBUILD jsonpickle-2.2.0-r1.ebuild 1598 BLAKE2B 4b8a089d087f03dda6431ada4bafe89116713b25902574e22c051e5c759373edd68dd2c17b0165218d30ef5fcaf87ff718c18d81d10bd6fc5d03fb1d838ad639 SHA512 256711211274f77c6fa7e6da7194aebbfdb01f4a4f911b04cf6256139752bd8dbb5f3abbc4a82ccb29b2e26b526aa9d17f26870fd90b99154791a7246f686a89 EBUILD jsonpickle-2.2.0.ebuild 1493 BLAKE2B 828d3d7f8e8861bedbf785cac825d94adab19c9d90dbda5c3bbc9b97bfa2280ea9bc9e4892eb7471afad82cb8361560f6c728fe5b44dfcb4586ce9e919c48385 SHA512 18b35ac73f991cc1afc018863037f998575ae08e1cffe720ab225cdc0c7e7c0baee610038b1d497c89cdf07f2d681b2d005916e2cb00c9518981871e20159a67 MISC metadata.xml 412 BLAKE2B a7e746abd8b45415ecdbccbde1b65ba9f1fa9fe7ce353411681c2a3de046878e990aad20849ee561a56ad3208bd5071d7b5e5b3c767fd71b7c44d2e8412d349b SHA512 dc52df78fdfe9024e695aae3d2bf22bed7162e1f2a528a288056b68022ebbc400b0a3a2f3e9c2155ee57e66d77a4f7a3f6f67188fb13ee15f200212ac6809a31 diff --git a/dev-python/jsonpickle/files/jsonpickle-2.2.0-python3.11.patch b/dev-python/jsonpickle/files/jsonpickle-2.2.0-python3.11.patch new file mode 100644 index 000000000000..10c266a2a696 --- /dev/null +++ b/dev-python/jsonpickle/files/jsonpickle-2.2.0-python3.11.patch @@ -0,0 +1,46 @@ +diff --git a/jsonpickle/pickler.py b/jsonpickle/pickler.py +index 3d391cb..2103e46 100644 +--- a/jsonpickle/pickler.py ++++ b/jsonpickle/pickler.py +@@ -476,8 +476,12 @@ def _flatten_obj_instance(self, obj): + + # Support objects with __getstate__(); this ensures that + # both __setstate__() and __getstate__() are implemented +- has_getstate = hasattr(obj, '__getstate__') ++ has_own_getstate = ( ++ hasattr(type(obj), '__getstate__') ++ and type(obj).__getstate__ is not getattr(object, '__getstate__', None) ++ ) + # not using has_method since __getstate__() is handled separately below ++ # Note: on Python 3.11+, all objects have __getstate__. + + if has_class: + cls = obj.__class__ +@@ -549,7 +553,7 @@ def _flatten_obj_instance(self, obj): + # check that getstate/setstate is sane + if not ( + state +- and hasattr(obj, '__getstate__') ++ and has_own_getstate + and not hasattr(obj, '__setstate__') + and not isinstance(obj, dict) + ): +@@ -581,7 +585,7 @@ def _flatten_obj_instance(self, obj): + if has_getinitargs: + data[tags.INITARGS] = self._flatten(obj.__getinitargs__()) + +- if has_getstate: ++ if has_own_getstate: + try: + state = obj.__getstate__() + except TypeError: +@@ -590,7 +594,8 @@ def _flatten_obj_instance(self, obj): + self._pickle_warning(obj) + return None + else: +- return self._getstate(state, data) ++ if state: ++ return self._getstate(state, data) + + if util.is_module(obj): + if self.unpicklable: diff --git a/dev-python/jsonpickle/jsonpickle-2.2.0-r1.ebuild b/dev-python/jsonpickle/jsonpickle-2.2.0-r1.ebuild new file mode 100644 index 000000000000..5d7a8f7f0267 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-2.2.0-r1.ebuild @@ -0,0 +1,63 @@ +# 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_{8..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/jsonpickle/jsonpickle/pull/396 + "${FILESDIR}/${P}-python3.11.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e 's:--flake8 --cov::' pytest.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + # broken when gmpy is installed + # https://github.com/jsonpickle/jsonpickle/issues/328 + # https://github.com/jsonpickle/jsonpickle/issues/316 + tests/ecdsa_test.py + ) + epytest +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 8385fcbcda92..276c75bf42d7 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -3,5 +3,6 @@ DIST moto-4.0.6.tar.gz 2465655 BLAKE2B e9ab47e910baf2b704c87a0d4583bdf02f2e4a1a2 DIST moto-4.0.7.tar.gz 2478859 BLAKE2B ba3df603fd1ea9e944037bc8abe3d9343fab483efe4446045cf81e16d9918e5291e4470e2b6d51faa99c64a581c2a7890eb9a558fd9b4e431b70b5c71393d2a2 SHA512 b0119cfa480d735ac255125c058c1026e0b32690fcedf64889845452bfc9e92dd2f64e3c413bdce24dd43a205b88a9df03896afe96149146a8690b7d6bb4437f EBUILD moto-4.0.0.ebuild 4096 BLAKE2B 60d3dbe15f9c40b8cfa64fdccd57d1d24152a152449c24e0f5e5bd967471c0e1a181ef3d921ef04c299b2ea9dc13fddfe76c861b0f56f2522e64975850eac786 SHA512 a19ca0cf5b9b0db8a36705a39d84e8a67cc4e9153be8b4f5157736039457803ba51dbebbeca84c24e200c70584905118abce400c8211709bc08ae7e902bef432 EBUILD moto-4.0.6.ebuild 4098 BLAKE2B 524e4925bec974fa3e5c31cfaadbdd7acb0f3638bf4198c48dba3e48f0f8d1185ba4652de7b1f24957ab1a57f61ce3e533af51ee3091b2652fec9ece03a8bf44 SHA512 c28daf0e0919d4b0bdf353d10275385ddd2e3bcf98bf241a33973d31010856b2a2a1437fccdf2cb70381ce8cc4412650b415feb37cdb4d28b6f0cbc8e32e8b8d +EBUILD moto-4.0.7-r1.ebuild 4170 BLAKE2B 40f9e16c72e4d0e9f85f77a638010028bf8037ac5b35d936860a02b12975088991bfbe46a5ced21416001765594669e688c8d43fe5a1c1c146d2b34b82b8e774 SHA512 0e4a3523bd9c58bf304b847a31b637f53de466850e921513ca70eb2772fa26abf1132db4ff5b88c7fc557c9947dda3e54cb2d5d58a9d96678ec5860809641bc8 EBUILD moto-4.0.7.ebuild 4098 BLAKE2B 524e4925bec974fa3e5c31cfaadbdd7acb0f3638bf4198c48dba3e48f0f8d1185ba4652de7b1f24957ab1a57f61ce3e533af51ee3091b2652fec9ece03a8bf44 SHA512 c28daf0e0919d4b0bdf353d10275385ddd2e3bcf98bf241a33973d31010856b2a2a1437fccdf2cb70381ce8cc4412650b415feb37cdb4d28b6f0cbc8e32e8b8d MISC metadata.xml 552 BLAKE2B c0162cc80007c1fda211c105b3e7391e3596ef11deb9257bab489f4b112f79ed115ca3f250bdf1b87aee0af258aa59056c8d062acebca7dec631acf3ec9eb2bb SHA512 3f7b3c5709bca51588e58f9eeb9bb363e2657a7e6483519ec7782eb047a5311d434e2459ccd3b495340f85f72a92da2f7cc6eb3de617e979bade7b8fc7b3c01d diff --git a/dev-python/moto/moto-4.0.7-r1.ebuild b/dev-python/moto/moto-4.0.7-r1.ebuild new file mode 100644 index 000000000000..6249184fce6a --- /dev/null +++ b/dev-python/moto/moto-4.0.7-r1.ebuild @@ -0,0 +1,92 @@ +# 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_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + dev-python/cfn-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 + # broken code (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job + tests/test_batch/test_batch_jobs.py::test_cancel_running_job + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_container_overrides + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception + tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" + ) + + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' +} diff --git a/dev-python/sarif_om/Manifest b/dev-python/sarif_om/Manifest index 2df052dbd518..fb6b19869071 100644 --- a/dev-python/sarif_om/Manifest +++ b/dev-python/sarif_om/Manifest @@ -1,3 +1,4 @@ DIST sarif_om-1.0.4.tar.gz 28847 BLAKE2B 9e4df8bc9c025b0164b8442bca5bab95693fa63211384a2cbe04362e7ce531edc68e589349384710ba09f7584bbfaa7a85253a6f930ad24e8158bdf45ff476b2 SHA512 2261c2e4baba7f8621315a8e3e6933aa73bebce92eede570a22816ceca09bbfdeacae804e74de127443347c999fe9459cc5ae69c9e1570c79fafcd1c1b3c7f7c +EBUILD sarif_om-1.0.4-r1.ebuild 613 BLAKE2B a86d7b9c61d3dab9fb61b6a5e0e5ae5dcb189ae9569842e0f4a3d016991f4f8bb4ce171aecc95b4b4c1881227ead3f7d236c2d624c7ff39f329d02e3c8d8282b SHA512 222b267203988cee8dd1cd3f755fd4998f8f60871ea98600fe1e3db37abadae9c875040287cdfaecb12755efe0acc955923648dea9d2cb50244785572660c85b EBUILD sarif_om-1.0.4.ebuild 579 BLAKE2B 1cb8eb03de06f1f763be4102b3ebb707a1beb7f8488d841a577570080d0655b9039311ae2693620eeee4c715f3490674be7f55eb44d5962990a0d58ce86d782f SHA512 3d1a14f80258daea323b13fcd5cb17263b85c2f8a68eb0f1eea5f8eb5f50d61c361b8efe963660c2ae81b9c07210550c49b5d52c50128c518eb487c562f9bc03 MISC metadata.xml 379 BLAKE2B 608eba902cd65f774633e91a0151b3908b7e9ca204aebb8f9915be4d842d0fff99071367c47e2a1155dd7a9f8836653d7758c96fd4f3a4ac15f34cc6b8240e9d SHA512 1db280c1fb90e81adc5b4b790ae8691f14b59f420356d1e4732aa6f1f55bc84df6086c4dc94d7f9898c151142a93e4ab81d0d0d61c099a70c07a751108ab52cd diff --git a/dev-python/sarif_om/sarif_om-1.0.4-r1.ebuild b/dev-python/sarif_om/sarif_om-1.0.4-r1.ebuild new file mode 100644 index 000000000000..8a069f5c6a62 --- /dev/null +++ b/dev-python/sarif_om/sarif_om-1.0.4-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Classes implementing the SARIF 2.1.0 object model" +HOMEPAGE=" + https://pypi.org/project/sarif-om/ + https://github.com/microsoft/sarif-python-om/" +SRC_URI=" + mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}]" diff --git a/dev-python/serpent/Manifest b/dev-python/serpent/Manifest index 1ec975c3eac3..ca8247d43398 100644 --- a/dev-python/serpent/Manifest +++ b/dev-python/serpent/Manifest @@ -1,3 +1,3 @@ DIST serpent-1.41.tar.gz 88927 BLAKE2B 738c0e3ff3ff908514a54523aa41bcda3aa4426d0426037a0223ddb744995bf9175de96df2372506aaf45de664897e35cd7292b9aa58beab146f225ce02864f1 SHA512 cab6f9e36d2f777e58cd5f3d1dd6e11626e0f222ecb2adb8e5997338c76ed357c461dadd00010cfd43ffc6a0b1addd7de06d86b7a82ca796719e4bde2d9f4813 -EBUILD serpent-1.41.ebuild 638 BLAKE2B f04e6794993a34b68f6a50d35061ffe630ca31b7d654ae04bc31188ec4611da28bdc2a42f2cc9ac041aad9a1603dc76314165ddd162db7a7171dcba162b5be8a SHA512 35c3f52127d86d2b49c19123e13c66584fa5feefc2bf60092ff4f318eb51274bbbc9c3e63714b658f4db69393b9d81f3fa30649d32bb61987c770336911bda66 +EBUILD serpent-1.41.ebuild 643 BLAKE2B 9a5b3f1262681d9b06793686bad486a5ed4ca786daecffc7d31d07c2b51637e08e5c043c216ec4f151e66db3b864843735ddd17b7620eca0c0c5fc552ac593b3 SHA512 16a5865c2dc307463f6126773d09ba09939770cb193fd8ed7a3f64df7ea22d4fc2526e74a4eda7e14fe12c25de0aacc3846830edc71d74d72263a686d2bcd43f MISC metadata.xml 388 BLAKE2B 206deec11fe6808e269bee29bc9d3e6f6d60449643abfb03109fb35f6581aa7ead30339c7f8cecdcf89d98853fd4f10289969b19440caa39b398ef90fc71d61f SHA512 742d221049ba6feca1c30de79d67d13e3063a565d8819818d18fa778036d499dd61ef59763114c43adc523bcdaf3bd6b36ed59f5c8784562a02d2f303941f84c diff --git a/dev-python/serpent/serpent-1.41.ebuild b/dev-python/serpent/serpent-1.41.ebuild index 89b002d4440f..0f5f6caad7cd 100644 --- a/dev-python/serpent/serpent-1.41.ebuild +++ b/dev-python/serpent/serpent-1.41.ebuild @@ -4,12 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + inherit distutils-r1 DESCRIPTION="A simple serialization library based on ast.literal_eval" -HOMEPAGE="https://pypi.org/project/serpent/ - https://github.com/irmen/Serpent" +HOMEPAGE=" + https://github.com/irmen/Serpent/ + https://pypi.org/project/serpent/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" |