From eb24ae1fe857305c5c7475e1fb9748c51665bacd Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 11 Apr 2025 18:57:57 +0000 Subject: Adding metadata --- dev-python/django-extensions/Manifest | 2 + .../django-extensions/django-extensions-4.1.ebuild | 63 ++++++++++ dev-python/gherkin-official/Manifest | 2 +- .../gherkin-official-32.1.0.ebuild | 29 ----- .../gherkin-official-32.1.1.ebuild | 26 ++++ dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 ++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/wxpython/Manifest | 1 + dev-python/wxpython/wxpython-4.2.3.ebuild | 133 +++++++++++++++++++++ 11 files changed, 246 insertions(+), 39 deletions(-) create mode 100644 dev-python/django-extensions/django-extensions-4.1.ebuild delete mode 100644 dev-python/gherkin-official/gherkin-official-32.1.0.ebuild create mode 100644 dev-python/gherkin-official/gherkin-official-32.1.1.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch create mode 100644 dev-python/wxpython/wxpython-4.2.3.ebuild (limited to 'dev-python') diff --git a/dev-python/django-extensions/Manifest b/dev-python/django-extensions/Manifest index 343d8a6f0b11..caa675e7d0f2 100644 --- a/dev-python/django-extensions/Manifest +++ b/dev-python/django-extensions/Manifest @@ -1,3 +1,5 @@ DIST django-extensions-3.2.3.tar.gz 277216 BLAKE2B 11c19af65bf40301e7e8b28190983f61b4e8f8f8822e5d83376e04b0da8966168391aebf79cf282f78ed3f67a93270b853e321afba2c5220d01b2b6f0829015a SHA512 b4c575c200a9d0903db34038fd52877dfe2581d4b5c9f98ee0ef191bf4f2c615ba3cd11277a5b6621b4ccba4d3a27286fb3e08fac216d3ee48417583134e899f +DIST django_extensions-4.1.tar.gz 283078 BLAKE2B cbf0e0a66bf8f98112f446924fdb218f80e99c4d26b9c8212d96db183c9891bc3faa887ce2b10706ab11fb4c17523402f2a6eadf5c38ec8c0df0e912b7118f77 SHA512 185db26d92c1b3a5777c8baae066a060ad79bb620fbebb70e43625605a4adc0c5e6ca434a048a25d7208c3c306f94991c73aeba03925f75a7914f4472cefc7f3 EBUILD django-extensions-3.2.3.ebuild 1067 BLAKE2B fafcbd01da312758a3a6e01952ec3933f4fed59446da8b0b29beeb0668527039c094e39d7c23dc050bff673b816de20c2abe781b24778d75bd3d81dd8790b09c SHA512 f55a737ddee8489973c7cf797ea481cf67f0298201d8e6597ac5a621a8567db82818593904d66c3c531ffa5ec25a44547f0d2cf44289b87d2663ea920472b54f +EBUILD django-extensions-4.1.ebuild 1593 BLAKE2B 88a13cbed548570f4b21eb05f34d82c9927544041fe33c92e0cc722b53d1e1577b223cde96396365498ba87e0d9b6a9a49960ee609f828f4059042a8e9abddb8 SHA512 b13b3cf3e247c07ae2f380c9c0f5ca462a5c473404cdaac4a483da02a752768aa1c671f5fe343372bdff1671c845c2813d23845a4dd40aea5470c6cc11d31b5a MISC metadata.xml 494 BLAKE2B c1e2aa014376ffce1e587013b50fe6cf05e61cf02b847da3d3be0de45a56bd50c9ab0f6743c0ea0d6927ffaec16ba38bee6ccba912fe57551cb5d596955172b3 SHA512 a7131301c1d2abecf235a6963bcff0d545ec48b1a8d0d24a4ed80fa20a9f0499442da32ce304f8798698307f970666decb5a91a4407ac66cd5769c35a8ec2500 diff --git a/dev-python/django-extensions/django-extensions-4.1.ebuild b/dev-python/django-extensions/django-extensions-4.1.ebuild new file mode 100644 index 000000000000..67b098e15cde --- /dev/null +++ b/dev-python/django-extensions/django-extensions-4.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A collection of custom extensions for the Django Framework" +HOMEPAGE="https://github.com/django-extensions/django-extensions" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/django-4.2[${PYTHON_USEDEP}] + dev-python/pyasyncore[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/shortuuid[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aiosmtpd[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" +DOCS=( README.rst CHANGELOG.md ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +EPYTEST_IGNORE=( + # No fixture named 'group' found. + tests/management/commands/test_set_fake_emails.py + tests/management/commands/test_set_fake_passwords.py + # Requires factory + tests/management/commands/shell_plus_tests/test_import_subclasses.py + tests/test_admin_filter.py + # Requires smtpd (dead battery) + tests/management/commands/test_export_emails.py + # no such table: django_extensions_permmodel + tests/test_dumpscript.py + tests/management/commands/test_syncdata.py + tests/management/commands/test_validate_templates.py +) + +EPYTEST_DESELECT=( + tests/management/commands/test_runserver_plus.py::test_initialize_runserver_plus +) + +src_prepare() { + sed -i \ + -e 's/--cov=django_extensions//' \ + -e 's/--cov-report html//' \ + -e 's/--cov-report term//' \ + pyproject.toml || die + + default +} diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index d875aae49328..baceb807c61f 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1,3 +1,3 @@ DIST gherkin-30.0.4.gh.tar.gz 3858403 BLAKE2B bdf5cf80f1e06c9e8464d3fbc5a56a594b75f3d8ae6ff13dafcd583aa6571e1a6ba4aa4dd344f7c532174b09829bdaf9aae1e1e02339521e2836dbf9b3014108 SHA512 52cd5bab779e46d5d2c451558b545fb8ac408d1d5d11558e1dace94d77472ca271589eb183c412093fcbdef2574a495fdd11c98ce97d8146077a54b3369a9a6e DIST gherkin-32.0.0.gh.tar.gz 3842521 BLAKE2B b0afbf2638bd85817a141e2f89bd81e9ba564c96ddcbfa56f803d7239736864e1047bed6d0fa1a48edb0dac88553b8777e530b6fd06a82d71e4e971105f68020 SHA512 2ce444bde2d1e4ed3f1214205e4dd43cfa21c0f31d5194cfa9da6aeabdf2f0ac70966f1d98617b9d8f3633dadae6b773d67a6f050f0e37ae477c594b0e670aa9 -DIST gherkin-32.1.0.gh.tar.gz 3846973 BLAKE2B 9d53b7d938765ee177952fb799c0abec16003875cdc5f93997460a0369f7c03bcbfd93afa629664480d38f5920239d6554a284ef68e027f68205a4ec26026a47 SHA512 e26663c1834579623f1ac15a54c2ede854aa60598d1941c8cda793147115347f46dc5c56f0012f661e5654f4c6ca6b665729431024e6acd9961f2024cb6c1d9c +DIST gherkin-32.1.1.gh.tar.gz 3846876 BLAKE2B 7962e2784e7f70a996ee4952185323f3a9a6d580c574d2153bd1ccd6b8fb450a73902bb001d62f38dd70f746225b42889808e1ed3086b5465e2efe44459b1adf SHA512 f7b571d70d50759802a176acd7761363fcae347d591fcc1e1d94fb484ab3edb92cdc6a6474459d41204b593e3241989c6d141a5ec74373bf3599a3127df1f873 diff --git a/dev-python/gherkin-official/gherkin-official-32.1.0.ebuild b/dev-python/gherkin-official/gherkin-official-32.1.0.ebuild deleted file mode 100644 index 5eb5ba433d9f..000000000000 --- a/dev-python/gherkin-official/gherkin-official-32.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# note: only bump when there is a release on pypi, GH tags (which include -# tests) are for the whole package and may have no changes to python/ - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 - -DESCRIPTION="Gherkin parser/compiler for Python" -HOMEPAGE="https://github.com/cucumber/gherkin/" -SRC_URI=" - https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz - -> gherkin-${PV}.gh.tar.gz -" -S=${WORKDIR}/gherkin-${PV}/python - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/gherkin-official/gherkin-official-32.1.1.ebuild b/dev-python/gherkin-official/gherkin-official-32.1.1.ebuild new file mode 100644 index 000000000000..3f0e4a0d7313 --- /dev/null +++ b/dev-python/gherkin-official/gherkin-official-32.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 + +DESCRIPTION="Gherkin parser/compiler for Python" +HOMEPAGE="https://github.com/cucumber/gherkin/" +SRC_URI=" + https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz + -> gherkin-${PV}.gh.tar.gz +" +S=${WORKDIR}/gherkin-${PV}/python + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest 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 @@ - marcin.deranek@slonko.net - Marcin Deranek + pastalian46@gmail.com + Takuya Wakazono - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index c9292c83a855..b7506b2ccfc7 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -1,3 +1,4 @@ DIST wxPython-4.2.0.tar.gz 70958238 BLAKE2B 2e8e34c4f5d1992983bfe4e09bb56ee5619b139b9b3b5f05dee48ecdf6971cf9fe1b0fb22aec685904eb44db6f50a4ba132a08aa91930d809040da828efa097e SHA512 9ec937a024efb2916403c84382a66004f0c2bb07471246b7de517778309ce459e929eeb59e261f538d3fa077c950628de62e49a3760fbd03ab9ff2114c6f354f DIST wxPython-4.2.1.tar.gz 73724359 BLAKE2B d9569ea172c7279e0b2cfcb3cdcd5d1faab5324e2648c9b0f8c8b838fb2355dc6af28c4593e5dd0cfa02573133bf15a58a6ffa9711d854925a9cada0985dc7f8 SHA512 ee9ab8effb3c71de004c3d61ec583b9980c6b75fe9bb04cf2c76025ea70afc206bc3073c44d1c83c7ba604afed9fd38c01b9ef506617ba279a4ac58e3cf34438 DIST wxPython-4.2.2.tar.gz 57358880 BLAKE2B 325256e0d57f868453ed48ea4580a1ea6763acffacb7cd937cf440c55f43fc540dab867a947fb2c9eb353855888aaa370d85103b888bd1339cf5abe7302aba19 SHA512 08b74285b94f21ebf30fef8c9ebf8cfd074dd3976209372bb5b704b0b792038f9af484dd1378894052eedb0ce603af6935b7d00d695da4e4a15e1ea3bdb3520f +DIST wxPython-4.2.3.tar.gz 58861286 BLAKE2B 2c674227ff109564be1431f2a86a212250ffac809fed4ca8934f7473c93616603e252098511e443ffdf460ab546b5eb17b3f29ab275fb8b5433041a4d47e48cb SHA512 c7b9f0758b9d77dbeab436e8069c024796b6f252af5043615e14083b3f62fb44386c5f325a118f9e2d99c15eeb7687bb1cc1a13a00263114689b32e2126364a7 diff --git a/dev-python/wxpython/wxpython-4.2.3.ebuild b/dev-python/wxpython/wxpython-4.2.3.ebuild new file mode 100644 index 000000000000..6a9c5d0cdec9 --- /dev/null +++ b/dev-python/wxpython/wxpython-4.2.3.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="wxPython" +WX_GTK_VER="3.2-gtk3" + +inherit distutils-r1 multiprocessing virtualx wxwidgets pypi + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE=" + https://www.wxpython.org/ + https://github.com/wxWidgets/Phoenix/ + https://pypi.org/project/wxPython/ +" + +LICENSE="wxWinLL-3" +SLOT="4.0" +IUSE="test webkit" +RESTRICT="!test? ( test )" + +# wxPython doesn't seem to be able to optionally disable features. webkit is +# optionally patched out because it's so huge, but other elements are not, +# which makes us have to require all features from wxGTK +DEPEND=" + >=x11-libs/wxGTK-3.2.6:${WX_GTK_VER}=[gstreamer,libnotify,opengl,sdl,tiff,webkit?,X] + media-libs/libpng:= + media-libs/tiff:= + media-libs/libjpeg-turbo:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + app-text/doxygen + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/sip-6.8.5[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${PN}-4.2.0-flags.patch" + "${FILESDIR}/${PN}-4.2.1-x86-time.patch" + "${FILESDIR}/${PN}-4.2.2-setuppy.patch" +) + +python_prepare_all() { + if ! use webkit; then + eapply "${FILESDIR}/${PN}-4.2.0-no-webkit.patch" + fi + + local build_options="build_py --use_syswx --no_magic --jobs=$(makeopts_jobs) --verbose --release" + + DISTUTILS_ARGS=( + --verbose + build + --buildpy-options="${build_options}" + ) + + distutils-r1_python_prepare_all + + # sigh + sed -i -e '/from buildtools/i\ +sys.path.insert(0, ".")' setup.py || die +} + +src_configure() { + setup-wxwidgets +} + +python_compile() { + # Patch will fail if copy of refreshed sip file is not restored + # if using multiple Python implementations + DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg sip --nodoc || die + cp "${S}/sip/cpp/sip_corewxAppTraits.cpp" "${S}" || die + + eapply "${FILESDIR}/${PN}-4.2.2-no-stacktrace.patch" || die + + distutils-r1_python_compile + + cp "${S}/sip_corewxAppTraits.cpp" "${S}/sip/cpp/" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # virtx probably + unittests/test_display.py::display_Tests::test_display + unittests/test_frame.py::frame_Tests::test_frameRestore + unittests/test_mousemanager.py::mousemanager_Tests::test_mousemanager1 + unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardChar + unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardKeyDownUp + unittests/test_uiaction.py::uiaction_MouseTests + + # assertion (TODO) + unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric + unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor + + # seems to rely on state from a previous test (sigh) + unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore + + # requires Spanish localization + unittests/test_intl.py::intl_Tests::test_intlGetString + + # TODO + unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor + unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 + unittests/test_windowid.py::IdManagerTest::test_newIdRef03 + ) + local EPYTEST_IGNORE=() + if ! use webkit; then + EPYTEST_IGNORE+=( unittests/test_webview.py ) + fi + + # We use pytest-forked as opensuse does to avoid tests corrupting each + # other. + virtx epytest --forked unittests +} -- cgit v1.3