diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-27 22:00:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-27 22:00:51 +0100 |
commit | 14fff03b5545ac6b6f575afd2e6174afbd294fdd (patch) | |
tree | 21be5aee55de4f6216e406157ad8c59a811ea202 /dev-python | |
parent | 9f51c386724b9543e88a9c0e1be57d44326f3116 (diff) |
gentoo auto-resync : 27:08:2023 - 22:00:51
Diffstat (limited to 'dev-python')
24 files changed, 549 insertions, 1 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex fbc80abac31a..afda5e33d7a2 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 1c453a056ef0..2134b5fb7bcd 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1,6 +1,8 @@ DIST autopep8-2.0.2.tar.gz 116154 BLAKE2B 1b6830f9cb8a4384898273411f6b03cf3e3c0e45e2c56fa2bb134f3567cc06459a8123e660db9252f8d7cd15835d70e54c0155f146191be64ffbafaaa808244d SHA512 09471827d18ca0c691bc524e0639a416d1a4418ddda1cb88f50e5c5302e75e7014751e659e26439c22317db21588fbd956c94299cef44e2c47771df38de94be3 DIST autopep8-2.0.3.tar.gz 116499 BLAKE2B f43476babe717ccd1d8ea363dc00e8a1227433078c89662c92097b2e569c9da46ad14af4e42982289bf6ec6cfc88f4db233b638dcf89f882fd7c4650f3f70160 SHA512 0007d6c6a17f21e1b4e00d1b69d83cac6db50a4c17ae351a429275958adcbb1d014e0f7e7e966239cc47388cb15ec07a3569f1254c1f16ebf6fb7d43fcfe57e6 +DIST autopep8-2.0.4.tar.gz 116472 BLAKE2B c6e6d207e9e27db450b74fe63fc3c8dce1e6729e0c86046e3efb2a7e749ff402e4cb33062a10c49db7a5f158b12df35088686425a9d822a32b8a4fb6185aae7c SHA512 2c3731d328d0128b4e93c9cb05d730cdf4e08cb18b73ca0de3ac24462feb3e1e61c805ce4cef67f0df2db04773657d0efae70cbca9a67fa5d2790b07daeafeac EBUILD autopep8-2.0.2.ebuild 1141 BLAKE2B 68ee3cfb6b02a8e49be685a6239b151946bb9a8ea6a1e57315582e9e90b10ac45af6d1b6312fe947b0dd21763141905b53f633dbcf779ff07c3e3318d98740bc SHA512 08f6da3eb29eea4d39e6dd569d7ea1d173cd3a38672ae289b52a0e5951a978da564b76e2d0a5d23836e23bb4efa9c781291f22f03df59cbbb36bcd99228c2b4d EBUILD autopep8-2.0.3.ebuild 1146 BLAKE2B 7ddf89d6f682dd703bac846a11281dd5fe53fd384e88bff6b3a21a4a3a43186f1ec29dbea0919c0fe0d1f71d79e758ef3c8bab9a36fc38aef95a1e0c89396dc8 SHA512 7499022cc7e0015a4326623157078cd38568f1bbfeafe17c6040b5f12542a0e53447012274309294fb4c5d93f702829a9da772509f17582ff9702aa437d3f9ac +EBUILD autopep8-2.0.4.ebuild 1146 BLAKE2B 7ddf89d6f682dd703bac846a11281dd5fe53fd384e88bff6b3a21a4a3a43186f1ec29dbea0919c0fe0d1f71d79e758ef3c8bab9a36fc38aef95a1e0c89396dc8 SHA512 7499022cc7e0015a4326623157078cd38568f1bbfeafe17c6040b5f12542a0e53447012274309294fb4c5d93f702829a9da772509f17582ff9702aa437d3f9ac EBUILD autopep8-9999.ebuild 808 BLAKE2B 0a10876631074874bf1890aa1537e7b92a66f17a52acaa7d46f6e5038f5ce038f4fd33a50dc2caa9cd9ca88bf7aca764b416430aea1f8ee4251a65a5ca88f10c SHA512 98c8b5b784d2007de45c6817142d1c63e3d415d7d817edf57818ec6051256733abe32e32eb24e843ea1631d0a796718b74b5fb53147eafcbe0991d4e011b792c MISC metadata.xml 404 BLAKE2B e9442968d195e1605d55b880cf29f4a2945f67c57c0d7d0325e19c0ccf60cac0ac3e68115a0285f87068482163f537abc1d75bddfdc6ae860c8c52c375147fdc SHA512 3e0b8a6ee869086166bb670a73189ca681729276cc7897666127b7e25b3a252aa2e80da5fd4dbb43d101a439d12f146ba0ba61bebf30a87a97f1030325f1aeab diff --git a/dev-python/autopep8/autopep8-2.0.4.ebuild b/dev-python/autopep8/autopep8-2.0.4.ebuild new file mode 100644 index 000000000000..1d0c3278faab --- /dev/null +++ b/dev-python/autopep8/autopep8-2.0.4.ebuild @@ -0,0 +1,47 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE=" + https://github.com/hhatto/autopep8/ + https://pypi.org/project/autopep8/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" + inherit git-r3 +else + inherit pypi + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # fails due to deprecation warnings + test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes + test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file + ) + + epytest +} diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index 79dbdb529846..6ba2817d720c 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,6 +1,8 @@ AUX imageio-2.22.0-block-download.patch 1211 BLAKE2B c01e3fd7db7463bc11bf331384a21becfc3160d4880a2fd09e47bf0927d97e46787097f50a489b83c2626078b60a0cf8a0d896040981e78c107f1783c8e84c26 SHA512 170261b9fb07ccb7f7a7e058335326df1f72c8d098076bf6ca048a7ca6bac95ddb512b9e41740c385430bc25613249455203addd59931af4e70298e772303964 DIST imageio-2.31.1.gh.tar.gz 411419 BLAKE2B 4167e073daeb4a05cc88cfca78764468d33cb7d3d0ae8a75f43bb40312b44c1e5b0cd1416203addb853a8ada744ff97bdec3dc42685d6aec0ee8e4be839d8490 SHA512 8fa322816ddc041bb84a0b6ac9282fffdfb3894f3594e36c554cec9ae8d0898a7b005b9d43e7b4065fc6ca71301b63e95e46cb0a73ebedbd9004bca0146b535d +DIST imageio-2.31.2.gh.tar.gz 411570 BLAKE2B bf2b92e7d9875ed6285c33ef04baa8b6bb798210bd0c1efcaf81f23a75641964dbd8f9139690928bbecbeae15cc9a7df63898e497b2234b3999dbe91c9b20d78 SHA512 9aff670c10a1cc67c3d71bea6014e5d5bb3da7a63037056f077266005bdc72ec39fcc6afdc5c130753019b00f7306963f133cbf663a3b59490401353e21f74bc DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 EBUILD imageio-2.31.1.ebuild 2078 BLAKE2B 96dba481186189811fcc6baee2f4ad4dd8f4b5d7c30d41d98cb743d333c878a4b2484e1eaddc743e90e5df4f1ec09a6c1eb82ad3aed3502fc1f643cca30059db SHA512 e74789d621596c833dec2d9971d90fd1deb45fabc230e71b128053a72e777b16629987c12622f4934aa69732e68426468de2a54454e3acda3ebad9b2a4cf7aa4 +EBUILD imageio-2.31.2.ebuild 2078 BLAKE2B 96dba481186189811fcc6baee2f4ad4dd8f4b5d7c30d41d98cb743d333c878a4b2484e1eaddc743e90e5df4f1ec09a6c1eb82ad3aed3502fc1f643cca30059db SHA512 e74789d621596c833dec2d9971d90fd1deb45fabc230e71b128053a72e777b16629987c12622f4934aa69732e68426468de2a54454e3acda3ebad9b2a4cf7aa4 MISC metadata.xml 702 BLAKE2B 646c6a83e6d8e345fddb9cbc42a83c1193b9590937cd652e293d03e6e9d4b240a69e6e86399f5edc9ef05f96d1d4c3713dfa65f8b13984f4483b2ce76a239429 SHA512 5e1e4db52fed55ab837c70ddb9ec81a7ce0b062064e2d33cb5771cd81d50a1a2164e446531c32a405bb9319acd736141765dcd00e36d6db770434a656ad925e1 diff --git a/dev-python/imageio/imageio-2.31.2.ebuild b/dev-python/imageio/imageio-2.31.2.ebuild new file mode 100644 index 000000000000..07ef8bc8f8b1 --- /dev/null +++ b/dev-python/imageio/imageio-2.31.2.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 ~arm64 ~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/pluggy/Manifest b/dev-python/pluggy/Manifest index 6c8b74ab79df..1e460393aea4 100644 --- a/dev-python/pluggy/Manifest +++ b/dev-python/pluggy/Manifest @@ -1,3 +1,5 @@ DIST pluggy-1.2.0.tar.gz 61613 BLAKE2B f1c9d7ca593cd3eaae2f035c8e2d2da09b179991a134e0c0be17642940a853194124b638e208c32b7f8e5250d30d138f4bb79cb414573c0103e6b5024f52abc9 SHA512 b2b6a80737c06e1507eb12513ed7f5ce508fd4a139c559a3a15d9f173f4455ef3847783efb91c32eca6e26cbe37b0336467d50c5db0563d8dbd17bd825cd7407 +DIST pluggy-1.3.0.tar.gz 63670 BLAKE2B afa28641ec0a93e97fed2a03655c76077d046b05f49c4e584df3486dd007fb20296f61b001664d8cbb50d4400f1132f75d5de932caa1d3f92e349f78158d7ade SHA512 d4dbb449f533649da161d7e49f82da5800dabdace4f7aa239c412290470612a45a3ba3c50cafd7bd9ed26cb3aa14648bfa3ed3f41fc0db9ae9399fd7f5933d5f EBUILD pluggy-1.2.0.ebuild 674 BLAKE2B 89b0af4ba9c26d2939aaedb99af9dc090cdb131029e604e10984c359a27b09905766d102c0592d8cb9f50c90f2b3186cbb353644510b8fac04aebf05a02e4d76 SHA512 8753fbc9681071a4403546b4bc8047df53d91d3ff12479ad354fc07e221c0f09060998fd248da4f1046684f18f00c371da0d50a15819d114a82031ee5e425522 +EBUILD pluggy-1.3.0.ebuild 682 BLAKE2B 5bc15ec81ba1959c8d14b46d9fa1a75fafe345a640f2a15c4681c4373bf061bece09d48bd9d5e7faa9f117cb1beb3e210c28bd31e5056e87ede31c4f166e3588 SHA512 c919d981baa92100d7d07974426b4b9b0b2d90113fd653e1a9169c4d4311f6e9d4b62bf9b538325a1da97d5119ac598673a563ee555b29e5fe2b2572a616ee9c MISC metadata.xml 506 BLAKE2B cdc1c868281f0140baf75a407eeea26276d7b8f8f0bcafee6393fa144fc054ecf58a812b055d7b48b7d5ab4aa5bc504d6dc567acf4336bb363c9854292d9926b SHA512 5fc4f019e2a518c815662db23bc44920558193cf639c093ec365ba120c113929bcbd9b611d6b2cb7e6057c0bd9d50dc5d1479840a6d379c4610b3ac8aa3ea1d3 diff --git a/dev-python/pluggy/pluggy-1.3.0.ebuild b/dev-python/pluggy/pluggy-1.3.0.ebuild new file mode 100644 index 000000000000..dd354f8f296d --- /dev/null +++ b/dev-python/pluggy/pluggy-1.3.0.ebuild @@ -0,0 +1,26 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Plugin and hook calling mechanisms for Python" +HOMEPAGE=" + https://pluggy.readthedocs.io/ + https://github.com/pytest-dev/pluggy/ + https://pypi.org/project/pluggy/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 436e94b5f6a2..b277af57f1bf 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,8 +1,10 @@ DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e +DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 EBUILD pypdf-3.15.1.ebuild 1209 BLAKE2B 47f9252a0f11ea387f3224731964f0048586a0d8cf7a3cbbbbe48deb003d696d003e21c49426b91dd1a3b986ee0dcbae024a721718a3aa5153e2c23ecc9a71a6 SHA512 d49aa95a85075163fd7ac00713007a2c31c2ffe3d3fac4e43c681b6c29dc4a174ae8e0b1e3a2ddcd92d7afdcdec8cbab0a7b645607790179ffa46ae5e9ee49e0 EBUILD pypdf-3.15.2.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed EBUILD pypdf-3.15.3.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed +EBUILD pypdf-3.15.4.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-3.15.4.ebuild b/dev-python/pypdf/pypdf-3.15.4.ebuild new file mode 100644 index 000000000000..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.4.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=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +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 + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${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 + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +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/pystache/Manifest b/dev-python/pystache/Manifest index a18dcc9e42ac..dec33af7ce87 100644 --- a/dev-python/pystache/Manifest +++ b/dev-python/pystache/Manifest @@ -1,3 +1,5 @@ DIST pystache-0.6.1.gh.tar.gz 279050 BLAKE2B 2c61ba260764aa4bf62039bfe1f844d34e26adc29af2f1e1d98619892bfabd3151aa1d34c69596389a68f0d84ce994ddf7114c091d42b497a17b300a5aff36cc SHA512 516d286f84d2c77650550365f6b219acb712376f0b7302fff2aba7dee4d64e3d3fc2d781782777dd37093f6debf52f9d2a40b6ed8b65aa5f7025ff762cb5efae +DIST pystache-0.6.5.gh.tar.gz 272484 BLAKE2B 8b82aa8922480019e4833333f83d767ef19a1505e2fc708fef0d01c08353b5e600a077c1e86e36c412680381ff6fd310f83857038f383b8218b72269b4e5349b SHA512 e3054e0bff5c3bc6679bf22555dd3cfb2f31b241484c7e6201d37b7767a22f2f842912e3f61d8e2e2858615a4f99ef4192d885b60f84dfeffa1408370ccfba75 EBUILD pystache-0.6.1.ebuild 855 BLAKE2B 0d9dd909ac0325f5bfde6223bea8be023847bac85860bc8a12fc66b2f211470d00f2d3db5ae18f4f061f8ae256d4c34bb16312bf4460ae38f7da59cc999e5b85 SHA512 e794769e1798edc59c02c319ddc1d52b4ba5364ba11a3be74dc23b93bb28f119085bbc303e8edc2b1f39442f6e42a8629ab8f8a509c80385d6e9133047a6862e +EBUILD pystache-0.6.5.ebuild 776 BLAKE2B ab017fd8d396a20f7b412abe42e806f2f2be3d12337fb09a11cdbab2a2d65f66b171e9d7135da84e2fa05adbd17522b8f77a904039865e93e9af4d0d5b32dacc SHA512 cd8695d176494b177cfbcc5a44ef59db6cb4343a6ddbd16205843658c26144f3bb93578847200cb8924d7f98a34c84a488a65e60fe5e62ee782c8dbfdd1b788d MISC metadata.xml 692 BLAKE2B a4c6b4b29ac3976d0dd7cc01862d9e759314cd45e94b85788b4a8975bbf3785f9b75c06217fecfe3817c281331dc58aaba6015638a60b38614d5d62a60b31b6a SHA512 b0513af48c0691931b53becc62f2089ca9b394da79bd68be6892a58f0b1498a4fe7c6ff4a372160639fb5e59d32759d926235c202319affbd9e3a64ad29a2668 diff --git a/dev-python/pystache/pystache-0.6.5.ebuild b/dev-python/pystache/pystache-0.6.5.ebuild new file mode 100644 index 000000000000..c10cd9359cc2 --- /dev/null +++ b/dev-python/pystache/pystache-0.6.5.ebuild @@ -0,0 +1,38 @@ +# 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="Updated Python implementation of Mustache templating framework" +HOMEPAGE=" + https://github.com/PennyDreadfulMTG/pystache/ + https://pypi.org/project/pystache/ +" + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/PennyDreadfulMTG/pystache.git" + EGIT_BRANCH="master" + inherit git-r3 +else + SRC_URI=" + https://github.com/PennyDreadfulMTG/pystache/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-box/Manifest b/dev-python/python-box/Manifest index cdc1321fb26a..aef81b0cdfd9 100644 --- a/dev-python/python-box/Manifest +++ b/dev-python/python-box/Manifest @@ -1,3 +1,5 @@ DIST Box-7.0.1.gh.tar.gz 86746 BLAKE2B 33288c89d1b285d1c04ebb00d56a26d451f7b22eefbcef12219108975aa610054af67f69153436033a183c7b26cf216649ddc75b4354f2ff4f02f2a6fc2903bd SHA512 fe08fbca79fa02e53bc4208387162e49917f302e1595d924d4290d690092a9f7fae3f0cac66de1fd48ef16e627c4fbc2b2babed52b04381b24dab9b083040cf7 +DIST Box-7.1.1.gh.tar.gz 87515 BLAKE2B 388944c3a577105ce1e12e9abff7da148d028db88d8070a09e6abe190882acdbfa4cf9d773af6cbae7e945603dc13d3d853253dc18b0d2d2b17c678293583b8a SHA512 60e44eda013a5ab1de2215d156caf2567a24b0471ee20e52096137ad761e92c3ca20d9f3967a21e38ac924488a2b76399c4ea1bc86b652dd72d7494ce22effee EBUILD python-box-7.0.1.ebuild 1102 BLAKE2B 1be5f98916a5bdcb0709b7c671c9bd28549aeaca9831f9eb33b06c94a29765d8f00843b8b7beaa44824ded175bb675a60858ee23d9f112929488cfbc8db103ad SHA512 e7bdfd202754c628a8b89cb506d98aca97408588c3931b405b25dd3d629387443a8a222dca2a2037afc76dc77ff3fc06554c31430540fd159f2e17038024342b -MISC metadata.xml 526 BLAKE2B 9b7e9da39268190a4e2d34a6cbc4a9011e63ff916ddcc87fa0d799c3a48a71e67da0677ff41e3e2fa90e0167d91e4091f8a7d00bdcf804ea88321e9ea5a21d00 SHA512 4aaa21b74825ac744cc440cfcaabf68300f1f6035c64020ac6e4b967daf816a3dd36a770b6eddb925e32e8061227aecf6be61356873b2b4720025119e351e57d +EBUILD python-box-7.1.1.ebuild 1122 BLAKE2B 784cf3863b946885df1e9b09052a185f8167bded7b073b351a3c2510f599ada97745be20a54b8a9077671d71f0882f7144dd81f58efce3888ffbde09554fac20 SHA512 60da5b46cd66c2c36271af95a6f033ae91092b19ac321f722b4620071878aaffc79ce18ecd62b3e49401982c6e01516c5f1d3c5ebdad2008bc5e8de1f0d6248e +MISC metadata.xml 610 BLAKE2B 7adbfb9b5d5fafa5e1b943fb3321d9b115586388c4480d3f27d1239b04391bae8a4551aee5b7109b1ee3d44e8f260cabf6ce4c42df4b99d8db9d3a258ce23466 SHA512 83bd215e4350c1d7a9ac4f36a485e7dbb4382b585634245d8fe4f6f31dcc2fbc8ab78488ccac6d7ffa693b8e261fe094de6808e10787cf73f169e6c3f83875f2 diff --git a/dev-python/python-box/metadata.xml b/dev-python/python-box/metadata.xml index c0dbbdd823f3..a825fd0ab27e 100644 --- a/dev-python/python-box/metadata.xml +++ b/dev-python/python-box/metadata.xml @@ -13,4 +13,7 @@ <remote-id type="github">cdgriffith/Box</remote-id> <remote-id type="pypi">python-box</remote-id> </upstream> + <use> + <flag name="native-extensions">Compiles native C extensions</flag> + </use> </pkgmetadata> diff --git a/dev-python/python-box/python-box-7.1.1.ebuild b/dev-python/python-box/python-box-7.1.1.ebuild new file mode 100644 index 000000000000..a71c7fcf6444 --- /dev/null +++ b/dev-python/python-box/python-box-7.1.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P=Box-${PV} +DESCRIPTION="Python dictionaries with advanced dot notation access" +HOMEPAGE=" + https://github.com/cdgriffith/Box/ + https://pypi.org/project/python-box/ +" +SRC_URI=" + https://github.com/cdgriffith/Box/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+native-extensions" + +RDEPEND=" + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + if ! use native-extensions; then + # a cheap hack, extensions are auto-disabled if Cython.Build + # is not importable + > Cython.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + rm -rf box || die + epytest +} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 8af3e6f8384a..9f4211e85136 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,3 +1,5 @@ +DIST pyzotero-1.5.10.tar.gz 526403 BLAKE2B f62607b14dd558f7d3bb74e9758ae3bc762df178ce92c31253d183609dc0e8c48e67382457a6078139e003076ee8b1cd20959d807fdf9fd8bf1cf2c383bbdf1a SHA512 9fe4c337e597786ada1cfdfbe1bbb42f03356e3a1258760f945f22e17fd3c48a77ad1f92b3854fc36be4ffcbaf9453cd7109f2bd339b2bfe837719fdbc71b129 DIST pyzotero-1.5.9.tar.gz 526093 BLAKE2B bf29b557226363d71d536c41fb168b55b0d63dace5789f8abc92b8342bffb1ddcb4344132a68cc401db0ca0a536f534141690b017bc4dcf4d45299dec308a554 SHA512 be8c2135d3cc1bc5defc27a4eaf5233ced01a7c84cdf89074ce318558728c9356ddcf9e4ede4012b03c1f836dde641fee9366ca954e5d3cf35642638c3e38145 +EBUILD pyzotero-1.5.10.ebuild 764 BLAKE2B 2f0b15b5e6466ac080da4ee6cf327e90688c758964b52a20198cb13a977df1960268ca39f0c8a1d5418be9f5596d5a6e0af56bb4e88a415b2484ec0f00d12e3a SHA512 edb71b05c75d8a33d722b74e197498e4e71ce947bf3e5ef0cd032ccf7a03189aa3d0b085a49f76c68c077569776ebec9d5881aa970c98aacab8a45403c4ef3c1 EBUILD pyzotero-1.5.9.ebuild 764 BLAKE2B 2f0b15b5e6466ac080da4ee6cf327e90688c758964b52a20198cb13a977df1960268ca39f0c8a1d5418be9f5596d5a6e0af56bb4e88a415b2484ec0f00d12e3a SHA512 edb71b05c75d8a33d722b74e197498e4e71ce947bf3e5ef0cd032ccf7a03189aa3d0b085a49f76c68c077569776ebec9d5881aa970c98aacab8a45403c4ef3c1 MISC metadata.xml 512 BLAKE2B bf20e20fc4c9a9345d42fca55ed12b940b14464416e50f0bf5d1c8ecfb3faa07b692e14ccaddb3efd161e903c020209eab23715299a27166d63c4e7b1d2e0db4 SHA512 10b3351acff6184aa7f3254b21ebf9bd733dcd1471030476eb427c1b788d23dc0307ae7ed441b3267b32891dee3c463e646e8acbb4cf4a42d8c1c8ad08518a7e diff --git a/dev-python/pyzotero/pyzotero-1.5.10.ebuild b/dev-python/pyzotero/pyzotero-1.5.10.ebuild new file mode 100644 index 000000000000..9d9ad538c0fd --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.10.ebuild @@ -0,0 +1,37 @@ +# 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="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest index d3d3922e5ad7..fd344ea65861 100644 --- a/dev-python/sphinxcontrib-bibtex/Manifest +++ b/dev-python/sphinxcontrib-bibtex/Manifest @@ -1,5 +1,7 @@ DIST sphinxcontrib-bibtex-2.5.0.tar.gz 113310 BLAKE2B 5bd39fccf33897bbbf8359a09f07a6e7146d4fb3c1ccb63ad96d3980cc4a256e0b9b37bbf6ceadf65eb01937741934e1f30841587eb6246b50774c81e8428998 SHA512 c99b4bf8cbc73e94e7e4486b4cb58de0dc928079b320ee7d7a473ee27b7f1e349a4765a30059aadc3fb0c6161940c6f2eaf7afdf5ac1c64ba73ed80fba5b5e45 DIST sphinxcontrib-bibtex-2.6.0.tar.gz 116668 BLAKE2B e7ad397bccf362717f95df7a563838005b626b59a49e9b07933deed47061fd56fdd291c2d8f2848821d43f132720507bcf5664afb7c62b9c8ca8745b131ba6f9 SHA512 779948e228890d57e26f0b450a6b6b0f7311142bfe65636ca86f42610ae9a3713cee8a4b6f58dc4e12cebd2a87dd309685fb29fbd0dbdbad14f993cb241bf1d6 +DIST sphinxcontrib-bibtex-2.6.1.tar.gz 117150 BLAKE2B 832fe8d16fd9311b5972127328edc506a0d4f2918c4ac1a4e56ce0530fa0c792db45f82c1801f48ff3299a52693a3041e9c2d6cbc4a17e864617ca58cfb6cd42 SHA512 9cf965bdfbcbc03b3104c9e7c5a730ac3e38c410554b7007485bd9aa0464663e26898537fa074c97951588a3e848a8a64e09d6c82bfc117ce4153da24de84fb5 EBUILD sphinxcontrib-bibtex-2.5.0.ebuild 1096 BLAKE2B 1596b59e32bc0d6b5dc279e9d01b74425f7d5d4a4a207e62591fbf76be11390aa15ccae929877d3be49c2adb43fe7f43046246890c34475b8cb05d9b31cb39a1 SHA512 0c6341e52ce27b7f53fea5f6d147ef2c4a0be7a0f4a588fbc9d3d059b5b19a17ccdd7e660346def4bef29ef3dc22753eea306e50aafa216399e55a34e4363f9a EBUILD sphinxcontrib-bibtex-2.6.0.ebuild 1149 BLAKE2B 88533bcf0a557ebd950613eba6c6049dea6c39924d4663233cfdcc54e073da87e168e63bcadcc1e8349b12ca633fa1cfd2ee0d5e768241a25d5a55b81470c6e3 SHA512 3f16b46f211054ec4f12794c2e84ec8c504de2f776ceb576cd0006975abb0024657d72014e8eeb4e355f6982014e3447fd62483628fcc745f0a8ee6eaac8534b +EBUILD sphinxcontrib-bibtex-2.6.1.ebuild 1149 BLAKE2B 88533bcf0a557ebd950613eba6c6049dea6c39924d4663233cfdcc54e073da87e168e63bcadcc1e8349b12ca633fa1cfd2ee0d5e768241a25d5a55b81470c6e3 SHA512 3f16b46f211054ec4f12794c2e84ec8c504de2f776ceb576cd0006975abb0024657d72014e8eeb4e355f6982014e3447fd62483628fcc745f0a8ee6eaac8534b MISC metadata.xml 539 BLAKE2B 9990d81362d6a2d5bb471fa2372b92d3ce4a4d08e57098dbe981b7a2320c46095e404a6077c5d5c57daf752c03bb4cb809461a05f11e1c2ecf771db201f8147c SHA512 421b99f9834ca4240a7959f99a8907379e0730b8c2ce608533ba4cafff3a8502738044675f0abed00f5f1cec195c18f5fd933404afff6f3c9b74c7cca02dba31 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.1.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.1.ebuild new file mode 100644 index 000000000000..ea7f29444e5b --- /dev/null +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.1.ebuild @@ -0,0 +1,52 @@ +# 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 pypi + +DESCRIPTION="Sphinx extensions for BibTeX style citations" +HOMEPAGE=" + https://github.com/mcmtroffaes/sphinxcontrib-bibtex/ + https://pypi.org/project/sphinxcontrib-bibtex/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/docutils-0.8[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}] + >=dev-python/pybtex-0.24[${PYTHON_USEDEP}] + >=dev-python/pybtex-docutils-1.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/numpydoc[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # rinoh not packaged + test/test_citation_rinoh.py::test_citation_rinoh + test/test_citation_rinoh.py::test_citation_rinoh_multidoc +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + epytest +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index a6f95431775f..38644c26499c 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -6,6 +6,7 @@ DIST sqlglot-17.14.0.tar.gz 8496712 BLAKE2B 5bdf3e3ffcb5da87f102cc706f52a1717abb DIST sqlglot-17.14.2.tar.gz 8498185 BLAKE2B c556387a77aa2d5a52ce2f0ac630253ea68b9cd9426493e689e253b524643d25f1b7833e0a0970a52ac172eeced458de25584e55dc74d48e9398a02ab7f3dae1 SHA512 186011ccdbe3a3abff6dd94f31c6f2030a9a3c508569528e716fbfaffefccd9c31a508507caa8e2225582c95056e966466ba9aac95262d10152917c70003de7b DIST sqlglot-17.15.0.tar.gz 8505061 BLAKE2B 60ab18f09a5540d1442b03b6eae104f01642808ab0081df5e387eaa9a8c188b21cc1574e0c63d3d0eeddef023c2d3d0008a0e6f0e7e5ce8cdadde51b40e8641e SHA512 efca36e7fffcaff3379a870266e6978452a06a502d179d5bb1ba3dbf6f2d84bd9ef8f7967f82d6512ab6d420b755d3ea2c3bd243a4f7c5e8baccd4dcd183d390 DIST sqlglot-17.15.1.tar.gz 8536088 BLAKE2B 6b3e0663a4707bc5c94749765919f9e0a76e4d38b62777923407c360474e9b8671be7d2be3b7e3b7b37c95de9b51cb4aa4bfa161b2fbc7e218a6d20184804979 SHA512 bab2b32ab119e820067dd60b336e96797c2fddfa5cbbe619c12b0c27e19ab8fa8d3106cdc4956036f87b810bd1dab3a5f7a01b690d72b3c1e9ec9f10399bb95e +DIST sqlglot-17.16.1.tar.gz 8561327 BLAKE2B fce3362e91e91f92624337964ddd72ab198ecd368f77abce89ee7090aeb23efb79aecd93f76d7f8cd896c23d8cd99f0e068bdbc14906174eab6bd015e809f903 SHA512 c97bd12c1f889f77c279b10b5869806ac170301602020dcf7073ba70547702e1732a3354141694f7c4db8528bc1fd4e8bfe006f2ad81c4bf63153c148878b5e1 EBUILD sqlglot-17.10.1.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-17.10.2.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-17.11.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 @@ -14,4 +15,5 @@ EBUILD sqlglot-17.14.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb727 EBUILD sqlglot-17.14.2.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-17.15.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-17.15.1.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 +EBUILD sqlglot-17.16.1.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 MISC metadata.xml 635 BLAKE2B fb154da2feeea6d590b4f3edb8d8d90d316feee1b8faababc022db026254bd24674d8419b74074b089d4d8930bab642cdc5fa7694bfa9e033cb5ef4ad4988562 SHA512 dd5ed7212dc2eac6a4d84bb2e3639db1ffe163598d911073d7100a8ebfeceb85842ea2e6a597d1036d5b1388d18954b95a782af7b3a84479bf3b59ef9e9b6bf8 diff --git a/dev-python/sqlglot/sqlglot-17.16.1.ebuild b/dev-python/sqlglot/sqlglot-17.16.1.ebuild new file mode 100644 index 000000000000..368b77416b42 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-17.16.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 7453824e266b..a8e6c26953e3 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,3 +1,5 @@ DIST starlette-0.30.0.gh.tar.gz 2844387 BLAKE2B 00457d4913bd1c99fc6972baae56c5ebe84ba8215c6dd4f7875f6d93856ba40454d8a72828e715624bb945dce4abfbe407ed16e289a393af7be980f36389f9ae SHA512 751077fcfe3d344584d8986f3fc2bc25208716ca215db8ce62dfc752008dacd95f4834367f0921ceacaafa6b20409a9912f49ceabc23d7e9e5f636c6fb3646b2 +DIST starlette-0.31.1.gh.tar.gz 2846196 BLAKE2B 08ebe13d4b9716c6ff74a4f9ca6333f5e6dc31c6ce359b39cbf8e9822fad2e8c8a111788a37893ad687f4d3ffb3bef1e21146f3769b3ac07f083b1c454c07fa3 SHA512 8501b1f40fea9351eba8366dfe1adcb27d19a64a2f547153f3106f8d6828a47c850d6ffb634d6ce60e74fc02d510afda22bca33e07631b72f9a5558e977ea0f6 EBUILD starlette-0.30.0.ebuild 1137 BLAKE2B 35b6093daf96407877ee3b705e67fb9a5ecabcd12f652efdab990618f99e071ba218231d24760de4904fd4da46adc862d7022ddd256e1510b195454a8367c7ee SHA512 a6914801c50ae27c0195dd6fa3e792a464b46a94b3f2e372ca9a78b88cccfa4a777c9a2ee87e9d6dab9a1fe2c134a526f0417cd48bf9ccc3e794369927783083 +EBUILD starlette-0.31.1.ebuild 1145 BLAKE2B 96a1b0e3328e0d0d31cf2f30bdfeb11759f30be9a861844e13eb40f375a95fbc2b6cec2c54734ca300bf256b865d98f2f77c0e0065f7dcddbe3bb67a5fb4d856 SHA512 d3735cee3c781dce763dcbb49fc60ecc980372d9ed20e8d8c2d05c4d50b9df46909632b73b3ec4f02617878e5f4445840c8b8c9fdc54bdd1fc24c42f77c20120 MISC metadata.xml 371 BLAKE2B 0ccaa4659e63162b565359a1cae05764bea66d708a5f4af1a4716ba9ba23faa39ab4f5a806c0a9783f3f42282ee9b98e22a92f2b308b8dfe97bbf9c770a8add1 SHA512 0fc326941861260becd4129c8a351e89ba0f98f9a3ce9b5d50812f0eaf667743ab0d403889aa1b0a2d9fcedbe0212ba879d165ec8edd115686d4768e6b1326ca diff --git a/dev-python/starlette/starlette-0.31.1.ebuild b/dev-python/starlette/starlette-0.31.1.ebuild new file mode 100644 index 000000000000..5157f33105ee --- /dev/null +++ b/dev-python/starlette/starlette-0.31.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +# no docs or tests in sdist, as of 0.27.0 +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/python-multipart[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py +) + +distutils_enable_tests pytest diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 7a23d8eca1dc..08ce576346fa 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -3,9 +3,11 @@ DIST typeguard-4.0.1.tar.gz 67242 BLAKE2B bf0b092402e4044675f1252a1ad4657fa8ec31 DIST typeguard-4.1.0.tar.gz 67584 BLAKE2B d2f6777cad306410d4a536312a981600371e0e0cae224eee286e3b6bd48a0777ca587eb44b4f48fd9a2c7fe5e35d274f5d1c2eb508ed9708b25b686b395976fb SHA512 5a1a374c1b9679cf1d840a750698caea47deae0fcec8eda3312773fd8eee8ccc533030b78c8e1c8bfae6bee79c323ba421176b2c8d2e85a87444ba767891ede7 DIST typeguard-4.1.1.tar.gz 67711 BLAKE2B e4fd162d858907afea9e4bbaed7960fb3e8728acfa921cf889ba53422d21a09e5a0811b942aa7db564cc247d43ea3dca12f9124ae4ae54e3e4d6804dc443c35a SHA512 93a9f7ae5eabee85b133024971019647b6f49eff12059fdcfbf76927585362734c9db6e9c42dcbd97d63d498fd06d240f882fe8cd08a854c2214241e3a2bd1b2 DIST typeguard-4.1.2.tar.gz 67758 BLAKE2B 89d9502ac3d3685ca7b3dcbf0725a4a758fa3dff97a69eb64447e61e27629a5aa2cf4bd8fddfe8d552a383487329c22818030100a20642a71eed21780018d778 SHA512 4fc45a725d1aaaab01fa0f88711965d7d859111857df6f4e480daa73119d3c8da3f987ddec39c22ede74fbb7fe1278f4a62fdc468aa1699d19ae700af0317760 +DIST typeguard-4.1.3.tar.gz 67821 BLAKE2B 66373b95f9f3c995ad560f4f35318647a6dd8581b1b7ad1a4adbc3f4944a7ca130cc3291d12b062b3c0d05f82ad254249a80ececa5984f4d16fd093deeecc1fb SHA512 bf9914ac33b3c7afb439e96c9319f79ee67591d3bfa7da1f0df50ba7b2bbaf0c3705d45d9fe7215b132f838f4d57ae2c0abe1f4b90c4199520601453d2ca04f8 EBUILD typeguard-4.0.0.ebuild 935 BLAKE2B bf19f1cd2d294e04bc1d82a50b6267b2ba17d7eeaf661d48c255870faa107cc36c67bb42bc867710ed6b1a490b41d9e96fcdd19fbbb7fc6d30727a14d2f161dc SHA512 e8859fc93d549d256688d4c24232103656a83f506f46bb3eb2ba2164f08ce438ecec0045ff871d2bec15c8237a978fc4736dbfbbd43bc7ad4583168cf19b2cfa EBUILD typeguard-4.0.1.ebuild 950 BLAKE2B 2b2d2fa0e9280109e759a645654171a5c0ad33f833d34723a0a4d3b789db33a1f9a941a8978757b5a77219422b0539589e6ce70bb1d4ca977bcd7641a9b0d21f SHA512 d85725b17e1e1ccfdfb586d6c3a453822684f15697977e6795c75bf786283c5c22f224d5cb7b4deb1ef2fc70d00a3b5cb8cedb3f555f1695af0f3ba019b13b9c EBUILD typeguard-4.1.0.ebuild 950 BLAKE2B 2b2d2fa0e9280109e759a645654171a5c0ad33f833d34723a0a4d3b789db33a1f9a941a8978757b5a77219422b0539589e6ce70bb1d4ca977bcd7641a9b0d21f SHA512 d85725b17e1e1ccfdfb586d6c3a453822684f15697977e6795c75bf786283c5c22f224d5cb7b4deb1ef2fc70d00a3b5cb8cedb3f555f1695af0f3ba019b13b9c EBUILD typeguard-4.1.1.ebuild 950 BLAKE2B 2b2d2fa0e9280109e759a645654171a5c0ad33f833d34723a0a4d3b789db33a1f9a941a8978757b5a77219422b0539589e6ce70bb1d4ca977bcd7641a9b0d21f SHA512 d85725b17e1e1ccfdfb586d6c3a453822684f15697977e6795c75bf786283c5c22f224d5cb7b4deb1ef2fc70d00a3b5cb8cedb3f555f1695af0f3ba019b13b9c EBUILD typeguard-4.1.2.ebuild 950 BLAKE2B 2b2d2fa0e9280109e759a645654171a5c0ad33f833d34723a0a4d3b789db33a1f9a941a8978757b5a77219422b0539589e6ce70bb1d4ca977bcd7641a9b0d21f SHA512 d85725b17e1e1ccfdfb586d6c3a453822684f15697977e6795c75bf786283c5c22f224d5cb7b4deb1ef2fc70d00a3b5cb8cedb3f555f1695af0f3ba019b13b9c +EBUILD typeguard-4.1.3.ebuild 950 BLAKE2B 2b2d2fa0e9280109e759a645654171a5c0ad33f833d34723a0a4d3b789db33a1f9a941a8978757b5a77219422b0539589e6ce70bb1d4ca977bcd7641a9b0d21f SHA512 d85725b17e1e1ccfdfb586d6c3a453822684f15697977e6795c75bf786283c5c22f224d5cb7b4deb1ef2fc70d00a3b5cb8cedb3f555f1695af0f3ba019b13b9c MISC metadata.xml 350 BLAKE2B 78dc7293e08dae7974b38d84ce457ceddc5888a7278c1b149b8ba3057f07130b2e002dd78a9df91fd09d85b7ebc26272b4c78dd96c6cdd3938cff67b9c451366 SHA512 1fe4c4164b0732bd294815dacdd46a70ace6e8886343491232fb59b6b3697316c3eac5dd72e2e4758d87fd093d845f4453b8f278009be640ca1555413f47e869 diff --git a/dev-python/typeguard/typeguard-4.1.3.ebuild b/dev-python/typeguard/typeguard-4.1.3.ebuild new file mode 100644 index 000000000000..2d5d1842fcbf --- /dev/null +++ b/dev-python/typeguard/typeguard-4.1.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Run-time type checker for Python" +HOMEPAGE=" + https://pypi.org/project/typeguard/ + https://github.com/agronholm/typeguard/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] + ' 3.{10..11}) +" +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # mypy changes results from version to version + tests/mypy + ) + + local -x PYTHONDONTWRITEBYTECODE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # the XFAIL test pass due to some package being installed + epytest -o xfail_strict=False +} |