diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-02 13:44:45 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-08-02 13:44:45 +0000 |
| commit | 185fa9397f220a9505f1894d4fd6133822d6b853 (patch) | |
| tree | ab8f12e4c179f662f8bb90912f9d0ad3eb591464 /dev-python | |
| parent | 217889932ab486b46fce3dbf715f100b324236c3 (diff) | |
| download | baldeagleos-repo-185fa9397f220a9505f1894d4fd6133822d6b853.tar.gz baldeagleos-repo-185fa9397f220a9505f1894d4fd6133822d6b853.tar.xz baldeagleos-repo-185fa9397f220a9505f1894d4fd6133822d6b853.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
84 files changed, 850 insertions, 993 deletions
diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest index 674ea7b89fb7..8137bd13116f 100644 --- a/dev-python/PyQt5/Manifest +++ b/dev-python/PyQt5/Manifest @@ -1,2 +1,3 @@ DIST PyQt5-5.15.2.tar.gz 3265445 BLAKE2B 7712d68aa54cf9e6836863d7aa645151254d79621e115ed314ba63c371d5e24577a0392311b31a73e45af45baa29eca1d7e9a03874beac1fbf043fa703af69f9 SHA512 6d48d2ed907b436131d46b0513d82e1069c76e873d395e4a6c0832ae3a20621b92d3abece046c5fcd14cb818d50ffb369153fca1ce9341f0db1b8c479b94e621 DIST PyQt5-5.15.4.tar.gz 3258085 BLAKE2B 96bda4da1321e499707d29d9870693815170ccc32e2e0d7bb3c6977ea2933f9684557124deb92abbf92b923e0071cf47ee4822f6cb5d06fdc61b498efc44db4c SHA512 6d19f549a71eb8df8ba8407398ccd6e3d339436f4f2e7c5dca6885849d6ce510c4f4dea3c97257685aa462bb09a2ead33d80234ccb934f9b1a40285dbec631c7 +DIST PyQt5-5.15.5.dev2107091435.tar.gz 3264477 BLAKE2B 8289bcce9ebef9b8c289992d508ee1d365c86a127b03e175bb14382ad72150aea396d8358d560ce62b9ff33f3b54f3ebb0bbad8ab26a23edc73217c8325d9853 SHA512 5baf434f57c72a0e01753c69f8b40bc37321441efb652e002e3fff330edb8b7b318af3803fc8702897545763a952f99b68a0043a08e364e6fc1feb1e5d8520f5 diff --git a/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild b/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild index 873b83d14f1e..965c565cb94a 100644 --- a/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild +++ b/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild @@ -85,7 +85,7 @@ RDEPEND="${PYTHON_DEPS} xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) " DEPEND="${RDEPEND} - >=dev-python/sip-4.19.25[${PYTHON_USEDEP}] + >=dev-python/sip-4.19.25:0[${PYTHON_USEDEP}] dbus? ( virtual/pkgconfig ) " diff --git a/dev-python/PyQt5/PyQt5-5.15.5_pre2107091435.ebuild b/dev-python/PyQt5/PyQt5-5.15.5_pre2107091435.ebuild new file mode 100644 index 000000000000..e29c7c34814c --- /dev/null +++ b/dev-python/PyQt5/PyQt5-5.15.5_pre2107091435.ebuild @@ -0,0 +1,190 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +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 ~ppc ~ppc64 ~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 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.9:=[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] + >=dev-python/sip-6.2.0_pre2106291255[${PYTHON_USEDEP}] + >=dev-qt/qtcore-${QT_PV} + dbus? ( virtual/pkgconfig ) +" + +src_prepare() { + default + + if use gles2-only; then + # sip-build doesn't have a command line option for this + cat >> pyproject.toml <<-_EOF_ || die + [tool.sip.bindings.QtCore] + disabled-features = ["PyQt_Desktop_OpenGL"] + _EOF_ + fi +} + +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') + --enable=QtCore + --enable=QtXml + $(pyqt_use_enable bluetooth) + $(pyqt_use_enable dbus QtDBus) + $(usex dbus '' --no-dbus-python) + $(pyqt_use_enable declarative QtQml QtQuick $(usev widgets QtQuickWidgets)) + $(usex declarative '' --no-qml-plugin) + $(pyqt_use_enable designer) + $(usex designer '' --no-designer-plugin) + $(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) + $(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/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild index 23a22b6a7609..1dfa2fd2aa95 100644 --- a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.4.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit python-r1 qmake-utils DESCRIPTION="Python bindings for QtWebEngine" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro https://pypi.org/project/PyQtWebEngine/" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/ https://pypi.org/project/PyQtWebEngine/" MY_P=${PN}-${PV/_pre/.dev} if [[ ${PV} == *_pre* ]]; then @@ -28,13 +28,13 @@ REQUIRED_USE=" RDEPEND=" ${PYTHON_DEPS} - >=dev-python/PyQt5-5.15[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] + ~dev-python/PyQt5-5.15.4[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}] >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] dev-qt/qtcore:5 dev-qt/qtwebengine:5[widgets] " DEPEND="${RDEPEND} - >=dev-python/sip-4.19.22[${PYTHON_USEDEP}] + >=dev-python/sip-4.19.22:0[${PYTHON_USEDEP}] " src_configure() { diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild index 9293728e8045..6472ae31ef92 100644 --- a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild +++ b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild @@ -1,20 +1,20 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 DESCRIPTION="Adds read support for DBF files to agate." HOMEPAGE="https://github.com/wireservice/agate-dbf https://pypi.org/project/agate-dbf/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test +xml" -RESTRICT="!test? ( test )" +IUSE="+xml" # Other packages have BDEPEND="test? ( dev-python/agate-dbf[xml] )" AGATE_VERSION_DEP=">=dev-python/agate-1.5.0" diff --git a/dev-python/agate-dbf/metadata.xml b/dev-python/agate-dbf/metadata.xml index 2ffd7eecbf7b..6d4cb38a0b54 100644 --- a/dev-python/agate-dbf/metadata.xml +++ b/dev-python/agate-dbf/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/wireservice/agate-dbf/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/agate-excel/agate-excel-0.2.3.ebuild b/dev-python/agate-excel/agate-excel-0.2.3.ebuild index 53db9947b8bf..c1e372617bea 100644 --- a/dev-python/agate-excel/agate-excel-0.2.3.ebuild +++ b/dev-python/agate-excel/agate-excel-0.2.3.ebuild @@ -1,22 +1,20 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 DESCRIPTION="Adds read support for Excel files (xls and xlsx) to agate." HOMEPAGE="https://github.com/wireservice/agate-excel https://pypi.org/project/agate-excel/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" -RDEPEND="" -IUSE="test +xml" -RESTRICT="!test? ( test )" +IUSE="+xml" # Other packages have BDEPEND="test? ( dev-python/agate-excel[xml] )" AGATE_VERSION_DEP=">=dev-python/agate-1.5.0" @@ -33,15 +31,8 @@ BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" distutils_enable_tests pytest python_test() { - local pytest_args test_name xfails - - xfails=( + local deselect=( tests/test_table_xlsx.py::TestXLSX::test_ambiguous_date ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" || die + epytest ${deselect[@]/#/--deselect } } diff --git a/dev-python/agate-excel/metadata.xml b/dev-python/agate-excel/metadata.xml index e3d6df8cb6d9..cb7a655e5273 100644 --- a/dev-python/agate-excel/metadata.xml +++ b/dev-python/agate-excel/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/wireservice/agate-excel/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/agate-sql/Manifest b/dev-python/agate-sql/Manifest index 9755ce7b0dee..64da99d361e5 100644 --- a/dev-python/agate-sql/Manifest +++ b/dev-python/agate-sql/Manifest @@ -1,2 +1 @@ -DIST agate-sql-0.5.6.tar.gz 9091 BLAKE2B 9094a2bfb500422e7fe75d1c83182af698aa92942a305a69301d45d92f01960a7ffc7908f0eb2b66556a856be0f7388e222034428afd269d402488c6c05abd36 SHA512 b4234a86f8bcd5b22bcb1e18d0cec0ba21c8a3521e15f767886241e16285cbd296683f83bd366a82d1e549679b3712663adc080950dedb24a0e6db5b2541050a DIST agate-sql-0.5.7.tar.gz 14975 BLAKE2B 7890d5c21d89dd216a7a4c906189e1e44111bd96ef3476f0e6dc4c842dc3f25d537ee398f3c8e720d43e64001fa0ea93940d4a54ee31605eea9e8ae9aa4dec37 SHA512 df7e1d5975d9af0722f4bfa67f1e8679ed46759f8aaa5c76614ed5280c8347f727517568ba377c21dd8eb349f93b7a6d308959ae69bfedd125e6d99bd7bd9dcf diff --git a/dev-python/agate-sql/agate-sql-0.5.6.ebuild b/dev-python/agate-sql/agate-sql-0.5.6.ebuild deleted file mode 100644 index 095a168b4ad0..000000000000 --- a/dev-python/agate-sql/agate-sql-0.5.6.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="Adds SQL read/write support to agate." -HOMEPAGE="https://github.com/wireservice/agate-sql https://pypi.org/project/agate-sql/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test +xml" -RESTRICT="!test? ( test )" - -# Other packages have BDEPEND="test? ( dev-python/agate-sql[xml] )" -AGATE_VERSION_DEP=">=dev-python/agate-1.5.0" -TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" -RDEPEND=" - ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.0.8[${PYTHON_USEDEP}] - - ${TEST_AGAINST_RDEPEND} -" -BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -python_prepare_all() { - local sed_args=( - -e "/crate/d" - -e "/nose/d" - -e "/geojson/d" - -e "/Sphinx/d" - -e "/sphinx_rtd_theme/d" - ) - - sed "${sed_args[@]}" -i setup.py agate_sql.egg-info/requires.txt || die - distutils-r1_python_prepare_all -} - -python_test() { - local pytest_args test_name xfails - - xfails=( - tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects - tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema - ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" || die -} diff --git a/dev-python/agate-sql/agate-sql-0.5.7.ebuild b/dev-python/agate-sql/agate-sql-0.5.7.ebuild index a581f79eb589..0c7f9ccf3e2e 100644 --- a/dev-python/agate-sql/agate-sql-0.5.7.ebuild +++ b/dev-python/agate-sql/agate-sql-0.5.7.ebuild @@ -42,16 +42,9 @@ python_prepare_all() { } python_test() { - local pytest_args test_name xfails - - xfails=( + local deselect=( tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" + epytest ${deselect[@]/#/--deselect } } diff --git a/dev-python/agate-sql/metadata.xml b/dev-python/agate-sql/metadata.xml index e27e8dfed069..232191c180f2 100644 --- a/dev-python/agate-sql/metadata.xml +++ b/dev-python/agate-sql/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/wireservice/agate-sql/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 53a8e48bf651..72ba351ff55a 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1,2 +1 @@ -DIST agate-1.6.2.tar.gz 191216 BLAKE2B 63e89f6815a36dea956e8a919aeb926291eaf1f4d5eaac7f96dab97c6958dfee4788e18a4c1325a5b8cebf15df27b32e75409ddeab1289c1e8e548088fdc0ea7 SHA512 34d9e45d162bce69d28ad0ec07f5b410b2cdac831e5bd986ca8cb8902fd0ca1ec67663b2f956f42acaf18b8ca0fa169d5236aa4cee7457765e4e86d837e7794e DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed diff --git a/dev-python/agate/agate-1.6.2-r1.ebuild b/dev-python/agate/agate-1.6.2-r1.ebuild deleted file mode 100644 index 07ae1141c8d7..000000000000 --- a/dev-python/agate/agate-1.6.2-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" -HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test +xml" -RESTRICT="!test? ( test )" - -# Other packages have BDEPEND="test? ( dev-python/agate[xml] )" -LEATHER_VERSION_DEP=">=dev-python/leather-0.3.3-r2" -TEST_AGAINST_RDEPEND="xml? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" -RDEPEND=" - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] - >=dev-python/Babel-2.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] - >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] - ${LEATHER_VERSION_DEP}[${PYTHON_USEDEP}] - - ${TEST_AGAINST_RDEPEND} -" -BDEPEND="test? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -# @FUNCTION: pytest-expect-to-deselect -# @USAGE: readarray -t pytest_args < <(pytest-expect-to-deselect <<<PYTEST_EXPECT_CONTENT) -# @DESCRIPTION: -# Read a pytest-expect pytest --xfail-file file from stdin and write -# equivalent pytest --deselect arguments to stdout for consumption by -# readarray -t. The generated pytest --deselect arguments are appropriate -# for use as described here: -# https://dev.gentoo.org/~mgorny/python-guide/pytest.html#skipping-tests-based-on-paths-names -pytest-expect-to-deselect() { - while read -r; do - [[ ${REPLY} =~ ^[u]?\'([^\']*) ]] || continue - printf -- '%s\n' --deselect "${BASH_REMATCH[1]}" || return - done -} - -python_test() { - # test_cast_format_locale fails with "locale.Error: unsupported locale setting" - # which appears to be triggered by these locale settings in the unit tests: - # - # agate-1.6.2/tests/test_data_types.py:257: def test_cast_format_locale(self): - # agate-1.6.2/tests/test_data_types.py-258- date_type = Date(date_format='%d-%b-%Y', locale='de_DE') - # agate-1.6.2/tests/test_data_types.py:381: def test_cast_format_locale(self): - # agate-1.6.2/tests/test_data_types.py-382- date_type = DateTime(datetime_format='%Y-%m-%d %I:%M %p', locale='ko_KR') - - local -a pytest_args - readarray -t pytest_args < <(pytest-expect-to-deselect <<<" -pytest-expect file v1 -(3, 8, 10, 'final', 0) -u'tests/test_data_types.py::TestDate::test_cast_format_locale': FAIL -u'tests/test_data_types.py::TestDateTime::test_cast_format_locale': FAIL -") - - epytest "${pytest_args[@]}" || die -} diff --git a/dev-python/agate/agate-1.6.3.ebuild b/dev-python/agate/agate-1.6.3.ebuild index 68387edc22a9..3b88760d8504 100644 --- a/dev-python/agate/agate-1.6.3.ebuild +++ b/dev-python/agate/agate-1.6.3.ebuild @@ -33,6 +33,8 @@ RDEPEND=" BDEPEND="test? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme python_test() { local deselect=( diff --git a/dev-python/agate/metadata.xml b/dev-python/agate/metadata.xml index 2bb99bf3b9e8..90d14c499ee8 100644 --- a/dev-python/agate/metadata.xml +++ b/dev-python/agate/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/wireservice/agate/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/aiohttp-jinja2/Manifest b/dev-python/aiohttp-jinja2/Manifest index c40dead9fd2c..9e7d5de99bf8 100644 --- a/dev-python/aiohttp-jinja2/Manifest +++ b/dev-python/aiohttp-jinja2/Manifest @@ -1,2 +1 @@ -DIST aiohttp-jinja2-0.15.0.tar.gz 51183 BLAKE2B e19ca813f36ac746a84812ec278a3de43e6e24eaafcf949fd18a32c99f460ded03f4dc97171fe1493174a8e2c51543b8c1afcdec51c4688f4fb0b7781287cc03 SHA512 084714cd2376b93f32cdcebc1971d4aaa704a177524b00f322e0347c15ab8085960a68a3760be056e391410f01b6b637eb59db54fccf54d09ba53a9ea03a01db DIST aiohttp-jinja2-1.4.2.tar.gz 54328 BLAKE2B 3d6aaeb03bbb89516a92fa877ee95a2fd27ab83666a03ca12e78f1744b82797faf2547bf55118618cbd979d80779a9571dfcfe9036bc84142563ede55cfbc1a1 SHA512 7bdaee97efe90a0009cd78a4e46dc80cfeb661c2d5561fdb1b1a1ff098abba8667260bb908e3227edd6601c2412812d0311461942568a8aabf07a164ea2f290e diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild deleted file mode 100644 index 71e34e198b88..000000000000 --- a/dev-python/aiohttp-jinja2/aiohttp-jinja2-0.15.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="jinja2 template renderer for aiohttp.web" -HOMEPAGE="https://github.com/aio-libs/aiohttp-jinja2" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/pytest-3.2.2[${PYTHON_USEDEP}] - >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] - ) -" - -DOCS=( CHANGES.txt README.rst ) - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - pytest -vv tests || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild index 6541a7184fb7..47d4ab21e918 100644 --- a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild +++ b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/aiohttp-jinja2/metadata.xml b/dev-python/aiohttp-jinja2/metadata.xml index 9d07a4cef4c9..edb08d1980bd 100644 --- a/dev-python/aiohttp-jinja2/metadata.xml +++ b/dev-python/aiohttp-jinja2/metadata.xml @@ -6,7 +6,7 @@ <name>Zac Medico</name> </maintainer> <upstream> - <remote-id type="pypi">aiohttp_jinja2</remote-id> + <remote-id type="pypi">aiohttp-jinja2</remote-id> </upstream> <origin>gentoo-staging</origin> <stabilize-allarches/> diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.6.0.ebuild b/dev-python/aiohttp-socks/aiohttp-socks-0.6.0.ebuild index 03e4d0e229b3..0e74975aeef9 100644 --- a/dev-python/aiohttp-socks/aiohttp-socks-0.6.0.ebuild +++ b/dev-python/aiohttp-socks/aiohttp-socks-0.6.0.ebuild @@ -3,12 +3,12 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="SOCKS proxy connector for aiohttp" -HOMEPAGE="https://pypi.org/project/aiohttp-socks/" +HOMEPAGE="https://pypi.org/project/aiohttp-socks/ https://github.com/romis2012/aiohttp-socks" SRC_URI="https://github.com/romis2012/aiohttp-socks/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" diff --git a/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild b/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild index c33b3bdb5d96..75a39be27bdc 100644 --- a/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.7.4-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 multiprocessing @@ -91,6 +91,11 @@ python_test() { 'tests/test_streams.py::TestDataQueue::test_exception_waiter[pyloop]' ) + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + # fails with a 'runtime warning' + tests/test_multipart.py::TestPartReader::test_read_boundary_with_incomplete_chunk + ) + pushd "${BUILD_DIR}/lib" >/dev/null || die ln -snf "${S}"/{LICENSE.txt,tests} . || die epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked \ diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index a60a23b767b0..191b95df792e 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1,3 +1 @@ -DIST arrow-1.0.3.tar.gz 102536 BLAKE2B 020b9b12a529f31c8054cfe98b99ee791cd1f2889422e4bb1b0bb6873ff4c1748951b63d20d2526af2bea3ff13b26d809b35eed36984d1063c35c334d76ee416 SHA512 f8da6574758ca1f319ed9d71e4fc6e44d3c3db0a6fe36c8868c3515ab789093660e3d57d6de60813cf2eb57c7a3a8bfe92facbb410a383528cb1fbc37d860b49 -DIST arrow-1.1.0.tar.gz 109692 BLAKE2B da6cf4feb0048db4f808fc8d8863d59b1501c9e5ea8b171aacd36945e7dee874fb088c1bdcf57858e9126b42b312ec24511ee69e8846cb28c5d97b0cb5ece237 SHA512 9ec39458069d9538bd0f05fcbb03f92c6cf613c4bb686037a92ffcf7fa2f6306fa84ca6bcc2b7ffdb84c2fcf4cbe281ad7cb6698d1886da29d9121805140be49 DIST arrow-1.1.1.tar.gz 113054 BLAKE2B 7f9d205aaba1c8ea4ad433baad03cf2392e5dcb819a95ef8de612f7d6f8cbb8500d224648c61a0f48403878e9b02fa8e90e3e3fb6411fa23eaf1f333205f7c1e SHA512 eaa6cde1083a0ed1204260ae9b9c850ca2dfcc53858e2391def28b2aaefe78671166bfdefa1c725adceb26fa8425885d3a0c3914782203e1c3be593dd9a00349 diff --git a/dev-python/arrow/arrow-1.0.3.ebuild b/dev-python/arrow/arrow-1.0.3.ebuild deleted file mode 100644 index 114964753b10..000000000000 --- a/dev-python/arrow/arrow-1.0.3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Better dates and times for Python" -HOMEPAGE="https://github.com/arrow-py/arrow/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_7)" - -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/d' tox.ini || die - distutils-r1_src_prepare -} diff --git a/dev-python/arrow/arrow-1.1.0.ebuild b/dev-python/arrow/arrow-1.1.0.ebuild deleted file mode 100644 index 114964753b10..000000000000 --- a/dev-python/arrow/arrow-1.1.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Better dates and times for Python" -HOMEPAGE="https://github.com/arrow-py/arrow/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' python3_7)" - -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/addopts/d' tox.ini || die - distutils-r1_src_prepare -} diff --git a/dev-python/async_timeout/async_timeout-3.0.1.ebuild b/dev-python/async_timeout/async_timeout-3.0.1.ebuild index 4e171b150fb1..b316f0d9c584 100644 --- a/dev-python/async_timeout/async_timeout-3.0.1.ebuild +++ b/dev-python/async_timeout/async_timeout-3.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 diff --git a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild index 5ad5e0b575ea..f2f6db4bcadc 100644 --- a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild +++ b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~mips ~sparc ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest index ed2ba250cb08..aef8d69341e5 100644 --- a/dev-python/csvkit/Manifest +++ b/dev-python/csvkit/Manifest @@ -1,2 +1 @@ -DIST csvkit-1.0.5.tar.gz 3783495 BLAKE2B 19210c23480cb3068af74c922a3495612f40bbf5c4985f7018c9c185564dd0c101292f165ddd03440220f582bfdc1590e2f75e8e5c92edd71e76e46a73b26547 SHA512 62dc7a5eefeda9c8824b24f8844b6c1ead5449797d9d004111885b03a1989ad89d1f48b3b7d4a69130885b85cc3c1352910737e416fc19f2038525632b1569f6 DIST csvkit-1.0.6.tar.gz 3784737 BLAKE2B b1e4583443cbfc62f713d3b311bbe313cf4e69b7aa5aa13dc6970375a727a804ba1dbd176b25487027d3bc1a5696f2ce649a460c91ef7c5591c33bb3c6f48c33 SHA512 fb37404405f2f2c0bf803a1df8186aa9e3b11cbf3c4f6e1fe6dc06d53730aa91d462bebcca3917e9a451f1d81df053abd9ceedfaab085ab696f9ba701c873323 diff --git a/dev-python/csvkit/csvkit-1.0.5.ebuild b/dev-python/csvkit/csvkit-1.0.5.ebuild deleted file mode 100644 index 0be7b30d33b7..000000000000 --- a/dev-python/csvkit/csvkit-1.0.5.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend - -inherit distutils-r1 - -DESCRIPTION="A suite of utilities for converting to and working with CSV." -HOMEPAGE="https://github.com/wireservice/csvkit https://pypi.org/project/csvkit/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test +xml" -RESTRICT="!test? ( test )" - -# Other packages have BDEPEND="test? ( dev-python/csvkit[xml] )" -AGATE_VERSION_DEP=">=dev-python/agate-1.6.1" -TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" -RDEPEND=" - ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}] - >=dev-python/agate-excel-0.2.2[${PYTHON_USEDEP}] - >=dev-python/agate-dbf-0.2.0[${PYTHON_USEDEP}] - >=dev-python/agate-sql-0.5.3[${PYTHON_USEDEP}] - >=dev-python/six-1.6.1[${PYTHON_USEDEP}] - - ${TEST_AGAINST_RDEPEND} -" -BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -python_test() { - local pytest_args test_name xfails - - xfails=( - tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_dbf - ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" || die -} diff --git a/dev-python/csvkit/csvkit-1.0.6.ebuild b/dev-python/csvkit/csvkit-1.0.6.ebuild index 9c3b7a848b24..95739f230473 100644 --- a/dev-python/csvkit/csvkit-1.0.6.ebuild +++ b/dev-python/csvkit/csvkit-1.0.6.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_USE_SETUPTOOLS=rdepend @@ -14,8 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test +xml" -RESTRICT="!test? ( test )" +IUSE="+xml" # Other packages have BDEPEND="test? ( dev-python/csvkit[xml] )" AGATE_VERSION_DEP=">=dev-python/agate-1.6.1" @@ -34,15 +34,8 @@ BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" distutils_enable_tests pytest python_test() { - local pytest_args test_name xfails - - xfails=( + local deselect=( tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_dbf ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" + epytest ${deselect[@]/#/--deselect } } diff --git a/dev-python/csvkit/metadata.xml b/dev-python/csvkit/metadata.xml index e141e9ee49a8..a3b1ccddeada 100644 --- a/dev-python/csvkit/metadata.xml +++ b/dev-python/csvkit/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/wireservice/csvkit/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/fleep/Manifest b/dev-python/fleep/Manifest index 3e8410b50473..0b83e6b83383 100644 --- a/dev-python/fleep/Manifest +++ b/dev-python/fleep/Manifest @@ -1 +1 @@ -DIST fleep-1.0.1.tar.gz 6547 BLAKE2B 75ede77464e32404b3e1229adc9484d1d44b33323ed18f4be5275ffd1c8f63863459f46ff9cbf4f90d0e1387c0e5c967cce13ac8f6ce65710709dd227c04df89 SHA512 ba56f3a6c99f4c793e9f5c4ec04f7a96effabeadd92b18aeb7689a75d8504ccfca086db635d33e358ea9f67887e904c141e259ce2e9b9f3ea77f9e24c1b0eb27 +DIST fleep-1.0.1.gh.tar.gz 197438 BLAKE2B cf099a941d63443a9ee314727966ae95e143acc2f33f7760fe34772d4a2d371af534c029ad207b7727d34e7472c9396b3fc1e9c82066d98ae248dd4f7bd430d7 SHA512 ea287b9cec0f88f378b6c2f248938417e7e51b004a03bb4421611f9cbdae7b97cf1c02b5096c491df934922d906812daadab02d46ae49e64dc2a2a880ab4d87e diff --git a/dev-python/fleep/fleep-1.0.1-r1.ebuild b/dev-python/fleep/fleep-1.0.1-r1.ebuild new file mode 100644 index 000000000000..a07efbaed032 --- /dev/null +++ b/dev-python/fleep/fleep-1.0.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/floyernick/fleep-py.git" + inherit git-r3 +else + # upstream aren't tagging the releases, just as commit title + COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" + # Note: On next bump, remove gh suffix from SRC_URI - was added just for tests + SRC_URI="https://github.com/floyernick/fleep-py/archive/${COMMIT}.tar.gz + -> ${P}.gh.tar.gz" + S="${WORKDIR}/fleep-py-${COMMIT}" + + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="File format determination library for Python" +HOMEPAGE="https://github.com/floyernick/fleep-py" + +LICENSE="MIT" +SLOT="0" + +python_test() { + cd tests || die + "${EPYTHON}" maintest.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/fleep/fleep-1.0.1.ebuild b/dev-python/fleep/fleep-1.0.1.ebuild deleted file mode 100644 index 50be9e088909..000000000000 --- a/dev-python/fleep/fleep-1.0.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="File format determination library for Python" -HOMEPAGE="https://github.com/floyernick/fleep-py" - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="https://github.com/floyernick/fleep-py.git" - inherit git-r3 -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="" diff --git a/dev-python/fleep/fleep-9999.ebuild b/dev-python/fleep/fleep-9999.ebuild index 50be9e088909..359800a5428d 100644 --- a/dev-python/fleep/fleep-9999.ebuild +++ b/dev-python/fleep/fleep-9999.ebuild @@ -1,23 +1,32 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 -DESCRIPTION="File format determination library for Python" -HOMEPAGE="https://github.com/floyernick/fleep-py" - -if [ "${PV}" = "9999" ]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/floyernick/fleep-py.git" inherit git-r3 else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + # upstream aren't tagging the releases, just as commit title + COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" + SRC_URI="https://github.com/floyernick/fleep-py/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/fleep-py-${COMMIT}" + KEYWORDS="~amd64 ~x86" fi +DESCRIPTION="File format determination library for Python" +HOMEPAGE="https://github.com/floyernick/fleep-py" + LICENSE="MIT" SLOT="0" -IUSE="" + +python_test() { + cd tests || die + "${EPYTHON}" maintest.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/fleep/metadata.xml b/dev-python/fleep/metadata.xml index 129f3739e21f..39ecfe6d1477 100644 --- a/dev-python/fleep/metadata.xml +++ b/dev-python/fleep/metadata.xml @@ -12,4 +12,5 @@ <remote-id type="pypi">fleep</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 4beb3a398d6c..c8d0097e9492 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,4 +1,2 @@ -DIST google-api-core-1.28.0.tar.gz 133640 BLAKE2B 8134e39cc3ff2fbb850d5e774d08589e3e64b83ca5d5209279f5d1b7fc2eb350a523bbe2890fba6d907689149df3872a7e0a11991b1ecc62fc64a4753dce38e4 SHA512 3702d27613e621394209047451729c1308beb88c917033b4340e3fa96bf4a5ec36ad2594c98ed14439c578f69a202d95a96d30472438a30417484cff6e06fe7d DIST google-api-core-1.30.0.tar.gz 134595 BLAKE2B 104f52bafb68fd91904c02cbd6d3dd2e32c160a528f58e9af3612fc4f7a9934c522f79895b50982b46ee77947af7eb52557bf304b6f2624b97b5082905511829 SHA512 cc14f9c67bac99290665e2b85a97eacf43cdd2a0e4668ecbc7dd8e7131a7e4e908aca2be6d65797d0838081a02768354703762a1a80fa0b666efb81448b27899 -DIST google-api-core-1.31.0.tar.gz 134806 BLAKE2B 8609dd1260b72bc2c8fe949625c1b592e409bcd34c90f46671ef5c1573775f1957723ab6a03909b55145370e2c06250717b15452a89400ad1b6273a28c5a98a3 SHA512 af5a134ffeb65358d1b8e39bc6b0fe0b5477572dc915d941d63fcfeea72cff46c74d5d85350417484243a298462ab1322f69657694b25472d023db4b5fb27659 DIST google-api-core-1.31.1.tar.gz 134947 BLAKE2B 112e705f8a2d945a207c10096a3cd8c1c65bf806339e8d688cc5638d234c1de03d168099414dd7314b8d3129d6d0e198208cddf15369b84ad837b9da90e8499c SHA512 29c84b98ae39416dbcb8ba7412237007bddea6e9a3af07c1f7753bfe57576125325a6412b73ab7d58c57257405b4b6aa36e043d0cf2496517828c7594f6698ef diff --git a/dev-python/google-api-core/google-api-core-1.28.0.ebuild b/dev-python/google-api-core/google-api-core-1.28.0.ebuild deleted file mode 100644 index cdf75f0b6a4f..000000000000 --- a/dev-python/google-api-core/google-api-core-1.28.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="Core Library for Google Client Libraries" -HOMEPAGE="https://github.com/googleapis/python-api-core - https://googleapis.dev/python/google-api-core/latest" -SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P//google/python}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/googleapis-common-protos[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-api-core/google-api-core-1.31.0.ebuild b/dev-python/google-api-core/google-api-core-1.31.0.ebuild deleted file mode 100644 index 4ed31ca98e88..000000000000 --- a/dev-python/google-api-core/google-api-core-1.31.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="Core Library for Google Client Libraries" -HOMEPAGE="https://github.com/googleapis/python-api-core - https://googleapis.dev/python/google-api-core/latest" -SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P//google/python}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/googleapis-common-protos[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 3699e198cbe5..73812adac196 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,5 +1,2 @@ -DIST google-auth-1.30.2.tar.gz 169368 BLAKE2B c01191313b4bd7ffdc62fbca20aeadcb01fcb1f26e4c11504f88c2582b9a3dca10046edd5d2fe88c98980fb09e4d68da99bf0b8b5692abcf5271994515f91765 SHA512 f133ef403f8a3c92437055f2fd0e5f607199a0bfd9a76a44075a9be8ec16c4d4822d58d85fa52ade4c448e11cb6822f7e8da03ab72f3dddfb811c8d7a846f841 DIST google-auth-1.32.1.tar.gz 171621 BLAKE2B e82f4666a38d3dbaa4aa4a4d5192afb711471432c0dcca44b1a1c52fa2171f1de0d7ffd8a7a6d5dc6dbc3a1dec16becabb26306a9ba3b3fd0998584dd1194cc6 SHA512 968c16c7fc5c8c589a94e24139c319ec7f2791b021d6240156d398d4795e6afee8e46591c4aa44457de6f98ca14e8edcb055fb3a02914b43ba5fab74a03d9fc6 -DIST google-auth-1.33.0.tar.gz 178385 BLAKE2B 7d98afcd3a1dfc12a2af48297188c10f9618483ebdeeb8f7e02fca59d6255210a64b4917507a4525a3d6838198035fd827a1276da2a1f06169e83d1ca75fb485 SHA512 19da14b89cac28cf824f258d3dc662cbf40f4227e840594148c7ea3a6640dc00f06653c1b29846a9569d938a0fa307aff1c8425c015ab46d276485210eeb1227 -DIST google-auth-1.33.1.tar.gz 178615 BLAKE2B 1600ca8861a7e75decfda5605414ff45d8f6d7ece40e0bb7a5892fe2289f1adc5bba313eab10c4d0e1f6e7a38634861e28518c2f02522ec924d6ed53805c4207 SHA512 c54356b21af5ddeda88023b886631050e8e4306ed444093ed6589d13d95af402f03928dc5b5f44f9b4c038128ed254aa14de6d852108f44949c42e2d05304062 DIST google-auth-1.34.0.tar.gz 180860 BLAKE2B d536d689ff5b0c033f787228d643504d1888f0b73a9c6855fe4fae3af20772ef0640feca39c58c39f45681561dce6d5f3ec1d1f7d9699442fff0ec63fd019361 SHA512 7c3b64e8f85056fb660bbfd4f737053813a1e5b8aba52290882a0ddb9d9fd8c5365b767c78dd1e7859ef95caa6e653786d5a8747c8792bbee9c6fad1a5218910 diff --git a/dev-python/google-auth/google-auth-1.30.2.ebuild b/dev-python/google-auth/google-auth-1.30.2.ebuild deleted file mode 100644 index f35f49e4146d..000000000000 --- a/dev-python/google-auth/google-auth-1.30.2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-1.33.0.ebuild b/dev-python/google-auth/google-auth-1.33.0.ebuild deleted file mode 100644 index b426bb5a42d2..000000000000 --- a/dev-python/google-auth/google-auth-1.33.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/google-auth/google-auth-1.33.1.ebuild b/dev-python/google-auth/google-auth-1.33.1.ebuild deleted file mode 100644 index b426bb5a42d2..000000000000 --- a/dev-python/google-auth/google-auth-1.33.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - dev-python/namespace-google[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.9.0[${PYTHON_USEDEP}] - >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] - " -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/grpcio[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/oauth2client[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest index 379b5e459bea..fe7665c9becb 100644 --- a/dev-python/importlib_resources/Manifest +++ b/dev-python/importlib_resources/Manifest @@ -1,4 +1 @@ -DIST importlib_resources-5.1.4.tar.gz 28783 BLAKE2B e88cbe34dfd9b251fc78f2aba173f3eb657462777cb66454fbc1735575c6cac6a868f5e40206fb8925aa8c7f708d72624693cd772f2335231bc5da4f417d622e SHA512 ede757b0ee4a246a3446a165f4c8e56edf326f90464f01d853b6c04042371ff1edc4e41f388c6ea6973302a183cf1c04ee21335342886747c991ba0b38c7aec3 -DIST importlib_resources-5.2.0.tar.gz 29655 BLAKE2B 570e92750351a72c95653302baee56dadc28a328a8e42af9d3346be9a256c2d43322d75622f78d87b5642ed9503c9b7f1df0b0223414847619efb2ebd5e27f5f SHA512 248de71aec8aae93f14b0c48381e7de4425f1eb0c014a4f4a49859db50e8b0a94c2e1c0a664086c74ac7fe19e526b8e3f4fc82d19d3d722df6625dc0dc708c90 -DIST importlib_resources-5.2.1.tar.gz 29622 BLAKE2B 3ac095355534c1ea35e65d685e36ea715555dbda686e1312851b0ea5ce079053429812da5ba57b00bf02981786037de2c5e91a4bc0eedf03c8463f184180c10b SHA512 e0534c6e0e1cfe8621710e58f43b0ec3e5a6fd9e1eafa58ffa09f9120e05a416b69b45639f3028f7d4d02831429bc5de3cbfa97e141474d268d6c32a5f14c1bd DIST importlib_resources-5.2.2.tar.gz 29651 BLAKE2B dde545a3f104c799432d7a2b6dbea6f071b82d0b6e3660384e2e0ab3c36eee8942b9f248a6139c708020c617bf0e0dce7fbbd5e06cb0bd192a0296fac6350b51 SHA512 7af9aceece4dd25ad827310fde100a4b0b5e0aee03dfeba8789db060e4decafc543784046c2e9eee95d8cab61845c50e4bb0543bb20ae7e1e480aaa80c88fa27 diff --git a/dev-python/importlib_resources/importlib_resources-5.1.4.ebuild b/dev-python/importlib_resources/importlib_resources-5.1.4.ebuild deleted file mode 100644 index dbc1e1a156ee..000000000000 --- a/dev-python/importlib_resources/importlib_resources-5.1.4.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# This is a backport of Python 3.9's importlib.resources -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Read resources from Python packages" -HOMEPAGE="https://github.com/python/importlib_resources" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/zipp-3.1.0[${PYTHON_USEDEP}] - ' pypy3 python3_7) -" -BDEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest -distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging diff --git a/dev-python/importlib_resources/importlib_resources-5.2.0.ebuild b/dev-python/importlib_resources/importlib_resources-5.2.0.ebuild deleted file mode 100644 index 898f382b55d3..000000000000 --- a/dev-python/importlib_resources/importlib_resources-5.2.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# This is a backport of Python 3.9's importlib.resources -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Read resources from Python packages" -HOMEPAGE="https://github.com/python/importlib_resources" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/zipp-3.1.0[${PYTHON_USEDEP}] - ' pypy3 python3_7) -" -BDEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest -distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging diff --git a/dev-python/importlib_resources/importlib_resources-5.2.1.ebuild b/dev-python/importlib_resources/importlib_resources-5.2.1.ebuild deleted file mode 100644 index 3122ce294d47..000000000000 --- a/dev-python/importlib_resources/importlib_resources-5.2.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# This is a backport of Python 3.9's importlib.resources -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Read resources from Python packages" -HOMEPAGE="https://github.com/python/importlib_resources" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/zipp-3.1.0[${PYTHON_USEDEP}] - ' pypy3) -" -BDEPEND=" - dev-python/toml[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest -distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging diff --git a/dev-python/jeepney/Manifest b/dev-python/jeepney/Manifest index a37ec86c12fd..3f6b633029d9 100644 --- a/dev-python/jeepney/Manifest +++ b/dev-python/jeepney/Manifest @@ -1,2 +1,3 @@ DIST jeepney-0.6.0.tar.gz 49513 BLAKE2B e5f9b5104cf07dbcd2d40c2d22b690dfd56c456ab56daf44f4abee83f0bfe7e1dfbad797348044d51e3dc20fbc6ce68bf8df54f9c1e46d7a86ceb22d3ab30f8d SHA512 140be9dd28ed853d2d41b6a8bbeb2f22c0270ce7bf33b943ec2ac010db17d4f06e253fa8637fbbb3044fe9ffdbfa1e15f0c663eb44bdd538f8c47c2e7dab3ca5 DIST jeepney-0.7.0.tar.gz 61236 BLAKE2B ec477ed0d96d7d82a256c7f62900eff0282ebec4545e30807fd62cffb419ed763fd8042bdd4d72c6cf43ac09d24af9cd86797b1baec61ad5965e51b3d669175d SHA512 b1fac480da0d8798b28eae30cb22ee97d4f73a11922f7b1bce86eebf938c2980414c2d026ef5a1cdcd95813724873700d348b04ba337aaac0706b2c8b38ea6c2 +DIST jeepney-0.7.1.tar.gz 61833 BLAKE2B 626d4c921d0548ea898197ac5459f20b4c73fd52d3579c5b74f257158c82803011655c1d418d7d10afe8ba803100530bc08dbcce41e12727888de5be5995adb3 SHA512 f0af5a18a669f1a6322925201cad83ee01bc5a1b91577565042fd8a18b506a3650ff67b0ba333c8fb3b179f43ef243d16b07a9a1f7a7e5baec825dda0e6b0571 diff --git a/dev-python/jeepney/jeepney-0.7.1.ebuild b/dev-python/jeepney/jeepney-0.7.1.ebuild new file mode 100644 index 000000000000..072dcb360215 --- /dev/null +++ b/dev-python/jeepney/jeepney-0.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, pure Python DBus protocol wrapper" +HOMEPAGE="https://gitlab.com/takluyver/jeepney" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +BDEPEND=" + test? ( + dev-python/async_timeout[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + sys-apps/dbus + $(python_gen_cond_dep ' + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ' python3_{8..9}) + ) +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + +python_test() { + local ignore=() + # keep in sync with python_gen_cond_dep! + if ! has "${EPYTHON}" python3.{8..9}; then + ignore+=( jeepney/io/tests/test_trio.py ) + fi + + dbus-run-session pytest -vv -ra -l ${ignore[@]/#/--ignore } || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/kafka-python/kafka-python-2.0.2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2.ebuild index 8023ccb97b86..30e884c2e818 100644 --- a/dev-python/kafka-python/kafka-python-2.0.2.ebuild +++ b/dev-python/kafka-python/kafka-python-2.0.2.ebuild @@ -19,6 +19,7 @@ RDEPEND="dev-python/xxhash[${PYTHON_USEDEP}]" BDEPEND=" test? ( dev-python/lz4[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/snappy[${PYTHON_USEDEP}] dev-python/zstandard[${PYTHON_USEDEP}] diff --git a/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch b/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch new file mode 100644 index 000000000000..8ec9e1767a4f --- /dev/null +++ b/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch @@ -0,0 +1,40 @@ +From 5dd1d3cc82d426388c66db8e3761ca2bf99a3991 Mon Sep 17 00:00:00 2001 +From: Brian <brian@quantrocket.com> +Date: Fri, 27 Mar 2020 17:08:50 -0400 +Subject: [PATCH] import from collections.abc to suppress python 3.7 warning + +--- + leather/series/base.py | 5 ++++- + leather/series/category.py | 5 ++++- + 2 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/leather/series/base.py b/leather/series/base.py +index c5790e5..959e827 100644 +--- a/leather/series/base.py ++++ b/leather/series/base.py +@@ -1,6 +1,9 @@ + #!/usr/bin/env python + +-from collections import Iterable, Sequence, Mapping ++try: ++ from collections.abc import Iterable, Sequence, Mapping ++except ImportError: ++ from collections import Iterable, Sequence, Mapping + from functools import partial + + import six +diff --git a/leather/series/category.py b/leather/series/category.py +index c575308..3678377 100644 +--- a/leather/series/category.py ++++ b/leather/series/category.py +@@ -1,6 +1,9 @@ + #!/usr/bin/env python + +-from collections import Iterable, Sequence, Mapping ++try: ++ from collections.abc import Iterable, Sequence, Mapping ++except ImportError: ++ from collections import Iterable, Sequence, Mapping + from functools import partial + + import six diff --git a/dev-python/leather/leather-0.3.3-r2.ebuild b/dev-python/leather/leather-0.3.3-r2.ebuild index a5e42b81fa56..1d491af78638 100644 --- a/dev-python/leather/leather-0.3.3-r2.ebuild +++ b/dev-python/leather/leather-0.3.3-r2.ebuild @@ -1,30 +1,36 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 DESCRIPTION="Python charting for 80% of humans." HOMEPAGE="https://github.com/wireservice/leather https://pypi.org/project/leather/" SRC_URI="https://github.com/wireservice/leather/archive/refs/tags/${PV}.tar.gz -> ${P}-src.tar.gz" + LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test +xml" -RESTRICT="!test? ( test )" +IUSE="+xml" # Other packages have BDEPEND="test? ( dev-python/leather[xml] )" TEST_AGAINST_RDEPEND="xml? ( dev-python/lxml[${PYTHON_USEDEP}] )" RDEPEND=" ${TEST_AGAINST_RDEPEND} - >=dev-python/cssselect-0.9.1[${PYTHON_USEDEP}] - >=dev-python/six-1.6.1[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] " +PATCHES=( + "${FILESDIR}/${P}-fix-py3.10.patch" +) + distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme python_prepare_all() { local requirements_files sed_args diff --git a/dev-python/leather/metadata.xml b/dev-python/leather/metadata.xml index 4b3fa8e399fd..4e3e615a81f3 100644 --- a/dev-python/leather/metadata.xml +++ b/dev-python/leather/metadata.xml @@ -10,4 +10,5 @@ <bugs-to>https://github.com/wireservice/leather/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pathtools/pathtools-0.1.2-r3.ebuild b/dev-python/pathtools/pathtools-0.1.2-r3.ebuild index f559f0ecf0fa..b6b1effc825d 100644 --- a/dev-python/pathtools/pathtools-0.1.2-r3.ebuild +++ b/dev-python/pathtools/pathtools-0.1.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 DESCRIPTION="Pattern matching and various utilities for file systems paths" -HOMEPAGE="https://pypi.org/project/pathtools/" +HOMEPAGE="https://pypi.org/project/pathtools/ https://github.com/gorakhargosh/pathtools" SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" diff --git a/dev-python/platformdirs/platformdirs-2.0.2.ebuild b/dev-python/platformdirs/platformdirs-2.0.2.ebuild index c11c9283251c..e36f5ceb2b38 100644 --- a/dev-python/platformdirs/platformdirs-2.0.2.ebuild +++ b/dev-python/platformdirs/platformdirs-2.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~mips ~sparc ~x86" BDEPEND=" test? ( dev-python/appdirs[${PYTHON_USEDEP}] )" diff --git a/dev-python/pyenchant/pyenchant-3.2.1.ebuild b/dev-python/pyenchant/pyenchant-3.2.1.ebuild index f17a960c65b6..708bc46fccdc 100644 --- a/dev-python/pyenchant/pyenchant-3.2.1.ebuild +++ b/dev-python/pyenchant/pyenchant-3.2.1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86" RDEPEND="app-text/enchant:*" BDEPEND=" diff --git a/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild b/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild index 1ab5f8f39faa..e1c211016a87 100644 --- a/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild +++ b/dev-python/pytest-aiohttp/pytest-aiohttp-0.3.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -14,7 +14,6 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" -IUSE="" RDEPEND=" >=dev-python/pytest-5.4[${PYTHON_USEDEP}] diff --git a/dev-python/python-docs/python-docs-3.8.11.ebuild b/dev-python/python-docs/python-docs-3.8.11.ebuild index a957c58aad3d..69cbb66a42be 100644 --- a/dev-python/python-docs/python-docs-3.8.11.ebuild +++ b/dev-python/python-docs/python-docs-3.8.11.ebuild @@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html" LICENSE="PSF-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" src_install() { rm -r _sources || die diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index 4becfffe164c..a831bd520b40 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -2,3 +2,4 @@ DIST python-engineio-3.12.1.tar.gz 37158 BLAKE2B a3f75b0ec197248029a2a257eee7694 DIST python-engineio-4.0.1.gh.tar.gz 296000 BLAKE2B dc3b2c3f25ebbfb9d795e3c08e82b2e001fbc785dfb1666f137d8b261b65a90a15af7527917bdd9c636f076f75e01c65b498145ae5051649e1264eb9339d9f7e SHA512 83886ed1a60465127b7eb42a8437196cd68f4c538076237e4f64ff36f6fb02d1e45bd6730d4bb6209c931e05b4c2e10bae60451d1d4644071178ff44a73805e9 DIST python-engineio-4.1.0.gh.tar.gz 296431 BLAKE2B 5ab267aba4dc6e49d26166b661da5b40961d328efb92dbcb653a405f62956f33b28dbf48cd891d0e74314da998be477f917dd6eabdf154877cd80077e4172c9f SHA512 5dea0ffc24138664216eefd6f917280d6199e4c2661a2e41622bb7f4cf03467d60d555e5c28ba23c35f59ae8b549902d235308242bbc5607ac91fd61580e0c4f DIST python-engineio-4.2.0.gh.tar.gz 297410 BLAKE2B 140dd21e779fd89f4d94ee3d191f0b661fa9dab2fac86c1023039afbe83d5136206add52ad412148eff69e79c84b7a8ad1744b3b2c69e02a270373c8c4a38488 SHA512 02eaa5b03045ac1ba73dbcd8c7c7853526234afb61dee6de45ee18bdf3663a2f82f9a5c969fb679e3eb8ccfe5a959434d574c59648b23d3e8e876d22f90e0591 +DIST python-engineio-4.2.1.gh.tar.gz 297657 BLAKE2B 0a634cec9f71a3b8659e5b07cc326fb3d7801c8a834248d6f2ea5a48bcd058f8d0b86c2e43c110ea18ef641e3ace273a2ebd20f350aec9360d38ffe0f32f2778 SHA512 f0ea7cb0a34f49d2e3de58dc1038f41cda099fba0033af7020b9ccacd34fbf44fd1613ef14d4d05013dd99a2d35330769e6c3d2f532556fd39262229e40714f6 diff --git a/dev-python/python-engineio/python-engineio-4.2.1.ebuild b/dev-python/python-engineio/python-engineio-4.2.1.ebuild new file mode 100644 index 000000000000..b37d19d04a11 --- /dev/null +++ b/dev-python/python-engineio/python-engineio-4.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python implementation of the Engine.IO realtime server." +HOMEPAGE=" + https://python-engineio.readthedocs.io/ + https://github.com/miguelgrinberg/python-engineio/ + https://pypi.org/project/python-engineio/" +SRC_URI=" + https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/eventlet[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index 8f92abb06674..e16d5311a2b7 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,2 +1,3 @@ DIST python-lsp-server-1.0.1.tar.gz 56835 BLAKE2B 430e215b7d65bff2008136783539c262ee201d651bf83750333d41353483882fe7a603208c2725c89530a34cef22e73fe1ef26ec80fe7fb42d2df79eae511528 SHA512 bf116d92bdebea41e4f6647673d390887d84be70d612b92b8c3973aa55db4b151c1188b06fb8e3b6dccb814fd22f938572e998f0b1329bf0b69d0e4750b8f5f6 DIST python-lsp-server-1.1.0.tar.gz 58194 BLAKE2B bc1d542e90a1295e7bddf68d366a738b371895a453e8fb7de5b0d688c49b45b9c3441d479c1f760291e32eedc6fd42cb5ee0966ed32a10ee7f883dee3559932f SHA512 fd9f1985bd55f93740671e83696b02567b12b9b77db14c495482494d23f0a73b2048d99fce9c1be0b7d7c847f213a681d379c342d128a95cf40bd3ffeca9766f +DIST python-lsp-server-1.2.0.tar.gz 61430 BLAKE2B 2fa893eb4318a1e80d14a63c2db1aff240cfefe431d934d0536d4d55b793d0365ba4b1cce820beb8a451a2a846024a08f576e54e2a503ef850fcd4334d38b770 SHA512 5d6266ceb12ad8fe0426f29353bf574705c929c30cf1adf439d5d3a2023d00b077e23ae21cafc46f7ac4c32c9362c545be6193a585d564cfdfc9c51785c8c805 diff --git a/dev-python/python-lsp-server/python-lsp-server-1.2.0.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.2.0.ebuild new file mode 100644 index 000000000000..07de4a52f97f --- /dev/null +++ b/dev-python/python-lsp-server/python-lsp-server-1.2.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 optfeature + +DESCRIPTION="Python Language Server for the Language Server Protocol" +HOMEPAGE="https://github.com/python-lsp/python-lsp-server" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="all-plugins" + +BDEPEND=" + test? ( + dev-python/autopep8[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] + <dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + )" + +RDEPEND=" + >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] + <dev-python/jedi-0.19.0[${PYTHON_USEDEP}] + >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + all-plugins? ( + dev-python/autopep8[${PYTHON_USEDEP}] + >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] + <dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e '0,/addopts/I!d' setup.cfg || die + + # This test is continuously breaking + sed -i -e 's/test_folding/_&/' test/plugins/test_folding.py || die + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8 + optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 + optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe + optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle + optfeature "Python docstring style checker" dev-python/pydocstyle + optfeature "Passive checker for Python programs" dev-python/pyflakes + optfeature "Python code static checker" dev-python/pylint + optfeature "Python refactoring library" dev-python/rope + optfeature "A formatter for Python files" dev-python/yapf +} diff --git a/dev-python/python-socks/python-socks-1.2.4.ebuild b/dev-python/python-socks/python-socks-1.2.4.ebuild index 7b5f01bd8b2c..710fb30a77c0 100644 --- a/dev-python/python-socks/python-socks-1.2.4.ebuild +++ b/dev-python/python-socks/python-socks-1.2.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" diff --git a/dev-python/qscintilla-python/Manifest b/dev-python/qscintilla-python/Manifest index 0b3102843cf3..eb82b3903dbb 100644 --- a/dev-python/qscintilla-python/Manifest +++ b/dev-python/qscintilla-python/Manifest @@ -1,2 +1 @@ -DIST QScintilla-2.11.5.tar.gz 3007564 BLAKE2B e1eb7794b2e09f7bbfebde69a7c62c1a952e36b95f9c7a38c3db0b6bbdab8d0bad4a6d780dc9bf9b5e8d64111046f1741c6710d8444504230ee0f4154ce0a304 SHA512 46bc3c896b4ab71fbcc821ce3a248ecc4200378e0b621adef8d39092f940928806c76abe529b7f27ce4280e7e49091d8cbeafe6f303ca85cf5675df2887fd99b DIST QScintilla-2.11.6.tar.gz 3027764 BLAKE2B 1eb5d9ba44040cbff30e8b0028e164cf2aa86c565a5368890500614b9395dbe861c5cd268cf6a4ec06e2c7d77860b2ad6064bc3d07fd63a6ede2b060f44a7117 SHA512 8055d72a40f9f5a7d45c6592055c1b8eb5e5c50ce9e51673babd5e567c769d60c64d244ba5a7def5731a3120099e9528d01ed94327a06bb56ae2fa2e5e37b198 diff --git a/dev-python/qscintilla-python/qscintilla-python-2.11.5.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.11.5.ebuild deleted file mode 100644 index 0793ef8f8e56..000000000000 --- a/dev-python/qscintilla-python/qscintilla-python-2.11.5.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit python-r1 qmake-utils - -DESCRIPTION="Python bindings for QScintilla" -HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro" - -MY_PN=QScintilla -MY_P=${MY_PN}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" -fi - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" -IUSE="debug" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-python/PyQt5-5.12[gui,printsupport,widgets,${PYTHON_USEDEP}] - >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - ~x11-libs/qscintilla-${PV}:= -" -DEPEND="${RDEPEND} - >=dev-python/sip-4.19.22[${PYTHON_USEDEP}] -" - -S=${WORKDIR}/${MY_P}/Python - -src_configure() { - configuration() { - local myconf=( - "${PYTHON}" - "${S}"/configure.py - --pyqt=PyQt5 - --qmake="$(qt5_get_bindir)"/qmake - $(usex debug '--debug --trace' '') - --verbose - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - # Fix parallel install failure - sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_api' \ - ${MY_PN}.pro || die - - # Run eqmake to respect toolchain and build flags - eqmake5 -recursive ${MY_PN}.pro - } - python_foreach_impl run_in_build_dir configuration -} - -src_compile() { - python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - } - python_foreach_impl run_in_build_dir installation -} diff --git a/dev-python/qscintilla-python/qscintilla-python-2.11.6.ebuild b/dev-python/qscintilla-python/qscintilla-python-2.11.6.ebuild index 6f306eb43b71..11437d160ff0 100644 --- a/dev-python/qscintilla-python/qscintilla-python-2.11.6.ebuild +++ b/dev-python/qscintilla-python/qscintilla-python-2.11.6.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit python-r1 qmake-utils DESCRIPTION="Python bindings for QScintilla" -HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro" +HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/" MY_PN=QScintilla MY_P=${MY_PN}-${PV/_pre/.dev} @@ -28,7 +28,7 @@ REQUIRED_USE=" RDEPEND=" ${PYTHON_DEPS} - >=dev-python/PyQt5-5.12[gui,printsupport,widgets,${PYTHON_USEDEP}] + <dev-python/PyQt5-5.15.5_pre[gui,printsupport,widgets,${PYTHON_USEDEP}] >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}] dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -37,7 +37,7 @@ RDEPEND=" ~x11-libs/qscintilla-${PV}:= " DEPEND="${RDEPEND} - >=dev-python/sip-4.19.22[${PYTHON_USEDEP}] + >=dev-python/sip-4.19.22:0[${PYTHON_USEDEP}] " S=${WORKDIR}/${MY_P}/Python diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 211e1cb782fd..92bf36d2807a 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,2 +1 @@ -DIST qtconsole-5.1.0.tar.gz 428856 BLAKE2B 4176c8add4fb949a82ce33fe9df598d2141c42dfa9ce57ae09ea201398df6ea54e00b890ad2b548b51e95f4dc0c7b2793640ced9b39b7adea910e3d2b90ec900 SHA512 50d2f1466d1fd5ebd33da1778f8271c5a328a61551f665e488c5c45326fabb4b431090d89b39c130a064b3c117cd24dc92e160c68c1eecf6647f2b662b01b2db DIST qtconsole-5.1.1.tar.gz 428840 BLAKE2B eb5f6dacf576133c07bc45a9f0fcfdfd041f72012d9564e288a40ac060a6843f6438c80836bcf2f35ffa1f575383bdffe347a498930fe96e2d99a1f1fbe3a032 SHA512 dd9f725fc6e55dea3910650c4c5641336ed1ed56e6eeaad91e6567743bc02fbd0ca567295c3c8897bb800df305ec0bf9f2d8caa8ad0099cdfa2d20c7ca96fbdc diff --git a/dev-python/qtconsole/qtconsole-5.1.0.ebuild b/dev-python/qtconsole/qtconsole-5.1.0.ebuild deleted file mode 100644 index 83421fc7be60..000000000000 --- a/dev-python/qtconsole/qtconsole-5.1.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Qt-based console for Jupyter with support for rich media output" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipython_genutils[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/traitlets[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP},gui,printsupport,svg] -" -BDEPEND=" - test? ( - dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] - ) -" -# required by the tests that are removed: -# dev-python/flaky[${PYTHON_USEDEP}] -# dev-python/pytest-qt[${PYTHON_USEDEP}] - -PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs/source -distutils_enable_tests pytest - -src_prepare() { - # TODO: these tests require virtx; however, running under virtx - # causes pytest to segv on exit (even though tests pass) - rm qtconsole/tests/test_00_console_widget.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/re-assert/re-assert-1.1.0.ebuild b/dev-python/re-assert/re-assert-1.1.0.ebuild index 4b63aaa56c82..a693c76dde4b 100644 --- a/dev-python/re-assert/re-assert-1.1.0.ebuild +++ b/dev-python/re-assert/re-assert-1.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="Show where your regex match assertion failed" diff --git a/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch b/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch new file mode 100644 index 000000000000..706b41b74688 --- /dev/null +++ b/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch @@ -0,0 +1,35 @@ +From: Arthur Zamarin <arthurzam@gmail.com> +Date: Fri, 30 Jul 2021 11:13:41 +0300 +[PATCH] PyPy3: fix test_empty_array + +As an optimization, PyPy sets empty array.array to use a NULL buffer +pointer, while CPython uses empty buffer (but not NULL). +Add a very specially crafted fix for PyPy3 + +Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> +--- + regex_3/_regex.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/regex_3/_regex.c ++++ b/regex_3/_regex.c +@@ -18062,9 +18062,19 @@ Py_LOCAL_INLINE(BOOL) get_string(PyObject* string, RE_StringInfo* str_info) { + } + + if (!str_info->view.buf) { ++#if defined(PYPY_VERSION) ++ /* In PyPy3, when the array.array is empty, it's buffer is NULL */ ++ str_info->characters = NULL; ++ str_info->length = 0; ++ str_info->charsize = 1; ++ str_info->is_unicode = FALSE; ++ str_info->should_release = FALSE; ++ return TRUE; ++#else + PyBuffer_Release(&str_info->view); + PyErr_SetString(PyExc_ValueError, "buffer is NULL"); + return FALSE; ++#endif + } + + str_info->should_release = TRUE; diff --git a/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch b/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch new file mode 100644 index 000000000000..ae5958021781 --- /dev/null +++ b/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch @@ -0,0 +1,31 @@ +From: Arthur Zamarin <arthurzam@gmail.com> +Date: Fri, 30 Jul 2021 11:38:26 +0300 +[PATCH] PyPy3: fix test_issue_18468 + +When using the small subclass classes to test correctness of split +results, there are difference between CPython and PyPy3: + - CPython returns always the base class (for example str instead + of StrSubclass) + - PyPy3 returns the same class, so we get an StrSubclass + +Based on the test, it looks like the behaviour of PyPy3 is correct, +but the test works based on CPython. + +The fix was to relax the equals type to check that it is a subclass. + +Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> +--- + regex_3/test_regex.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/regex_3/test_regex.py ++++ b/regex_3/test_regex.py +@@ -52,7 +52,7 @@ class RegexTests(unittest.TestCase): + for x, y in zip(actual, expect): + recurse(x, y) + else: +- self.assertIs(type(actual), type(expect), msg) ++ self.assertIsInstance(actual, type(expect), msg) + + recurse(actual, expect) + diff --git a/dev-python/regex/regex-2021.4.4.ebuild b/dev-python/regex/regex-2021.4.4.ebuild index c201cf5483ca..43f1138c694b 100644 --- a/dev-python/regex/regex-2021.4.4.ebuild +++ b/dev-python/regex/regex-2021.4.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 flag-o-matic @@ -16,6 +16,11 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="doc" +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + distutils_enable_tests unittest python_test() { diff --git a/dev-python/regex/regex-2021.7.1.ebuild b/dev-python/regex/regex-2021.7.1.ebuild index d9556b906515..adc8b42f3f8b 100644 --- a/dev-python/regex/regex-2021.7.1.ebuild +++ b/dev-python/regex/regex-2021.7.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 flag-o-matic DESCRIPTION="Alternative regular expression module to replace re" @@ -15,6 +15,11 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="doc" +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + distutils_enable_tests unittest python_test() { diff --git a/dev-python/regex/regex-2021.7.6.ebuild b/dev-python/regex/regex-2021.7.6.ebuild index d9556b906515..adc8b42f3f8b 100644 --- a/dev-python/regex/regex-2021.7.6.ebuild +++ b/dev-python/regex/regex-2021.7.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 flag-o-matic DESCRIPTION="Alternative regular expression module to replace re" @@ -15,6 +15,11 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="doc" +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + distutils_enable_tests unittest python_test() { diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index f2fa264863ef..f7c4aaefe3e4 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,2 +1,3 @@ DIST spyder-kernels-1.10.2-gh.tar.gz 78924 BLAKE2B 47f0ec284f54590ee9c5a43caeeea61b644fccc6d6222dfbf85187beb9cc141504082dbf50d1d85f5315c8e8e46b9f810253d904b594bb4c52677271b0f7f12d SHA512 4bcbc2646493f384a3f5fad1cc2a42bbe1d06c5225362beb995a73e3c1abe482f3855d844c449b07631b4ffda99492ccbd3cbe69c515ed38d6a98913bea90e2d DIST spyder-kernels-2.0.5-gh.tar.gz 81123 BLAKE2B 390c3c5d8ceee787f6699dd41ecc9e015050db86d0e416e32be28ebe0a62b09c611707ac6427e8cc809303f41a77b7d9289f15d71d0b2a8ce17ff87af79ea5ad SHA512 b44702a0964bde69a9035839e3ca052a4ccc60340de83ccb9f1b0e6b93b73da5554e10b5eb61b8965416130d8f658f1a18fb1164c59cd27134298c16d3442dbe +DIST spyder-kernels-2.1.0-gh.tar.gz 82069 BLAKE2B 04fdf22f887d43a3c9bdb973588af895f07263ee7fed42d1a8f7b1caa25083c8498c28bbe0cd7f8f744082a94bc2906000b34cd6b5b78cb2ea017d0e2950b5ae SHA512 2261f582de5bff4c28463d4bd056cb64edbadabb352cd39b110d21ea004d3118162ca5f715366235789f41c76e6ccbd9064d7f2f7de77663eda89e583368c8d9 diff --git a/dev-python/spyder-kernels/spyder-kernels-2.1.0.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.1.0.ebuild new file mode 100644 index 000000000000..45c22bddd0f1 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-2.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Kernels used by spyder on its ipython console" +HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/ipykernel-5.3.0[${PYTHON_USEDEP}] + >=dev-python/ipython-7.6.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/dask[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # we no longer package distributed + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + ) + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 8fea8366a3a6..2cd5ff79b492 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,4 +1,6 @@ DIST spyder-4.2.5.tar.gz 11539071 BLAKE2B 9d7a98da018aae934803d640995fe2dfa6bbb20bfc7140bd00f5e7a00a09c47922fefd8df84f4b217a50176ee190515da6f4cbf498a03cae68e2ac4f5ec70664 SHA512 081b047a45b7522a69b1b21a221ab5cdef47f87f36ed4423ff63297d205f924c1627517c50622acb2d10efa094bc506fed4ec88f861775d3f58e81ac6ef017ac DIST spyder-5.0.5.tar.gz 20606379 BLAKE2B 52f05ffcf0b6aabdac23a055af1c674c6aa80a7d4f3608779df1d46e0e51de63a71b4e97db286dc92e071cbb44a0dc827aa750d8ca538e6764b5e780f493d615 SHA512 17654ee76eb51c5f5b9f494d009af3d7813f869f27f22ceb8ad8ca96dcedcbcd6b86c7a3895bb63eba3cc60e4a57ab94128abb8d21f05c4672b8bb8d545fe1ff +DIST spyder-5.1.0.tar.gz 19777581 BLAKE2B 88b485ebc59f6609b051522c0c28da3ad09956defc22ada3d8db7b4cad46b0dd7445617a92387855d490c3646f1099578a4e2c70deb939d0d5d24516341b10ae SHA512 5bf9a2935cdff4423f1bfa5baadcc6f2eb2a4caf41f1cdf44c02d39199e0a244a3ffbad76f14181f90a844a59df07ee760e5f4bf36cb5f7081b2167f63e88acb DIST spyder-docs-5eb83118155a3765de4a0f863b936bcbe73bb7aa.tar.gz 85362596 BLAKE2B 7294dcd0f169958da132b141379b9b1cf497095981a86416fb98d98f98e30a425fe2e628a523785f932bbc06a2ba1ecddb45bae0df009887db928f879e08cdef SHA512 45f45546b83afb3036348e89ee3eded4d8ecee36ce58fe697da14677fbff8fa2dfe170be7385ecf10e1989817780c07b5676d545ee34e87a8f252929ad72882e DIST spyder-docs-78b25754c69a20643258821146e398ad5535c920.tar.gz 69167467 BLAKE2B d2815d552002f329b5fac59329fba3b3b0cd592bcbdacc0878966919e44dbab29548533661e60a1b9b8fd763d57d1e4c2f761782ace1b0a814a5f0cec1f66af9 SHA512 10764367fd5f830d7a3620b9d9e7ec4ab74539c1f48326c0c40f7caff74a50401addc7609fe1558c57dac4649d0a214c0d2d77cecd100bd8574151134e49634d +DIST spyder-docs-ebf13f362a604c5ac127efcddb74a91610d92f59.tar.gz 85347412 BLAKE2B 3d7ef7a491a974d3255040998716931cf14d88c74af9f44b6a46edea6d75585c4d9683e03dbc4175c237a7baafe409e4a2ba43a0db666c7d4e96b864e2ee58b8 SHA512 c0f50ad9cd721558484c8dce3cd59c503475e814a3d42e8786b4678a449baff46b13c8ec1227fdc8f8b733c856736ecc4652f0a43db36feab27f2fb10355debc diff --git a/dev-python/spyder/spyder-5.1.0.ebuild b/dev-python/spyder/spyder-5.1.0.ebuild new file mode 100644 index 000000000000..34c68a210796 --- /dev/null +++ b/dev-python/spyder/spyder-5.1.0.ebuild @@ -0,0 +1,188 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit optfeature xdg distutils-r1 + +# Commit of documentation to fetch +DOCS_PV="ebf13f362a604c5ac127efcddb74a91610d92f59" + +DESCRIPTION="The Scientific Python Development Environment" +HOMEPAGE=" + https://www.spyder-ide.org/ + https://github.com/spyder-ide/spyder/ + https://pypi.org/project/spyder/ +" +SRC_URI=" + https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" + +# The test suite often hangs or does not work. Technically spyder requires +# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason +# many of the tests fail or hang. RESTRICTing because IMO it is not worth the +# several hours I spend every single version bump checking which tests do and +# do not work. Spyder itself works fine with pyqt5>13. +RESTRICT="test" + +RDEPEND=" + >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] + >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] + >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] + >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] + >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] + >=dev-python/psutil-5.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/python-lsp-black-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + ~dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}] + >=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}] + >=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}] + >=dev-python/qtconsole-5.1.0[${PYTHON_USEDEP}] + >=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},pyqt5(+),svg,webengine] + >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-2.1.0[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-2.2.0[${PYTHON_USEDEP}] + >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] + >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[tk,${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + <dev-python/pytest-6.0[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-ordering[${PYTHON_USEDEP}] + <dev-python/pytest-qt-4[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + )" + +# Based on the courtesy of Arfrever +# This patch removes a call to update-desktop-database during build +# This fails because access is denied to this command during build +PATCHES=( + "${FILESDIR}/${PN}-5.0.0-build.patch" + "${FILESDIR}/${PN}-5.0.1-doc-theme-renamed.patch" +) + +DOCS=( + "AUTHORS.txt" + "Announcements.md" + "CHANGELOG.md" + "CODE_OF_CONDUCT.md" + "CONTRIBUTING.md" + "NOTICE.txt" + "README.md" + "RELEASE.md" +) + +distutils_enable_tests pytest +distutils_enable_sphinx docs/doc \ + dev-python/sphinx-panels \ + dev-python/pydata-sphinx-theme \ + dev-python/sphinx-multiversion + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these dependencies are packaged separately: + # dev-python/spyder-kernels, + # dev-python/python-language-server, + # dev-python/qdarkstyle + rm -r external-deps/* || die + # runs against things packaged in external-deps dir + rm conftest.py || die + + # Do not depend on pyqt5<5.13, this dependency is carried by QtPy[pyqt5] + # Do not depend on pyqtwebengine<5.13, this dependency is carried by QtPy[webengine] + # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server + # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder + # The explicit version requirements only make things more complicated, if e.g. + # pyls-spyder gains compatibility with a newer version of python-lsp-server + # in a new release it will take time for this information to propagate into + # the next spyder release. So just remove the dependency and let the other + # ebuilds handle the version requirements to speed things up and prevent + # issues such as Bug 803269. + sed -i \ + -e '/pyqt5/d' \ + -e '/pyqtwebengine/d' \ + -e '/python-lsp-server/d' \ + -e '/parso/d' \ + -e '/jedi/d' \ + {setup.py,requirements/conda.txt} || die + sed -i \ + -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ + -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ + -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ + -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ + spyder/dependencies.py || die + + # do not check deps, fails because we removed pyqt5 dependency above + sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # can't check for update, need network + rm spyder/workers/tests/test_update.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + distutils-r1_python_prepare_all +} + +# Calling pytest directly makes the tests freeze after completing even if successful +# Exit code is nonzero even upon success, so can't add || die here test results +# should be checked for success manually +python_test() { + "${EPYTHON}" runtests.py +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib + optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas + optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy + optfeature "Symbolic mathematics in the IPython console" dev-python/sympy + optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy + optfeature "Run Cython files in the IPython console" dev-python/cython + optfeature "The hdf5/h5py plugin" dev-python/h5py + optfeature "The line profiler plugin" dev-python/spyder-line-profiler + optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler + # spyder-autopep8 does not have a release (yet) + # and are not compatible with >=spyder-4.0.0 at the moment + # optfeature "The autopep8 plugin" dev-python/spyder-autopep8 + optfeature "Vim key bindings" dev-python/spyder-vim + optfeature "Unittest support" dev-python/spyder-unittest + optfeature "Jupyter notebook support" dev-python/spyder-notebook + optfeature "System terminal inside spyder" dev-python/spyder-terminal + # spyder-reports not yet updated to >=spyder-4.0.0 + # optfeature "Markdown reports using Pweave" dev-python/spyder-reports +} diff --git a/dev-python/uvloop/uvloop-0.15.3-r1.ebuild b/dev-python/uvloop/uvloop-0.15.3-r1.ebuild index e34e3d4c337a..5f0cf1259bbc 100644 --- a/dev-python/uvloop/uvloop-0.15.3-r1.ebuild +++ b/dev-python/uvloop/uvloop-0.15.3-r1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" HOMEPAGE="https://github.com/magicstack/uvloop" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="~alpha ~amd64" +KEYWORDS="~alpha ~amd64 ~arm64" LICENSE="MIT" SLOT="0" IUSE="doc examples" diff --git a/dev-python/virtualenv/virtualenv-20.7.0.ebuild b/dev-python/virtualenv/virtualenv-20.7.0.ebuild index 0edb9f2dc5a6..5a6da7d582ae 100644 --- a/dev-python/virtualenv/virtualenv-20.7.0.ebuild +++ b/dev-python/virtualenv/virtualenv-20.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~mips ~sparc ~x86" SLOT="0" RDEPEND=" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index eb2cf6a288e0..3e313d382b83 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,5 +1,2 @@ -DIST python-zeroconf-0.30.0.gh.tar.gz 64301 BLAKE2B ea0d5e36f3f012f217cbd4eeff0a9cd366496e2f64b06112ee3629ad016c8e28877f62358d5b5fd27387cfe474e488e99a9ad8ca1802f6d23612f99310243c57 SHA512 1f3165500a07525ef182bb60c1804fe2002a33a9f800470bdb32bdfd44a1b8f466a818a4390537674952159e5c0e257cf9e4ca570b1a9936e1cf8be294be6311 -DIST python-zeroconf-0.32.0.gh.tar.gz 115276 BLAKE2B 7084c02f989ebc6db6686b82ce3212158595b87e00567e4857e84790a30a2fa6f688288769d1eb118da485a6755da1ef404765070d26905d10ab45b1d95ca849 SHA512 6a612b39be85e673cffc560ea5bcc16facc5a16a370ff6edb1d4f7ff978a01d6ba249a9b313caca3b3ed0c6463a4914a98063eb89f28268cec1c9a2faa4db611 DIST python-zeroconf-0.32.1.gh.tar.gz 116507 BLAKE2B 03de415620745b75cd43be74b724faf909aad9628175f18cf4b2c04245d02adbca984eaa861e807729f36caa3feecab913f2e4aafcdd9aac1af02de6eeefbb3d SHA512 cefcd1abdc3ca2b5ed796aee09e6826c0d0f54343bdefbf45c425d6e033542dc061c84fb4438ba53774d87c6516801c6e2196c1e6cfdd9dbf9187f5d8d4b1b11 -DIST python-zeroconf-0.33.0.gh.tar.gz 118002 BLAKE2B e5bdf8011777f46207c7f0aafbf4bfc34e704b59e01fcecd93e2ca05154f836bbe206688242eb37578a0e3b6d462de86944bdc81b96b0f3613eed21e9d0b6be0 SHA512 214fc1b25e1b900b6745f808144c0a1d94102dbc30f1e6ae49dfbfe2e75e9611e33d1341d192641be363662a0259aa340f52fe20fcf2bd5cf1611e823754186d DIST python-zeroconf-0.33.2.gh.tar.gz 118266 BLAKE2B e239443c778d24895a830ac8d4f23be5eeac701b92ddf945efc955a731cbce62bea10243f57a0929ad21c4444d32c37b0a9e23b53e734362b9c6b9ce85e2eb59 SHA512 9631dc348baf028794934d826a1fd2e874cf9039e6fb1c93a1b9a8e2a95ae436ab2fc1a955e2d89656c37a56b71075b578857f6de041a7e61ff55c7a62a2a7a3 diff --git a/dev-python/zeroconf/zeroconf-0.30.0.ebuild b/dev-python/zeroconf/zeroconf-0.30.0.ebuild deleted file mode 100644 index c79135e1635e..000000000000 --- a/dev-python/zeroconf/zeroconf-0.30.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P=python-zeroconf-${PV} -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/jstasiak/python-zeroconf/ - https://pypi.org/project/zeroconf/" -SRC_URI=" - https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_test() { - local excludes=( - # network - zeroconf/test.py::Framework::test_close_multiple_times - zeroconf/test.py::Framework::test_launch_and_close - zeroconf/test.py::Framework::test_launch_and_close_v4_v6 - zeroconf/test.py::Framework::test_launch_and_close_v6_only - zeroconf/test.py::ServiceTypesQuery::test_integration_with_listener_ipv6 - ) - - epytest ${excludes[@]/#/--deselect } zeroconf/test.py -} diff --git a/dev-python/zeroconf/zeroconf-0.32.0.ebuild b/dev-python/zeroconf/zeroconf-0.32.0.ebuild deleted file mode 100644 index 270b97996646..000000000000 --- a/dev-python/zeroconf/zeroconf-0.32.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P=python-zeroconf-${PV} -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/jstasiak/python-zeroconf/ - https://pypi.org/project/zeroconf/" -SRC_URI=" - https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_test() { - local excludes=( - # network - tests/test_core.py::Framework::test_close_multiple_times - tests/test_core.py::Framework::test_launch_and_close - tests/test_core.py::Framework::test_launch_and_close_context_manager - tests/test_core.py::Framework::test_launch_and_close_v4_v6 - tests/test_core.py::Framework::test_launch_and_close_v6_only - tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6 - ) - - epytest ${excludes[@]/#/--deselect } -} diff --git a/dev-python/zeroconf/zeroconf-0.33.0.ebuild b/dev-python/zeroconf/zeroconf-0.33.0.ebuild deleted file mode 100644 index c406eead3ace..000000000000 --- a/dev-python/zeroconf/zeroconf-0.33.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P=python-zeroconf-${PV} -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/jstasiak/python-zeroconf/ - https://pypi.org/project/zeroconf/" -SRC_URI=" - https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_test() { - local excludes=( - # network - tests/test_core.py::Framework::test_close_multiple_times - tests/test_core.py::Framework::test_launch_and_close - tests/test_core.py::Framework::test_launch_and_close_context_manager - tests/test_core.py::Framework::test_launch_and_close_v4_v6 - tests/test_core.py::Framework::test_launch_and_close_v6_only - tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6 - ) - - epytest ${excludes[@]/#/--deselect } -} |
