diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-20 06:34:28 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-20 06:34:28 +0000 |
| commit | c4de2d46322f03e1c5bccbe2fd58840039c97450 (patch) | |
| tree | 2fca0b4d56d6bbab204a84e3e96ac711f86353ae /dev-python | |
| parent | 973029c2ca1b991a8d2fd6b3176c0a9784374b71 (diff) | |
| download | baldeagleos-repo-c4de2d46322f03e1c5bccbe2fd58840039c97450.tar.gz baldeagleos-repo-c4de2d46322f03e1c5bccbe2fd58840039c97450.tar.xz baldeagleos-repo-c4de2d46322f03e1c5bccbe2fd58840039c97450.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
17 files changed, 377 insertions, 110 deletions
diff --git a/dev-python/gbinder/gbinder-1.1.2-r1.ebuild b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild new file mode 100644 index 000000000000..a73e86868758 --- /dev/null +++ b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +DISTUTILS_USE_PEP517="setuptools" +DISTUTILS_EXT=1 + +inherit distutils-r1 + +if [[ ${PV} != *9999* ]]; then + MY_PN="${PN}-python" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git" +fi + +DESCRIPTION="Python bindings for libgbinder" +HOMEPAGE="https://github.com/erfanoabdi/gbinder-python" +LICENSE="GPL-3" +SLOT="0" + +PATCHES=( + "${FILESDIR}"/gbinder-1.1.1-setuptools.patch +) + + +DEPEND="dev-libs/gbinder + dev-libs/libglibutil" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-python/cython[${PYTHON_USEDEP}] + ${DISTUTILS_DEPS} +" + +python_configure_all () { + DISTUTILS_ARGS=( --cython ) +} diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest index c965fff81322..4905f753320b 100644 --- a/dev-python/pyclip/Manifest +++ b/dev-python/pyclip/Manifest @@ -1,3 +1 @@ -DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc -DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f -DIST pyclip-0.7.0.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877 +DIST pyclip-0.7.0.gh.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877 diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild deleted file mode 100644 index be693321887a..000000000000 --- a/dev-python/pyclip/pyclip-0.5.4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" -else - SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="Python clipboard module" -HOMEPAGE="https://pypi.org/project/pyclip/" -LICENSE="Apache-2.0" -SLOT="0" -RESTRICT="test" -DOCS="${S}/docs/README.md" - -DEPEND="" -RDEPEND=" - x11-misc/xclip -" -BDEPEND="" diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild deleted file mode 100644 index b5186f13daa9..000000000000 --- a/dev-python/pyclip/pyclip-0.6.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" -else - SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -DESCRIPTION="Python clipboard module" -HOMEPAGE="https://pypi.org/project/pyclip/" -LICENSE="Apache-2.0" -SLOT="0" -RESTRICT="test" -DOCS="${S}/docs/README.md" - -DEPEND="" -RDEPEND=" - gui-apps/wl-clipboard - x11-misc/xclip -" -BDEPEND="" diff --git a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild new file mode 100644 index 000000000000..96f6edb12170 --- /dev/null +++ b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +DISTUTILS_USE_PEP517="setuptools" + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" +else + SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Python clipboard module" +HOMEPAGE="https://pypi.org/project/pyclip/" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="wayland +X" +# Needs a working xorg/wayland setup +RESTRICT="test" +DOCS="${S}/docs/README.md" +REQUIRED_USE="|| ( wayland X )" + +RDEPEND=" + wayland? ( gui-apps/wl-clipboard ) + X? ( x11-misc/xclip ) +" + +src_prepare() { + # Clipboard detection should respect USE flags + if use wayland && ! use X; then + sed -ie "/linux':/s/elif .*/elif False:/" pyclip/util.py || die + elif ! use wayland && use X; then + sed -ie "/WAYLAND/s/elif .*/elif False:/" pyclip/util.py || die + fi + distutils-r1_src_prepare +} + +pkg_postinst() { + if use wayland && use X; then + elog "If you wish to use the xclip backend over the wl-clipboard backend," + elog "unset the WAYLAND_DISPLAY environment variable or consider" + elog "installing ${CATEGORY}/${PN}[-wayland,X] instead." + fi +} diff --git a/dev-python/pyclip/pyclip-0.7.0.ebuild b/dev-python/pyclip/pyclip-0.7.0.ebuild deleted file mode 100644 index 0dec7f4a0b91..000000000000 --- a/dev-python/pyclip/pyclip-0.7.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -DISTUTILS_USE_PEP517="setuptools" - -inherit distutils-r1 - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" -else - SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi - -DESCRIPTION="Python clipboard module" -HOMEPAGE="https://pypi.org/project/pyclip/" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="wayland X" -RESTRICT="test" -DOCS="${S}/docs/README.md" -REQUIRED_USE="|| ( wayland X )" - -DEPEND="" -RDEPEND=" - wayland? ( gui-apps/wl-clipboard ) - X? ( x11-misc/xclip ) -" -BDEPEND="" diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild index 0dec7f4a0b91..96f6edb12170 100644 --- a/dev-python/pyclip/pyclip-9999.ebuild +++ b/dev-python/pyclip/pyclip-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git" else - SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi @@ -21,14 +21,31 @@ DESCRIPTION="Python clipboard module" HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" -IUSE="wayland X" +IUSE="wayland +X" +# Needs a working xorg/wayland setup RESTRICT="test" DOCS="${S}/docs/README.md" REQUIRED_USE="|| ( wayland X )" -DEPEND="" RDEPEND=" wayland? ( gui-apps/wl-clipboard ) X? ( x11-misc/xclip ) " -BDEPEND="" + +src_prepare() { + # Clipboard detection should respect USE flags + if use wayland && ! use X; then + sed -ie "/linux':/s/elif .*/elif False:/" pyclip/util.py || die + elif ! use wayland && use X; then + sed -ie "/WAYLAND/s/elif .*/elif False:/" pyclip/util.py || die + fi + distutils-r1_src_prepare +} + +pkg_postinst() { + if use wayland && use X; then + elog "If you wish to use the xclip backend over the wl-clipboard backend," + elog "unset the WAYLAND_DISPLAY environment variable or consider" + elog "installing ${CATEGORY}/${PN}[-wayland,X] instead." + fi +} diff --git a/dev-python/pycurl/Manifest b/dev-python/pycurl/Manifest index 12303b7d4f75..dcded486c50b 100644 --- a/dev-python/pycurl/Manifest +++ b/dev-python/pycurl/Manifest @@ -1 +1,2 @@ DIST pycurl-7.45.2.tar.gz 234245 BLAKE2B 16257a967d2867de08d83478f602d00b54316d37b6a544804e606a814f61507530fb7e1ef3247be824dfa22b9487a69bbfc9b1038b2b776ebc556b18ed2d93ca SHA512 8a82346395acfc0bd37a8c4d8d2b17e5ab4602710308ed50f9ed88c223c73f15f5b1c95fc6191708e3bd9d647e4bc5ec91f740de433dd87e2ae0796ac79879ac +DIST pycurl-7.45.3.tar.gz 236470 BLAKE2B 690e49f92f569352e26d95a0fa58508c4e96c845c7e3ae1169b8bc55036902f64859987880565217df56a57031dc2775e3c6979b4cfdf8a8c9a94c67ae94cb79 SHA512 12a55070602a1fd22b160ad582a4001bdd28531d2b2ccd365ff0136bc13dd23af80b19488bdbbc60a902a3a362b64383b9ae6acce6ed328c74dcffc8a6a3f4ad diff --git a/dev-python/pycurl/pycurl-7.45.3.ebuild b/dev-python/pycurl/pycurl-7.45.3.ebuild new file mode 100644 index 000000000000..dab783fce5c2 --- /dev/null +++ b/dev-python/pycurl/pycurl-7.45.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 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_{8,9,10,11,12} ) + +inherit distutils-r1 pypi toolchain-funcs + +DESCRIPTION="Python bindings for curl/libcurl" +HOMEPAGE=" + http://pycurl.io/ + https://github.com/pycurl/pycurl/ + https://pypi.org/project/pycurl/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="curl_ssl_gnutls +curl_ssl_openssl examples ssl" + +# Depend on a curl with curl_ssl_* USE flags. +# libcurl must not be using an ssl backend we do not support. +# If the libcurl ssl backend changes pycurl should be recompiled. +# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl +# does not need to initialize gcrypt threading and we do not need to +# explicitly link to libgcrypt. +DEPEND=" + >=net-misc/curl-7.25.0-r1:=[ssl=] + ssl? ( + net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)] + curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0:= ) + curl_ssl_openssl? ( dev-libs/openssl:= ) + ) +" + +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + >=dev-python/bottle-0.12.7[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # docs installed into the wrong directory + sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_configure_all() { + # Override faulty detection in setup.py, bug #510974. + export PYCURL_SSL_LIBRARY=${CURL_SSL} +} + +src_test() { + emake -C tests/fake-curl/libcurl CC="$(tc-getCC)" + + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # refcounting tests are unreliable + tests/memory_mgmt_test.py::MemoryMgmtTest::test_readdata_refcounting + tests/memory_mgmt_test.py::MemoryMgmtTest::test_writedata_refcounting + tests/memory_mgmt_test.py::MemoryMgmtTest::test_writeheader_refcounting + # broken with curl 8.4.0+ + tests/multi_callback_test.py::MultiCallbackTest::test_multi_socket_action + tests/multi_socket_select_test.py::MultiSocketSelectTest::test_multi_socket_select + # TODO + tests/option_constants_test.py::OptionConstantsTest::test_proxy_tlsauth + tests/option_constants_test.py::OptionConstantsTest::test_socks5_gssapi_nec_setopt + ) + + epytest -p flaky -p timeout --timeout=30 tests +} + +python_install_all() { + local HTML_DOCS=( doc/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/pynput/pynput-1.7.6.ebuild b/dev-python/pynput/pynput-1.7.6.ebuild index 4b40257a9621..5525104612c3 100644 --- a/dev-python/pynput/pynput-1.7.6.ebuild +++ b/dev-python/pynput/pynput-1.7.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ inherit distutils-r1 pypi DESCRIPTION="Sends virtual input commands" HOMEPAGE="https://github.com/moses-palmer/pynput https://pypi.org/project/pynput" RDEPEND=" - dev-python/python-evdev[${PYTHON_USEDEP}] + dev-python/evdev[${PYTHON_USEDEP}] dev-python/python-xlib[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] " diff --git a/dev-python/pythran/pythran-0.15.0.ebuild b/dev-python/pythran/pythran-0.15.0-r1.ebuild index bb641768ba1b..20dabd76a6bc 100644 --- a/dev-python/pythran/pythran-0.15.0.ebuild +++ b/dev-python/pythran/pythran-0.15.0-r1.ebuild @@ -27,6 +27,7 @@ KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-libs/boost + dev-cpp/xsimd =dev-python/beniget-0.4*[${PYTHON_USEDEP}] =dev-python/gast-0.5*[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] @@ -34,8 +35,10 @@ RDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] " DEPEND=" - dev-libs/boost - dev-cpp/xsimd + test? ( + dev-libs/boost + dev-cpp/xsimd + ) " BDEPEND=" test? ( @@ -54,10 +57,11 @@ EPYTEST_XDIST=1 distutils_enable_tests pytest src_configure() { - # sigh + # vendored C++ headers -- use system copies rm -r pythran/{boost,xsimd} || die if use test ; then + # https://bugs.gentoo.org/916461 sed -i \ -e 's|blas=blas|blas=cblas|' \ -e 's|libs=|libs=cblas|' \ diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index f5e1647a4703..6577315ce948 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -4,3 +4,4 @@ DIST sentry-python-1.40.1.gh.tar.gz 458026 BLAKE2B 2f4f34be4dd90bcdace51b593feb5 DIST sentry-python-1.40.2.gh.tar.gz 458073 BLAKE2B 807ab048ced25a121bc681ace1b04a0f2cee5c49d18674b97b6e15a1466a3a73566dbf05abf052610fe3fe469eacf92dbc5e94367004ffc5d35da409c9c3792a SHA512 b14926d673afdcbc1cd1c09b667e3a407bfd8bc3643ecce0c811d429932ff1a291b4cad9abbeef7de03fff22d1159b7c7c0baac307e19bc8ac60c2cfb87154bc DIST sentry-python-1.40.3.gh.tar.gz 458533 BLAKE2B cbf7a5ccd10b23369865fdaf4c59e6bf3b2491e896a46696552022b239f4177ac12b65fa0a5d8fabb727a078bd7bc1762f387b2e6b7855c3f1f139aa58fa6bba SHA512 1956f4d6102b1de3fa0fe38a0ba68b4ecb83385c0f9a9056657a1641bd3080178884310b9a3381d5dbd8a8e50b5d31fc81b1a1e1df0a51a8a2a7f793debdac32 DIST sentry-python-1.40.4.gh.tar.gz 458601 BLAKE2B d2d7ab718b461418bb5a54afe5998dcc0e95d76d5975673c7470fa0f2bbb79e5f8999b254ff406b026d86422fbbe4d3395f07be1224afd00d02ce6d5f170a8f6 SHA512 2c62618e102f754ca838c54aa90bc4d00d8a98903ee2ac3118741bb38f0dd808c8deb8254581c820b086a06415c8adf62862e4c4b2dad393faf7d977a1015cfb +DIST sentry-python-1.40.5.gh.tar.gz 459886 BLAKE2B 47df2f0c1594c236cd6382093c6d67d542ed01d44e51716c04620efd8c62031d401b410bf39572c0c8f178c48469fb35ac902a8b75d81058d55fbaa40308beef SHA512 50476f67be3142599e64815639d416ed7fbee5362dec196040b9c6455b80e176f178a4aefbac332b7aa0075cc45af4064bfa4c0e84c98c6535bc9604e2c7acd7 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.40.5.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.40.5.ebuild new file mode 100644 index 000000000000..3833dccf2fec --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.40.5.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + ) + + local EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string + tests/test_scrubber.py::test_breadcrumb_extra_scrubbing + tests/test_scrubber.py::test_span_data_scrubbing + # this is not even funny + tests/test_utils.py::test_installed_modules + # flaky hypothesis stuff + tests/test_serializer.py::test_bytes_serialization_repr_many + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 + # crashes Python + tests/integrations/grpc/test_grpc_aio.py + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # TODO + tests/test_utils.py::test_default_release + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + 'tests/utils/test_contextvars.py::test_leaks[threads]' + # skipped without gevent but breaks stuff via broken teardown? + tests/test_metrics.py::test_no_metrics_with_gevent + # TODO + tests/utils/test_contextvars.py::test_leaks + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked +} diff --git a/dev-python/types-requests/Manifest b/dev-python/types-requests/Manifest index 77d57e20d47c..f9b172298c05 100644 --- a/dev-python/types-requests/Manifest +++ b/dev-python/types-requests/Manifest @@ -1 +1 @@ -DIST types-requests-2.31.0.20240125.tar.gz 16321 BLAKE2B 60be52ab82e867c6f5d8b47663e9aa5e450a3fb9a2d3cf428db914780f53c8fec69d1ecabf18a2276b7d1b21a9a9def9a9b45cf093a45e41a839477e94f87aed SHA512 7033af1280ee8e031d4de49b8832e5b68e50c22316d131c9ed2ca5a1dc384d67b860a46a696ef88d69efb369558c4651944188b7f1790d37d8ed6efea63618b5 +DIST types-requests-2.31.0.20240218.tar.gz 16739 BLAKE2B dd7b5e73d9f5d8891da693d04553689c60eed405e10e7bbee3b43f0e8c600b7c4e4a34fc3a80f2308af500d932c069873e63a8c2e36b8a9e57d66c2725a71d99 SHA512 ed1577264658fa2c7bfb81bedfe2880565b9a80fc9b84d10a15194ef787ad6df9520b00c4ad30b68b5db1170bd3906c57fdf0f258502dd13a9409565581435c1 diff --git a/dev-python/types-requests/types-requests-2.31.0.20240125.ebuild b/dev-python/types-requests/types-requests-2.31.0.20240218.ebuild index f7a82c638d9c..f7a82c638d9c 100644 --- a/dev-python/types-requests/types-requests-2.31.0.20240125.ebuild +++ b/dev-python/types-requests/types-requests-2.31.0.20240218.ebuild diff --git a/dev-python/undervolt/Manifest b/dev-python/undervolt/Manifest index c1cad1b70e8b..19ac3bea108f 100644 --- a/dev-python/undervolt/Manifest +++ b/dev-python/undervolt/Manifest @@ -1 +1 @@ -DIST undervolt-0.3.0.tar.gz 9161 BLAKE2B 4e23f591c2c765a996bec6f9d4c17d80a4fa8de96648549522a259c63b455833b46554e33024d19768d161c2000bc6ee01a8d183c742a6c689c05c5fecc263ed SHA512 154590a5172bb305e32d464b340ef8c96fc081464dc1090deda364ad47e4eaba010376ab7cb8d001103b64d44bc38c34aff6f9a1bd6125ce5b149ccb6c96065f +DIST undervolt-0.4.0.tar.gz 9976 BLAKE2B 57f9d7b8f1c00497a86669baab02749e43fed934e1ec29e512223ebfac2c7a1231d48def78c387e3c7030f06d716b8c165abfab95450193f8fd4c7615ec20389 SHA512 bd2743e8bea277bd9d6c80abcfad2c3e98f03a5bda2987b5ca448abbd2fd5b912e939bbddb619c59376de77bc5e7f7fe5c3dab929375a849abbdad8e55db3984 diff --git a/dev-python/undervolt/undervolt-0.3.0.ebuild b/dev-python/undervolt/undervolt-0.4.0.ebuild index f2d6720845c3..f2d6720845c3 100644 --- a/dev-python/undervolt/undervolt-0.3.0.ebuild +++ b/dev-python/undervolt/undervolt-0.4.0.ebuild |
