diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-03 12:48:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-03 12:48:50 +0000 |
| commit | f6dde9d9c98cb202b1414ca5946b19a163d215fb (patch) | |
| tree | 9f6602afeda8968255cee19b54d1288372b7ea6b /dev-python | |
| parent | 6118ffdf5927aa78d515e883d03337b59fe35a25 (diff) | |
| download | baldeagleos-repo-f6dde9d9c98cb202b1414ca5946b19a163d215fb.tar.gz baldeagleos-repo-f6dde9d9c98cb202b1414ca5946b19a163d215fb.tar.xz baldeagleos-repo-f6dde9d9c98cb202b1414ca5946b19a163d215fb.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
66 files changed, 409 insertions, 1528 deletions
diff --git a/dev-python/Frozen-Flask/Frozen-Flask-0.18.ebuild b/dev-python/Frozen-Flask/Frozen-Flask-0.18.ebuild deleted file mode 100644 index 3df982f00a7d..000000000000 --- a/dev-python/Frozen-Flask/Frozen-Flask-0.18.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Freezes a Flask application into a set of static files" -HOMEPAGE=" - https://github.com/Frozen-Flask/Frozen-Flask/ - https://pypi.org/project/Frozen-Flask/ -" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/flask[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs \ - dev-python/flask-sphinx-themes -distutils_enable_tests nose diff --git a/dev-python/PyQt6/Manifest b/dev-python/PyQt6/Manifest new file mode 100644 index 000000000000..631567942685 --- /dev/null +++ b/dev-python/PyQt6/Manifest @@ -0,0 +1 @@ +DIST PyQt6-6.3.1.tar.gz 1015220 BLAKE2B e225f2da11eec482ab8e00f886a858cec4a2c8add764f5e54bf603959394aad7f12d91b92c1ba6ab98d1b25903d4404e6667232258a87c52c95a2abdae9ccd2d SHA512 94319cd0983eb3f9bb0f1acbc620a1631a37f82e2fcffb9d0e58437fb1c120640be1e2a0a09e98e03f6c7082a2d94e9eabceefa6b07bae354f77bda02ba92d58 diff --git a/dev-python/PyQt6/PyQt6-6.3.1.ebuild b/dev-python/PyQt6/PyQt6-6.3.1.ebuild new file mode 100644 index 000000000000..be0104f37bd3 --- /dev/null +++ b/dev-python/PyQt6/PyQt6-6.3.1.ebuild @@ -0,0 +1,149 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=sip +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 flag-o-matic multiprocessing qmake-utils + +QT_PV="6.3:6" # minimum tested qt version + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +# currently keeping defaults in sync with qtbase, and beside that trying to +# stay minimal'ish given each builds relatively slowly (but still subject to +# change if something is needed by most consumers) +IUSE=" + +dbus debug qml designer examples gles2-only +gui help multimedia + +network opengl positioning printsupport quick quick3d serialport + +sql +ssl svg testlib webchannel websockets +widgets +xml" +# see `grep -r "%Import " sip` and `grep qmake_QT project.py` +REQUIRED_USE=" + designer? ( gui widgets ) + help? ( gui widgets ) + multimedia? ( gui network ) + opengl? ( gui ) + printsupport? ( gui widgets ) + qml? ( network ) + quick3d? ( gui qml ) + quick? ( gui qml ) + sql? ( widgets ) + svg? ( gui ) + testlib? ( gui widgets ) + webchannel? ( network ) + websockets? ( network ) + widgets? ( gui )" + +# note: xml(+) for now given qtbase-6.3.1-r0 is missing IUSE=xml with a TODO +DEPEND=" + >=dev-qt/qtbase-${QT_PV}[dbus?,gles2-only=,gui?,network?,opengl?,sql?,ssl=,widgets?,xml(+)?] + dbus? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-apps/dbus + ) + designer? ( >=dev-qt/qttools-${QT_PV}[designer] ) + help? ( >=dev-qt/qttools-${QT_PV}[assistant] ) + multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} ) + positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) + qml? ( >=dev-qt/qtdeclarative-${QT_PV} ) + quick3d? ( >=dev-qt/qtquick3d-${QT_PV} ) + serialport? ( >=dev-qt/qtserialport-${QT_PV} ) + svg? ( >=dev-qt/qtsvg-${QT_PV} ) + webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) + websockets? ( >=dev-qt/qtwebsockets-${QT_PV} )" +RDEPEND=" + ${DEPEND} + >=dev-python/PyQt6_sip-13.4[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/PyQt-builder-1.11[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} + sys-devel/gcc + dbus? ( virtual/pkgconfig )" + +src_prepare() { + default + + # hack: qmake wants g++ (not clang), try to respect ${CHOST} #726112 + mkdir "${T}"/cxx || die + ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die + PATH=${T}/cxx:${PATH} +} + +src_configure() { + append-cxxflags -std=c++17 # for clang and old gcc that default to <17 + + pyqt-use_enable() { + local state=$(usex ${1} --enable= --disable=) + shift + echo ${*/#/${state}} + } + + # hack: currently lacking qt6_get_bindir (or alternatively have + # qmake6 in PATH like qmake5 is so it wouldn't matter) + local qmake6=$(qt5_get_bindir)/qmake6 + qmake6=${qmake6//qt5/qt6} + + DISTUTILS_ARGS=( + --jobs=$(makeopts_jobs) + --qmake="${qmake6}" + --qmake-setting="$(qt5_get_qmake_args)" + --verbose + --confirm-license + + # TODO: enable/restrict more as qt6 packages/USE get added + --disable=QAxContainer + --disable=QtBluetooth + --enable=QtCore + $(pyqt-use_enable dbus QtDBus) + $(pyqt-use_enable designer QtDesigner) + $(pyqt-use_enable help QtHelp) + $(pyqt-use_enable gui QtGui) + #--disable=QtLocation # force-disabled in project.py + $(pyqt-use_enable multimedia QtMultimedia \ + $(usev widgets QtMultimediaWidgets)) + $(pyqt-use_enable network QtNetwork) + --disable=QtNfc + $(pyqt-use_enable opengl QtOpenGL \ + $(usev widgets QtOpenGLWidgets)) + $(pyqt-use_enable positioning QtPositioning) + $(pyqt-use_enable printsupport QtPrintSupport) + $(pyqt-use_enable qml QtQml) + $(pyqt-use_enable quick QtQuick \ + $(usev widgets QtQuickWidgets)) + $(pyqt-use_enable quick3d QtQuick3D) + --disable=QtRemoteObjects + --disable=QtSensors + $(pyqt-use_enable serialport QtSerialPort) + $(pyqt-use_enable sql QtSql) + $(pyqt-use_enable svg QtSvg \ + $(usev widgets QtSvgWidgets)) + $(pyqt-use_enable testlib QtTest) + #--disable=QtTextToSpeech # force-disabled in project.py + $(pyqt-use_enable webchannel QtWebChannel) + $(pyqt-use_enable websockets QtWebSockets) + $(pyqt-use_enable widgets QtWidgets) + $(pyqt-use_enable xml QtXml) + + $(usev debug '--debug --qml-debug --tracing') + + $(usev !dbus --no-dbus-python) + # TODO?: plugins not in wheels by upstream, see project.py#L215 + # (if needed by something, will need to be added to python_install) + $(usev !designer --no-designer-plugin) + $(usev !qml --no-qml-plugin) + + $(usev !gles2-only --disabled-feature=PyQt_OpenGL_ES2) + $(usev !ssl --disabled-feature=PyQt_SSL) + ) +} + +python_install_all() { + einstalldocs + use examples && dodoc -r examples +} diff --git a/dev-python/PyQt6/metadata.xml b/dev-python/PyQt6/metadata.xml new file mode 100644 index 000000000000..de86a8812c49 --- /dev/null +++ b/dev-python/PyQt6/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <upstream> + <bugs-to>https://www.riverbankcomputing.com/mailman/listinfo/pyqt/</bugs-to> + <doc>https://www.riverbankcomputing.com/static/Docs/PyQt6/</doc> + </upstream> + <use> + <flag name="dbus">Build bindings for the QtDBus module</flag> + <flag name="designer">Build bindings for the QtDesigner module and enable the designer plugin</flag> + <flag name="gui">Build bindings for the QtGui module</flag> + <flag name="help">Build bindings for the QtHelp module</flag> + <flag name="multimedia">Build bindings for the QtMultimedia module</flag> + <flag name="network">Build bindings for the QtNetwork module</flag> + <flag name="opengl">Build bindings for the QtOpenGL module</flag> + <flag name="positioning">Build bindings for the QtPositioning module</flag> + <flag name="printsupport">Build bindings for the QtPrintSupport module</flag> + <flag name="qml">Build bindings for the QtQml module and enable the qml plugin</flag> + <flag name="quick">Build bindings for the QtQuick module</flag> + <flag name="quick3d">Build bindings for the QtQuick3D module</flag> + <flag name="serialport">Build bindings for the QtSerialPort module</flag> + <flag name="sql">Build bindings for the QtSql module</flag> + <flag name="svg">Build bindings for the QtSvg module</flag> + <flag name="testlib">Build bindings for the QtTest module</flag> + <flag name="webchannel">Build bindings for the QtWebChannel module</flag> + <flag name="websockets">Build bindings for the QtWebSockets module</flag> + <flag name="widgets">Build bindings for the QtWidgets module</flag> + <flag name="xml">Build bindings for the QtXml module</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/PyQt6_WebEngine/Manifest b/dev-python/PyQt6_WebEngine/Manifest new file mode 100644 index 000000000000..59d365d91651 --- /dev/null +++ b/dev-python/PyQt6_WebEngine/Manifest @@ -0,0 +1 @@ +DIST PyQt6_WebEngine-6.3.1.tar.gz 30607 BLAKE2B f07454684ce9c55ed8f477e7d7ba260af6d219b079e68d6752292310d1d8799b642acd3dad94b9259edfc9c41ee6249d2c1b69f57f7e5132dd71bc88e1e1d463 SHA512 61e30b6dbbd5d31dd03498b1d14279005bd00b59fe375f89b13cf318d5bdb6cbbf5449cd910303c9794ed14cbd25b0e63824ab952fc050d8c0451292c6f97be0 diff --git a/dev-python/PyQt6_WebEngine/PyQt6_WebEngine-6.3.1.ebuild b/dev-python/PyQt6_WebEngine/PyQt6_WebEngine-6.3.1.ebuild new file mode 100644 index 000000000000..71aa602f544b --- /dev/null +++ b/dev-python/PyQt6_WebEngine/PyQt6_WebEngine-6.3.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=sip +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 flag-o-matic multiprocessing qmake-utils + +QT_PV="6.3:6" # minimum tested qt version + +DESCRIPTION="Python bindings for QtWebEngine" +HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug quick +widgets" + +RDEPEND=" + >=dev-python/PyQt6-${PV}[gui,ssl,${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} + >=dev-qt/qtwebengine-${QT_PV}[widgets] + quick? ( dev-python/PyQt6[qml] ) + widgets? ( dev-python/PyQt6[network,printsupport,webchannel,widgets] )" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-python/PyQt-builder-1.11[${PYTHON_USEDEP}] + >=dev-qt/qtbase-${QT_PV} + sys-devel/gcc" + +src_prepare() { + default + + # hack: qmake wants g++ (not clang), try to respect ${CHOST} #726112 + mkdir "${T}"/cxx || die + ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die + PATH=${T}/cxx:${PATH} +} + +src_configure() { + append-cxxflags -std=c++17 # for clang and old gcc that default to <17 + + # hack: currently lacking qt6_get_bindir (or alternatively have + # qmake6 in PATH like qmake5 is so it wouldn't matter) + local qmake6=$(qt5_get_bindir)/qmake6 + qmake6=${qmake6//qt5/qt6} + + DISTUTILS_ARGS=( + --jobs=$(makeopts_jobs) + --qmake="${qmake6}" + --qmake-setting="$(qt5_get_qmake_args)" + --verbose + + --enable=QtWebEngineCore + $(usex quick --{enable,disable}=QtWebEngineQuick) + $(usex widgets --{enable,disable}=QtWebEngineWidgets) + + $(usev debug '--debug --qml-debug --tracing') + ) +} diff --git a/dev-python/PyQt6_WebEngine/metadata.xml b/dev-python/PyQt6_WebEngine/metadata.xml new file mode 100644 index 000000000000..f820e0a36cc4 --- /dev/null +++ b/dev-python/PyQt6_WebEngine/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <upstream> + <bugs-to>https://www.riverbankcomputing.com/mailman/listinfo/pyqt/</bugs-to> + </upstream> + <use> + <flag name="quick">Build bindings for the QtWebEngineQuick module</flag> + <flag name="widgets">Build bindings for the QtWebEngineWidgets module</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/PyQt6_sip/Manifest b/dev-python/PyQt6_sip/Manifest new file mode 100644 index 000000000000..d34878af07fa --- /dev/null +++ b/dev-python/PyQt6_sip/Manifest @@ -0,0 +1 @@ +DIST PyQt6_sip-13.4.0.tar.gz 111209 BLAKE2B 963d3788d0996565696e82e6a9c197c197322f8b1637cead79a4af8cf8d3ed1b82423ff41e507204aeddc5f16fa0b96b7e7a49c6848ac7438bd98885f3ae4dc6 SHA512 e93a88fedbb965a7ea605a33820798352c340d5656b3ad60c40adc8dbd24fdd18deb67e706595e3cb96e41d1e17d4c837f1224a1c250f0179c6b60b1a5b0e6a2 diff --git a/dev-python/PyQt6_sip/PyQt6_sip-13.4.0.ebuild b/dev-python/PyQt6_sip/PyQt6_sip-13.4.0.ebuild new file mode 100644 index 000000000000..edcc6fdef40d --- /dev/null +++ b/dev-python/PyQt6_sip/PyQt6_sip-13.4.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="sip module support for PyQt6" +HOMEPAGE="https://www.riverbankcomputing.com/software/sip/" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 SIP )" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/PyQt6_sip/metadata.xml b/dev-python/PyQt6_sip/metadata.xml new file mode 100644 index 000000000000..84e8533bd32e --- /dev/null +++ b/dev-python/PyQt6_sip/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <upstream> + <bugs-to>https://www.riverbankcomputing.com/mailman/listinfo/pyqt/</bugs-to> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/aws-xray-sdk-python/Manifest b/dev-python/aws-xray-sdk-python/Manifest index 1833c1b493af..4eb05452e07a 100644 --- a/dev-python/aws-xray-sdk-python/Manifest +++ b/dev-python/aws-xray-sdk-python/Manifest @@ -1,2 +1 @@ DIST aws-xray-sdk-python-2.10.0.gh.tar.gz 270819 BLAKE2B caed5f5b92bdc25e0006663838549c9e9a85474829cce03f612ef4b9a36fce38460606e000c65bb140f7250225426bece2e8bc624a430bdfdcd4fc8808842aac SHA512 f5b4d08f5876cab2e833a763b1da52b6de1e3ca2c746b234a1b013f674155ec31686a6710225e411458f27ca096f68ee6413c8d1c360d5a326f1be94287d09b7 -DIST aws-xray-sdk-python-2.8.0.gh.tar.gz 267880 BLAKE2B 7a433a0b1b3ca38a100f3b23c79e9b0d7f84cb096f6d30832fdf16f171f9528aee8b81aaf3ba263a90d46f791de8b2f37a919651f9699e5fcf3073db83fc25b4 SHA512 e0fb3fb0bfbd963863714537ea12771df7ffa2857aaf4cdb6414d71ecdfc65c2623fa40a6a48c4eab30f4370d545a595db2762932133a6eba56121a4048502fb diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild deleted file mode 100644 index 364ac6f8a16e..000000000000 --- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.8.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="AWS X-Ray SDK for Python" -HOMEPAGE="https://github.com/aws/aws-xray-sdk-python https://pypi.org/project/aws-xray-sdk/" -SRC_URI=" - https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/bottle[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-aiohttp[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}/${P}-fix-py3.10-loops.patch" -) - -distutils_enable_tests pytest - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings - local -x AWS_SECRET_ACCESS_KEY=fake_key - local -x AWS_ACCESS_KEY_ID=fake_id - - local EPYTEST_DESELECT=( - # Internet access - tests/test_patcher.py::test_external_file - tests/test_patcher.py::test_external_module - tests/test_patcher.py::test_external_submodules_full - tests/test_patcher.py::test_external_submodules_ignores_file - tests/test_patcher.py::test_external_submodules_ignores_module - tests/ext/aiohttp/test_client.py - ) - local EPYTEST_IGNORE=( - # unpackaged deps - tests/ext/aiobotocore - tests/ext/pg8000 - tests/ext/psycopg2 - tests/ext/pymysql - tests/ext/pynamodb - tests/ext/sqlalchemy_core/test_postgres.py - tests/ext/django/test_db.py - # Internet access - tests/ext/httplib - tests/ext/requests - ) - - epytest -p no:django -} diff --git a/dev-python/bottleneck/Manifest b/dev-python/bottleneck/Manifest index e28902708a51..354f8498053b 100644 --- a/dev-python/bottleneck/Manifest +++ b/dev-python/bottleneck/Manifest @@ -1,2 +1 @@ -DIST bottleneck-1.3.4.gh.tar.gz 118739 BLAKE2B af4b32bf296f11538b12f364592553d407668762e1e2d94c814bf262bc9ef88f1338cd388ff1c02065f8266988fe6cad5f8461aed2a144a9bfaf98f8ae46eeae SHA512 0cb3837139f947a7da026bddc8ff6e8025ee0aac6aedf4046383eb8385789d1816158ae20438b15a28c7f0b6552c3570c18abdbb6ef265fa9f497edebae1d808 DIST bottleneck-1.3.5.gh.tar.gz 118989 BLAKE2B 5b9338a77cb3f0253348f45e641dca9fce11b50fb632e697272203870dd604730c08f1adc94ebf9c6c21f551e3f06b5492bcb036d6f40eaec8853d08ca298873 SHA512 9a0f224337fd9d5c741a1e469197be26923eaffb143eddfe0969128ddc233c799da6a5f2ba4ef22f6267cf93e7f748c140fbb16f57149ad327c47fe87ffc3346 diff --git a/dev-python/bottleneck/bottleneck-1.3.4.ebuild b/dev-python/bottleneck/bottleneck-1.3.4.ebuild deleted file mode 100644 index 3388972acb01..000000000000 --- a/dev-python/bottleneck/bottleneck-1.3.4.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Fast NumPy array functions written in C" -HOMEPAGE=" - https://github.com/pydata/bottleneck/ - https://pypi.org/project/Bottleneck/ -" -SRC_URI=" - https://github.com/pydata/bottleneck/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/numpy-1.9.1[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/pydata/bottleneck/pull/403 - "${FILESDIR}"/${P}-install-test-data.patch -) - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -} diff --git a/dev-python/bottleneck/bottleneck-1.3.5.ebuild b/dev-python/bottleneck/bottleneck-1.3.5.ebuild index 933098d81dff..be7468c0b615 100644 --- a/dev-python/bottleneck/bottleneck-1.3.5.ebuild +++ b/dev-python/bottleneck/bottleneck-1.3.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/numpy-1.9.1[${PYTHON_USEDEP}] diff --git a/dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch b/dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch deleted file mode 100644 index b1ac3edbcdf5..000000000000 --- a/dev-python/bottleneck/files/bottleneck-1.3.4-install-test-data.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/setup.py b/setup.py -index db629bd..b0c10cd 100644 ---- a/setup.py -+++ b/setup.py -@@ -185,7 +185,10 @@ metadata = dict( - platforms="OS Independent", - version=versioneer.get_version(), - packages=find_packages(), -- package_data={"bottleneck": ["LICENSE"]}, -+ package_data={ -+ "bottleneck": ["LICENSE"], -+ "bottleneck.tests": ["data/*/*"], -+ }, - requires=["numpy"], - install_requires=["numpy"], - extras_require={"doc": ["numpydoc", "sphinx", "gitpython"]}, diff --git a/dev-python/cffi/cffi-1.15.1.ebuild b/dev-python/cffi/cffi-1.15.1.ebuild index ec0834a2e75b..53761005177c 100644 --- a/dev-python/cffi/cffi-1.15.1.ebuild +++ b/dev-python/cffi/cffi-1.15.1.ebuild @@ -20,7 +20,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" DEPEND=" dev-libs/libffi:= diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index ef4af24e2e54..198367ea9888 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,4 +1,3 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f -DIST llvmorg-14.0.4.tar.gz 158088617 BLAKE2B 7fb894548dce72593a8639b4d0220d2499577f80d38b97600749c91a498c69dfbbe818cee35e4a76370795e55da7037543ea341ad7567a6f548893c67dce9e64 SHA512 e14e6c3a1915a96e9ddc609f16ca3a398ca6f7fd0a691dadaa24490078a661340e845cb2d18f3679de4f47300bb822c33ae69548af6a0370d55737831a28b959 diff --git a/dev-python/clang-python/clang-python-14.0.4.ebuild b/dev-python/clang-python/clang-python-14.0.4.ebuild deleted file mode 100644 index 31781fc93041..000000000000 --- a/dev-python/clang-python/clang-python-14.0.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index a04d2d47f412..f803db8b211c 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,3 +1,2 @@ -DIST dulwich-0.20.43.tar.gz 423604 BLAKE2B e8f6b3fc22ac2289e6529d862f54d8c407725c8d22ba9ee7ddb0d700b4ea617f8b069b14168c43c25cccf6e84592e63f88d3402e58b15413952e5b139bda2c2b SHA512 68ef6e3928a202d76ab882d764d08f8948743825b3b07950a81bd86522c9db6865260c2c725a08b26365719e99343daa1c2a2d242bafe991be2552d06b2e3684 DIST dulwich-0.20.44.tar.gz 425226 BLAKE2B ba120c682b0fd298a9f17eec524ffdd92af9024e30d0b8c52accda3ef8a1d4876b483e8aaa5f12b4beb73a6c1719ed4504c52396cd355244ab688ceab551faaf SHA512 124a3ae89abf5df9e192919f916012be67112195fc7cfd7c30e814a04d93749a3dc396e12f2d8df1456b113a24cdd1b2f3a1f2733864d5cfad22431a987c25fb DIST dulwich-0.20.45.tar.gz 424373 BLAKE2B 4eb6731312bd8bb45d35efdc1e640dd2cfb118b633de461c4f9ffa2a9e50258bada2c77b4d4bf2e72bc9947f143f89fd720e4e9411f0f84d67ab208f39f7b4b8 SHA512 5b7217fac88a84591e42db2cd3c812a0aae6482221e1da9474df9b3fd968a80b653353fec804103f36a29f0f96e650267f124575a260dd082a3106de5f13fc7b diff --git a/dev-python/dulwich/dulwich-0.20.43.ebuild b/dev-python/dulwich/dulwich-0.20.43.ebuild deleted file mode 100644 index 3c885a7a98c6..000000000000 --- a/dev-python/dulwich/dulwich-0.20.43.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" -HOMEPAGE=" - https://github.com/jelmer/dulwich/ - https://pypi.org/project/dulwich/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+ Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - !hppa? ( !ia64? ( !s390? ( - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/geventhttpclient[${PYTHON_USEDEP}] - ) ) ) - app-crypt/gpgme[python,${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/fastimport[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs - -python_test() { - # remove interference from the tests that do stuff like user.name - unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE \ - GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE EMAIL - # Do not use make check which rebuilds the extension and uses -Werror, - # causing unexpected failures. - "${EPYTHON}" -m unittest -v dulwich.tests.test_suite || - 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/dulwich/dulwich-0.20.44.ebuild b/dev-python/dulwich/dulwich-0.20.44.ebuild index 340ad9fd0319..3c885a7a98c6 100644 --- a/dev-python/dulwich/dulwich-0.20.44.ebuild +++ b/dev-python/dulwich/dulwich-0.20.44.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2+ Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/furo/furo-2022.6.21.ebuild b/dev-python/furo/furo-2022.6.21.ebuild index 85474163bddf..30c6c511d31b 100644 --- a/dev-python/furo/furo-2022.6.21.ebuild +++ b/dev-python/furo/furo-2022.6.21.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index ef4af24e2e54..198367ea9888 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,4 +1,3 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f -DIST llvmorg-14.0.4.tar.gz 158088617 BLAKE2B 7fb894548dce72593a8639b4d0220d2499577f80d38b97600749c91a498c69dfbbe818cee35e4a76370795e55da7037543ea341ad7567a6f548893c67dce9e64 SHA512 e14e6c3a1915a96e9ddc609f16ca3a398ca6f7fd0a691dadaa24490078a661340e845cb2d18f3679de4f47300bb822c33ae69548af6a0370d55737831a28b959 diff --git a/dev-python/lit/lit-14.0.4.ebuild b/dev-python/lit/lit-14.0.4.ebuild deleted file mode 100644 index f491a1b7f122..000000000000 --- a/dev-python/lit/lit-14.0.4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index f3afa9331dc4..80c05789b155 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,2 +1 @@ -DIST mkdocs-git-revision-date-localized-plugin-1.0.1.tar.gz 375668 BLAKE2B 355b0fdced378305dd12c72d05186ef50fc1e5b7e5302c9c0887ced03329d598528367313e81d3c8a4658ed1bb2e940c9495c09c2e6e40a03cbc52833fbb13a5 SHA512 7f54ac18bb09ce1f396d593edb5e456476c18c68464dafc62e6b6e1f3aa89735319016925d2f2b8a4ff7aed03d8e02109da23f23a84d9ae0d138bbca278aafd5 DIST mkdocs-git-revision-date-localized-plugin-1.1.0.gh.tar.gz 375907 BLAKE2B d39f1d807616da95962cca6bdc5a4501163d008f0a8fcac5df2e7542bf8401d04362a38383558689f467c9249f2ad6dff636a8ebf4568aa920ea0078f90fb367 SHA512 f5f911cba9b9e3747c5628e4c947a87fa07c798f854b6ed8783b74c732cf29e4afdacb37e074a5d04672d90f96de560ab6b86cd3d826ce46226d73f48c54c27d diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.0.1.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.0.1.ebuild deleted file mode 100644 index 833514143271..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.0.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI="https://github.com/timvink/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -RDEPEND=" - >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pecan/Manifest b/dev-python/pecan/Manifest index 9fc683f722b3..80a7fcafe7c7 100644 --- a/dev-python/pecan/Manifest +++ b/dev-python/pecan/Manifest @@ -1,2 +1 @@ -DIST pecan-1.4.1.tar.gz 124777 BLAKE2B c3af6ba06aa9e24f9e49ace8117480affd34dfdc889639ab34565325e7504d3c75f17003da09f9f67f91edc536bde95080dbc51170cccc50fde3ec1929c63958 SHA512 bd5ba47935e2d97677bcdc25ad4678ec63293e0000750fa3b39a2447be326dc7e1fd4cf77ac0519e1b7c6ecc7ba7c3e66d98443e78e647fba92383f048775c83 DIST pecan-1.4.2.tar.gz 124900 BLAKE2B bf78c630605dbf020bcda830855cf19dc660c8bdbfa6d68a9739a0da7c585ec17d30525d37337867e007aa31d3329e87224cfd4e0335b14496df911457af5c82 SHA512 cea290db5b7c4664057ec326e1f9ac11d4b523e2df83a84c3b47acbce0520f248bbd33de0f66379409a4ff463b6408b587238917362572479288d36843542ab0 diff --git a/dev-python/pecan/pecan-1.4.1.ebuild b/dev-python/pecan/pecan-1.4.1.ebuild deleted file mode 100644 index e5119ef3ad81..000000000000 --- a/dev-python/pecan/pecan-1.4.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A WSGI object-dispatching web framework, lean, fast, with few dependencies" -HOMEPAGE="https://pypi.org/project/pecan/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/webob-1.4[${PYTHON_USEDEP}] - >=dev-python/mako-0.4.0[${PYTHON_USEDEP}] - >=dev-python/webtest-1.3.1[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/logutils-0.3.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index ca140fbe7cb9..a9ae59fdc9c8 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1 @@ -DIST python-phonenumbers-8.12.50.gh.tar.gz 4904755 BLAKE2B 60353aa081e4d4d0909302a97a45a89c1f94aac323a6a68fd93cd67146090189d0901b947c40e80e54e1718ce4a45c4a83d2799701ff1323666e82570174d358 SHA512 7a4406626d04a85e010036ceca20430a2562939ad8e7e2651afd65f0d5eb26feb1fbbe0c11f081ab58a9ab8bd81da2ccc153ad22f12eb8135b4f604077b5b29d -DIST python-phonenumbers-8.12.51.gh.tar.gz 4903034 BLAKE2B 6d97e25c3601f817ad51eb8dac550fec4a13799dd9321235c9105386ca2a1ab3a7fa6403f31643197a5a2f162be50edf6b3705c8947098f2d9ff744f6af1dab6 SHA512 80f5ad4356e31bc505c929a8bb9b577ed1571b9173e7f8faebe972f62c16f5a5d764eab5e3bd8aa939faae2c4ebbe2b0fa11a5f2e6fe334be98148a68881c912 DIST python-phonenumbers-8.12.52.gh.tar.gz 4904385 BLAKE2B c063fee535e3d1dd30844ea7a974601962fb8fd6b56608046e0c488e638624456020100b2b775f979f770ea1690bda38044d4f7457341d1261132f4323a6de86 SHA512 638ec8e09d58adc5131e855a9436b45f1f0252c084638a13130df793d5357fc249e695668e2cce4902a534300c4683b64078e08620fdd2636857f6d328a45d82 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.50.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.50.ebuild deleted file mode 100644 index 184fb765cb50..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.12.50.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.12.51.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.51.ebuild deleted file mode 100644 index 9767e4c2d82d..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.12.51.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/pocketlint/Manifest b/dev-python/pocketlint/Manifest index 4e6ce0b87c3a..b01a4686a894 100644 --- a/dev-python/pocketlint/Manifest +++ b/dev-python/pocketlint/Manifest @@ -1,3 +1 @@ -DIST pocketlint-0.22.tar.gz 23779 BLAKE2B 3698927cc4a3f6ee6de74d205b5a7f937405e7ce2e9d987e34b35ce209635cab37357d0221a6762deb66350cd2b991420a9b12af2c9e6792f713e5c95dfedb59 SHA512 7ee9e6b969975274e7697d1d16fadaac82fa0a1855401d9f240aaae123831dc32e381dd24f88a3f004ab45df9f0251c408ed8f60a08fe99caf629af617c80ea0 -DIST pocketlint-0.23.gh.tar.gz 23854 BLAKE2B 2ff3388b639ba29ae60ccd0013cea9b1f437d03d552c03089c91ba65f4fdf7b6b739ac2b926248bc5738e29cd41fa104d7c2742385cfe7a454841f2ed252b0fa SHA512 36a6f7fbc5b9475a145bc03ccf9a6918e49ed29279913b1bcc7090961bcc842333a4d31b4eb809a7ca7b384e79c186d1e6397c379c1921943ddd49c3c736aaed DIST pocketlint-0.24.gh.tar.gz 23875 BLAKE2B b4699d1f0633ed6a3f84b97db972818c00a1d382a48648fd4fe6870f4c54f983fd36366f85a409a99b860f385902a9a05adec63199e35d1264a522a7a3086e31 SHA512 21c4055dd42c244760950b64ec4cd9359fc589014953be6f9296e0265101f098fbe34351e87f92630751fa0055de20281974a04b425f691acc4608cf929d4bf4 diff --git a/dev-python/pocketlint/pocketlint-0.22.ebuild b/dev-python/pocketlint/pocketlint-0.22.ebuild deleted file mode 100644 index 302cba09bfe5..000000000000 --- a/dev-python/pocketlint/pocketlint-0.22.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Shared code for running pylint against rhinstaller projects" -HOMEPAGE="https://github.com/rhinstaller/pocketlint" -SRC_URI="https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86" -IUSE="" diff --git a/dev-python/pocketlint/pocketlint-0.23.ebuild b/dev-python/pocketlint/pocketlint-0.23.ebuild deleted file mode 100644 index 5d75eba23de1..000000000000 --- a/dev-python/pocketlint/pocketlint-0.23.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Shared code for running pylint against rhinstaller projects" -HOMEPAGE="https://github.com/rhinstaller/pocketlint" -SRC_URI=" - https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - dev-python/pylint[${PYTHON_USEDEP}] -" diff --git a/dev-python/pocketlint/pocketlint-0.24.ebuild b/dev-python/pocketlint/pocketlint-0.24.ebuild index 98dcfee92b2f..08f22802779d 100644 --- a/dev-python/pocketlint/pocketlint-0.24.ebuild +++ b/dev-python/pocketlint/pocketlint-0.24.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild b/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild deleted file mode 100644 index 761e912d1757..000000000000 --- a/dev-python/pyaudio/pyaudio-0.2.11-r1.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_{7,8,9,10} ) -inherit distutils-r1 - -MY_PN="PyAudio" - -DESCRIPTION="Python bindings for PortAudio" -HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -# Tests work if you have the correct HW device(s) to test. 0.2.11-r1. -RESTRICT="test" - -RDEPEND="media-libs/portaudio" -DEPEND="${RDEPEND} - test? ( dev-python/numpy )" - -distutils_enable_sphinx sphinx -distutils_enable_tests unittest - -python_test() { - elog "These tests require an OS loopback sound device that forwards audio" - elog "output, generated by PyAudio for playback, and forwards it to an input" - elog "device, which PyAudio can record and verify against a test signal." - - cd tests || die - # pyaudio_tests have very complicated runtime requirements, therefore skipping them. - "${EPYTHON}" -m unittest error_tests -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild b/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild index 9cec8fb87fd6..18b868bc9947 100644 --- a/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild +++ b/dev-python/pyaudio/pyaudio-0.2.11-r2.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" # Tests work if you have the correct HW device(s) to test. 0.2.11-r1. RESTRICT="test" diff --git a/dev-python/pycxx/pycxx-7.1.5-r1.ebuild b/dev-python/pycxx/pycxx-7.1.5-r1.ebuild index 92868a6d58c7..7e88b63cf4e9 100644 --- a/dev-python/pycxx/pycxx-7.1.5-r1.ebuild +++ b/dev-python/pycxx/pycxx-7.1.5-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" IUSE="doc examples" python_prepare_all() { diff --git a/dev-python/pycxx/pycxx-7.1.5.ebuild b/dev-python/pycxx/pycxx-7.1.5.ebuild deleted file mode 100644 index cfb3d072d6b7..000000000000 --- a/dev-python/pycxx/pycxx-7.1.5.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_{7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 - -DESCRIPTION="Set of facilities to extend Python with C++" -HOMEPAGE="http://cxx.sourceforge.net" -SRC_URI="mirror://sourceforge/cxx/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" -IUSE="doc examples" - -python_prepare_all() { - # Without this, pysvn fails. - # Src/Python3/cxxextensions.c: No such file or directory - sed -e "/^#include/s:Src/::" -i Src/*.{c,cxx} || die "sed failed" - - distutils-r1_python_prepare_all -} - -python_install_all() { - use doc && local HTML_DOCS=( Doc/. ) - if use examples ; then - docinto examples - dodoc -r Demo/Python{2,3}/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pyside2/pyside2-5.15.2-r1.ebuild b/dev-python/pyside2/pyside2-5.15.2-r1.ebuild deleted file mode 100644 index 64fd17f36a9e..000000000000 --- a/dev-python/pyside2/pyside2-5.15.2-r1.ebuild +++ /dev/null @@ -1,212 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit cmake python-r1 virtualx - -# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects" -# USE flag after an external "dev-qt/qtremoteobjects" package has been created. -# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. -# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once -# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. -# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note -# that the "PySide2/QtGui/CMakeLists.txt" and -# "PySide2/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by -# testing whether the "Qt5::Gui" list property defined by -# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation -# time contains the substring "opengles2". Since cmake does not permit -# properties to be overridden from the command line, these files must instead -# be conditionally patched to avoid these tests. An issue should be filed with -# upstream requesting a CLI-settable variable to control this. - -MY_P=pyside-setup-opensource-src-${PV} - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide2" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}/sources/pyside2" - -# See "sources/pyside2/PySide2/licensecomment.txt" for licensing details. -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" -IUSE=" - 3d charts concurrent datavis designer gles2-only +gui help location - multimedia +network positioning printsupport qml quick script scripttools - scxml sensors speech sql svg test testlib webchannel webengine websockets - +widgets x11extras xml xmlpatterns -" - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide2/Qt*/CMakeLists.txt -# Note that the "designer" USE flag corresponds to the "Qt5UiTools" module. -REQUIRED_USE="${PYTHON_REQUIRED_USE} - 3d? ( gui network ) - charts? ( widgets ) - datavis? ( gui ) - designer? ( widgets xml ) - gles2-only? ( gui ) - help? ( widgets ) - location? ( positioning ) - multimedia? ( gui network ) - printsupport? ( widgets ) - qml? ( gui network ) - quick? ( qml ) - scripttools? ( gui script widgets ) - speech? ( multimedia ) - sql? ( widgets ) - svg? ( widgets ) - testlib? ( widgets ) - webengine? ( - location quick - widgets? ( gui network printsupport webchannel ) - ) - websockets? ( network ) - widgets? ( gui ) - x11extras? ( gui ) -" - -#tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2):5" - -RDEPEND="${PYTHON_DEPS} - >=dev-python/shiboken2-${PV}[${PYTHON_USEDEP}] - dev-qt/qtcore:5= - dev-qt/qtopengl:5= - dev-qt/qtserialport:5= - 3d? ( >=dev-qt/qt3d-${QT_PV}[qml?] ) - charts? ( >=dev-qt/qtcharts-${QT_PV}[qml?] ) - concurrent? ( >=dev-qt/qtconcurrent-${QT_PV} ) - datavis? ( >=dev-qt/qtdatavis3d-${QT_PV}[qml?] ) - designer? ( >=dev-qt/designer-${QT_PV} ) - gui? ( >=dev-qt/qtgui-${QT_PV}[jpeg,gles2-only?] ) - help? ( >=dev-qt/qthelp-${QT_PV} ) - location? ( >=dev-qt/qtlocation-${QT_PV} ) - multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[qml?,widgets?] ) - network? ( >=dev-qt/qtnetwork-${QT_PV} ) - positioning? ( >=dev-qt/qtpositioning-${QT_PV}[qml?] ) - printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} ) - qml? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) - script? ( >=dev-qt/qtscript-${QT_PV} ) - scxml? ( >=dev-qt/qtscxml-${QT_PV} ) - sensors? ( >=dev-qt/qtsensors-${QT_PV}[qml?] ) - 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}[qml?] ) - webengine? ( >=dev-qt/qtwebengine-${QT_PV}[widgets?] ) - websockets? ( >=dev-qt/qtwebsockets-${QT_PV}[qml?] ) - widgets? ( >=dev-qt/qtwidgets-${QT_PV} ) - x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) - xml? ( >=dev-qt/qtxml-${QT_PV} ) - xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV}[qml?] ) -" -DEPEND="${RDEPEND} - test? ( x11-misc/xvfb-run ) -" - -PATCHES=( "${FILESDIR}/${P}-python310.patch" ) - -src_configure() { - # See COLLECT_MODULE_IF_FOUND macros in CMakeLists.txt - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DAnimation=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DCore=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DExtras=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DInput=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DLogic=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt53DRender=$(usex !3d) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Charts=$(usex !charts) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Concurrent=$(usex !concurrent) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5DataVisualization=$(usex !datavis) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Gui=$(usex !gui) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=$(usex !help) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Location=$(usex !location) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=$(usex !multimedia) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Network=$(usex !network) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Positioning=$(usex !positioning) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=$(usex !printsupport) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=$(usex !qml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=$(usex !quick) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=$(usex !quick yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=$(usex !script) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5ScriptTools=$(usex !scripttools) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Scxml=$(usex !scxml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sensors=$(usex !sensors) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5TextToSpeech=$(usex !speech) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Sql=$(usex !sql) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=$(usex !svg) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=$(usex !testlib) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5UiTools=$(usex !designer) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebChannel=$(usex !webchannel) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineCore=$(usex !webengine) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebSockets=$(usex !websockets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=$(usex !widgets) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=$(usex !x11extras) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Xml=$(usex !xml) - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=$(usex !xmlpatterns) - ) - - pyside2_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" - -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" - ) - cmake_src_configure - } - python_foreach_impl pyside2_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - local -x PYTHONDONTWRITEBYTECODE - python_foreach_impl virtx cmake_src_test -} - -src_install() { - pyside2_install() { - cmake_src_install - python_optimize - - # Uniquify the shiboken2 pkgconfig dependency in the PySide2 pkgconfig - # file for the current Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - sed -i -e 's~^Requires: shiboken2$~&-'${EPYTHON}'~' \ - "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die - - # Uniquify the PySide2 pkgconfig file for the current Python target, - # preserving an unversioned "pyside2.pc" file arbitrarily associated - # with the last Python target. (See the previously linked issue.) - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl pyside2_install - - # CMakeLists.txt installs a "PySide2Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., pyside2-tools) to target one - # "libpyside2-*.so" library linked to one Python interpreter. See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i -e 's~pyside2-python[[:digit:]]\+\.[[:digit:]]\+~pyside2${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)/cmake/PySide2-${PV}/PySide2Targets-gentoo.cmake" || die -} diff --git a/dev-python/pyside2/pyside2-5.15.2-r2.ebuild b/dev-python/pyside2/pyside2-5.15.2-r2.ebuild index 6bae57e56555..2eb711b9c7e1 100644 --- a/dev-python/pyside2/pyside2-5.15.2-r2.ebuild +++ b/dev-python/pyside2/pyside2-5.15.2-r2.ebuild @@ -34,7 +34,7 @@ S="${WORKDIR}/${MY_P}/sources/pyside2" # See "sources/pyside2/PySide2/licensecomment.txt" for licensing details. LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE=" 3d charts concurrent datavis designer gles2-only +gui help location multimedia +network positioning printsupport qml quick script scripttools diff --git a/dev-python/pysvn/pysvn-1.9.15-r1.ebuild b/dev-python/pysvn/pysvn-1.9.15-r1.ebuild index 5284247ebc78..235a96675679 100644 --- a/dev-python/pysvn/pysvn-1.9.15-r1.ebuild +++ b/dev-python/pysvn/pysvn-1.9.15-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/project/pysvn/pysvn/V${PV}/${P}.tar.gz" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~amd64 ~arm ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="doc examples" DEPEND=" diff --git a/dev-python/requests-cache/Manifest b/dev-python/requests-cache/Manifest index 1c63fb6def33..d2c56a578588 100644 --- a/dev-python/requests-cache/Manifest +++ b/dev-python/requests-cache/Manifest @@ -1,2 +1 @@ -DIST requests-cache-0.9.4.gh.tar.gz 1541821 BLAKE2B 90f3ffe8f4213a47d19c1190f1201bb484473a4ee2fae82dff59c9e80bc8c154739e99f5024aa55b436f9e620d5594441df61e2db44e3cbb381d394c1b6b4a0b SHA512 66023dc8b153070a532f160af58ac2102f6b9d536a0045c4c62ad1d4175f59df6e7db5a25422f5610a2f17049270ad0b63c6023ddddf64235432a63d2cce9b91 DIST requests-cache-0.9.5.gh.tar.gz 1542034 BLAKE2B 01996e7536ce967dee2b909091d1eb08501b3882b6171a5460b2196666eed848dec89a85ef8ea0c892b2fd153f90107948239de04b973e7766d3acfad7b10059 SHA512 de1481ff609f3ff36ed662d986fb86a500a8d26755832478a9a4396f2c71934b5f65540137b92365eb36f66087b3fbc1cd72c63d37546d09c86bbee7340fd8eb diff --git a/dev-python/requests-cache/files/requests-cache-0.9.3-cattrs-22.patch b/dev-python/requests-cache/files/requests-cache-0.9.3-cattrs-22.patch deleted file mode 100644 index 258738158355..000000000000 --- a/dev-python/requests-cache/files/requests-cache-0.9.3-cattrs-22.patch +++ /dev/null @@ -1,150 +0,0 @@ -From 7917ba0dd12901d88137d3f8b487307eda38d326 Mon Sep 17 00:00:00 2001 -From: Jordan Cook <jordan.cook@pioneer.com> -Date: Sat, 9 Apr 2022 13:33:32 -0500 -Subject: [PATCH] Add compatibility with cattrs 21.1+, and clean up preconf - module a bit - ---- - requests_cache/__init__.py | 2 +- - requests_cache/serializers/preconf.py | 89 +++++++++++++++------------ - 2 files changed, 49 insertions(+), 42 deletions(-) - -diff --git a/requests_cache/__init__.py b/requests_cache/__init__.py -index 87781ba..835586c 100644 ---- a/requests_cache/__init__.py -+++ b/requests_cache/__init__.py -@@ -17,4 +17,4 @@ try: - from .session import * - # Log and ignore ImportErrors, if imported outside a virtualenv (e.g., just to check __version__) - except ImportError as e: -- logger.warning(e) -+ logger.warning(e, exc_info=True) -diff --git a/requests_cache/serializers/preconf.py b/requests_cache/serializers/preconf.py -index ed19fb4..cb099b8 100644 ---- a/requests_cache/serializers/preconf.py -+++ b/requests_cache/serializers/preconf.py -@@ -1,3 +1,4 @@ -+# flake8: noqa: F841 - """The ``cattrs`` library includes a number of `pre-configured converters - <https://cattrs.readthedocs.io/en/latest/preconf.html>`_ that perform some pre-serialization steps - required for specific serialization formats. -@@ -14,69 +15,75 @@ class that raises an ``ImportError`` at initialization time instead of at import - """ - import pickle - from functools import partial -- --from cattr.preconf import bson as bson_preconf --from cattr.preconf import json as json_preconf --from cattr.preconf import msgpack, orjson, pyyaml, tomlkit, ujson -+from importlib import import_module - - from .._utils import get_placeholder_class - from .cattrs import CattrStage - from .pipeline import SerializerPipeline, Stage - --base_stage = ( -- CattrStage() --) #: Base stage for all serializer pipelines (or standalone dict serializer) -+ -+def make_stage(preconf_module: str): -+ """Create a preconf serializer stage from a module name, if dependencies are installed""" -+ try: -+ return CattrStage(import_module(preconf_module).make_converter) -+ except ImportError as e: -+ return get_placeholder_class(e) -+ -+ -+base_stage = CattrStage() #: Base stage for all serializer pipelines - dict_serializer = base_stage #: Partial serializer that unstructures responses into dicts --bson_preconf_stage = CattrStage(bson_preconf.make_converter) #: Pre-serialization steps for BSON --json_preconf_stage = CattrStage(json_preconf.make_converter) #: Pre-serialization steps for JSON --msgpack_preconf_stage = CattrStage(msgpack.make_converter) #: Pre-serialization steps for msgpack --orjson_preconf_stage = CattrStage(orjson.make_converter) #: Pre-serialization steps for orjson --yaml_preconf_stage = CattrStage(pyyaml.make_converter) #: Pre-serialization steps for YAML --toml_preconf_stage = CattrStage(tomlkit.make_converter) #: Pre-serialization steps for TOML --ujson_preconf_stage = CattrStage(ujson.make_converter) #: Pre-serialization steps for ultrajson --pickle_serializer = SerializerPipeline( -- [base_stage, pickle], is_binary=True --) #: Complete pickle serializer -+pickle_serializer = SerializerPipeline([base_stage, pickle], is_binary=True) #: Pickle serializer - utf8_encoder = Stage(dumps=str.encode, loads=lambda x: x.decode()) #: Encode to bytes -+bson_preconf_stage = make_stage('cattr.preconf.bson') #: Pre-serialization steps for BSON -+json_preconf_stage = make_stage('cattr.preconf.json') #: Pre-serialization steps for JSON -+msgpack_preconf_stage = make_stage('cattr.preconf.msgpack') #: Pre-serialization steps for msgpack -+orjson_preconf_stage = make_stage('cattr.preconf.orjson') #: Pre-serialization steps for orjson -+toml_preconf_stage = make_stage('cattr.preconf.tomlkit') #: Pre-serialization steps for TOML -+ujson_preconf_stage = make_stage('cattr.preconf.ujson') #: Pre-serialization steps for ultrajson -+yaml_preconf_stage = make_stage('cattr.preconf.pyyaml') #: Pre-serialization steps for YAML - - - # Safe pickle serializer --try: -+def signer_stage(secret_key=None, salt='requests-cache') -> Stage: -+ """Create a stage that uses ``itsdangerous`` to add a signature to responses on write, and -+ validate that signature with a secret key on read. Can be used in a -+ :py:class:`.SerializerPipeline` in combination with any other serialization steps. -+ """ - from itsdangerous import Signer - -- def signer_stage(secret_key=None, salt='requests-cache') -> Stage: -- """Create a stage that uses ``itsdangerous`` to add a signature to responses on write, and -- validate that signature with a secret key on read. Can be used in a -- :py:class:`.SerializerPipeline` in combination with any other serialization steps. -- """ -- return Stage(Signer(secret_key=secret_key, salt=salt), dumps='sign', loads='unsign') -- -- def safe_pickle_serializer( -- secret_key=None, salt='requests-cache', **kwargs -- ) -> SerializerPipeline: -- """Create a serializer that uses ``pickle`` + ``itsdangerous`` to add a signature to -- responses on write, and validate that signature with a secret key on read. -- """ -- return SerializerPipeline( -- [base_stage, pickle, signer_stage(secret_key, salt)], is_binary=True -- ) -+ return Stage(Signer(secret_key=secret_key, salt=salt), dumps='sign', loads='unsign') -+ -+ -+def safe_pickle_serializer(secret_key=None, salt='requests-cache', **kwargs) -> SerializerPipeline: -+ """Create a serializer that uses ``pickle`` + ``itsdangerous`` to add a signature to -+ responses on write, and validate that signature with a secret key on read. -+ """ -+ return SerializerPipeline([base_stage, pickle, signer_stage(secret_key, salt)], is_binary=True) -+ - -+try: -+ import itsdangerous # noqa: F401 - except ImportError as e: - signer_stage = get_placeholder_class(e) - safe_pickle_serializer = get_placeholder_class(e) - - --# BSON serializer --try: -+def _get_bson_functions(): -+ """Handle different function names between pymongo's bson and standalone bson""" - try: -- from bson import decode as _bson_loads -- from bson import encode as _bson_dumps -+ import pymongo # noqa: F401 -+ -+ return {'dumps': 'encode', 'loads': 'decode'} - except ImportError: -- from bson import dumps as _bson_dumps -- from bson import loads as _bson_loads -+ return {'dumps': 'dumps', 'loads': 'loads'} -+ -+ -+# BSON serializer -+try: -+ import bson - - bson_serializer = SerializerPipeline( -- [bson_preconf_stage, Stage(dumps=_bson_dumps, loads=_bson_loads)], is_binary=True -+ [bson_preconf_stage, Stage(bson, **_get_bson_functions())], is_binary=True - ) #: Complete BSON serializer; uses pymongo's ``bson`` if installed, otherwise standalone ``bson`` codec - except ImportError as e: - bson_serializer = get_placeholder_class(e) --- -2.35.1 - diff --git a/dev-python/requests-cache/requests-cache-0.9.4.ebuild b/dev-python/requests-cache/requests-cache-0.9.4.ebuild deleted file mode 100644 index a42f5a7cd25e..000000000000 --- a/dev-python/requests-cache/requests-cache-0.9.4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 optfeature - -HOMEPAGE=" - https://pypi.org/project/requests-cache/ - https://github.com/requests-cache/requests-cache/ -" -DESCRIPTION="Persistent cache for requests library" -SRC_URI=" - https://github.com/requests-cache/requests-cache/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/cattrs[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - dev-python/timeout-decorator[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/requests-cache-0.9.3-cattrs-22.patch -) - -src_prepare() { - # unpin the dep - sed -i -e '/cattrs/s:\^:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_IGNORE=( - # These require extra servers running - tests/integration/test_dynamodb.py - tests/integration/test_gridfs.py - tests/integration/test_mongodb.py - tests/integration/test_redis.py - ) - local EPYTEST_DESELECT=( - # Requires Internet access - tests/integration/test_compat.py::test_version_upgrade - ) - - local -x USE_PYTEST_HTTPBIN=true - epytest -} - -pkg_postinst() { - optfeature "redis backend" "dev-python/redis-py" - optfeature "MongoDB backend" "dev-python/pymongo" - - optfeature "JSON serialization" "dev-python/ujson" - optfeature "YAML serialization" "dev-python/pyyaml" - optfeature "signing serialized data" "dev-python/itsdangerous" -} diff --git a/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild b/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild deleted file mode 100644 index 6e71bc3c9587..000000000000 --- a/dev-python/shiboken2/shiboken2-5.15.2-r1.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# TODO: Split the "/usr/bin/shiboken2" binding generator from the -# "/usr/lib64/libshiboken2-*.so" family of shared libraries. The former -# requires everything (including Clang) at runtime; the latter only requires -# Qt and Python at runtime. Note that "pip" separates these two as well. See: -# https://doc.qt.io/qtforpython/shiboken2/faq.html#is-there-any-runtime-dependency-on-the-generated-binding -# Once split, the PySide2 ebuild should be revised to require -# "/usr/bin/shiboken2" at build time and "libshiboken2-*.so" at runtime. -# TODO: Add PyPy once officially supported. See also: -# https://bugreports.qt.io/browse/PYSIDE-535 -# Fails to compile with python3.10 -# FAILED: libshiboken/CMakeFiles/libshiboken.dir/sbkstring.cpp.o -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit cmake llvm python-r1 toolchain-funcs - -MY_P=pyside-setup-opensource-src-${PV} - -DESCRIPTION="Python binding generator for C++ libraries" -HOMEPAGE="https://wiki.qt.io/PySide2" -SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${PV}-src/${MY_P}.tar.xz" -S="${WORKDIR}/${MY_P}/sources/shiboken2" - -# The "sources/shiboken2/libshiboken" directory is triple-licensed under the -# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 -# with version 1.0 of a Qt-specific exception enabling shiboken2 output to be -# arbitrarily relicensed. (TODO) -LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" -IUSE="+docstrings numpy test vulkan" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -#tests fail pretty bad and I'm not fixing them right now -RESTRICT="test" - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-2):5" - -# Since Clang is required at both build- and runtime, BDEPEND is omitted here. -RDEPEND="${PYTHON_DEPS} - >=dev-qt/qtcore-${QT_PV} - sys-devel/clang:= - sys-devel/clang-runtime:= - docstrings? ( - >=dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - >=dev-qt/qtxml-${QT_PV} - >=dev-qt/qtxmlpatterns-${QT_PV} - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) - vulkan? ( dev-util/vulkan-headers ) -" -DEPEND="${RDEPEND} - test? ( >=dev-qt/qttest-${QT_PV} ) -" - -DOCS=( AUTHORS ) - -PATCHES=( - "${FILESDIR}/${P}-python310.patch" - "${FILESDIR}/${P}-numpy-1.23.patch" -) - -# Ensure the path returned by get_llvm_prefix() contains clang as well. -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -src_prepare() { - # TODO: File upstream issue requesting a sane way to disable NumPy support. - if ! use numpy; then - sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ - libshiboken/CMakeLists.txt || die - fi - - # Shiboken2 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - if use vulkan; then - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - ApiExtractor/clangparser/compilersupport.cpp || die - fi - - # Shiboken2 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" - # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the - # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is - # the largest version specifier that exists under the "/usr/lib/clang/" - # subdirectory. This assumption is false in edge cases, including when - # users downgrade from newer Clang versions but fail to remove those - # versions with "emerge --depclean". See also: - # https://github.com/leycec/raiagent/issues/85 - # - # Sadly, the clang-* family of functions exported by the "toolchain-funcs" - # eclass are defective, returning nonsensical placeholder strings if the - # end user has *NOT* explicitly configured their C++ compiler to be Clang. - # PySide2 does *NOT* care whether the end user has done so or not, as - # PySide2 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'$(CPP=clang clang-fullversion)'/include"))~' \ - ApiExtractor/clangparser/compilersupport.cpp || die - - cmake_src_prepare -} - -src_configure() { - # Minimal tests for now, 2 failing with the extended version - # FIXME Subscripted generics cannot be used with class and instance checks - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -DDISABLE_DOCSTRINGS=$(usex !docstrings) - ) - - shiboken2_configure() { - local mycmakeargs=( - "${mycmakeargs[@]}" - -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" - -DPYTHON_EXECUTABLE="${PYTHON}" - -DUSE_PYTHON_VERSION="${EPYTHON#python}" - ) - # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. - local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)" - cmake_src_configure - } - python_foreach_impl shiboken2_configure -} - -src_compile() { - python_foreach_impl cmake_src_compile -} - -src_test() { - python_foreach_impl cmake_src_test -} - -src_install() { - shiboken2_install() { - cmake_src_install - python_optimize - - # Uniquify the "shiboken2" executable for the current Python target, - # preserving an unversioned "shiboken2" file arbitrarily associated - # with the last Python target. - cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die - - # Uniquify the Shiboken2 pkgconfig file for the current Python target, - # preserving an unversioned "shiboken2.pc" file arbitrarily associated - # with the last Python target. See also: - # https://github.com/leycec/raiagent/issues/73 - cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die - } - python_foreach_impl shiboken2_install - - # CMakeLists.txt installs a "Shiboken2Targets-gentoo.cmake" file forcing - # downstream consumers (e.g., PySide2) to target one "libshiboken2-*.so" - # library and one "shiboken2" executable linked to one Python interpreter. - # See also: - # https://bugreports.qt.io/browse/PYSIDE-1053 - # https://github.com/leycec/raiagent/issues/74 - sed -i \ - -e 's~shiboken2-python[[:digit:]]\+\.[[:digit:]]\+~shiboken2${PYTHON_CONFIG_SUFFIX}~g' \ - -e 's~/bin/shiboken2~/bin/shiboken2${PYTHON_CONFIG_SUFFIX}~g' \ - "${ED}/usr/$(get_libdir)"/cmake/Shiboken2-${PV}/Shiboken2Targets-gentoo.cmake || die - - # Remove the broken "shiboken_tool.py" script. By inspection, this script - # reduces to a noop. Moreover, this script raises the following exception: - # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' - rm "${ED}"/usr/bin/shiboken_tool.py || die -} diff --git a/dev-python/shiboken2/shiboken2-5.15.2-r2.ebuild b/dev-python/shiboken2/shiboken2-5.15.2-r2.ebuild index d37dda403255..5caecb37a8ec 100644 --- a/dev-python/shiboken2/shiboken2-5.15.2-r2.ebuild +++ b/dev-python/shiboken2/shiboken2-5.15.2-r2.ebuild @@ -29,7 +29,7 @@ S="${WORKDIR}/${MY_P}/sources/shiboken2" # arbitrarily relicensed. (TODO) LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm arm64 x86" IUSE="+docstrings numpy test vulkan" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild index 44eef6334740..d7313869dfe5 100644 --- a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/sphinx-theme-builder/Manifest b/dev-python/sphinx-theme-builder/Manifest new file mode 100644 index 000000000000..b752c62532ed --- /dev/null +++ b/dev-python/sphinx-theme-builder/Manifest @@ -0,0 +1 @@ +DIST sphinx-theme-builder-0.2.0b1.tar.gz 22433 BLAKE2B 51e7ef182a2bcbd37f0edda75512addaef8afa5dad4294fb578f3df95c1c6f7e9807a113d1fdad4576e14978911c1d8c70c13132f4b86eecae32f0b3c165b426 SHA512 1bbf1bb27f7b5f81b50b42fe456114a48759dd5d29338d9d63e355937d82eba24ec04add98a62d5e3406cf71774ceffabb32d1dec13c153eb1efcc9bc3e23ac2 diff --git a/dev-python/sphinx-theme-builder/metadata.xml b/dev-python/sphinx-theme-builder/metadata.xml new file mode 100644 index 000000000000..36acccda7221 --- /dev/null +++ b/dev-python/sphinx-theme-builder/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinx-theme-builder/sphinx-theme-builder-0.2.2_beta.ebuild b/dev-python/sphinx-theme-builder/sphinx-theme-builder-0.2.2_beta.ebuild new file mode 100644 index 000000000000..532be46f4e5d --- /dev/null +++ b/dev-python/sphinx-theme-builder/sphinx-theme-builder-0.2.2_beta.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="ncurses" +RESTRICT="test" + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +inherit distutils-r1 + +DESCRIPTION="A tool for authoring Sphinx themes with a simple (opinionated) workflow" +HOMEPAGE="https://pypi.org/project/sphinx-theme-builder/" +SRC_URI="https://files.pythonhosted.org/packages/20/65/5c87d75347c11ef8cbe9b6947d269d3ec6f7e4adffafcbc84f0031e3fa84/sphinx-theme-builder-0.2.0b1.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +DEPEND=" + dev-python/pyproject-metadata +" + +S=${WORKDIR}/${PN}-0.2.0b1 + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + diff --git a/dev-python/sphinxcontrib-gtagjs/Manifest b/dev-python/sphinxcontrib-gtagjs/Manifest new file mode 100644 index 000000000000..0e759c6b7306 --- /dev/null +++ b/dev-python/sphinxcontrib-gtagjs/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-gtagjs-0.2.0.tar.gz 2996 BLAKE2B f16cf8109ebf4ff00f39d62085aa527273d050e97247f89035eb56a6937cd53b952e5c5c18c7b8436791e1fa0cd3e2229825ce9a020c7bb898ff0d190bae2448 SHA512 0a91593f0064d686ead3b5d544aa6e7e13995f10d93bbd4256566c294a597cbebf2ae9a0d571316aba0c600e51681e9712de88b8c0d294686fde48936b070efd diff --git a/dev-python/sphinxcontrib-gtagjs/metadata.xml b/dev-python/sphinxcontrib-gtagjs/metadata.xml new file mode 100644 index 000000000000..36acccda7221 --- /dev/null +++ b/dev-python/sphinxcontrib-gtagjs/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinxcontrib-gtagjs/sphinxcontrib-gtagjs-0.2.0.ebuild b/dev-python/sphinxcontrib-gtagjs/sphinxcontrib-gtagjs-0.2.0.ebuild new file mode 100644 index 000000000000..1920624522cc --- /dev/null +++ b/dev-python/sphinxcontrib-gtagjs/sphinxcontrib-gtagjs-0.2.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Sphinx extension to render global site tag of Google." +HOMEPAGE="https://github.com/attakei/sphinxcontrib-gtagjs" +SRC_URI="https://files.pythonhosted.org/packages/5a/ff/5b8efed1d848a40ecb8f191fd031282a990bc85ff18f4cc46b21d0ceb7b9/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + diff --git a/dev-python/sphinxext-opengraph/Manifest b/dev-python/sphinxext-opengraph/Manifest new file mode 100644 index 000000000000..ed725a90b4ea --- /dev/null +++ b/dev-python/sphinxext-opengraph/Manifest @@ -0,0 +1 @@ +DIST sphinxext-opengraph-0.6.3.tar.gz 6890 BLAKE2B 84c0aab5362d6d415856ca9b6496d93a9602683f849c6c6091a4e138568ce3190f3f1df4224ce76f92b5f15838b44189d1e95c8ab519dea0ac594c5de81df8fc SHA512 a52c94198156cac03080559a1f96a8b6573272cd9f1e6342b2aa44b2cd3c1b12f05a785be8bab01bbbf1fe18607cce81ef6fdf6b649cf649d16bd398e8c6fbaa diff --git a/dev-python/sphinxext-opengraph/metadata.xml b/dev-python/sphinxext-opengraph/metadata.xml new file mode 100644 index 000000000000..36acccda7221 --- /dev/null +++ b/dev-python/sphinxext-opengraph/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.6.3.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.6.3.ebuild new file mode 100644 index 000000000000..c587a08255bf --- /dev/null +++ b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.6.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Sphinx Extension to enable OGP support" +HOMEPAGE="https://github.com/wpilibsuite/sphinxext-opengraph" +SRC_URI="https://files.pythonhosted.org/packages/7d/96/00032892455268fd3748c2bb29357138ec829def3dae96929e7734024e08/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + diff --git a/dev-python/tempest/Manifest b/dev-python/tempest/Manifest index d1e4faf01501..ed62c3ae45f7 100644 --- a/dev-python/tempest/Manifest +++ b/dev-python/tempest/Manifest @@ -1,2 +1 @@ -DIST tempest-31.0.0.tar.gz 1110051 BLAKE2B 9c3c87db902220e3e8de6e88e0d282eae07cb3b155eaa415156e83aff9d52523416fbfcae5b49a335eb81ae3488e4e2aa4cf86d10a35820aa3e24184466576d8 SHA512 9f8cfae192a5fe0fd5d6c1659ae42b5f2042392945e2c91b3bb96cecc412a1e6e582bc46ab481452012dc2440d13bc8298ca875587d5b1592dc95971d9adf4f0 DIST tempest-31.1.0.tar.gz 1114805 BLAKE2B 29c0f55db6812a4da6bdbce1159a7e5b87ef0caf4b21e0810b6c941633182da12b72675d86ec0f9f2b844d91258439305c059f6f03ed09d45f7758426c6c096f SHA512 56726d5c0aa8d576e3dc200d30a370be08fec178f357381f00ca08883ab1ccf56fbfaa53ec9322a5f4eb5383e0572f25d8cd277848bc0c3a3d12e57722860a2b diff --git a/dev-python/tempest/tempest-31.0.0.ebuild b/dev-python/tempest/tempest-31.0.0.ebuild deleted file mode 100644 index 9602d60f4991..000000000000 --- a/dev-python/tempest/tempest-31.0.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="OpenStack Integration Testing" -HOMEPAGE=" - https://pypi.org/project/tempest/ - https://docs.openstack.org/tempest/latest/ - https://launchpad.net/tempest/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >dev-python/cliff-2.9.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}] - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] - >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] - >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # Small subset of tests, which fail as result of not using specific - # testing environment. Others expect to run suite using stestr. - rm -r tempest/tests/lib/services/volume/v3/ || die - rm tempest/tests/test_list_tests.py || die - rm tempest/tests/lib/cmd/test_check_uuid.py || die - - # remove dep on hacking - rm tempest/tests/test_hacking.py || die - - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - mv "${BUILD_DIR}"/install/{usr/,}etc || die -} - -python_test() { - local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=320 - eunittest -b -s tempest/tests -t . -} diff --git a/dev-python/textdistance/Manifest b/dev-python/textdistance/Manifest index 9c2d9f2bc5d2..95327219d3aa 100644 --- a/dev-python/textdistance/Manifest +++ b/dev-python/textdistance/Manifest @@ -1,2 +1 @@ -DIST textdistance-4.2.2.tar.gz 45089 BLAKE2B 8b08db743a56c289cc10a9ceb606612acb2a13d12cd12f9627870a4748c415804bde7c3f1aee54d59a49053731727827dbbd5f4ed6c2cfcc302166575ba382ca SHA512 f181686153e6e8f1541a15ac752e6a86698445713732858e63b6465c96dfeb582d2ea6cad1f7c526a3dc60796d58064355480bc6ced7dc69268a5c0abbfabdb7 DIST textdistance-4.3.0.gh.tar.gz 45535 BLAKE2B e43ae62b0b7656a6c4f879b1d8e0c34ae6c83705d324aa99bb7ff6e2d0166faf1fed3ee7bc06602388c16c742a1983a4eaee143b09a7c371b9e941d53edca2b5 SHA512 30d68048b1f0b79e584f5f07731e03193af64cb2de3f52882c17154cc027f4ff8d590b994941bd5d62642d4da334ef0739d4bb65b6b12f039a1ee9aef154cde4 diff --git a/dev-python/textdistance/textdistance-4.2.2.ebuild b/dev-python/textdistance/textdistance-4.2.2.ebuild deleted file mode 100644 index f9b32691620f..000000000000 --- a/dev-python/textdistance/textdistance-4.2.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Compute distance between the two texts" -HOMEPAGE="https://github.com/life4/textdistance" -SRC_URI=" - https://github.com/life4/textdistance/archive/${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/abydos[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/isort[${PYTHON_USEDEP}] - dev-python/jellyfish[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/python-levenshtein[${PYTHON_USEDEP}] - dev-python/pyxDamerauLevenshtein[${PYTHON_USEDEP}] - )" - -distutils_enable_tests --install pytest - -EPYTEST_DESELECT=( - tests/test_external.py -) diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 3de60d70ae58..1eeb10d1599c 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,3 +1 @@ -DIST translate-3.7.0.gh.tar.gz 1152162 BLAKE2B 75d3b0a7f2a840766f983d6e1484aab16de2aa2bab74d0753910be9ad0d1c76ebfa553188318920a7d5a6f1ce6b72e755147eb45c501cdeb79246472c0329449 SHA512 18159f85d94768c32fe5a44f3d3e586038b281a0f3e386621bd57a5be64a9ae21a4272c05de8a2ea2a2467c98935205a8ef49a714dc9aabf9ed21de4f533fb93 -DIST translate-3.7.1.gh.tar.gz 1152674 BLAKE2B c4a7d8cb1eec656a261a1af145a1171e9d686348294a0849f29ae23dcd867d831c6f95f0927101325f62ef9b21e0891a7a574f08111bbc3e9c0ce2b996faa70c SHA512 5ed9d156f071f4ce567a0ff3f0ef5c0b42b312edaae82e96eee040ae9547f0cb3334f2973d8050b9181b752f7e81021cc183613bb5c6309aeb110bcacab212fb DIST translate-3.7.2.gh.tar.gz 1153306 BLAKE2B 986c531004cb0ee0a58a940043377ee047e13b0f32c6fda5ab80cc7fca96d18b45f2cd3e112d47f177cd06a7e99580777c6591df969a8237bcb9fe7a52b1d4fd SHA512 28d774ff670c92dedee5d98d7d33f21d32ed4b7afd6a8281fcf7abb39470e11a6c0d9c121576aa2be10edf18929c74b2cfc36b70984d66d432cfa5e337b9556c diff --git a/dev-python/translate-toolkit/translate-toolkit-3.7.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.7.0.ebuild deleted file mode 100644 index 2c1eab065617..000000000000 --- a/dev-python/translate-toolkit/translate-toolkit-3.7.0.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -MY_P=translate-${PV} -DESCRIPTION="Toolkit to convert between many translation formats" -HOMEPAGE=" - https://github.com/translate/translate/ - https://pypi.org/project/translate-toolkit/ -" -SRC_URI=" - https://github.com/translate/translate/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="+html +ical +ini +subtitles +yaml" - -RDEPEND=" - !dev-python/pydiff - app-text/iso-codes - >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] - dev-python/cheroot[${PYTHON_USEDEP}] - >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] - >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] - >=dev-python/python-levenshtein-0.12.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - sys-devel/gettext - html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) - ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) - ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) - subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) - yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( dev-python/phply[${PYTHON_USEDEP}] ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-bootstrap-theme -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Fails with network-sandbox (and even with it off but w/ softer fail) - 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' - 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' - ) - local EPYTEST_IGNORE=( - # unpackaged fluent.* - translate/storage/test_fluent.py - ) - - if ! use ini; then - EPYTEST_IGNORE+=( - translate/convert/test_ini2po.py - translate/convert/test_po2ini.py - ) - fi - - if ! use subtitles; then - EPYTEST_IGNORE+=( - translate/storage/test_subtitles.py - ) - fi - - # translate/storage/test_mo.py needs 'pocompile' - distutils_install_for_testing - epytest -} - -python_install_all() { - distutils-r1_python_install_all - - if ! use html; then - rm "${ED}"/usr/bin/{html2po,po2html} || die - fi - if ! use ical; then - rm "${ED}"/usr/bin/{ical2po,po2ical} || die - fi - if ! use ini; then - rm "${ED}"/usr/bin/{ini2po,po2ini} || die - fi - if ! use subtitles; then - rm "${ED}"/usr/bin/{sub2po,po2sub} || die - fi - - python_optimize -} diff --git a/dev-python/translate-toolkit/translate-toolkit-3.7.1.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.7.1.ebuild deleted file mode 100644 index 6a5bb58373a4..000000000000 --- a/dev-python/translate-toolkit/translate-toolkit-3.7.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -MY_P=translate-${PV} -DESCRIPTION="Toolkit to convert between many translation formats" -HOMEPAGE=" - https://github.com/translate/translate/ - https://pypi.org/project/translate-toolkit/ -" -SRC_URI=" - https://github.com/translate/translate/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+html +ical +ini +subtitles +yaml" - -RDEPEND=" - !dev-python/pydiff - app-text/iso-codes - >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] - dev-python/cheroot[${PYTHON_USEDEP}] - >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] - >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] - >=dev-python/python-levenshtein-0.12.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - sys-devel/gettext - html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) - ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) - ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) - subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) - yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( dev-python/phply[${PYTHON_USEDEP}] ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-bootstrap-theme -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Fails with network-sandbox (and even with it off but w/ softer fail) - 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' - 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' - ) - local EPYTEST_IGNORE=( - # unpackaged fluent.* - translate/storage/test_fluent.py - ) - - if ! use ini; then - EPYTEST_IGNORE+=( - translate/convert/test_ini2po.py - translate/convert/test_po2ini.py - ) - fi - - if ! use subtitles; then - EPYTEST_IGNORE+=( - translate/storage/test_subtitles.py - ) - fi - - # translate/storage/test_mo.py needs 'pocompile' - distutils_install_for_testing - epytest -} - -python_install_all() { - distutils-r1_python_install_all - - if ! use html; then - rm "${ED}"/usr/bin/{html2po,po2html} || die - fi - if ! use ical; then - rm "${ED}"/usr/bin/{ical2po,po2ical} || die - fi - if ! use ini; then - rm "${ED}"/usr/bin/{ini2po,po2ini} || die - fi - if ! use subtitles; then - rm "${ED}"/usr/bin/{sub2po,po2sub} || die - fi - - python_optimize -} diff --git a/dev-python/wxpython/wxpython-4.0.7-r2.ebuild b/dev-python/wxpython/wxpython-4.0.7-r2.ebuild index 35143c23ff90..c698df6909c2 100644 --- a/dev-python/wxpython/wxpython-4.0.7-r2.ebuild +++ b/dev-python/wxpython/wxpython-4.0.7-r2.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz" LICENSE="wxWinLL-3" SLOT="4.0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv ~sparc ~x86" IUSE="test webkit" # Tests broken: #726812, #722716 RESTRICT="test" |
