From c7b5a281b2f19df584053abc11abb47ccad9c381 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Apr 2023 18:13:05 +0100 Subject: gentoo auto-resync : 25:04:2023 - 18:13:05 --- dev-python/Manifest.gz | Bin 258843 -> 258847 bytes dev-python/PyQt5/Manifest | 2 - dev-python/PyQt5/PyQt5-5.15.7.ebuild | 183 ----------------- dev-python/caldav/Manifest | 2 +- dev-python/caldav/caldav-1.2.1-r1.ebuild | 40 ++++ dev-python/caldav/caldav-1.2.1.ebuild | 40 ---- dev-python/cffi/Manifest | 3 +- dev-python/cffi/cffi-1.15.1-r2.ebuild | 2 +- dev-python/cffi/cffi-1.15.1.ebuild | 64 ------ dev-python/ensurepip-setuptools/Manifest | 2 + .../ensurepip-setuptools-67.7.2.ebuild | 24 +++ dev-python/hypothesis/Manifest | 2 + dev-python/hypothesis/hypothesis-6.72.2.ebuild | 88 +++++++++ dev-python/pandas/Manifest | 2 + dev-python/pandas/pandas-2.0.1.ebuild | 219 +++++++++++++++++++++ dev-python/pyopenssl/Manifest | 6 +- dev-python/pyopenssl/pyopenssl-23.0.0.ebuild | 65 ------ dev-python/pyopenssl/pyopenssl-23.1.0.ebuild | 66 ------- dev-python/pyopenssl/pyopenssl-23.1.1.ebuild | 2 +- dev-python/scipy/Manifest | 2 +- dev-python/scipy/scipy-1.10.1.ebuild | 19 +- dev-python/setuptools/Manifest | 2 + dev-python/setuptools/setuptools-67.7.2.ebuild | 130 ++++++++++++ dev-python/sip/Manifest | 5 - dev-python/sip/files/sip-6.7.5-tomli.patch | 93 --------- dev-python/sip/sip-6.7.5-r1.ebuild | 44 ----- dev-python/sip/sip-6.7.7.ebuild | 44 ----- 27 files changed, 523 insertions(+), 628 deletions(-) delete mode 100644 dev-python/PyQt5/PyQt5-5.15.7.ebuild create mode 100644 dev-python/caldav/caldav-1.2.1-r1.ebuild delete mode 100644 dev-python/caldav/caldav-1.2.1.ebuild delete mode 100644 dev-python/cffi/cffi-1.15.1.ebuild create mode 100644 dev-python/ensurepip-setuptools/ensurepip-setuptools-67.7.2.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.72.2.ebuild create mode 100644 dev-python/pandas/pandas-2.0.1.ebuild delete mode 100644 dev-python/pyopenssl/pyopenssl-23.0.0.ebuild delete mode 100644 dev-python/pyopenssl/pyopenssl-23.1.0.ebuild create mode 100644 dev-python/setuptools/setuptools-67.7.2.ebuild delete mode 100644 dev-python/sip/files/sip-6.7.5-tomli.patch delete mode 100644 dev-python/sip/sip-6.7.5-r1.ebuild delete mode 100644 dev-python/sip/sip-6.7.7.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index bce7e8ec7067..9d519eeabf7d 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest index 927e0f6c16ef..06c58a309f6f 100644 --- a/dev-python/PyQt5/Manifest +++ b/dev-python/PyQt5/Manifest @@ -1,5 +1,3 @@ -DIST PyQt5-5.15.7.tar.gz 3238978 BLAKE2B 8e810444d9e4fe0c5af702161bc834848eefb6fdf04b282bbf42a9057d564aa778a01a5d40c249c10eecafb0dce8d160f032668f0d1fc87714fd874f002ec88a SHA512 815065f88454f767525fdd2caf97b0192eaf6095133c9c708ee4efa3d222742720a169856be65c84400a6e8d42d69ae65697d7f9dd17b9b4a347d75db93c5129 DIST PyQt5-5.15.9.tar.gz 3241160 BLAKE2B 37d7227e09c48576a51030729217d2c0771b2f833cfac76ff05dd0c9315889548934ceb459e590a5a9bc3a9ea2b26200791e470788f7d5b28a80fbc21539aa2f SHA512 1c07d93aefe1c24e80851eb4631b80a99e7ba06e823181325456edb90285d3d22417a9f7d4c3ff9c6195bd801e7dc2bbabf0587af844a5e4b0a410c4611d119e -EBUILD PyQt5-5.15.7.ebuild 5261 BLAKE2B d2e474ab79602bce66ec107092ff81736c847b3b1f28b140d018b0171bb569a0a4bc04aeb728ada782f067d26689350f7dadbc9ab2d274243265941939943212 SHA512 d1757ec5ee655fe92b1e9112ad2c6aa8c4e980b348afed88c4151da0b6b64fdf18781717b4de1a3ddcf95307cc6eaebf28d4264f53de4777a7e1705922572fce EBUILD PyQt5-5.15.9.ebuild 5229 BLAKE2B 67a712aa5adc7fcb8ccd982e3dbc6818290fe11141b363c32d3dd31edcf42afa697dbb3a27c271b780bf240585cfc96774866b9d8a46aa0b74075bfb95b73704 SHA512 34e7bb52cfe97bae25344b8f17082da38a0a721e5a18e43cb4b997f0e42a0d44c05d1b43cbb8efa54352aecd7887e1f4cda1b39fb02648d8956d1950d4f0e192 MISC metadata.xml 2287 BLAKE2B b4090aa2c55d05554a152bc3adfa76c68dc78175d26bb4ea6d25858ce2db922c168cc4ded6c7fa9114cf651417e0a6e435baebe460c8efbbd94be17adafd6f43 SHA512 12e3559ff04c32ebce2a382bf3b01730b0b69829c77cdf75f0061143cc19000e126daebbf9014beeae8bd1fba2675ef2ecfe7943296a8dc66000439c104c1351 diff --git a/dev-python/PyQt5/PyQt5-5.15.7.ebuild b/dev-python/PyQt5/PyQt5-5.15.7.ebuild deleted file mode 100644 index 3cde4be706e1..000000000000 --- a/dev-python/PyQt5/PyQt5-5.15.7.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 qmake-utils - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/ https://pypi.org/project/PyQt5/" - -MY_P=${PN}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -fi -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -# TODO: QtNfc, QtQuick3D, QtRemoteObjects -IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help location - multimedia network opengl positioning printsupport sensors serialport speech - sql +ssl svg testlib webchannel websockets widgets x11extras xmlpatterns" - -# The requirements below were extracted from the qmake_QT declarations -# in project.py and from the output of 'grep -r "%Import " ${S}/sip' -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - bluetooth? ( gui ) - declarative? ( gui network ) - designer? ( widgets ) - help? ( gui widgets ) - location? ( positioning ) - multimedia? ( gui network ) - opengl? ( gui widgets ) - positioning? ( gui ) - printsupport? ( gui widgets ) - sensors? ( gui ) - serialport? ( gui ) - sql? ( widgets ) - svg? ( gui widgets ) - testlib? ( widgets ) - webchannel? ( network ) - websockets? ( network ) - widgets? ( gui ) - xmlpatterns? ( network ) -" - -# Minimal supported version of Qt. -QT_PV="5.15:5" - -DEPEND="${PYTHON_DEPS} - >=dev-qt/qtcore-${QT_PV} - >=dev-qt/qtxml-${QT_PV} - bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} ) - dbus? ( - dev-python/dbus-python[${PYTHON_USEDEP}] - >=dev-qt/qtdbus-${QT_PV} - ) - declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - designer? ( >=dev-qt/designer-${QT_PV} ) - gui? ( >=dev-qt/qtgui-${QT_PV}[gles2-only=] ) - help? ( >=dev-qt/qthelp-${QT_PV} ) - location? ( >=dev-qt/qtlocation-${QT_PV} ) - multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] ) - network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] ) - opengl? ( >=dev-qt/qtopengl-${QT_PV} ) - positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} ) - sensors? ( >=dev-qt/qtsensors-${QT_PV} ) - serialport? ( >=dev-qt/qtserialport-${QT_PV} ) - speech? ( >=dev-qt/qtspeech-${QT_PV} ) - sql? ( >=dev-qt/qtsql-${QT_PV} ) - svg? ( >=dev-qt/qtsvg-${QT_PV} ) - testlib? ( >=dev-qt/qttest-${QT_PV} ) - webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) - websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) - widgets? ( >=dev-qt/qtwidgets-${QT_PV} ) - x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) - xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) -" -RDEPEND="${DEPEND} - >=dev-python/PyQt5-sip-12.11:=[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] - >=dev-python/sip-6.6.2[${PYTHON_USEDEP}] - >=dev-qt/qtcore-${QT_PV} - dbus? ( virtual/pkgconfig ) -" - -src_configure() { - pyqt_use_enable() { - use "$1" || return - - if [[ $# -eq 1 ]]; then - echo --enable=Qt${1^} - else - shift - echo ${@/#/--enable=} - fi - } - - configuration() { - local myconf=( - sip-build - --verbose - --confirm-license - --build-dir="${BUILD_DIR}" - --scripts-dir="$(python_get_scriptdir)" - --qmake="$(qt5_get_bindir)"/qmake - --no-make - $(usev debug '--debug --qml-debug --tracing') - $(usev !dbus --no-dbus-python) - $(usev !declarative --no-qml-plugin) - $(usev !designer --no-designer-plugin) - $(usev gles2-only --disabled-feature=PyQt_Desktop_OpenGL) - $(usev !ssl --disabled-feature=PyQt_SSL) - --enable=pylupdate - --enable=pyrcc - --enable=Qt - $(pyqt_use_enable bluetooth) - --enable=QtCore - $(pyqt_use_enable dbus QtDBus) - $(pyqt_use_enable declarative QtQml QtQuick $(usev widgets QtQuickWidgets)) - $(pyqt_use_enable designer) - $(pyqt_use_enable gui) - $(pyqt_use_enable gui $(use gles2-only && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core})) - $(pyqt_use_enable help) - $(pyqt_use_enable location) - $(pyqt_use_enable multimedia QtMultimedia $(usev widgets QtMultimediaWidgets)) - $(pyqt_use_enable network) - $(pyqt_use_enable opengl QtOpenGL) - $(pyqt_use_enable positioning) - $(pyqt_use_enable printsupport QtPrintSupport) - $(pyqt_use_enable sensors) - $(pyqt_use_enable serialport QtSerialPort) - $(pyqt_use_enable speech QtTextToSpeech) - $(pyqt_use_enable sql) - $(pyqt_use_enable svg) - $(pyqt_use_enable testlib QtTest) - $(pyqt_use_enable webchannel QtWebChannel) - $(pyqt_use_enable websockets QtWebSockets) - $(pyqt_use_enable widgets) - $(pyqt_use_enable x11extras QtX11Extras) - --enable=QtXml - $(pyqt_use_enable xmlpatterns QtXmlPatterns) - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - # Run eqmake to respect toolchain and build flags - run_in_build_dir eqmake5 -recursive ${PN}.pro - } - python_foreach_impl configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - - local exe - for exe in "${D}$(python_get_scriptdir)"/*; do - python_doexe "${exe}" - done - } - python_foreach_impl run_in_build_dir installation - - einstalldocs - - if use examples; then - dodoc -r examples - fi -} diff --git a/dev-python/caldav/Manifest b/dev-python/caldav/Manifest index a5457a500915..7f22e93d070b 100644 --- a/dev-python/caldav/Manifest +++ b/dev-python/caldav/Manifest @@ -1,3 +1,3 @@ DIST caldav-1.2.1.gh.tar.gz 122700 BLAKE2B 21b8ddf512371d192aa2360a0f7bba4b7377defb1cdd830a4c78be86bf3a44689733cd742337a60894b99d0e80615b4005b620a7e8159d7ca708eb9fe1401402 SHA512 788b92a92f4d986b37fa8e237a5cbb3e18a7f596f7799362cf999b7b4981572de7982b352ffd835a51a583bc61eaf8d62fb5bdd31d07377197db887c54ce65bd -EBUILD caldav-1.2.1.ebuild 897 BLAKE2B c6cdc1418d29e4c5db6a748ac08f01a5a297163a4abbff64b10bb5bf2081e5ef4abae5a7ca5292f9f4c0d4acf64ea317ee111e699a23aeec88534eca92be9de4 SHA512 a115dfb70549228d7a9478c0e44a67314a44b2f93d16a21106d3487d71228945aea6e80de9bd27cee2c1f85f797b1b6a56f3565ffdad5ee447c266cc15c10b94 +EBUILD caldav-1.2.1-r1.ebuild 903 BLAKE2B 436c41d4e0c0e1dfbf24a414054742b5dfe04a412b4260cda7b328f930496518b00a88d553a32d40e02bebc12a8f808c255b62e12488fa8fb9acdd350987f266 SHA512 f91a00b17e349fe15e6cf01a4989d421dba23d1f5827dd117fd51c4c7cc7e9c198b71bae0217faa684b1144d94ab678709080492a1ed8e3cedf1afa1333f79af MISC metadata.xml 394 BLAKE2B f0b9c600418cbbc4c935d53b63f4e6c1235500984ed388ceb26c6e02fdb7200eec1464d8c4af17e6afdf3688479f0a0763e6e710f916c1c71dab2ca84df9509f SHA512 4f94039805c6cbfb97a667d555af39bcce7f10db8a7c61f3b8b48a903fcd52d3e30467c91c9ec13195be6dc3c4ccbfa088aeac390d5e1c64e9267527a8b77b6b diff --git a/dev-python/caldav/caldav-1.2.1-r1.ebuild b/dev-python/caldav/caldav-1.2.1-r1.ebuild new file mode 100644 index 000000000000..a42a4a83531a --- /dev/null +++ b/dev-python/caldav/caldav-1.2.1-r1.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_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="CalDAV (RFC4791) client library for Python" +HOMEPAGE=" + https://github.com/python-caldav/caldav/ + https://pypi.org/project/caldav/ +" +SRC_URI=" + https://github.com/python-caldav/caldav/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( GPL-3 Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/recurring-ical-events-2.0.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/tzlocal[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + www-apps/radicale[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/caldav/caldav-1.2.1.ebuild b/dev-python/caldav/caldav-1.2.1.ebuild deleted file mode 100644 index 1a6a3ab32f5f..000000000000 --- a/dev-python/caldav/caldav-1.2.1.ebuild +++ /dev/null @@ -1,40 +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_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="CalDAV (RFC4791) client library for Python" -HOMEPAGE=" - https://github.com/python-caldav/caldav/ - https://pypi.org/project/caldav/ -" -SRC_URI=" - https://github.com/python-caldav/caldav/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="|| ( GPL-3 Apache-2.0 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/vobject[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/icalendar[${PYTHON_USEDEP}] - dev-python/recurring-ical-events[${PYTHON_USEDEP}] - dev-python/tzlocal[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - www-apps/radicale[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest index 625ad7e0bbea..aa078c35879f 100644 --- a/dev-python/cffi/Manifest +++ b/dev-python/cffi/Manifest @@ -2,6 +2,5 @@ AUX cffi-1.14.0-darwin-no-brew.patch 568 BLAKE2B 43afdb086a0385e913f287bc5c1534d AUX cffi-1.15.1-hppa.patch 2097 BLAKE2B 2cd3a1b155b71bcb3d70e3659950c45c36959f0c2090fe560d47bf60e53aa8a2df50dc3b713602c589e6bccecdef27230ee6cb800259bf275dbd052beff03da3 SHA512 ba320e8cb56b58066a44162c8a176d167b4a05a760451a0e0821969cd2ad8fff50e54d54ec8f8c4f93ee1a2e3e71467c7c2d6d94c593ec21892e7d03fdf7c50d AUX cffi-1.15.1-python3.11-tests.patch 3023 BLAKE2B e25bd9d22b81187b0eab65073930980a2975eec3086462396cfc4796fd5273edab9af2324884c2e55880825ddd046b7ebc5054adfe57574ee691f0fa2145dcd2 SHA512 4d202f8c943bf33ea359f47aa3e53e007bc3dbeb3320a6efa302b1b1ec309b2dde72f6cfe1a591c594f3321ed5c65d61e9f79a03ba3107cd7008699686719497 DIST cffi-1.15.1.tar.gz 508501 BLAKE2B accc317385d9af7dbed3397afde63fbab63bfc935376d951802055c63796863ed102a940f192789924480b9b16751c8cf3d21caf9b262c479c61ffc977aac83c SHA512 e99cafcb029076abc29e435b490fa0573ee2856f4051b7ca8a5b38cd125d56dd9dae8b189f59ceb3d728a675da8ee83239e09e19f8b0feeddea4b186ab5173a5 -EBUILD cffi-1.15.1-r2.ebuild 1660 BLAKE2B a402399d20b34db2cc1f9bf8dbd077943fb2ac03af6c004595ba4c2a4f16e34fc30b47e4dd43f84991f3d9282e302595ddbc543f4a983b221bc8d0ffa02510f7 SHA512 ded1ba0078cc83cffb82b6a652258c458dd517ae89e0ab2785b1d970b0b31bec8b9a5da3f8e4818e2fa71afc159f96133dce7d0b06b8d3ef50a8be25b19c59ca -EBUILD cffi-1.15.1.ebuild 1521 BLAKE2B 53a54cc90257d8c11f9f72fd1b68c839ea7faa16a395a7a479ca19dfbb6f252e74bafdb97ac710de5c1807545bf89d381f8265e9103b132f51a85ab3bf75f36f SHA512 d5a0c25b2a443dfca09fa34cfe8f1a0228e47d025a7ae5a7421ed26be2ba6243b6068f9a13412277d94d273b60cc3c1c852adaa4f469472179b328180ef85f8d +EBUILD cffi-1.15.1-r2.ebuild 1659 BLAKE2B 22b1abbd525bb9385fc542927e56ab876f24c2563e0ad8fc7c7e3ca4bfead977f6803d04ebf8575e087e448d210de2deaba1beb0ef118c0edaf2940041783ff1 SHA512 d8fc99c0a42933e391344b4b8d4534ebdd5b84427605796ef570ddb5e3ed5d5cd11d43ead9ac3c6b0a4060855c25b6f2ba1324899700bf3fa0062bcc707522eb MISC metadata.xml 318 BLAKE2B f914459fac4ae3d8ac9273fb721c52494513b932676f570f02cc4cfb2283705d8cfc761806ffed23c6f31c95a967398edee01c1536547c1830def5ca4144c003 SHA512 ec451f8c535f0d01dc7bcd248c002745947982cd469a02ac247d0d34f4d7a33374fa10c28d8f074932f0548dc500c3270b499dd08b18acbb9d308777bcc7e4f0 diff --git a/dev-python/cffi/cffi-1.15.1-r2.ebuild b/dev-python/cffi/cffi-1.15.1-r2.ebuild index 912fcdbb8949..e3f103bdc292 100644 --- a/dev-python/cffi/cffi-1.15.1-r2.ebuild +++ b/dev-python/cffi/cffi-1.15.1-r2.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes DEPEND=" diff --git a/dev-python/cffi/cffi-1.15.1.ebuild b/dev-python/cffi/cffi-1.15.1.ebuild deleted file mode 100644 index 0077be4351b0..000000000000 --- a/dev-python/cffi/cffi-1.15.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=setuptools -# DO NOT ADD pypy to PYTHON_COMPAT -# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 toolchain-funcs pypi - -DESCRIPTION="Foreign Function Interface for Python calling C code" -HOMEPAGE=" - https://cffi.readthedocs.io/ - https://pypi.org/project/cffi/ -" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -DEPEND=" - dev-libs/libffi:= -" -RDEPEND=" - ${DEPEND} - dev-python/pycparser[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -distutils_enable_sphinx doc/source -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/cffi-1.14.0-darwin-no-brew.patch -) - -src_prepare() { - if [[ ${CHOST} == *darwin* ]] ; then - # Don't obsessively try to find libffi - sed -i -e "s/.*\-iwithsysroot\/usr\/include\/ffi.*/\tpass/" setup.py || die - fi - distutils-r1_src_prepare -} - -src_configure() { - tc-export PKG_CONFIG -} - -python_test() { - local EPYTEST_IGNORE=( - # these tests call pip - testing/cffi0/test_zintegration.py - ) - - "${EPYTHON}" -c "import _cffi_backend as backend" || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest c testing -} diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 4d854de34cac..b6a33486fe51 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,7 +1,9 @@ DIST setuptools-67.6.1-py3-none-any.whl 1089263 BLAKE2B fe1ca817d2743e5edefac47230aa2cb5f4e75945bcdb821ca2d61011a419653d8b0880d846e11e4450cb19fd22fcd45d570b6c33fce640a8515df6e65f7a1662 SHA512 ad7a81c60b2b3f190561178531123a0e2d278c4cd9615930d5b0276fc79bea390f1cc92ab37061378ebee09fc36c21440a4db00f20029093570b7006cd14b25b DIST setuptools-67.7.0-py3-none-any.whl 1093434 BLAKE2B 76e91b7353f75f4c2c3eaa0222b1e846c82fb24a7c7220408cc3f547d8243bc0e306b19661f26e5bd5b2a82b3f8e58c60b3906869011477fbc2db82152baeb94 SHA512 22428cf43932d4a16f704adace5e6fa9ddff15c2715c9ba2c0f47c2e96d5fa95e5fbd21e2e55cef9c43a41d29f6cd2d09500b1cb81daedb64820e388ead70346 DIST setuptools-67.7.1-py3-none-any.whl 1093433 BLAKE2B a28d3fa5fe0229e681c9cdf846f387b57e77a31a3d20f18a7164af6d6e5832ce65c71c8dc9326bebae2e2c5d80498609acaa315999133b320972ca4f6dc988c8 SHA512 b9ef9fbd268f48f5c585deb4bd5ee9d47fc4633832fb52dff61663ce045b05d67d9aee1eab0482a34dd7b55aa42a1eb0948ac6bb94fbb050435c73f3b63439f9 +DIST setuptools-67.7.2-py3-none-any.whl 1093536 BLAKE2B d267f3aa3006e1a50ba519d1461b168d288741158d53bcef95075a16e35145f846bf72337bade5343b0be5ffdb9794cc15a68284841a10628b4c26d49b7b4141 SHA512 ef9041fd899e3f138e6ced79de2a52e15f1bf44dcfe6566b9b6ebf071fadad5b7b94f1a07ec81607170b34dbbf2126b4e0c2337314c8597883740c6786b54230 EBUILD ensurepip-setuptools-67.6.1.ebuild 538 BLAKE2B cc89036440c681a9762fe8bff4b2707cc1de45fe5defb826555c9f7251e2670c4de0439ad9744bd5264f8a900154527b8f6312efe3cad86bd08b03b46b313b6d SHA512 b475df2fda5929adf36744df45dc5c59dbbcb40c1d6ec40458c6b59ecebb7f162dc2d38b4414d819525193d47e449083f8522d8eb9a7797daae12814ecc5a47f EBUILD ensurepip-setuptools-67.7.0.ebuild 546 BLAKE2B 82db18ad8196b8dbf7faf59be5b690baf619e50b7c3a924bb919980c3893852b16e6be007f0984c30e1f7e5ded22e5ff35bf92a69f0f5d481cd0951dcfbe8e59 SHA512 560af63b8f3ed9e8ea95a70b865690065f47dd5c5cd7e4e19ab6bd9011b1d3f0036a252ab05dabeefc615fbfd9b51c6e3f03dde1fde95d20d2d6f8e39c5cb799 EBUILD ensurepip-setuptools-67.7.1.ebuild 546 BLAKE2B 82db18ad8196b8dbf7faf59be5b690baf619e50b7c3a924bb919980c3893852b16e6be007f0984c30e1f7e5ded22e5ff35bf92a69f0f5d481cd0951dcfbe8e59 SHA512 560af63b8f3ed9e8ea95a70b865690065f47dd5c5cd7e4e19ab6bd9011b1d3f0036a252ab05dabeefc615fbfd9b51c6e3f03dde1fde95d20d2d6f8e39c5cb799 +EBUILD ensurepip-setuptools-67.7.2.ebuild 546 BLAKE2B 82db18ad8196b8dbf7faf59be5b690baf619e50b7c3a924bb919980c3893852b16e6be007f0984c30e1f7e5ded22e5ff35bf92a69f0f5d481cd0951dcfbe8e59 SHA512 560af63b8f3ed9e8ea95a70b865690065f47dd5c5cd7e4e19ab6bd9011b1d3f0036a252ab05dabeefc615fbfd9b51c6e3f03dde1fde95d20d2d6f8e39c5cb799 MISC metadata.xml 316 BLAKE2B 17947c657b45cb01758e222aa6051a459bf0bd9a026a73c0df0ae0c3a0c901f6e2315d459ee37036ecd283481a8d97791d64688c108a0706e745a739e3f9e8f8 SHA512 af18f4ae51b253552752e14210789988c815d0dbf0e1d8ff7057e48a09303c4abc1fb240d6f7f15fc0993b33e4c8ee395c2755754b3a2cbfd4c3a3f0dad41cfe diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.7.2.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.7.2.ebuild new file mode 100644 index 000000000000..c13c3370cbbe --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-67.7.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + !=dev-python/numexpr-2.1" + optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml + optfeature "for msgpack compression using blosc" dev-python/blosc + optfeature "Template engine for conditional HTML formatting" dev-python/jinja + optfeature "Plotting support" dev-python/matplotlib + optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.7" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt + optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.6.1" + optfeature "R I/O support" dev-python/rpy + optfeature "Needed for parts of pandas.stats" dev-python/statsmodels + optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.16" + optfeature "miscellaneous statistical functions" dev-python/scipy + optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/QtPy dev-python/pygtk x11-misc/xclip x11-misc/xsel +} diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest index 6c70d80adf5b..703103ef0275 100644 --- a/dev-python/pyopenssl/Manifest +++ b/dev-python/pyopenssl/Manifest @@ -1,7 +1,3 @@ -DIST pyOpenSSL-23.0.0.tar.gz 182375 BLAKE2B 8a902ecd7e771dcd281dda184569fef53c7f7d1a801f5cea663ff95014717786ceaaa999b6f67fe710ade253335c856c3964a96705afd6ddb93679856d57d7cd SHA512 68c42de58305461606d9fb932a7711775cfcf1a7c5dbe900b2c7ba18eab546d4c37fcd3dd82ab2c18b15eb07bef126534473b5b29f8af4f46e0147d45ac9e64b -DIST pyOpenSSL-23.1.0.tar.gz 182977 BLAKE2B 75bb5cf215d17a39d2f11a8948c015766d291ae4c4a9d81f03bc634a0d2abbff78d963d382f858f5609cde3e153fa709ee52c9bcccf0fed35f5f00a18cf4b5e0 SHA512 b46b9a4de7ca584f5711089f1a056c479e65e06b9a0868263aa51b3f724d81342cc89fe06c9eb6e8d44fb87e93c7face9643577145d57608ef6162a5be18127b DIST pyOpenSSL-23.1.1.tar.gz 183402 BLAKE2B c0339203bb1794da67a0c2fe2e20b5736b3e0628d01b13805e3c30771d60fe07df22a7c090260cf1fad80abb1e566e2efd1e8e184a142e335189fa3bd885e7ac SHA512 581f907ac9acf71c3340bbd413ecf161dafeac1cb406649c683fc770f8bcfcc1630a977defa9b3ee218631959ed14ea62d0a02cdf74af9fdce5ddec34ad1e1ea -EBUILD pyopenssl-23.0.0.ebuild 1503 BLAKE2B df360e40b28720d81320eac31bf92d2a25d079663d60a0f0b3558b2c38ec8887db877ebbe1597ec7356c26b958d8a53671b64dde5a1d9a57ba5c120738b6750d SHA512 2190bcfc7cfadc9d86dbc6cba16e37a64842e160027fd593ee360ee9c4544bd46b60eb62f33c8c672794cad6b64f9e4537fa78137518d9c24944dd6df7959fde -EBUILD pyopenssl-23.1.0.ebuild 1509 BLAKE2B 2041892115bfe636a1b706ad3abff892f77f103cb493ebba2b72de51023e0186891a0ce412ee4084a9ac3deefb3e1371fddd3bee6baa1b5c23077e61fee89d18 SHA512 7a1988835256389ca10d22e6229c791710583a0151cd5f843a2044a9c6c890652ca6cfac77eb6622064a0775894c14ffebe66a622039571b21e2a06c08477ca7 -EBUILD pyopenssl-23.1.1.ebuild 1503 BLAKE2B 7ead22eb2736933f82fd36fc0065649b5477051a7b57fb2354469aad34e0ed0bccd7913c625ec4fab6b42db2e15d7e1f77a27c6fdfd3d48400bbd258ef8566aa SHA512 3502793cfddb8f48403350a5b2b545eed603b4647eaa1a085d6c4aaec01dbbb87ddde1ab56238b692c4ee9bbaa9c0ce812b72bf2e3450a81bfd89db3873e890e +EBUILD pyopenssl-23.1.1.ebuild 1502 BLAKE2B 4e63b8d3481062023338d672ac134fc8b67bd7d572d08e6aee18ce7bc248ccb60b477726d57cb406301e443f7b2723f0cc7f4a76d49d96a38b907e261f10861e SHA512 92977dc609fa42747b5bbb477328fc780b95fd66a8add7cb918c50e1c1e8f6daea276ac9e6ad7664a230352be057b62dd2e994597d790826d4d5bea9fa41784e MISC metadata.xml 536 BLAKE2B 86db822042b6fb3e965ece87b6b15dcabf76cdfbfa76ba285a491208ad5c6a2a196ca7144a1a73b152decc4df1641ad4c57a1cbde9f90d09d25eef1f6f4da39a SHA512 996d0e20291e744c6c20b38fd750d242920541aca7d92de63ca5b1dcc2f1c10308545797ccf499f38e50dfd04db2bb031e93b02c7c1705908f2363c813294ff1 diff --git a/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild deleted file mode 100644 index 568cdb43e89c..000000000000 --- a/dev-python/pyopenssl/pyopenssl-23.0.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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 -PYPI_PN="pyOpenSSL" -PYTHON_COMPAT=( python3_{9..11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 toolchain-funcs pypi - -DESCRIPTION="Python interface to the OpenSSL library" -HOMEPAGE=" - https://www.pyopenssl.org/ - https://github.com/pyca/pyopenssl/ - https://pypi.org/project/pyOpenSSL/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - =dev-python/cryptography-38.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_test() { - local -x TZ=UTC - local EPYTEST_DESELECT=( - tests/test_ssl.py::TestContext::test_set_default_verify_paths - ) - - # test for 32-bit time_t - "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null - #include - int test[sizeof(time_t) >= 8 ? 1 : -1]; - EOF - - if [[ ${?} -eq 0 ]]; then - einfo "time_t is at least 64-bit long" - else - einfo "time_t is smaller than 64 bits, will skip broken tests" - EPYTEST_DESELECT+=( - tests/test_crypto.py::TestX509StoreContext::test_verify_with_time - ) - fi - - distutils-r1_src_test -} diff --git a/dev-python/pyopenssl/pyopenssl-23.1.0.ebuild b/dev-python/pyopenssl/pyopenssl-23.1.0.ebuild deleted file mode 100644 index 0e095e2b825a..000000000000 --- a/dev-python/pyopenssl/pyopenssl-23.1.0.ebuild +++ /dev/null @@ -1,66 +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_{9..11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -PYPI_NO_NORMALIZE=1 -PYPI_PN=pyOpenSSL - -inherit distutils-r1 toolchain-funcs pypi - -DESCRIPTION="Python interface to the OpenSSL library" -HOMEPAGE=" - https://www.pyopenssl.org/ - https://github.com/pyca/pyopenssl/ - https://pypi.org/project/pyOpenSSL/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - =dev-python/cryptography-38.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -src_test() { - local -x TZ=UTC - local EPYTEST_DESELECT=( - tests/test_ssl.py::TestContext::test_set_default_verify_paths - ) - - # test for 32-bit time_t - "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null - #include - int test[sizeof(time_t) >= 8 ? 1 : -1]; - EOF - - if [[ ${?} -eq 0 ]]; then - einfo "time_t is at least 64-bit long" - else - einfo "time_t is smaller than 64 bits, will skip broken tests" - EPYTEST_DESELECT+=( - tests/test_crypto.py::TestX509StoreContext::test_verify_with_time - ) - fi - - distutils-r1_src_test -} diff --git a/dev-python/pyopenssl/pyopenssl-23.1.1.ebuild b/dev-python/pyopenssl/pyopenssl-23.1.1.ebuild index a85959e0f58e..88c31718bf5d 100644 --- a/dev-python/pyopenssl/pyopenssl-23.1.1.ebuild +++ b/dev-python/pyopenssl/pyopenssl-23.1.1.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" = (3, 11): -+ import tomllib -+else: -+ import tomli as tomllib -+ - - def get_bindings_configuration(abi_major, sip_file, sip_include_dirs): - """ Get the configuration of a set of bindings. """ -@@ -47,7 +52,8 @@ def get_bindings_configuration(abi_major, sip_file, sip_include_dirs): - - # Read the configuration. - try: -- cfg = toml.load(toml_file) -+ with open(toml_file, "rb") as f: -+ cfg = tomllib.load(f) - except Exception as e: - raise UserParseException(toml_file, detail=str(e)) - -diff --git a/sipbuild/pyproject.py b/sipbuild/pyproject.py -index 1ba2223..6e4a7c6 100644 ---- a/sipbuild/pyproject.py -+++ b/sipbuild/pyproject.py -@@ -22,11 +22,16 @@ - - - from collections import OrderedDict --import toml -+import sys - - from .exceptions import UserFileException - from .py_versions import OLDEST_SUPPORTED_MINOR - -+if sys.version_info >= (3, 11): -+ import tomllib -+else: -+ import tomli as tomllib -+ - - class PyProjectException(UserFileException): - """ An exception related to a pyproject.toml file. """ -@@ -69,7 +74,8 @@ class PyProject: - self.toml_error = None - - try: -- self._pyproject = toml.load('pyproject.toml', _dict=OrderedDict) -+ with open('pyproject.toml', 'rb') as f: -+ self._pyproject = tomllib.load(f) - except FileNotFoundError: - self.toml_error = "there is no such file in the current directory" - except Exception as e: -@@ -174,4 +180,4 @@ class PyProject: - def _is_section(value): - """ Returns True if a section value is itself a section. """ - -- return isinstance(value, (OrderedDict, list)) -+ return isinstance(value, (OrderedDict, dict, list)) diff --git a/dev-python/sip/sip-6.7.5-r1.ebuild b/dev-python/sip/sip-6.7.5-r1.ebuild deleted file mode 100644 index a839024c9fa8..000000000000 --- a/dev-python/sip/sip-6.7.5-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="Python bindings generator for C/C++ libraries" -HOMEPAGE=" - https://www.riverbankcomputing.com/software/sip/ - https://pypi.org/project/sip/ -" - -MY_P=${PN}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -fi -S=${WORKDIR}/${MY_P} - -LICENSE="|| ( GPL-2 GPL-3 SIP )" -SLOT="5" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" - -RDEPEND=" - !