diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-27 06:07:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-27 06:07:33 +0000 |
| commit | b2ba880059c86056e84e77e4f84f2ecd120b0caf (patch) | |
| tree | 7a3121e87ff4748b8fc982aafdac4f53f8728cb0 /dev-python | |
| parent | 5fe8a7f2da6b6609438210908e64fd7501a576e0 (diff) | |
| download | baldeagleos-repo-b2ba880059c86056e84e77e4f84f2ecd120b0caf.tar.gz baldeagleos-repo-b2ba880059c86056e84e77e4f84f2ecd120b0caf.tar.xz baldeagleos-repo-b2ba880059c86056e84e77e4f84f2ecd120b0caf.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
32 files changed, 775 insertions, 93 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 6c94dafd6915..94a701cc7137 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-1.5.1.tar.gz 4167830 BLAKE2B 751784fac712149ccd180d391333d8431c6492f58a33296fc5f41c00d4908d65760216afefb626ac00b30a29c93acb767abe83a907756cbaa807706c0d9d2ef7 SHA512 ff02439556c193b2e40c6a7edfc42c9178fed4f04c4f1fe01a223f8b2243bc5f66784af5666887c9f07aafcc9428ae785a7174c4c88c73d7b62e56cf2aafde5e DIST Nuitka-1.5.3.tar.gz 4168230 BLAKE2B 668ba91a166504a6ed3b7b1b63cd836b7e344fc2fbcc35d4270bc797f18d5e391922a940326a24ae832b892914bf8d7b6c34a7b6f65a640600cb08a82ae40bcc SHA512 b2c478a950846e1492af07c64de835ad2fc56dc6a69ddb95402afcace2634ec5986422bc6af92cac1d833df278286f0b58918227b076fc17c32fc5d342efd7a7 +DIST Nuitka-1.5.4.tar.gz 4169252 BLAKE2B dfa4580219543ced211125b8af59175444b5f6aa1d0054f7fb91e2bb126d9cc30fcb266ef476fa77c7756bde865a22d7a5621fe2f12015d152d0aa8ea7823bd8 SHA512 3c53efebdbc12514e91c5eec2b3de44232e8f152ebc41dfa6f25127e7e59a9e9ec09f212761cd42a7e97249b8cd2cd04dfdb83d3f8906e4ae7e3840f754292fa diff --git a/dev-python/Nuitka/Nuitka-1.5.4.ebuild b/dev-python/Nuitka/Nuitka-1.5.4.ebuild new file mode 100644 index 000000000000..f1bec277226a --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.5.4.ebuild @@ -0,0 +1,54 @@ +# 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_{10..11} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 1c8fa16a0709..f010388537e4 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,2 +1,3 @@ DIST apsw-3.40.1.0.gh.tar.gz 423060 BLAKE2B 7ac1a587ab93b4cd6ae20a137f2f1a2e96039209f74c8aa626ea7bf219b1698403fe4c8365662e8b896a56024b45b36a80df5f506d6a813dea920add202479cd SHA512 243d47efc7407c4f3bad92d1bf4044fe4a53d913b86e1821c7d1c3711348bf25b2a339a68d18075f99c0899766085c2f2b93a303f8298c115463224ad46f99f1 DIST apsw-3.41.0.0.gh.tar.gz 837111 BLAKE2B f3374dae906148d7553c9c67c7e1f91acfc5124d525aa37728f81ce39c33368ae387a555dc2c50d2117a29e35c925a968968cdf22fd18477d00a877efcfef876 SHA512 f5ee663e15f54fc8f3d1fe6435be6470f9399271d2f746b8e624a98b1ae8b5fcaa0152ddae9e99d8ab2876388e42348f8e9ba8773f34e7042a72467d794c108b +DIST apsw-3.41.2.0.gh.tar.gz 871995 BLAKE2B 3d6959133cbfe8914eaadb46543a3a65db24b97aef362eb43e90448be34467a2a9e0f651ff67a9b0ce02df2c6eefa5b5e1c599547e72713e2ddbd1ec6c4f558b SHA512 292ea5a84f406fccb3ba5bf229a38d9c35a32f342b7e1065f08b2758c1d0d9b6517d37c32ce625f9e21cc55339eb2eea35da26a0f17d79a1fc58e1d6b08a8570 diff --git a/dev-python/apsw/apsw-3.41.2.0.ebuild b/dev-python/apsw/apsw-3.41.2.0.ebuild new file mode 100644 index 000000000000..ee9b2bcff92d --- /dev/null +++ b/dev-python/apsw/apsw-3.41.2.0.ebuild @@ -0,0 +1,50 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 41bf582c1b95..7245917d5741 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -5,3 +5,4 @@ DIST argcomplete-2.1.2.tar.gz 54114 BLAKE2B 19d29eb26c8d77998dcba51c263f49800ff9 DIST argcomplete-3.0.0.tar.gz 54666 BLAKE2B 98ea63847232e17a485f2a5484fc58d2154281046c190c98f542ee9c3e82ee13d4504056a8da29a093632693badb9a93067ad64b28ffa3d58d22de9c0a99f21a SHA512 ecb88f6487fe6b4e7ecd8b504496bd2e4ffb4ca9dc0e27557d6db49b5b07610f6a8560e15cb5a5ad49af71e5b6c1d825a2e8a72731b2c39ba3907c2a9fe0a14f DIST argcomplete-3.0.3.tar.gz 54772 BLAKE2B 59ad1fc393f37875c152e7bda958cf185bb4d5cf6b331d4c2847f09a040365449906bdce3eb6bd251d569e3fa50bafbdb2f328c0bcc7f2b7dc2608c562b694d0 SHA512 413407d6f54708d6321b6ab67bab5755084846588aa4fceabe35ea4de95d652887847c6df4739da51ae89aeadac90e0f6cb0e1d92237267fa92502e2c8c27070 DIST argcomplete-3.0.4.tar.gz 55160 BLAKE2B bb4453d9cfc5a82d77d96068845c4aaa187fd9fef4751d1f115700e496eb97d74fc1c677d0fccfa14ce4ae3dbd205ea68a684d98e88be3731712efe73a5db858 SHA512 0c38f7b2a26045717e1ee52d812d8b9d0688e484201b100b4ad1b7a881e0ef61b793f979d620edcc0a79f512a8e87dbc81b84d17a7857d43192fdd3adc1c6733 +DIST argcomplete-3.0.5.tar.gz 65470 BLAKE2B ca9208edf7688aa7ff9a224befa2a84d2c9b6bdf4077a805efb107f256f98f0477c2c900dfb3c3bee3c08973aab8777cf6b01ab1a4698347e3ac457f131df0a0 SHA512 7ee0e8b961e4e9ba76194587da481908ac064306f1cd4fc0886d6facb4f2dab409dd1080ab440be761caebe358139cc8bc67fb720dd1d8e3f6105595dc8a5858 diff --git a/dev-python/argcomplete/argcomplete-3.0.5.ebuild b/dev-python/argcomplete/argcomplete-3.0.5.ebuild new file mode 100644 index 000000000000..67eef1a1c772 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.0.5.ebuild @@ -0,0 +1,40 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +BDEPEND=" + test? ( + app-shells/fish + app-shells/tcsh + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + ) +" + +src_prepare() { + sed -i -e 's:timeout=5:timeout=30:' test/test.py || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 05dfbca39cc5..de7c914342e6 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -3,3 +3,4 @@ DIST astroid-2.13.5.gh.tar.gz 451241 BLAKE2B 6994c9a62911ab347be4de17b9322ca9957 DIST astroid-2.14.1.gh.tar.gz 452889 BLAKE2B f6cee61825d2c86bbf02ba6cc9f48076692d3d71ac2c8a02880a778380b076692aef549ab01829d943323b5829b83ee88009b5136b308da6f81a824fa1f62047 SHA512 47dd132e66645c3da639c68011f4691409af38affa80c5b1863706a864fb8458cdfd100f86929fdaac027a514d285132d8865d2d40996c583077384696a84123 DIST astroid-2.14.2.gh.tar.gz 453109 BLAKE2B cb4b0795bde841e98712a719ba0870a3f0c616fc777cb3afc1ebbb0f5e49b763241825072d7915df87e778649a5632fec8f48e125cfa67de0b70618e34509157 SHA512 2dad27c0a3ddad5747a021c0700b831fe9f7a557238a2f52d87722c637120d49796a0a8e9e6f27d42ab4bee1c91541b7b5b5fa93dc3ec8a47197f35569a64a3a DIST astroid-2.15.0.gh.tar.gz 460733 BLAKE2B cc80ffd9b5804a1a0c94598f75363088dcb971ee322b556e150799a5e18aa16d20c58d9bf7725c2697d34152daa72a20d845e7c56a524d58354913eed338010f SHA512 7ec121b3c7d60e2d48f738fbc4eeae3e32c7135a77fb778db9479d730a757818f549d8bd35facdd67d411d777d57ec620a2448de1f4da23754863cae18717bce +DIST astroid-2.15.1.gh.tar.gz 460960 BLAKE2B ec08cc53027323a70291adc888b3621dc139783e6f72859eac05a2c6da0150cc5d19dc6a7278b6a846f985cf44c7d868df1ba11d0c6e3b7a5d3c71a38603743e SHA512 26f85aff9de08d4b413c40951f2aefd2c19304c077b502774b253e3fcced42173bc7e996fac82b3462c6915625ff48fd80dd1ab5e3425aefa103347f821f7df4 diff --git a/dev-python/astroid/astroid-2.15.1.ebuild b/dev-python/astroid/astroid-2.15.1.ebuild new file mode 100644 index 000000000000..c6c47a59e6ad --- /dev/null +++ b/dev-python/astroid/astroid-2.15.1.ebuild @@ -0,0 +1,63 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/PyCQA/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.{8..10}) + <dev-python/wrapt-2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + tests/brain/test_regex.py::TestRegexBrain::test_regex_pattern_and_match_subscriptable + # some problem with warnings (our options?) + tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg + tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args + tests/test_scoped_nodes.py::test_deprecation_of_doc_attribute + # requires six bundled in urllib3, sigh + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + ) + + # Faker causes sys.path_importer_cache keys to be overwritten + # with PosixPaths + epytest -p no:faker +} diff --git a/dev-python/django-filter/Manifest b/dev-python/django-filter/Manifest index 432a570d9db8..cb7783fa0db4 100644 --- a/dev-python/django-filter/Manifest +++ b/dev-python/django-filter/Manifest @@ -1 +1,2 @@ DIST django-filter-22.1.gh.tar.gz 132450 BLAKE2B 9ef9a4ee15ebd3d461803b4dbbdf9a415e7004ee6b9eaaa75c87f9b3993461e6e294621182478ba0ad06595937c9b98fe89d16e9c48e34ced7dd525f40dc926f SHA512 9db2e684815a69c8b28b512c994ad1845c7a3e53da5dc762e5833c1ee4d90c5e513aa5cb3e59d9033c509b44fe9c27ce4fe798842aec50e040c06d33cb18ec0a +DIST django-filter-23.1.gh.tar.gz 135407 BLAKE2B a23b7c6ae4692bd991aee4c0dfc4beb699ffbaec4e831dd3d13cb7b76f6acf4ba015c73bc7c9be21f6d95dfe17691f43baeda1f04b7e8757ced315c80d111d72 SHA512 c8437c3806e9d0e05bbbb938d225abe05da33103c729ccdb97dd47b7482178530a3fed5efba22458440530bd71cc9a171bae8fa81c2a67a50e5c6f34f2c300a2 diff --git a/dev-python/django-filter/django-filter-23.1.ebuild b/dev-python/django-filter/django-filter-23.1.ebuild new file mode 100644 index 000000000000..51770cb3dd29 --- /dev/null +++ b/dev-python/django-filter/django-filter-23.1.ebuild @@ -0,0 +1,42 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Django app allowing declarative dynamic QuerySet filtering from URL parameters" +HOMEPAGE=" + https://github.com/carltongibson/django-filter/ + https://pypi.org/project/django-filter/ +" +SRC_URI=" + https://github.com/carltongibson/django-filter/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/coreapi[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.settings + "${EPYTHON}" -m django test -v 2 || die +} diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index 101ce1453ea6..16b79f0b37d4 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -3,5 +3,6 @@ DIST filelock-3.10.2.tar.gz 10259 BLAKE2B 9d36408d7c86347cb985c5dcaaf8640ba30437 DIST filelock-3.10.3.tar.gz 10283 BLAKE2B bbe49a0dcb2947668bbb5392ac4aa79cc1aa5325fc5214866a57f92c91c041ca4a3767d4f81d11d079ee86d71faf91c65b7c297c604618b53eed490281eaaf07 SHA512 9d94ea7800636d28e2861285ca2771430ef60306a64f842bd753d4201d0ab96f51b2b73d15c8fc5b146653fa7a6b9a268d6ddeec182dd0b400e0c18d47e91dca DIST filelock-3.10.4.tar.gz 10285 BLAKE2B 7cfd908f2e30e610d635b874611aabbdf6d4d835fc27ad3bf360cb71603ea94eb30e5e98b6802724a617fb4aca57c015e5980400796cfd53d2a251b46e668246 SHA512 7f1c535c13353715efd9d64caca30347ccd5ec18b758c1edacc4a31a2c1cad7dbc43a59c331b88315563e3b2009859a980251492df8058d82240cdd1853f25f9 DIST filelock-3.10.5.tar.gz 10473 BLAKE2B 8cd19ef5a7bf1d49affcb02a7a1e864f7be40b4ba1bf05d5bf926b33466ea355bd34244f561596bafbe73315baa1ff2012cad0a85575bb336331ac4b84010658 SHA512 4c577ce6f99bd8f59d846182abff1c1be5fa310d97e73c36436a317d7af76187a38725d4a8524d2e1b272de95a297dfba9d0e1f8dfd3e6bab0d97f6bd05661b6 +DIST filelock-3.10.6.tar.gz 10478 BLAKE2B dfb9fdc81da83b99833d5412a09ac697ee2488815672f12d798a88c7211d1d9cfe7a7300f35ce2ae6fa018784b0227a79c9ed4a3f96c881c117a6fe3b9d6c03f SHA512 82b962ee2d22788d272f6149bef3587fa2213cce4fad1c843911fcb28f1bbb529c93e09ad854a5abff5dabea0375bd9b797be4dc141b8633f590954c257173b3 DIST filelock-3.9.1.tar.gz 9720 BLAKE2B 4225d718f5c6e7c81e5db5d6ac2af42ce78a6c61b59f85bf8c2aafd71509b4811542e7a7648ffa2b14f3b3e762d975296c095e322e6c6ccf8fa5f1839213531d SHA512 7a240b0014a6570099106c72b376c47b7b23cddc3e70f78e2560ccccfcee31d1078d894c2e3ec6fed2f983859543a84cac03f8834df9e64fcb0a966308f7503e DIST py-filelock-3.9.0.gh.tar.gz 205047 BLAKE2B 3995f7ad27bb09ca75310c4ada7645f2dd16c09ddb39663394f315443851037f2f9cf08eecb507eba521479696ad1004978d3fdd300a7128ac3354fce2e57d5f SHA512 1235ae9ebdb4c84b0c30e68be91e01eb1acbfcd15c85202fa54a3b91e4e507f221926f8886e1ec91acd4f71d2d88c08f536529b4cebfd2de4fb90118f5dc242e diff --git a/dev-python/filelock/filelock-3.10.6.ebuild b/dev-python/filelock/filelock-3.10.6.ebuild new file mode 100644 index 000000000000..b3a0af7951e1 --- /dev/null +++ b/dev-python/filelock/filelock-3.10.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 2018-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A platform independent file lock for Python" +HOMEPAGE=" + https://github.com/tox-dev/py-filelock/ + https://pypi.org/project/filelock/ +" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index bd8c8d32b18e..24a733b5a4dd 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,4 +1,5 @@ DIST imageio-2.26.0.gh.tar.gz 403652 BLAKE2B 2f1948b1cee03ef4fdd71489923a1ea5b0c364fb5f000d79e1d309042184a6bb267a323bd19fce85bf47857245eb4be5283f0b3df65857d7cac57c24930ea409 SHA512 6ad8ce0395033571c0d918dbe03ffeab0e43b29d402bc91a229d3ffd689eae3d01aa09dec386d03fe028f6138887883cfda4e0a769f523ba9f6c3e3041a0cb7f DIST imageio-2.26.1.gh.tar.gz 404916 BLAKE2B 683ffb38c089e691c9647785f28fed616e8b60795a05fa29a684d30fff35e6021888b4f4ea75d8035dbfc3c3f5e84c241eefdf7d4a08555bdf78de7433a1fc11 SHA512 90976423d967b7cd0874fcf6ed3c7d51db6fea450859a1a1a302aabb7d971b65cceec0fdaf8e23f99a3fcceaea827c090e01b4b7ad8e7813e8db33150c14ba29 +DIST imageio-2.27.0.gh.tar.gz 405391 BLAKE2B f013de16f460e04f5d30c7bcc3c64dc05cd2ca74b359ffe43f2f84e850bec907f899f8c2cc8bcd2a6594767746bd52bd8ae8f2f0c7bd9a3fe6b5450ef043830c SHA512 28d42b59d5c59c679786fced4d3f616d8ac832da0f76da31337875404a8382e66ead6531e02ec94099f481ce84aad5271199b16eadef03bcd5db9978010a7132 DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 diff --git a/dev-python/imageio/imageio-2.27.0.ebuild b/dev-python/imageio/imageio-2.27.0.ebuild new file mode 100644 index 000000000000..30875e33909b --- /dev/null +++ b/dev-python/imageio/imageio-2.27.0.ebuild @@ -0,0 +1,82 @@ +# 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_{10..11} ) + +inherit distutils-r1 + +BIN_COMMIT=224074bca448815e421a59266864c23041531a42 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png + -> ${PN}-chelsea.png + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4 + -> ${PN}-cockatoo.mp4 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# over 50% of tests rely on Internet +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +# requests for fsspec[github] +BDEPEND=" + test? ( + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mkdir -p "${HOME}"/.imageio/images || die + local i + for i in chelsea.png cockatoo.mp4; do + cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die + done + fi + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # known broken + # https://github.com/imageio/imageio/issues/890 + tests/test_freeimage.py::test_exr_write +) diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index e92c94282bb4..e3447020cb44 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -6,3 +6,4 @@ DIST moto-4.1.2.tar.gz 2593920 BLAKE2B c07ed5169fa24318e5ea081c470b07d93071c7d6e DIST moto-4.1.3.tar.gz 2612972 BLAKE2B 50bfb84f83258a87815d41c370d69275a2a0ca375b9f9298fc39daf93cb490c1da0a0ad74db1aaa21fb38cee13a363f49f1a444ee916f936ac565334d5973760 SHA512 bc7a9d6ec0759ffebbc8ec5813952d63e859ca8e686c552d314cc398c6ec04420c11fc24783d965e87bd7e1f4dbd61ef522c438c22c590ec164d215355fc9133 DIST moto-4.1.4.tar.gz 3430354 BLAKE2B 9805ab25ea8f6d4fe88960d895caf0eff48912d31bca14e8ffef4e5453a9c6dd7e0f21a97410069c88166b15545148db4e936304e64e814bdd7907e19d513f0e SHA512 77700834c0816897448ff53c255f8bc0a00e2130bf8c2291e88abad5613b3b31bbc9a9828a052b5a8e6dfbc35b0165297ebd68d97b04a4c681380654db324ff1 DIST moto-4.1.5.tar.gz 3458809 BLAKE2B c8121c552e8ff14c1e69e2dbb73aca1dddee8df65bf8d2de164100c2b6aa9e7dcfada0421f414b770514794ecddb18926b6fd35e41ed0f8eccc9b98264d6de09 SHA512 a7b429d3508bed48589b068450a834420aac76a57b62e0305d5c8d9a70c8c0218422b34f3b148a80543dbf6fcc42e21a60daaea090a77254a156e0aeacf87a8c +DIST moto-4.1.6.tar.gz 3470215 BLAKE2B 78f9c54128ba71fc5e3ba622be0596490bc82df0a17fa80d9f11bf135bdc91d9698cc29445b5765e6057e80f221c016ca8999186201b83b5f929f5831c417f60 SHA512 fb2dc73a66326216a4c5338660dab844de9a46e6626e0ef68bccb3573a3eba693b30b89961b019a4b7a51207ab11335e73cbdf523c75d91a5a9625a1bc409e61 diff --git a/dev-python/moto/moto-4.1.6.ebuild b/dev-python/moto/moto-4.1.6.ebuild new file mode 100644 index 000000000000..d30e9392b520 --- /dev/null +++ b/dev-python/moto/moto-4.1.6.ebuild @@ -0,0 +1,104 @@ +# 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_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +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-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-3.0.0[${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/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_core/test_docker.py::test_docker_is_running_and_available + 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]" + # TODO + tests/test_batch/test_batch_jobs.py::test_failed_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_job + tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name + tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none + tests/test_core/test_mock_all.py::test_context_manager + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue + # require py_partiql_parser + tests/test_s3/test_s3_select.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m 'not network' +} diff --git a/dev-python/parameterized/Manifest b/dev-python/parameterized/Manifest index dfbc96757472..bb27ab2f92d5 100644 --- a/dev-python/parameterized/Manifest +++ b/dev-python/parameterized/Manifest @@ -1 +1,2 @@ DIST parameterized-0.8.1.tar.gz 23936 BLAKE2B 3d36b049071907f66ef17dcae0ef9480210344f2466744b2bee8e964f46e2553411a07b233fab032d1acbc2523dc32890bc5e6e4ffc5b37d1fee3f0db3a70cbb SHA512 ad6e31b2bb27623bf070ee5c30686a5bd6a531bc71602f77ca6aa01a77fc246caaacca121098dcbe13b1a174cdcfafa6545bf6e62f6a5337a647821c02fac64a +DIST parameterized-0.9.0.tar.gz 24351 BLAKE2B 3b0fb1c0a788f702cba74b67868fbd179e4912b518646f6a7d0d136f54b515d2546d27ad1fd14a03c128a8b53d42165a4ef9f8f434965483af24f69c3e406b25 SHA512 2c1c97a841db631608e0a9fcd93fa1af819aa288538851e0c771b56ba0bb27fb682ac3a09fcdb33e57162926d1e8fae452f7bab9384d0c40bec9a03ab3d6b126 diff --git a/dev-python/parameterized/parameterized-0.9.0.ebuild b/dev-python/parameterized/parameterized-0.9.0.ebuild new file mode 100644 index 000000000000..5aba47c5cdbd --- /dev/null +++ b/dev-python/parameterized/parameterized-0.9.0.ebuild @@ -0,0 +1,27 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Parameterized testing with any Python test framework" +HOMEPAGE=" + https://github.com/wolever/parameterized/ + https://pypi.org/project/parameterized/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild b/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild index cf9104f80201..0f759ebf7148 100644 --- a/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild +++ b/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild @@ -24,7 +24,7 @@ S="${WORKDIR}/PyOpenGL-${PV}" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="tk" RDEPEND=" diff --git a/dev-python/pyopengl/pyopengl-3.1.6.ebuild b/dev-python/pyopengl/pyopengl-3.1.6.ebuild deleted file mode 100644 index 763d712bdeb7..000000000000 --- a/dev-python/pyopengl/pyopengl-3.1.6.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_REQ_USE="tk?" -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 virtualx - -MY_PN="PyOpenGL" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python OpenGL bindings" -HOMEPAGE="http://pyopengl.sourceforge.net/ https://pypi.org/project/PyOpenGL/" -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 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="tk" - -RDEPEND=" - media-libs/freeglut - virtual/opengl - x11-libs/libXi - x11-libs/libXmu - tk? ( dev-tcltk/togl ) -" -DEPEND=" - ${RDEPEND} -" - -# The tests need an X server with the GLX extension. Software rendering -# under Xvfb works but only with llvmpipe, not softpipe or swr. -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pygame[${PYTHON_USEDEP},opengl,X] - !prefix? ( - media-libs/mesa[llvm] - x11-base/xorg-server[-minimal,xorg] - ) - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} diff --git a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild index 7e9b102fc03c..7f365b96b924 100644 --- a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild +++ b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/pyopengl-${EGIT_COMMIT}/accelerate LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="" RDEPEND="dev-python/pyopengl[${PYTHON_USEDEP}]" diff --git a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6.ebuild b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6.ebuild deleted file mode 100644 index 53ef9e34c4e9..000000000000 --- a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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_{7,8,9,10,11} ) - -inherit distutils-r1 - -EGIT_COMMIT="227f9c66976d9f5dadf62b9a97e6beaec84831ca" -DESCRIPTION="Accelerate module for PyOpenGL" -HOMEPAGE=" - http://pyopengl.sourceforge.net/ - https://github.com/mcfletch/pyopengl/ - https://pypi.org/project/PyOpenGL-accelerate/" -SRC_URI=" - https://github.com/mcfletch/pyopengl/archive/${EGIT_COMMIT}.tar.gz - -> pyopengl-${EGIT_COMMIT}.gh.tar.gz" -S=${WORKDIR}/pyopengl-${EGIT_COMMIT}/accelerate - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="dev-python/pyopengl[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - cd "${T}" || die - epytest "${S}"/tests -} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 5f10df003ada..1e65d2460b6d 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -5,5 +5,6 @@ DIST pypdf-3.5.0.gh.tar.gz 7181507 BLAKE2B 8f5c129613ed12a9eaa90cf0e6fa189b0fc5b DIST pypdf-3.5.1.gh.tar.gz 7183874 BLAKE2B 29ce7d052f0c466e72974ec051e149c2383136cc0097e2e104c4c1e5c37836f7908b25bfaa32e5fd85082f860b06ad88adbfbb5bbff95bc7a735e127b26d7964 SHA512 4f28cc0822f472087f096b4b2ee553b87e458009b29c43d41bbba53de9862292c78f4b31a860d4c783a6af4f92fdf32612bab7a42190373d9d9ceae39080bb35 DIST pypdf-3.5.2.gh.tar.gz 7185283 BLAKE2B b92af14da7fed1cecda4cb0088efaa7031e9a44daa7c81ee0450bbb0f7630129b6e09e4044b3592e4333c466c73f16d033ee32f428c2866d163fc250a15516e9 SHA512 f257f05ddbd0a0195e0ec075b88fd4077bf0c44490311eee6fe1f4d3715c6d29abc681df53d22c2e7a08c2a545f5151d48f1bec2e436031c3b8e599204eb0f5a DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260ecccc03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 +DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 DIST pypdf-sample-files-0fe84b30ed33ff3daa9293e44349b8618f135699.gh.tar.gz 9027166 BLAKE2B 912bb9fbd632bd0ad2cc2e865a1e6870ad7064aa2cf4d6f96217f63ac685e9a511f0bb20c22d48ae970a2eb171b27a0fa680fa42892425531f69735840cf741b SHA512 07a71a3566dabcea5dc8a549949d0f0c0f9483d5d9f85851d6e4e702dd374b348469a80e5300d18983e560ee9a44d0639b55eb338023b9ebbdb26c6f8c455e07 DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.7.0.ebuild b/dev-python/pypdf/pypdf-3.7.0.ebuild new file mode 100644 index 000000000000..688053dcdece --- /dev/null +++ b/dev-python/pypdf/pypdf-3.7.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=fb7a080b35b3553bd10221282beeda7847959e83 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/radon/Manifest b/dev-python/radon/Manifest index 3495a408c7fd..9b1ec0918374 100644 --- a/dev-python/radon/Manifest +++ b/dev-python/radon/Manifest @@ -1 +1,2 @@ DIST radon-5.1.0.tar.gz 1873643 BLAKE2B 475c140fa3f9350b2376a66d3cf0dddd7f0ab1b3a4f397e82b65d175dc20ece38da1cdc7a83ef2f9e65d7d735dd589fa7ccbb5d966ca07cc7950430dd33642b9 SHA512 98e1c3dbf419ff0a791f01ea5376177c5be47c9cf1afdd9ae53014e8869dd10c7a7661a69bace48adb880173a8a176d4a13534711fcf53408b3f495f4579f7c5 +DIST radon-6.0.1.tar.gz 1874992 BLAKE2B a70926fc7acc4212d65dc9b6fc843b8fc32ca55aa836464240cf1fd6065ac9d5a28b8a2facdde5287bfd119a388db5ce1a530c5c84aebcbbe414ca1c336451b8 SHA512 91bd091610568dacb95491ba314b68dfb33ee397b043ae96badc7c134a841122d90394a36b1d665c9cabf273c0e6128217ebfc459c36020c12dcab647dd5df53 diff --git a/dev-python/radon/radon-6.0.1.ebuild b/dev-python/radon/radon-6.0.1.ebuild new file mode 100644 index 000000000000..a105118711f9 --- /dev/null +++ b/dev-python/radon/radon-6.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 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,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Code Metrics in Python" +HOMEPAGE=" + https://radon.readthedocs.io/ + https://github.com/rubik/radon/ + https://pypi.org/project/radon/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.1[${PYTHON_USEDEP}] + dev-python/flake8[${PYTHON_USEDEP}] + <dev-python/mando-0.8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest index e4a650ddcf39..4048e82a6be9 100644 --- a/dev-python/rdflib/Manifest +++ b/dev-python/rdflib/Manifest @@ -1,3 +1,4 @@ DIST rdflib-6.2.0.gh.tar.gz 4886953 BLAKE2B 74044b0cbaf6c1ba6f2a43347112118dcf92b5237afdd49782ca6d637df092379ff2d81eaec254ad0bf25057f8c0cd44c82a35a89d4ce7b21c8e222de9aef16a SHA512 8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245 DIST rdflib-6.3.0.gh.tar.gz 4980436 BLAKE2B 07f86418a0d598f59e4912057f4e11183bc0ad66a4cc5d7a83df6abce325f708a4920303afcbcdc97fb19b39199725a6410552704011e0f154815b7692724d88 SHA512 b8fd7d43f22779175e4d29f6256f070cb58f694fbfc9d068932c992ac732c687668ef68defbb6fa49f55f0b11d3b8f65b3a9d94aa8693ad9b8ab7c670625d06c DIST rdflib-6.3.1.gh.tar.gz 4985262 BLAKE2B 1de63607aca70f3c498970fd639a8fb61c65ecd1fbae63c466bf7750dd3f84264f3abe2ed958fef4f1a06877069a0d21ba36ac946a72fc53f93087b27e35a69a SHA512 e348b721edac73a5cedc499e7e50819694c931d921fc1637fc2f26f66801d17d169cc447126974828d745851818bd5a616081dddf9a48e483835dbf20288b318 +DIST rdflib-6.3.2.tar.gz 4749592 BLAKE2B 5f7832934e3b42387f7c792341d0aee9765d179beb409a8c92ed0251715be70a79a5ac71022f4599804b489acd2695a32a033e8aa73aa174d8393330b4c21750 SHA512 682554114456269ecd5a20433e31030e2ae85ccf84400060420433cba317eb272649a38c2c75f0d4ada878c391683f8a422452d24b2f8a41c28e99b977e2b557 diff --git a/dev-python/rdflib/rdflib-6.3.2.ebuild b/dev-python/rdflib/rdflib-6.3.2.ebuild new file mode 100644 index 000000000000..0ab057acea00 --- /dev/null +++ b/dev-python/rdflib/rdflib-6.3.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 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,11} ) +PYTHON_REQ_USE="sqlite?,threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="RDF library containing a triple store and parser/serializer" +HOMEPAGE=" + https://github.com/RDFLib/rdflib/ + https://pypi.org/project/rdflib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples sqlite" + +RDEPEND=" + <dev-python/isodate-1[${PYTHON_USEDEP}] + >=dev-python/isodate-0.6.0[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + <dev-python/pyparsing-4[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # doctests require internet + sed -i -e '/doctest-modules/d' pyproject.toml || die + + # we disable pytest-cov + sed -i -e 's@, no_cover: None@@' test/test_misc/test_plugins.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + epytest -m "not webtest" +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/sybil/Manifest b/dev-python/sybil/Manifest index 6d145acccb0e..802a305c5b31 100644 --- a/dev-python/sybil/Manifest +++ b/dev-python/sybil/Manifest @@ -1,2 +1,3 @@ DIST sybil-4.0.0.gh.tar.gz 50845 BLAKE2B 5c7144ad1dd131f98c48f18cf6770782529a3c86a3f976461f032c9024ef93dc2de3c8bc327421a55a3f505982608e15cdcfe022f964c4fd871bd9de61205d68 SHA512 6cf0422ba856a85ba5dd105481cb2d06eb2ff196aee263a36e7ab44c7d45185df022bd859afc92b3b42dc418142e441f377adda82c0b5b0d1410697b563db994 DIST sybil-4.0.1.gh.tar.gz 51137 BLAKE2B f18a84a8ee6524c8af2a54ea17d50e04dba90be54bf5345061d2b6ee161de5c19cb8e1a1849f83401ac5a175453a927f2e068129ccaa4707a48509bb0dc73015 SHA512 70db2aae9f8503af8c5ecb65c5d63e928ba81bc7324473b056a6c1cbb4dac9674c34252665e7b28a1134c37190cdb2fd00c37633a68ea4ac61104a12ea744442 +DIST sybil-5.0.0.gh.tar.gz 55213 BLAKE2B c95c051ee1a2edf5f9be0cc1dc23caf4c48a6e6b29e16c5b1e9f1ab785012d774eed8f972467132ecad530d59f992dd802474178e32df0a47fcfed36192689de SHA512 6511ad1ba6c814d0ab951f96e2ea7e4791fac3fbcae47693e8562fafe8e0c73648407e10036ebed42ac4ebb1458208677d850f46dbe238419f7ae545f8add6b6 diff --git a/dev-python/sybil/sybil-5.0.0.ebuild b/dev-python/sybil/sybil-5.0.0.ebuild new file mode 100644 index 000000000000..ad88d86117a3 --- /dev/null +++ b/dev-python/sybil/sybil-5.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2023 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,11} ) + +inherit distutils-r1 + +DESCRIPTION="Automated testing for the examples in your documentation" +HOMEPAGE=" + https://github.com/simplistix/sybil/ + https://pypi.org/project/sybil/ +" +SRC_URI=" + https://github.com/simplistix/sybil/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/seedir[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 6dbd37f3d5f5..16107d377114 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,3 +1,4 @@ DIST tox-3.28.0.gh.tar.gz 309472 BLAKE2B 9896411426f6aebb3efa468c01696ecc5f17ec3e67825672d0efc74c1b1468bc8b8d9c14b6177c181750ba4b9a5e77d616068dd83e21f5641acfc8e2a271cc1f SHA512 64816754e6800661bb564c5c7d21c4139522d540a04fafe3c4591d596072d48d1cbe0ee2abee9c8faf3d5007774f5371431b5a7a8f49912bc879c7b168aab2ca DIST tox-4.4.6.gh.tar.gz 304337 BLAKE2B 2c157fe5febf1eb131d767ade87484880201bb37fa65a579abb9780d755d570f216b8f865dd2dd8dbb3a3af01be78133f9ac0b73a3166dfc2b9cd99f6547498a SHA512 403bca89228d665182bfbb61550dfd9e9fb4ce4a5592472d50cd38e3f264c806fa15bbdccc020a720ad69885d9be54a1f074f6d87549cbe2b523e53d870358dc DIST tox-4.4.7.tar.gz 168261 BLAKE2B 276842bb82d01c9e3b66f633e79974790b7d1852f831ab954172ddc1d3c50c861a39e959fb0a990a7102a1cc0840238ef3ac84c7b41f9f45ce502b1245e21988 SHA512 58989ecc0a555ee225614d9b7a718b22f6dd1555a0209a0c1428259fbfc7d336a58753fbfa85f1b9aa160c8489587999425437e71f9d4728631d5cd5b50ca159 +DIST tox-4.4.8.tar.gz 169460 BLAKE2B 5353c489d5051b23b39c23fcbad1455556c23572b504ba241f9942a01f5ae5f1459d3b3837680aa9631dcd8a081c0f3b8acce1b18e85daeab3e2084ec966e451 SHA512 a6e5ceb19ebf1adcfe5cd093a2710da88c1552f2129211175990b7b7fb6b53716fdccd7592e9c6696bf13ce584443c9a266e40ed50953999883fa1a68ea6aec6 diff --git a/dev-python/tox/tox-4.4.8.ebuild b/dev-python/tox/tox-4.4.8.ebuild new file mode 100644 index 000000000000..48e7d54679d5 --- /dev/null +++ b/dev-python/tox/tox-4.4.8.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/cachetools-5.3[${PYTHON_USEDEP}] + >=dev-python/chardet-5.1[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + >=dev-python/filelock-3.10[${PYTHON_USEDEP}] + >=dev-python/packaging-23[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.1.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1[${PYTHON_USEDEP}] + >=dev-python/pyproject-api-1.5.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + >=dev-python/virtualenv-20.21[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-0.10[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] + >=dev-python/flaky-3.7[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.2.1[${PYTHON_USEDEP}] + >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/time-machine-2.9[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + + epytest +} |
