diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-04 18:52:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-04 18:52:39 +0000 |
| commit | 1afe0b44cafe2e0a58154f1f16f0ea94f61709ae (patch) | |
| tree | cd95a1c01a8b29465ffc6f22d1976d561bd0ee20 /dev-python | |
| parent | edfa25bc92511e83cda46637440f1813add05b25 (diff) | |
| download | baldeagleos-repo-1afe0b44cafe2e0a58154f1f16f0ea94f61709ae.tar.gz baldeagleos-repo-1afe0b44cafe2e0a58154f1f16f0ea94f61709ae.tar.xz baldeagleos-repo-1afe0b44cafe2e0a58154f1f16f0ea94f61709ae.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/cogapp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cogapp/cogapp-3.4.1.ebuild | 20 | ||||
| -rw-r--r-- | dev-python/cogapp/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-python/langdetect/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch | 13 | ||||
| -rw-r--r-- | dev-python/langdetect/langdetect-1.0.9.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/langdetect/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/moderngl-window/moderngl-window-3.1.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/psycopg/psycopg-3.2.4.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pyside/pyside-6.8.2.ebuild | 49 | ||||
| -rw-r--r-- | dev-python/pywebview/pywebview-4.4.1-r1.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/pywebview/pywebview-5.1-r1.ebuild | 4 |
12 files changed, 105 insertions, 17 deletions
diff --git a/dev-python/cogapp/Manifest b/dev-python/cogapp/Manifest new file mode 100644 index 000000000000..64da61a161e7 --- /dev/null +++ b/dev-python/cogapp/Manifest @@ -0,0 +1 @@ +DIST cogapp-3.4.1.tar.gz 53776 BLAKE2B e513047b50de92df67ff0ecd7ba20680f1b92bb1eb18fd04a4a2326faa8c4683d9390ee610b958581656b898ce0528d173f63b88859073525949923ef110f638 SHA512 7dda6720f3bfa2edca642a2082f8ad8aa4bbb6b13653e2c03d76726c88ddf433330a49d362b554f30ddab4468b9cfad6156167200b450258a697f93db1266586 diff --git a/dev-python/cogapp/cogapp-3.4.1.ebuild b/dev-python/cogapp/cogapp-3.4.1.ebuild new file mode 100644 index 000000000000..fbcc5c924253 --- /dev/null +++ b/dev-python/cogapp/cogapp-3.4.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{{10..13},13t} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Cog content generation tool. Small bits of computation for static files" +HOMEPAGE=" + https://pypi.org/project/cogapp/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/cogapp/metadata.xml b/dev-python/cogapp/metadata.xml new file mode 100644 index 000000000000..1bd9554dc13b --- /dev/null +++ b/dev-python/cogapp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>rolferen@gmail.com</email> + <name>Mazunki Hoksaas</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..eb2586280d80 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/moderngl-window/moderngl-window-3.1.1.ebuild b/dev-python/moderngl-window/moderngl-window-3.1.1.ebuild index 4aa067d55c3f..bf6b51f03a2c 100644 --- a/dev-python/moderngl-window/moderngl-window-3.1.1.ebuild +++ b/dev-python/moderngl-window/moderngl-window-3.1.1.ebuild @@ -59,5 +59,5 @@ pkg_postinst() { optfeature "supporting pysdl2 as backend" dev-python/pysdl2 optfeature "supporting GLFW as backend" dev-python/glfw optfeature "supporting QT5 as backend" dev-python/pyqt5 - optfeature "supporting PySide as backend" dev-python/pyside6 + optfeature "supporting PySide as backend" dev-python/pyside } diff --git a/dev-python/psycopg/psycopg-3.2.4.ebuild b/dev-python/psycopg/psycopg-3.2.4.ebuild index 8f6ddc668b0b..92df4256b81e 100644 --- a/dev-python/psycopg/psycopg-3.2.4.ebuild +++ b/dev-python/psycopg/psycopg-3.2.4.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="+native-extensions" DEPEND=" diff --git a/dev-python/pyside/pyside-6.8.2.ebuild b/dev-python/pyside/pyside-6.8.2.ebuild index 3887bd49793a..e1f01debd080 100644 --- a/dev-python/pyside/pyside-6.8.2.ebuild +++ b/dev-python/pyside/pyside-6.8.2.ebuild @@ -115,6 +115,12 @@ declare -A QT_REQUIREMENTS=( IUSE="${!QT_MODULES[@]} debug doc gles2-only numpy test tools" RESTRICT="!test? ( test )" +# majority of QtQml tests require QtQuick support +REQUIRED_USE=" + test? ( + qml? ( quick ) + ) +" for requirement in ${!QT_REQUIREMENTS[@]}; do REQUIRED_USE+=" ${requirement}? ( ${QT_REQUIREMENTS[${requirement}]} ) " done @@ -158,6 +164,7 @@ RDEPEND=" =dev-qt/qtbase-${QT_PV} =dev-qt/qtdeclarative-${QT_PV}[qmlls] =dev-qt/qttools-${QT_PV}[assistant,designer,linguist] + dev-python/pkginfo[${PYTHON_USEDEP}] ) uitools? ( =dev-qt/qttools-${QT_PV}[gles2-only=,widgets] ) webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) @@ -170,7 +177,7 @@ RDEPEND=" webview? ( =dev-qt/qtwebview-${QT_PV} ) !dev-python/pyside:0 !dev-python/shiboken6 - !dev-python/pyside6-tool + !dev-python/pyside6-tools " DEPEND="${RDEPEND} @@ -232,6 +239,30 @@ python_prepare_all() { sed -e \ 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \ -i sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die + + # blacklist.txt works like XFAIL + cat <<- EOF >> build_history/blacklist.txt || die + # segfaults with QOpenGLContext::create + [pysidetest::qapp_like_a_macro_test] + linux + # Tries to execute pip install + [pyside6-deploy::test_pyside6_deploy] + linux + [pyside6-android-deploy::test_pyside6_android_deploy] + linux + EOF + + if ! use numpy; then + cat <<- EOF >> build_history/blacklist.txt || die + # Requires numpy support to pass + [sample::array_numpy] + linux + [sample::nontypetemplate] + linux + [QtGui::qpainter_test] + linux + EOF + fi } python_configure_all() { @@ -436,5 +467,19 @@ python_compile() { } python_test() { - virtx ${EPYTHON} testrunner.py test || die "Tests failed with ${EPYTHON}" + # figure out the build dir + local build_dir build_classifier + build_dir=$(ls -d "${BUILD_DIR}"/build/qfp-*/build/) + build_classifier="${build_dir##${BUILD_DIR}/build/qfp-}" + build_classifier="${build_dir%%/build}" + + # Otherwise it picks the last built directory breaking assumption for multi target builds + mkdir -p build_history/9999-99-99_999999/ || die + cat <<- EOF > build_history/9999-99-99_999999/build_dir.txt || die + ${build_dir} + ${build_classifier} + EOF + + virtx ${EPYTHON} testrunner.py test --projects=shiboken6 $(usev core '--projects=pyside6') || + die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/pywebview/pywebview-4.4.1-r1.ebuild b/dev-python/pywebview/pywebview-4.4.1-r1.ebuild index bcb2d56be1d6..4eb8feb7e1ea 100644 --- a/dev-python/pywebview/pywebview-4.4.1-r1.ebuild +++ b/dev-python/pywebview/pywebview-4.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,7 +26,7 @@ RDEPEND=" net-libs/webkit-gtk ) qt6? ( - dev-python/pyside6[${PYTHON_USEDEP},webengine] + dev-python/pyside[${PYTHON_USEDEP},webengine] dev-python/qtpy[${PYTHON_USEDEP},webengine] ) " diff --git a/dev-python/pywebview/pywebview-5.1-r1.ebuild b/dev-python/pywebview/pywebview-5.1-r1.ebuild index bcb2d56be1d6..4eb8feb7e1ea 100644 --- a/dev-python/pywebview/pywebview-5.1-r1.ebuild +++ b/dev-python/pywebview/pywebview-5.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,7 +26,7 @@ RDEPEND=" net-libs/webkit-gtk ) qt6? ( - dev-python/pyside6[${PYTHON_USEDEP},webengine] + dev-python/pyside[${PYTHON_USEDEP},webengine] dev-python/qtpy[${PYTHON_USEDEP},webengine] ) " |
