diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-18 06:30:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-18 06:30:11 +0000 |
commit | f57e008aa126ccdca95f7424e4d24a1a83a49682 (patch) | |
tree | 485fb1d76c7c51ddd47615c50059dd46045ffbb5 /dev-python | |
parent | 066666b8767b78231b90d9b3ffc8169fbfe1ec7c (diff) |
gentoo auto-resync : 18:12:2024 - 06:30:11
Diffstat (limited to 'dev-python')
19 files changed, 483 insertions, 2 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex fa69745c3c42..6877543e2697 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 432dbb3e2188..e47f8bbf603d 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -10,6 +10,8 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d SHA512 648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22 DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a SHA512 a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54 +DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3 +DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 BLAKE2B 0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31 SHA512 45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a EBUILD clang-15.0.7.ebuild 1203 BLAKE2B cf84f97fb260baf4ad6fdaeba840b1029f7d8491db85f40a46688e1ab8af050b3f6f7d2e95659bafe90f100c65c1db02e050907ed5023ded5ea72e3c66c32ab3 SHA512 b680e5a1f559f90abace19a911bb524ed1785e4d80e6fe05319cd6908da4b15af060d503c304b138aca9594b2695294a3cf3833062a6c1aadc748932e9d15931 @@ -18,6 +20,7 @@ EBUILD clang-17.0.6.ebuild 1203 BLAKE2B f23b17daa233b1881d42219f47dc1f320a7914de EBUILD clang-18.1.8.ebuild 1203 BLAKE2B fb50c827cb7968aebc55f4faca75538cfd211975908ba4935913ccccf3b9be43fdf4c6ebc2c333a6be476ce82a95899dffdbee5f8bdcafc15dfc2597c5a97851 SHA512 a3c408d1cd6e6429331b8375ca603b897a6b549af21261bfb20393ac2e42396ad636e30fe9123fc0dc06c4fab946cd04667f04448698f3cde6e6c20693181de6 EBUILD clang-19.1.4.ebuild 1203 BLAKE2B fb50c827cb7968aebc55f4faca75538cfd211975908ba4935913ccccf3b9be43fdf4c6ebc2c333a6be476ce82a95899dffdbee5f8bdcafc15dfc2597c5a97851 SHA512 a3c408d1cd6e6429331b8375ca603b897a6b549af21261bfb20393ac2e42396ad636e30fe9123fc0dc06c4fab946cd04667f04448698f3cde6e6c20693181de6 EBUILD clang-19.1.5.ebuild 1205 BLAKE2B ec7483def2ab28e9c995e2730430f31df4a8bc8d987372e3e508c436253c489f2b1c3e14a819aab0735cf9dfd5d316c7c847849ca7a1fc5d5705492c65df0693 SHA512 45bb58ca2216ea2d8af4294b9406cc35f9cf35709444e05f9bba5a0f4e6b8457812f274651f53964a4bf551eccab264d1ed0c33c571f6d173b0c93c1af651210 +EBUILD clang-19.1.6.ebuild 1205 BLAKE2B ec7483def2ab28e9c995e2730430f31df4a8bc8d987372e3e508c436253c489f2b1c3e14a819aab0735cf9dfd5d316c7c847849ca7a1fc5d5705492c65df0693 SHA512 45bb58ca2216ea2d8af4294b9406cc35f9cf35709444e05f9bba5a0f4e6b8457812f274651f53964a4bf551eccab264d1ed0c33c571f6d173b0c93c1af651210 EBUILD clang-20.0.0.9999.ebuild 1170 BLAKE2B 83e1d256d07a4228d40900d639841a2ef237a96d30c094ead8550929a606389dfbe65ccc0bc3da8b6c7ecf68b660860c982be14716af452daa81619cc8106dca SHA512 9d72b20cac73924a921f1f687e466c2fc1e3c233e06133f0495b7dfc0a601954214d689b89b78356dd63c9d073609282b4bfef72799d51be6f978eb80a3fc707 EBUILD clang-20.0.0_pre20241207.ebuild 1170 BLAKE2B 83e1d256d07a4228d40900d639841a2ef237a96d30c094ead8550929a606389dfbe65ccc0bc3da8b6c7ecf68b660860c982be14716af452daa81619cc8106dca SHA512 9d72b20cac73924a921f1f687e466c2fc1e3c233e06133f0495b7dfc0a601954214d689b89b78356dd63c9d073609282b4bfef72799d51be6f978eb80a3fc707 EBUILD clang-20.0.0_pre20241215.ebuild 1170 BLAKE2B 83e1d256d07a4228d40900d639841a2ef237a96d30c094ead8550929a606389dfbe65ccc0bc3da8b6c7ecf68b660860c982be14716af452daa81619cc8106dca SHA512 9d72b20cac73924a921f1f687e466c2fc1e3c233e06133f0495b7dfc0a601954214d689b89b78356dd63c9d073609282b4bfef72799d51be6f978eb80a3fc707 diff --git a/dev-python/clang/clang-19.1.6.ebuild b/dev-python/clang/clang-19.1.6.ebuild new file mode 100644 index 000000000000..f631aed3d59e --- /dev/null +++ b/dev-python/clang/clang-19.1.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/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=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${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/cysignals/Manifest b/dev-python/cysignals/Manifest index 561e68b2ab08..83052d4727fc 100644 --- a/dev-python/cysignals/Manifest +++ b/dev-python/cysignals/Manifest @@ -1,6 +1,7 @@ AUX cysignals-1.11.4-helper.patch 3049 BLAKE2B 26ea0fb57e855d2fbc302d8ba84200ae541f4e28015ed447531a814ffbfa4a967be98ea94c0c77333f1b4adf80a58afbc73812676d56db0d9832a79e8c5ff104 SHA512 282714ef674177af58b53db9541106fac0bd54238b7e55c2754bcd553928fbc189413304471a92288139d83297b4b70330b50d5b23fa8ea078f4f1bdddaa8535 +AUX cysignals-1.12.0-fix-building-against-me.patch 2519 BLAKE2B b103b4c22d1de1dc64dec968901e22a665be11d7330eee2c6b0bcb0f3cf08c9da82903197593f7e59c26a1979ed81321a3f665852177e027a46c9e7d815c8456 SHA512 cb4951adf9a51b2977cd70371276b0f44ae16d58d4dda6da87653684aceaeb08a2db685bfa9102bef5389de22d10fea813059be3749bd5c0d174dfa94b2ef8b8 DIST cysignals-1.11.4.tar.gz 105100 BLAKE2B c21c5cae69332885dd4b9f13d0fbe9ab836466dd699f0d51908d129107ce4922f4076fafa8dce3650983fd69d25182464f9831545a8da3535699d36d198ec6a7 SHA512 b083a62bcca71634cdd21ca6c8d1363e7754ed97d6f2ad0280b0ae97fdf1264be3dc202acf67added4c12a0815420d9641269da1212b83472ea304883d3b85ab DIST cysignals-1.12.0.tar.gz 65857 BLAKE2B 4a9bb56c8491814480a9deae053eb13574b480245418c743b1a99cc4fbe4c784c35e8518707cd6ced22174f032444e38daee16ab933b044f8942da2d1c47cfab SHA512 c4575f9d07f4d4c1c27a2e953b12693758babe79000fe62e2423ae484695f0ee813ebc2868ec74aa6c2c4e85d074c3a0db1524ad4ca58e1250fd1d4ca8386692 EBUILD cysignals-1.11.4-r1.ebuild 782 BLAKE2B 97d3178eae47abda676386e6450e181412c827de3ce0e4a2f06694763726e2933c210f19b6d19bdb4a7868d6b28f26afd7490f2fd747335f699534446945c50d SHA512 d0041db24f25adae35fe82b58386c6257b32830e6e8934bab1b9ed07f34d017dc4d35262c6e70643ce13e019e1f8fd363cc3b415819641d2350e28dca69ffb38 -EBUILD cysignals-1.12.0.ebuild 610 BLAKE2B 77c954d728f7ab9df33a086cf2bac80a7b548b0d1355cee7f783b649d2d21740537360a136b1e1ababdb5b2a6592f9fa578926bc6a8ad5d90de127c4fa87c1fc SHA512 79e13fadce3fb735599459ed476b0ec8f4ae7640252905dfe17cdf4a99c70dc0aaa6ea606d91edbde20f7d37c7a977592dba950edec85542a581ed4ae394bc85 +EBUILD cysignals-1.12.0-r1.ebuild 672 BLAKE2B 915acdbe62e82ea12424240249323c45df8c0fa9f4fd435a3946c6fe0052f6f3ab189990f4f2dd62981bf6bcc5cdf43e1e200fdc299b39c1b066866f8bd709e3 SHA512 20ee288b2bf2d0ab18cf13882206b60a5690cb2861a2b30744a130e30e2603112a8f64fd9c7e9b168dd44e7e205a409b4f5ac7f916f7c918d9cf6fe315520527 MISC metadata.xml 1243 BLAKE2B 468b28828e1fa906f91a23ed5e2825a77e3bad500f71e58732074abedbb11bacd1dbd6d60e49531ba2d84efa43b49ce1665158a410d5ffdd079203c294588929 SHA512 7533b618a2b050df3122aae90cb0c1dded97b82c28baca8ab7c295e7d37bcbfd0e4a762233190651e8bbadd91d901b673716aa04cf2d61b1969b2bb7a9e3be3e diff --git a/dev-python/cysignals/cysignals-1.12.0.ebuild b/dev-python/cysignals/cysignals-1.12.0-r1.ebuild index 85da267f5797..fe0f2f6b4ac6 100644 --- a/dev-python/cysignals/cysignals-1.12.0.ebuild +++ b/dev-python/cysignals/cysignals-1.12.0-r1.ebuild @@ -24,6 +24,8 @@ BDEPEND=" >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] " +PATCHES=( "${FILESDIR}/${P}-fix-building-against-me.patch" ) + distutils_enable_tests pytest python_test() { diff --git a/dev-python/cysignals/files/cysignals-1.12.0-fix-building-against-me.patch b/dev-python/cysignals/files/cysignals-1.12.0-fix-building-against-me.patch new file mode 100644 index 000000000000..a305936838d0 --- /dev/null +++ b/dev-python/cysignals/files/cysignals-1.12.0-fix-building-against-me.patch @@ -0,0 +1,74 @@ +From 7c05d63f87e6f7b9c3366939a6494aa3335381e8 Mon Sep 17 00:00:00 2001 +From: Ludo Pulles <ludo.pulles@gmail.com> +Date: Fri, 6 Dec 2024 13:18:28 +0100 +Subject: [PATCH] Fix build issues + +--- + example/meson.build | 7 ------- + meson.build | 5 ----- + src/cysignals/signals.pxd | 1 + + src/cysignals/signals.pyx | 1 + + src/cysignals/tests.pyx | 1 + + 5 files changed, 3 insertions(+), 12 deletions(-) + +diff --git a/example/meson.build b/example/meson.build +index e40c614..ae3e120 100644 +--- a/example/meson.build ++++ b/example/meson.build +@@ -15,13 +15,6 @@ print(cysignals.__file__.replace('__init__.py', '')) + ).stdout().strip() + cysignals = declare_dependency(include_directories: inc_cysignals) + +-# Make declarations in Cython code available to C include files +-add_project_arguments( +- '-X preliminary_late_includes_cy28=True', +- language: 'cython', +-) +- +- + py.extension_module('cysignals_example', + sources: ['cysignals_example.pyx'], + install: true, +diff --git a/meson.build b/meson.build +index d66145b..5209bf2 100644 +--- a/meson.build ++++ b/meson.build +@@ -22,11 +22,6 @@ add_project_arguments('-DCYTHON_CLINE_IN_TRACEBACK=0', language: 'c') + # Disable sanity checking in GNU libc + # This is required because of false positives in the longjmp() check + add_project_arguments('-U_FORTIFY_SOURCE', language: 'c') +-# Make declarations in Cython code available to C include files +-add_project_arguments( +- '-X preliminary_late_includes_cy28=True', +- language: 'cython', +-) + + # Platform-specific settings + if is_cygwin +diff --git a/src/cysignals/signals.pxd b/src/cysignals/signals.pxd +index 76320f7..531a9a8 100644 +--- a/src/cysignals/signals.pxd ++++ b/src/cysignals/signals.pxd +@@ -1,3 +1,4 @@ ++# cython: preliminary_late_includes_cy28=True + #***************************************************************************** + # cysignals is free software: you can redistribute it and/or modify it + # under the terms of the GNU Lesser General Public License as published +diff --git a/src/cysignals/signals.pyx b/src/cysignals/signals.pyx +index b988167..72f206e 100644 +--- a/src/cysignals/signals.pyx ++++ b/src/cysignals/signals.pyx +@@ -1,3 +1,4 @@ ++# cython: preliminary_late_includes_cy28=True + r""" + Interrupt and signal handling + +diff --git a/src/cysignals/tests.pyx b/src/cysignals/tests.pyx +index 547095f..ffb04ca 100644 +--- a/src/cysignals/tests.pyx ++++ b/src/cysignals/tests.pyx +@@ -1,3 +1,4 @@ ++# cython: preliminary_late_includes_cy28=True + """ + Test interrupt and signal handling + diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 5e3eaed25463..222016c959f1 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -10,6 +10,8 @@ DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d22 DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d SHA512 648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22 DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a SHA512 a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54 +DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee584e963b1d5cf06885c59827ee4ac11f93cde5b8e0268fbed560839137de2c495c9da2b889331cd12a8a02958d8e0cbdbed2607 SHA512 d411a6d913d6a1e1f3c16cfc1ce81c1e6292ea370703f55fb67c7af62f02193d53f5ef7823c8679d6f25cbe47b40236fcaf37044ad7cdfada8166efe7eb106b3 +DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 BLAKE2B 0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31 SHA512 45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a EBUILD lit-15.0.7.ebuild 914 BLAKE2B 84b2d09fb6babb142fe747be241c7a66156ac6fd222d1cf0e9a8e8ac4cfa0602840d3a8bbe0335995ba89f5c4b87d28894fc2a89bc0a894e53b8d0027c9a9a17 SHA512 11fe0b56f6d92f6d4755edbd724f3cc489d2460c55840ec1911bbbfadbc8ac661f41f2830b3399858d361caca106ff8bd5fecf02a13698d0e5093b37f972db80 @@ -18,6 +20,7 @@ EBUILD lit-17.0.6.ebuild 1022 BLAKE2B 75919679f6961d2ce83d6d796994703381ac85d02d EBUILD lit-18.1.8.ebuild 1028 BLAKE2B 53f33afe822e7e6572b262c51f98c0da54b56c696f57109a5396ace349a9ffe65b6d2af0990e96572e1529d5a9cc55a77e36069f35b6e166477ebd8152f5ff47 SHA512 7f0e45f98386b7a0193539965ba3365cb2d7375d0b173505ac840c29cb8ea9f0f0ed4dd78bec7ff5d2c4d78ce47f04b05784d570e29c408fa1a46d8d3f0811df EBUILD lit-19.1.4.ebuild 1028 BLAKE2B 53f33afe822e7e6572b262c51f98c0da54b56c696f57109a5396ace349a9ffe65b6d2af0990e96572e1529d5a9cc55a77e36069f35b6e166477ebd8152f5ff47 SHA512 7f0e45f98386b7a0193539965ba3365cb2d7375d0b173505ac840c29cb8ea9f0f0ed4dd78bec7ff5d2c4d78ce47f04b05784d570e29c408fa1a46d8d3f0811df EBUILD lit-19.1.5.ebuild 1035 BLAKE2B 06b0acaba611a8e9270353c3edf7453b3d9c61fdd619100f9b142503ce0ca512908e1750634be2f1676d60dfd1e41fad5fe7db8974f79135a2cfa971e209576c SHA512 ff5ce2b2b971912870fcfcac2a94dbbd78f57e873b2de9299998675e1d64caf579575b961108a6b1745b63ec974f0a72fd99a18e2d6161006d643f3900be3626 +EBUILD lit-19.1.6.ebuild 1035 BLAKE2B 06b0acaba611a8e9270353c3edf7453b3d9c61fdd619100f9b142503ce0ca512908e1750634be2f1676d60dfd1e41fad5fe7db8974f79135a2cfa971e209576c SHA512 ff5ce2b2b971912870fcfcac2a94dbbd78f57e873b2de9299998675e1d64caf579575b961108a6b1745b63ec974f0a72fd99a18e2d6161006d643f3900be3626 EBUILD lit-20.0.0.9999.ebuild 961 BLAKE2B 7c75d2a5e698c207da7c898058a4773c24a77586386354e13ab2252ea403fc4d756ad1961857174ae51b531e004ed7b0dcd9a3f262a2df19e79387ab78eaa8d2 SHA512 afaed5a064cce4c1366050caee4ddd8bb744d0933abc06a0297f7f96ad80c82b76dc3aff344b00de17eb4a1d4d93f98ccae0dac8dc75d572120998eefd731186 EBUILD lit-20.0.0_pre20241207.ebuild 961 BLAKE2B 7c75d2a5e698c207da7c898058a4773c24a77586386354e13ab2252ea403fc4d756ad1961857174ae51b531e004ed7b0dcd9a3f262a2df19e79387ab78eaa8d2 SHA512 afaed5a064cce4c1366050caee4ddd8bb744d0933abc06a0297f7f96ad80c82b76dc3aff344b00de17eb4a1d4d93f98ccae0dac8dc75d572120998eefd731186 EBUILD lit-20.0.0_pre20241215.ebuild 961 BLAKE2B 7c75d2a5e698c207da7c898058a4773c24a77586386354e13ab2252ea403fc4d756ad1961857174ae51b531e004ed7b0dcd9a3f262a2df19e79387ab78eaa8d2 SHA512 afaed5a064cce4c1366050caee4ddd8bb744d0933abc06a0297f7f96ad80c82b76dc3aff344b00de17eb4a1d4d93f98ccae0dac8dc75d572120998eefd731186 diff --git a/dev-python/lit/lit-19.1.6.ebuild b/dev-python/lit/lit-19.1.6.ebuild new file mode 100644 index 000000000000..0bc978b6c9d2 --- /dev/null +++ b/dev-python/lit/lit-19.1.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +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 ~loong ~mips ~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}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + 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/nbclient/Manifest b/dev-python/nbclient/Manifest index 013a042627c3..f95cda0fa128 100644 --- a/dev-python/nbclient/Manifest +++ b/dev-python/nbclient/Manifest @@ -1,4 +1,4 @@ AUX nbclient-0.10.0-py313.patch 1379 BLAKE2B 3dc2b408b3343b0200244ac33691857347f5fbfcb4543bb25077c4d353e06ec4050439ee45ae8582b62da2805aeba1aeaf4c3dca5b0a4011c78bc30f646150d7 SHA512 08d20f2366229fc44e0fc4356c49e61b45ba075d293606d6eec4a4d1f9a6da4876f6f300d6279969432810fdae97c1491682eef8f6d96d030299e1278148d599 DIST nbclient-0.10.1.tar.gz 62273 BLAKE2B 0a268e4078af3807b6795d5b6dbbc572628d891d42f4ddeed3decd06d471cad59ab903e652be6a7f1e00a07cea3745cd989c62674e937934a6a696dfd24eefa4 SHA512 8c5b52aa367f255669fa7ad248d45292dd0e3589e23e381027a093c9fc57280eb296f453c2bfc3c57969056846a0caba81e57feaad1768e70aff006df4b85324 -EBUILD nbclient-0.10.1.ebuild 1438 BLAKE2B 03e4b4d44ba536e4d963019f11a3df199ad8d8e4bfffd123f3f12c0a090102d530d35c97e740ebcd6e2e414a5fcc28971ba05323d2ccbda8366a43091ce3e487 SHA512 ae6233a65970a4a87faa67813e5bd81025f04d0f12d18e08c23e8a3d08b662e82106cf7b4286417f680126ac44b34ecd8f86b066c86486ede7e57a839dad189e +EBUILD nbclient-0.10.1.ebuild 1490 BLAKE2B 08e58ed6c6210411bb949c6d2f85df6a8d6fa0634b17b032daa269a8d1c2795e0eea228d749709b753ecd9456bab30d1ea1ef797b118c984ede1c0cc6753ac10 SHA512 718c5bb7ac6fc89bb5b6eddfb137a640d35684228c803a36a8d75aa6895297cc9900570ec02a5e02b48860b63b9099322d96750f5de6b5ff155db931e266569a MISC metadata.xml 405 BLAKE2B d1efa5f7bb2a959bdbc6093b1bd3930e6cdb9bffbe872c6775c15dfc1024ae24d6bcb4651c8e1fb06242b17d6a86f683de3b528bbf1a60b5656a90c1f4ac81b7 SHA512 5b0de690d37dd5928e3bfd0b380336d154cced094e342b41dfd16d0caddd2b792a2158b209404a36461cf4d1b12d836024eae2aedf15093b90f4e363382b38bf diff --git a/dev-python/nbclient/nbclient-0.10.1.ebuild b/dev-python/nbclient/nbclient-0.10.1.ebuild index a889033b9b57..33919d855b04 100644 --- a/dev-python/nbclient/nbclient-0.10.1.ebuild +++ b/dev-python/nbclient/nbclient-0.10.1.ebuild @@ -33,6 +33,7 @@ BDEPEND=" dev-python/ipywidgets[${PYTHON_USEDEP}] dev-python/nbconvert[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] dev-python/xmltodict[${PYTHON_USEDEP}] ) diff --git a/dev-python/pytest-flask/Manifest b/dev-python/pytest-flask/Manifest new file mode 100644 index 000000000000..a750782ce412 --- /dev/null +++ b/dev-python/pytest-flask/Manifest @@ -0,0 +1,3 @@ +DIST pytest-flask-1.3.0.tar.gz 35816 BLAKE2B 008c7f2acdc320dcab3e1745fb8e546a1f4cbdf75155db85f00bb70aea2eb3efa46d68f39fac114e3ddc3675b45d3d6d9a7bba8eb0c331c36e7f3d08c83c5da0 SHA512 4512e261cf6b284540ea9dda4cade52be57776c16f0cc7185755cbec294e526268753dbe663200a6ab3dee2ac0cc42df080d8f0045f88feac5de115fcc71ac21 +EBUILD pytest-flask-1.3.0.ebuild 594 BLAKE2B e4ee43c09ad6236c20de892ec990f4813aad2e8b881d754a83464cabeec9989634fe29673405807ae7e10b741d525d0fe4c69333edbad12cb02c82bf9626bf16 SHA512 a6835ec572fd2b3d1336bca21d87462b01cec75c781c202fb7ea0482c1a5b1ea2d717c898816912b8ee5d7137ee24d29e4974d6e76e4990aec2e55568003eb3f +MISC metadata.xml 759 BLAKE2B d25593bb8debad03c313b3ca441b60f38ea495757af12c9348d25e14bfbca037c4dfabda81f2f9a685796f507bc3a81f10597fa61ab4c17ae4448862c244137c SHA512 bd1b0c859978aa5705aa69dcaee06904f55bdb5fe29a17702653ff6b289ef891e6e0467e95fb54d1e613fd1dcf210b154a4c77a292a70cc1f18ded737a420871 diff --git a/dev-python/pytest-flask/metadata.xml b/dev-python/pytest-flask/metadata.xml new file mode 100644 index 000000000000..ec950627c5ed --- /dev/null +++ b/dev-python/pytest-flask/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>arsen@gentoo.org</email> + <description>Arsen Arsenović</description> + </maintainer> + <maintainer type="person" proxied="yes"> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pytest-flask</remote-id> + <remote-id type="github">pytest-dev/pytest-flask</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild b/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild new file mode 100644 index 000000000000..b8519593d805 --- /dev/null +++ b/dev-python/pytest-flask/pytest-flask-1.3.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{11..13} pypy3 ) +inherit distutils-r1 pypi + +DESCRIPTION="A set of pytest fixtures to test Flask applications" +HOMEPAGE=" + http://pytest-flask.readthedocs.org + https://github.com/pytest-dev/pytest-flask + https://pypi.org/project/pytest-flask/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/tempest/Manifest b/dev-python/tempest/Manifest index 767e749c1904..b5e8147618f2 100644 --- a/dev-python/tempest/Manifest +++ b/dev-python/tempest/Manifest @@ -1,3 +1,5 @@ DIST tempest-41.0.0.tar.gz 1151830 BLAKE2B 6c732647f49a07d1ae747a4f286779b21c1c64f046a8542cf3f067f79cc839d99fcc6eced01162f5e0415e803c8a2ee0a0e5e5ec92f1088736cff3b341874b9f SHA512 aa5065dbb7431b5cf5d93075083e74eb6c811c759f109ac9ceee7cc45240b84c091f84542a3455cf686f84e359a17f99154ec417ee7003bb01c7ef191f6dcc27 +DIST tempest-42.0.0.tar.gz 1154522 BLAKE2B 5ff8aad2a131034507a99da82a7c279490341e4186f50aaa49498e3da697bc48ed3a61809207440d4c0a8af7ec9a487415905bb7a345df3f1e3ef5c7bca98ff4 SHA512 dcf546f08b309b9ceb08337e39b7931a3c96a591cb2578e3727b42aa74a85dd0c218cebd6708bd9592e3a39a845ef692a01df434a4f147289166c88996d11d3c EBUILD tempest-41.0.0.ebuild 2217 BLAKE2B 31ea6fc954dace54b8a7a8c14243f8bc7b8cd1b8f4dad538686bde115487e9957d2d306966a1df6728b3bb64d8d720f6b6164318ab035b7b1897025cffd45a71 SHA512 af4106625f9427ee94e176c265f229993352f9cd7a665e28ec37adc51e4ba14f64e3aad35f9fb0b0bf2ed77caea771b102bbd7187abd8276a13552d70811d32b +EBUILD tempest-42.0.0.ebuild 2220 BLAKE2B 5e7f955a93921c8c33ffd4aa326890c88322d9166aae5e21df606c7d2c84bd17bf1a19f554ee7fc144ab2a41ed84c41aa5fca0185acba915e24d44a7988b701a SHA512 31b28851574b9e033426f1c2de9b2871f54603a772e7338cad5052df1e0698747d8ebbaa18cfaba417582e6bfb1674190056afe4772d414f4a42884e194279ef MISC metadata.xml 442 BLAKE2B 30b474d10a59f53672390e029ffaf894cfe52862af42814ca09500372d4c94afc596177100b9ba69cfd12965e98809de363527d9db345c3b4cf499eaab0375f9 SHA512 d84466ecac31486c92a6c5f87089616b65a1f3cbe9447c3382021af57bec3964a80d4d4421783560528e80e70afb4f4ba604bf2a4e23ac7fcbd873ef3d789859 diff --git a/dev-python/tempest/tempest-42.0.0.ebuild b/dev-python/tempest/tempest-42.0.0.ebuild new file mode 100644 index 000000000000..47cf9fe84171 --- /dev/null +++ b/dev-python/tempest/tempest-42.0.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="OpenStack Integration Testing" +HOMEPAGE=" + https://pypi.org/project/tempest/ + https://docs.openstack.org/tempest/latest/ + https://launchpad.net/tempest/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +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/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}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.16.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.5.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}] + ) +" + +src_prepare() { + # Small subset of tests, which fail as result of not using specific + # testing environment. + rm -r tempest/tests/lib/services/volume/v3/ || 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 + local -x OS_TEST_TIMEOUT=300 + stestr --test-path ./tempest/tests run --concurrency="$(makeopts_jobs)" || + die "Tests failed for ${EPYTHON}" +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 190cb6f334db..3d2c4e7c67cc 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,5 +1,7 @@ DIST translate-3.14.1.gh.tar.gz 1174769 BLAKE2B 3be39dbf964307ebaaca651f06683ecf67e3aaad9ea3774a68190f117867e8a5dc8ba732242fc5e34d53e629474bc038e2dbb2b8383fb914c0aa8325a6a3ac39 SHA512 4052c2062934720b347723a88f2a9fb187c03c064efa88a95992860b196637ed805e2c00986f0337253f56b3ce9f7e064ef33c12f9ba3da4af01b10257449c30 DIST translate-3.14.2.gh.tar.gz 1175450 BLAKE2B db13e59036bd75a62847c68c4e2633a17152def48ccfd1d36531a0325b4b5d819711dab1cb3cfc23abc2e7201b348836434428ed155e6e593273ff8750038faa SHA512 7ae64bd93459b29e6a341ea8ded2993e02e277dbba48a0638eda28fff4dfcc9b490d0a669e277cb75c395f385e5a54feb0665919c27b1ab7c5cffd0add109d27 +DIST translate-3.14.3.gh.tar.gz 1174793 BLAKE2B 9aad67c2bc390083dcacca53a41b99adeff679db4d576c054d8298da0e5114e5204128c94ee924cf4e5851378b3cec7b99d52b2dd12c5ece86562d45d05c205d SHA512 6f584ea46aceb4080eda2b05e3fbe51d76667d8afcac8da4e0b7644965aa833617db031329e315cbb18c6194e289a9054f127814372e97535bc40d765d65316e EBUILD translate-toolkit-3.14.1.ebuild 3179 BLAKE2B 025da87b5afea5470f79e3328c77a8b3e4d3afdb5787f6bd675d9168b26e08a1386bdd1f4d55ceef4e13fbae3143fead7f15d480f779274cd076d11f57b3e9ca SHA512 3cf541d46de5241a74b9f6fe9479b1c0effc6a77ecb5ae09a5af457bf19ff6e8e53e96c85431afb502e5977e77ba753ed3d00987083e215c76fd38cc53b798da EBUILD translate-toolkit-3.14.2.ebuild 3324 BLAKE2B ab9fda0e1e2dd6c38e833d93c6df6a85df6dad6915d8e6eb43b8853ab6456c89a60d6ebd42339b4366bec7e90624e75fb7fe4f6fca119780ca44945c766cf754 SHA512 590aeded4c422e39f16648d2f789df447098d66f804be8173588d5de6a43a2f63762c61122c67a453c80c2872e994b7f2c02bb758be7e12a91a3ec61370dbe62 +EBUILD translate-toolkit-3.14.3.ebuild 3324 BLAKE2B ab9fda0e1e2dd6c38e833d93c6df6a85df6dad6915d8e6eb43b8853ab6456c89a60d6ebd42339b4366bec7e90624e75fb7fe4f6fca119780ca44945c766cf754 SHA512 590aeded4c422e39f16648d2f789df447098d66f804be8173588d5de6a43a2f63762c61122c67a453c80c2872e994b7f2c02bb758be7e12a91a3ec61370dbe62 MISC metadata.xml 756 BLAKE2B 06f64f258d362954f99f7e9eee241eb3dddc6b00b9069df2ad977d28b5cf06f9c8ee2246ee5958600b5ac86297968d7aaced6b6420dca4ed507c441c58c61ca9 SHA512 80374c40513ca450f97e3930929c1450e7438ea15830e60937952a6fccfd999675f2ca2056c5aa4e287ba256c6ec08a09d8f7adb8b2c5af8ca0cd595f34acd85 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.14.3.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.14.3.ebuild new file mode 100644 index 000000000000..5be60825d8af --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.14.3.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +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=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + >=dev-python/cwcwidth-0.1.9[${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}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +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' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + # gettext 0.23 + # https://github.com/translate/translate/issues/5436 + tests/translate/storage/test_cpo.py::TestCPOFile::test_wrap_gettext + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.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 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + 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 +} diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest index 1a63092cd5d2..a424ed503305 100644 --- a/dev-python/yara-python/Manifest +++ b/dev-python/yara-python/Manifest @@ -1,4 +1,6 @@ DIST yara-python-4.5.0.gh.tar.gz 39301 BLAKE2B 9bee247ef21b6e2e576acbac7cfcf140fd3b1ab992affc019f9ce290e00809e397d5057b9033f53fcd94885e855e783e4c43835850c9e6dcd57d74661ba8380b SHA512 b4f091bff7fd3bcd63e7f9f0a765aac7bdb3f17a1bc4b163687ae9ca21048194d90cf2bf1165998edb9953b83e022939179c51de59862a456676f099de69778d +DIST yara-python-4.5.1.gh.tar.gz 39419 BLAKE2B e89677bd8b857e9c7b40b172311245ab7cc2149bfec6de09905494645d65abd67b1a41978101795ddb9dcb9d4344c3a4ffc23c96291580f17f59cdabe66a1d59 SHA512 fb3d78cea58a5dcb21287d5211805ef7097c07b9117e4fe78a7e56b40f2520950f0e8d6f1eb3c4253a454e10ca782c3826c19613bd17677bef491ae91f9f9d2a EBUILD yara-python-4.5.0.ebuild 910 BLAKE2B abf64728f618945644db1b9dabc04c882a24571f05a1416c7344df5ea9c4d5b2680d6857726fd1e5640114ca1fd8f57576ef432bc3bf31a90e6c6f9cae185e35 SHA512 ea4bba09165f4bf3b98b4b97326fa8e7e46ba42e3f972283bad11f0a38a11dd5df776a50e2d2cb45d34dbd02806ac2f339225d3641efe9afe7e9c7c5bd0c486c +EBUILD yara-python-4.5.1.ebuild 899 BLAKE2B d2ad7d4e724dc0585768008d7e9e8ae20ff5607148a2a40a78aad970b3146659685ae5c0714d7bd217a0872f2ede5fccf667b2ccee157f35d12de6c4855b14fc SHA512 2c4f524a31b6f0b92df91e8d04295de2acb8d672710d7b43508d86ea53f3652ce681c3e2dd4cd11ea301c2d9642ae2127697d00258b164ccc389ea9d98548533 EBUILD yara-python-9999.ebuild 912 BLAKE2B 3939e8490e8854e4e64880afb8b9338b05a3b2fb7b71d3b8468b45b4e19270e5ad898006188405ef24da7a42026f7d18a6468225686d85a9d67a31d9e345647e SHA512 78c27faf6554db4176aa524eb249a6eb2c0d63ecc08f07bd8ed7190c2016c986c1d9c2c0c9456b78bf13a6f18629e35c9480888ee3c63fc456e835504398ffa0 MISC metadata.xml 868 BLAKE2B 45f55060dbf7936f5004b8b6b9332ae01fbe8f25c008d6b272245ae3a21522ffdb1b3d11a338fdf31300aa274c4e24cd05ecdc62ad0b1e757188edf174c6e27e SHA512 ab67d86f6deb877d1f5a22ec36e381d7cdf62ec0634dbfd526ea2b58a5e4b9d6d6e2f06ead9cf7e8d4cff463bdd3486992350d94715d7b59c40c746ad9184e22 diff --git a/dev-python/yara-python/yara-python-4.5.1.ebuild b/dev-python/yara-python/yara-python-4.5.1.ebuild new file mode 100644 index 000000000000..8d9384a3f704 --- /dev/null +++ b/dev-python/yara-python/yara-python-4.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="Python interface for a malware identification and classification tool" +HOMEPAGE="https://github.com/VirusTotal/yara-python" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git" +else + SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + cat >> setup.cfg <<-EOF + dynamic_linking = True + EOF +} + +python_test() { + "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}" +} |