mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
Compare commits
314 Commits
099038ddd4
...
1d194be5f6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d194be5f6 | ||
|
|
07e6f05df1 | ||
|
|
e0147566df | ||
|
|
f86a0f12e5 | ||
|
|
4e2c1a864f | ||
|
|
f971d2d862 | ||
|
|
425ac65dff | ||
|
|
2b305a5d1f | ||
|
|
a7f116c2e4 | ||
|
|
894ae733f5 | ||
|
|
1a4e6b552d | ||
|
|
3c33a11c47 | ||
|
|
20aa91c5e2 | ||
|
|
1ec4c7d3de | ||
|
|
ef476022d4 | ||
|
|
19ad33cd0e | ||
|
|
50767c91ba | ||
|
|
455864689c | ||
|
|
bfc0725215 | ||
|
|
7731a2618e | ||
|
|
8e320a1319 | ||
|
|
7b7f6dbac9 | ||
|
|
eb6976caa1 | ||
|
|
6d677204fb | ||
|
|
19f8e7374c | ||
|
|
42eaa5403b | ||
|
|
ceb046eb9d | ||
|
|
a1569704f1 | ||
|
|
f53f0a7bc9 | ||
|
|
00997aaa64 | ||
|
|
329ecec89d | ||
|
|
aa3e0fb07e | ||
|
|
7d03691472 | ||
|
|
6271a7f672 | ||
|
|
261123346c | ||
|
|
0480246a1d | ||
|
|
05ad2d97f6 | ||
|
|
05281372c0 | ||
|
|
c439fad401 | ||
|
|
442c146580 | ||
|
|
d2eaa85deb | ||
|
|
e526750e43 | ||
|
|
cdb7f53e89 | ||
|
|
e5194db1c3 | ||
|
|
39a645a3ea | ||
|
|
b555cfb97a | ||
|
|
e5ad74655b | ||
|
|
5e1df02d58 | ||
|
|
6b604399b0 | ||
|
|
d8887c5ea2 | ||
|
|
6204c8f74f | ||
|
|
c148419da5 | ||
|
|
1dbdcd4f1b | ||
|
|
38bd67bc18 | ||
|
|
28599a5d5a | ||
|
|
cc07de0cd5 | ||
|
|
86bbfad7dd | ||
|
|
f4d635f6fb | ||
|
|
2c944e9b0e | ||
|
|
713a311435 | ||
|
|
f738bd7108 | ||
|
|
5187dbb214 | ||
|
|
f5763c77c1 | ||
|
|
022a057871 | ||
|
|
604920c16b | ||
|
|
dcf4c3f73e | ||
|
|
765a9f8c14 | ||
|
|
3db05031b3 | ||
|
|
1fffc942ec | ||
|
|
571f30f965 | ||
|
|
e575150e44 | ||
|
|
e645004ffc | ||
|
|
509f458d88 | ||
|
|
173ea62061 | ||
|
|
f59e012777 | ||
|
|
044c9cb879 | ||
|
|
0b906ee0ab | ||
|
|
96f91a335e | ||
|
|
b17e0a42f7 | ||
|
|
372b9e99c9 | ||
|
|
33b2329839 | ||
|
|
afa7a93467 | ||
|
|
63b4fd3a21 | ||
|
|
6ad1913b9b | ||
|
|
f9a31c84be | ||
|
|
8c9ba41b3b | ||
|
|
c2d80a6a38 | ||
|
|
b752bb4ca3 | ||
|
|
69d68039e8 | ||
|
|
4c8db9a495 | ||
|
|
3add524e1e | ||
|
|
71baee3602 | ||
|
|
233574431f | ||
|
|
5b7901c34b | ||
|
|
23c6f5a150 | ||
|
|
4eee8c7ad0 | ||
|
|
dc85cda5bb | ||
|
|
c8d4d6eaf8 | ||
|
|
3be7352ab5 | ||
|
|
2acfa0bd26 | ||
|
|
8da092d959 | ||
|
|
20e4d37d80 | ||
|
|
7d3ab27307 | ||
|
|
ca0ab7355b | ||
|
|
a3eab6f3f8 | ||
|
|
e488c51b02 | ||
|
|
0bba691f97 | ||
|
|
6327827088 | ||
|
|
164479691b | ||
|
|
67db133020 | ||
|
|
1f0ca5d605 | ||
|
|
41eafc1757 | ||
|
|
d1caea5a3d | ||
|
|
220e239deb | ||
|
|
63ad1e8e2b | ||
|
|
829d82fd95 | ||
|
|
6ad15a3386 | ||
|
|
723f185c0a | ||
|
|
7695538ebd | ||
|
|
f3109a0450 | ||
|
|
6d110b09b8 | ||
|
|
7910597dbe | ||
|
|
fc70afc75a | ||
|
|
6bbbd3a05a | ||
|
|
51bd4b07f7 | ||
|
|
db63f3cb67 | ||
|
|
46b005c9ef | ||
|
|
f55a87823c | ||
|
|
7747529f9c | ||
|
|
de1aa144fc | ||
|
|
62b88c2c1b | ||
|
|
ef7009e982 | ||
|
|
884d3b4bfd | ||
|
|
12d994c400 | ||
|
|
4d9ec58407 | ||
|
|
d0411a13b3 | ||
|
|
a5e1137ed4 | ||
|
|
5ea2eae992 | ||
|
|
88b5bdc3b5 | ||
|
|
a1d8f8abf0 | ||
|
|
7893812289 | ||
|
|
df5bbd2ad1 | ||
|
|
c0bcdc5319 | ||
|
|
dc18a3165d | ||
|
|
d58decf587 | ||
|
|
94421a3998 | ||
|
|
043ec1459f | ||
|
|
d7fed8c2ee | ||
|
|
d1941a3534 | ||
|
|
5f2a38f176 | ||
|
|
b6437eb1cc | ||
|
|
0c32b8d51e | ||
|
|
41810298b4 | ||
|
|
9ee348b2dd | ||
|
|
e62958721f | ||
|
|
b3a3489a7e | ||
|
|
28081e701a | ||
|
|
974dab558c | ||
|
|
bfbf790432 | ||
|
|
a159193a9a | ||
|
|
a5f9e2a606 | ||
|
|
4110632e32 | ||
|
|
0aab1482cf | ||
|
|
0265a49c7e | ||
|
|
25a5171dba | ||
|
|
aac781b1ed | ||
|
|
be8c7f75df | ||
|
|
ef59e7c8a0 | ||
|
|
1c71682b9c | ||
|
|
90a5fa971f | ||
|
|
a5f23b1311 | ||
|
|
eb88c39b85 | ||
|
|
f17c8531fe | ||
|
|
f685516a21 | ||
|
|
fae6b4f22a | ||
|
|
573a90d70e | ||
|
|
71485db987 | ||
|
|
7cebfcc022 | ||
|
|
2f0b5e810f | ||
|
|
4877f775f0 | ||
|
|
43d1051d09 | ||
|
|
db1695c63e | ||
|
|
d8205ab93a | ||
|
|
1ba18dabe6 | ||
|
|
5b6754a667 | ||
|
|
6ab5e5ca68 | ||
|
|
73da86c0c3 | ||
|
|
4e4efa96db | ||
|
|
3f2ece25f4 | ||
|
|
4343f86310 | ||
|
|
5718d5ff37 | ||
|
|
b7b83f5686 | ||
|
|
f061e754a4 | ||
|
|
521cc38a34 | ||
|
|
e902f677f3 | ||
|
|
3c01f567fe | ||
|
|
9f6ad96726 | ||
|
|
12eda58851 | ||
|
|
b28432338b | ||
|
|
d3e8213e49 | ||
|
|
c018733ff0 | ||
|
|
3be828d5e8 | ||
|
|
5f5637b05c | ||
|
|
3631b045ab | ||
|
|
443e1f6bf1 | ||
|
|
48f069c5f2 | ||
|
|
c8769ac07f | ||
|
|
832197f2a6 | ||
|
|
600e5e6f85 | ||
|
|
a13f38976b | ||
|
|
3b30cebf10 | ||
|
|
7d4445749e | ||
|
|
23ee44f2bc | ||
|
|
4bb447e4c8 | ||
|
|
7b42d07e81 | ||
|
|
a0124e6cb5 | ||
|
|
77a7ac83ac | ||
|
|
ed979291ef | ||
|
|
56ef4ac300 | ||
|
|
2b70886bf9 | ||
|
|
d67719fba2 | ||
|
|
6f652f0311 | ||
|
|
ee415fd29e | ||
|
|
6087a492c4 | ||
|
|
e81831ca41 | ||
|
|
10efd9b601 | ||
|
|
9e92489063 | ||
|
|
77a34a6a74 | ||
|
|
4f6a124d7b | ||
|
|
6e289b7a6c | ||
|
|
d3a36e71c1 | ||
|
|
24ed37bcb8 | ||
|
|
f5476da34b | ||
|
|
c995536b5a | ||
|
|
18bab80ca2 | ||
|
|
6b1c66298d | ||
|
|
406490ed55 | ||
|
|
d300617e58 | ||
|
|
59d22a9f09 | ||
|
|
bb5bf2c2ee | ||
|
|
6e023225a3 | ||
|
|
9e591da6d0 | ||
|
|
e8edca3391 | ||
|
|
5cf7528271 | ||
|
|
97f24654f7 | ||
|
|
4d72865930 | ||
|
|
4e6fd27898 | ||
|
|
ce8c7b9532 | ||
|
|
eb6d9bf2dd | ||
|
|
836b193898 | ||
|
|
9a545ba88b | ||
|
|
1f70111d81 | ||
|
|
e7880988f0 | ||
|
|
74fade2e70 | ||
|
|
ed526f7a52 | ||
|
|
932ce0b8d2 | ||
|
|
9d8621969c | ||
|
|
97986489a1 | ||
|
|
54a7cba9be | ||
|
|
c3aade759d | ||
|
|
3e410a495f | ||
|
|
0bdbde5d64 | ||
|
|
2d16f86226 | ||
|
|
d49b3ab24f | ||
|
|
68e8ed26ed | ||
|
|
8ded9f0ba6 | ||
|
|
f2cfa14f2b | ||
|
|
4e22c0baea | ||
|
|
679ed9d376 | ||
|
|
04354fa3f6 | ||
|
|
9d32247f8f | ||
|
|
75c2cb66ee | ||
|
|
ec4d949df7 | ||
|
|
ecf14db28f | ||
|
|
0be82185b8 | ||
|
|
794ab464df | ||
|
|
cb836e13f2 | ||
|
|
4add2148fb | ||
|
|
57615c2b65 | ||
|
|
f4dbdaac66 | ||
|
|
07cf5a0416 | ||
|
|
58c407c61e | ||
|
|
81af608343 | ||
|
|
7daaa2ebba | ||
|
|
3fcc535f57 | ||
|
|
2f6128e862 | ||
|
|
d48cca39ad | ||
|
|
ff52881d7a | ||
|
|
b7f6887b39 | ||
|
|
987626cfec | ||
|
|
a34e4e5c42 | ||
|
|
57a2327c35 | ||
|
|
8e5f4a78ea | ||
|
|
dafe77473d | ||
|
|
41721f0119 | ||
|
|
e9c0fce60c | ||
|
|
44fba43a0b | ||
|
|
dda802ab6c | ||
|
|
36bd314147 | ||
|
|
1cf6c119ad | ||
|
|
a496565383 | ||
|
|
e3a9afda45 | ||
|
|
df019fc606 | ||
|
|
6e2d2729d0 | ||
|
|
ad115735f6 | ||
|
|
e479b72b67 | ||
|
|
e8b9a82d23 | ||
|
|
85277626fd | ||
|
|
31f633bde3 | ||
|
|
690add7110 | ||
|
|
2459b1689a | ||
|
|
104a9ed12a | ||
|
|
ca55727359 | ||
|
|
f70417aa67 |
@ -1,10 +1,6 @@
|
||||
DIST aws-cli-1.42.50.gh.tar.gz 2993375 BLAKE2B 06d4a93f50332f86760a3580d172e7ea687e78494db7f16e926ea13a7df3bb2230a3857e45ced809d3dbd9e46120438b2aa6e269f274668a6923cb75b047b9cd SHA512 e68c94952e04c7b35c3af926de99b691cfbbe596b0f9d8a0df5cb4d8c128f5c58f21006b73faa7cd0d18d273daa5136a76b36cabb7ba1e1d12d6cb8b7cef0031
|
||||
DIST aws-cli-1.42.55.gh.tar.gz 2999565 BLAKE2B d7b1cf2368b998e9ad156fbdc220a2e322ffddebdaad8eb769344a31e95fcb37dc6db20606bd1379dd2ae08c50245011fd9570de4c778d4927563e893de2196f SHA512 9d65e19587f5b273afc7802e7fc97a3262ef24a1c07970359939005383de30d66b9cb30bdfc13cbe7dc3ccdf181bb4c15ff7e34a7987d203bfc285cba66cccf0
|
||||
DIST aws-cli-1.42.59.gh.tar.gz 3002692 BLAKE2B 12fb8d42f378ac77b30cce65efb2ce826aaf2263b2568bc45e80425e439e317a5a1031b383cca0eb1a63325c13c5357e67ded75345b05d138d4b60dffcbc4d54 SHA512 dde7541de554b2f41d6f4e0c04541726a53d9804c6744d6231b06c5eba7736728eeaf5334eb9d2a6263c9dc33bb058b5281444287804213ab92d83c14a29d377
|
||||
DIST aws-cli-1.42.64.gh.tar.gz 2996272 BLAKE2B 91d3d259ab8a4dc0cec0735f1da99526bbf1711b6e3764094d6357f887a27bab9f67cffbc40f082022cd7a63072bb2ce5111f7442f3f784235121234bc4978f6 SHA512 ad4bf51d8dd459ebc6b8e04d80e89276e4f32b7ab53d90b3bb355908d9264289b371ada7cb38ef19dafe15e16a90315c449810ef2555cd2caf6ec124985e9bd0
|
||||
DIST aws-cli-1.42.69.gh.tar.gz 3000029 BLAKE2B b8ec08f94021b437d5b7ac8626dacb9165cc5906c2fed6e94a379568ed6004c1bfd207a110c9f9d80ceb58d28ce8be2b21f5275629f5a74e4829762a498e5737 SHA512 07fad7432464566aaa4f2c43b6e5b09bb97aa313a4646ebaf171edb11dc58cd25b3e12a4698b5786cc02a96176480102e1d0794c74988a5587f6b218771a556b
|
||||
DIST aws-cli-1.42.74.gh.tar.gz 3005364 BLAKE2B 1550c3939370bcbc4f0eb50ff7eb22b20a270afdd6f4e796b7a9e00fd2d8e8f71a3308c435f1f33ae91a3ab555f6278895347103e38c9f421e3138c59689adc9 SHA512 eedd3066d7f9c3c1e9edf275ed842ed3bc34ddec025e0e2ea7a0adb81b663067ca4d5159b5399fcbbbfa6a4ecea06a6e9eb8e770141616c09380d059e6f35c6e
|
||||
DIST aws-cli-1.43.2.gh.tar.gz 3021667 BLAKE2B 96e997a173fa03330ac188874a2f2763c0d5e365e2b8a6d9eeeec7cbc54a03434efdf98bc11c91555bc2fe36a524f4338f308d7fcee53007645c9434732ee654 SHA512 a90b3523b7a10eba1c97fa0b4150619d0c67aef79e30da7d5e95f88d0a99e1d0256d9871ec4a2e19860b7a7afc91cbbd5bd57322e09041c8d2aa123295cb5f23
|
||||
DIST aws-cli-1.43.3.gh.tar.gz 3022111 BLAKE2B bbe46437678f26e1b8060baf5b1205de32d5351011656177f976450c0ed76e7e11959a6fa2e9bc4315f3acc5aebaeb026cbdf20f3de3234c48d6a625f385c956 SHA512 d3e24f3f53a0c341186235b1f5580049877df3fd2e5e1242e73d1887f045d24aefce3aefb0f53b92ef06a56f93447de4f1de471851b9091db3bfd6629e49e88c
|
||||
DIST aws-cli-1.43.4.gh.tar.gz 3022320 BLAKE2B faaa4d355cca86d19e71c91e2840c166ecdc653b08c7de2af38b17d14a950dfd2d37709df4bb765d8fa37f699b770dbd138b9d0817600a3f20a0da9a76242222 SHA512 30f538629efb72795a9f4c87cca70a84af38770a3d9fd7bc00a088854e52b81b2f27cc5e6b7104498abb1d718664adf155f78dd3f14dcf07e8b2cb56210a7226
|
||||
DIST aws-cli-1.43.5.gh.tar.gz 3022688 BLAKE2B 9246ea7ef59101488d290de46e109516c36fad8444b90bd2e79692fdd6e26944839cc37be41a8e128f9ba27219a2ac711692552d196da5cdb59385f6b4ff3fa5 SHA512 511c02db2c90d60cb383684b37fcbf9cf42ba61e0e5a952a9974368dc55ef069d4149c39dcddcac1db2d8ce249167ae7e4c8dc2c04f9dfda80d9cc8d299f4634
|
||||
DIST aws-cli-1.43.6.gh.tar.gz 3025578 BLAKE2B 33fc6b437c9e2b1717bf51218fb81bcd612eba55fa6e0a553a05312d20484987dcd6e468b4df8fcec09b0496b078dacede13c6b0e4133016e83d625de65a2572 SHA512 c871ad2933d4116e8514aec75412c2902bc46a6199c306fe50e0cc0f6cf3c75cb029688916f1ffcdb9be6cf698e5d125a6863218064ed555996d7d253acc379c
|
||||
|
||||
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 shell-completion
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
|
||||
|
||||
# botocore is x.(y-2).z, sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-forked )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[=0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
"${serial_tests[@]}"
|
||||
|
||||
# flaky (some ordering?)
|
||||
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
|
||||
)
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
newzshcomp bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
||||
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 shell-completion
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y-2).z, sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-forked )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[=0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
"${serial_tests[@]}"
|
||||
|
||||
# flaky (some ordering?)
|
||||
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
|
||||
)
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
newzshcomp bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
||||
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 shell-completion
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
|
||||
|
||||
# botocore is x.(y-2).z, sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-forked )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[=0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
"${serial_tests[@]}"
|
||||
|
||||
# flaky (some ordering?)
|
||||
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
|
||||
)
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
newzshcomp bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
||||
@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
|
||||
|
||||
# botocore is x.(y-2).z, sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(ver_cut 3-)"
|
||||
|
||||
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 shell-completion
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y-2).z, sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.15.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-forked )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[=0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
"${serial_tests[@]}"
|
||||
|
||||
# flaky (some ordering?)
|
||||
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
|
||||
)
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
newzshcomp bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
||||
@ -31,7 +31,7 @@ RDEPEND="
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
@ -4,3 +4,5 @@ DIST libarchive-3.8.2.tar.xz 5853628 BLAKE2B 4f5ed9afbedccf0f754b38743259a62f45d
|
||||
DIST libarchive-3.8.2.tar.xz.asc 659 BLAKE2B dc7183efc8e96a13d519d250194a9044c390042e1abc2257c82bc5c43453ad9fdbc5872643b6c008e8f6762356ced64304ed90c60edab034a4ef1ce3d91d26e0 SHA512 e1705acf226f14d9143efbc0b1649fcd2e10706966d21bf0c54f702db7eb64332b9f3927a7fa6c8322cb1a929af81bc584c1e6111c4d3c6523aee8ed7a8b4e1e
|
||||
DIST libarchive-3.8.3.tar.xz 5990552 BLAKE2B 5be5f0e98f7582e2a34a43dd9217644defbd69532474fc07b3ac46ba7820c19dbd28cd691c1c798aed02643bbe68781cecd564127781c9b49323b9b54cebb32c SHA512 9eb6331da6cb96734a56166d2a507cb192967a57b041c8ea2e0eb295373abd72b4abaa8b0a3100d4b73ca00339569bb7b7789f882671619465f0a566750be920
|
||||
DIST libarchive-3.8.3.tar.xz.asc 833 BLAKE2B 583c3b6b7626dc3de8a2e23cce23ed34fcdcd2f854bab61d0ecdae41414ff021733ceedabb006b7f128462f12065af0e66f4215fe060dd1f720de11bccfa71c9 SHA512 239e6ebaaffefee1d12f185e4e033e333feb81d5a5b985d9bfc33f883f6cbb7e7d65d480286cfaa4313e6139252eb7f3a7a1e095c251477c3a49196312c6d9a7
|
||||
DIST libarchive-3.8.4.tar.xz 6065584 BLAKE2B c6cadc1dc97f79a379fa1f2fae4d791fade4513796066de8bfa32e40f8b5dc1efb4c46a9f0aefb62510c5ab428599f9cbda508e89b67cd932e160ee5377ee0e6 SHA512 088f3726de7f8e2f4b2ac6cc9c01338328493de19f5b0645157114ef3b7a0fa5213cb6d64123736cae83354a2137bba9e2187bb4208cb7848e2566c65b100489
|
||||
DIST libarchive-3.8.4.tar.xz.asc 833 BLAKE2B 2b4edd5f9d5d5ca9c0f7276b9891f95621def922ceea043520460fc731e588d1acf8cfc41aa8a4df8a10285ca196411a17b886ef64722de985c7012af8adc024 SHA512 1ec7e73a5b0c02d236567f77812003276af9a499e774d2d6d322ed823a5a98f662a4dc6053eb471dcaa1317b2980937910a528f9c83d23c115a310175a23ad61
|
||||
|
||||
@ -16,7 +16,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 public-domain"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="
|
||||
acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle
|
||||
static-libs test xattr +zstd
|
||||
|
||||
174
app-arch/libarchive/libarchive-3.8.4.ebuild
Normal file
174
app-arch/libarchive/libarchive-3.8.4.ebuild
Normal file
@ -0,0 +1,174 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit libtool multilib-minimal toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Multi-format archive and compression library"
|
||||
HOMEPAGE="
|
||||
https://www.libarchive.org/
|
||||
https://github.com/libarchive/libarchive/
|
||||
"
|
||||
SRC_URI="
|
||||
https://www.libarchive.de/downloads/${P}.tar.xz
|
||||
verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc )
|
||||
"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 public-domain"
|
||||
SLOT="0/13"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="
|
||||
acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle
|
||||
static-libs test xattr +zstd
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/zlib:=[${MULTILIB_USEDEP}]
|
||||
acl? ( virtual/acl:=[${MULTILIB_USEDEP}] )
|
||||
blake2? ( app-crypt/libb2:=[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
|
||||
expat? ( dev-libs/expat:=[${MULTILIB_USEDEP}] )
|
||||
!expat? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] )
|
||||
iconv? ( virtual/libiconv:=[${MULTILIB_USEDEP}] )
|
||||
dev-libs/openssl:=[${MULTILIB_USEDEP}]
|
||||
lz4? ( >=app-arch/lz4-0_p131:=[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.2.5-r1:=[${MULTILIB_USEDEP}] )
|
||||
lzo? ( >=dev-libs/lzo-2:=[${MULTILIB_USEDEP}] )
|
||||
nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] )
|
||||
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? (
|
||||
virtual/os-headers
|
||||
e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
test? (
|
||||
app-arch/lrzip
|
||||
app-arch/lz4
|
||||
app-arch/lzip
|
||||
app-arch/lzop
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd
|
||||
lzma? ( app-arch/xz-utils[extra-filters(+)] )
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20251118 )
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libarchive.org.asc
|
||||
|
||||
# false positives (checks for libc-defined hash functions)
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
SHA256_Init SHA256_Update SHA256_Final
|
||||
SHA384_Init SHA384_Update SHA384_Final
|
||||
SHA512_Init SHA512_Update SHA512_Final
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/libarchive/libarchive/issues/2069
|
||||
# (we can simply update the command since we don't support old lrzip)
|
||||
"${FILESDIR}/${PN}-3.7.2-lrzip.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Needed for flags to be respected w/ LTO
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
|
||||
|
||||
local myconf=(
|
||||
$(use_enable acl)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable xattr)
|
||||
$(use_with blake2 libb2)
|
||||
$(use_with bzip2 bz2lib)
|
||||
$(use_with expat)
|
||||
$(use_with !expat xml2)
|
||||
$(use_with iconv)
|
||||
$(use_with lz4)
|
||||
$(use_with lzma)
|
||||
$(use_with lzo lzo2)
|
||||
$(use_with nettle)
|
||||
--with-zlib
|
||||
$(use_with zstd)
|
||||
|
||||
# Windows-specific
|
||||
--without-cng
|
||||
)
|
||||
if multilib_is_native_abi ; then
|
||||
myconf+=(
|
||||
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
|
||||
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
|
||||
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
|
||||
--enable-bsdunzip="$(tc-is-static-only && echo static || echo shared)"
|
||||
)
|
||||
else
|
||||
myconf+=(
|
||||
--disable-bsdcat
|
||||
--disable-bsdcpio
|
||||
--disable-bsdtar
|
||||
--disable-bsdunzip
|
||||
)
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi ; then
|
||||
emake
|
||||
else
|
||||
emake libarchive.la
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
mkdir -p "${T}"/bin || die
|
||||
# tests fail when lbzip2[symlink] is used in place of ref bunzip2
|
||||
ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die
|
||||
# workaround lrzip broken on 32-bit arches with >= 10 threads
|
||||
# https://bugs.gentoo.org/927766
|
||||
cat > "${T}"/bin/lrzip <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "$(type -P lrzip)" -p1 "\${@}"
|
||||
EOF
|
||||
chmod +x "${T}/bin/lrzip" || die
|
||||
local -x PATH=${T}/bin:${PATH}
|
||||
multilib-minimal_src_test
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# sandbox is breaking long symlink behavior
|
||||
local -x SANDBOX_ON=0
|
||||
local -x LD_PRELOAD=
|
||||
# some locales trigger different output that breaks tests
|
||||
local -x LC_ALL=C.UTF-8
|
||||
emake check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi ; then
|
||||
emake DESTDIR="${D}" install
|
||||
else
|
||||
local install_targets=(
|
||||
install-includeHEADERS
|
||||
install-libLTLIBRARIES
|
||||
install-pkgconfigDATA
|
||||
)
|
||||
emake DESTDIR="${D}" "${install_targets[@]}"
|
||||
fi
|
||||
|
||||
# Libs.private: should be used from libarchive.pc instead
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
# https://github.com/libarchive/libarchive/issues/1766
|
||||
sed -e '/Requires\.private/s:iconv::' \
|
||||
-i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die
|
||||
}
|
||||
@ -5,6 +5,7 @@ DIST python-3.11.13-docs-html.tar.bz2 8003127 BLAKE2B b0237bd1f874153045115d6e9e
|
||||
DIST python-3.11.14-docs-html.tar.bz2 8011943 BLAKE2B e193e5e76551098d83cc3c0379a41877581c2f9067912072d4678c0b3c44ce8ce84353adb427bc10702ca1fbd01ff67c44df870fc37ce79d28d908dd2c5b518e SHA512 2c1aa63388533c5a6861e1da16591323a0951843588518909a1916aba00fbbcd60be64be2feaf2b7de94e6d1167ba1006765473d8e27dfa80581abb7e23d2e77
|
||||
DIST python-3.12.11-docs-html.tar.bz2 8438004 BLAKE2B 2e94aeea57d0a75727896449da0f04843127aa467e54834ea1012fcd594b7f145c35341413f76b4c4ef34668f2ddc68b16b6df47350c4075b75b506ac7c586b3 SHA512 fd60319314dd9e8bd680ec034bd32137c65b21705f4b7f8995fb5137262229539b02c1d622b2f4434a529ce9b369c8062d2c119ed5843dc31bd9b0ba0976dd81
|
||||
DIST python-3.12.12-docs-html.tar.bz2 8444609 BLAKE2B e383c099285476abfd7a4dd33fbd16e591bc4d71411804dc445823a0de5635c35a05f6da5678d48c1343525bf2baa24ae9fe4e872719fb2f03aecf9ec9bbc8c7 SHA512 17ecc35d5f3012d6ad803e439c2e460307db51a36356b92943b91255458b1f45caab703af4ddf0df30cd7c0469deff8eed2f3a25b4912bc126f44f70e6b60eb5
|
||||
DIST python-3.13.10-docs-html.tar.bz2 10374297 BLAKE2B 5687cab2adf421942caa915037b46a3cd43c282ed375ebb82fdaddc9a1aeced1741000a8c991650f4570ef2032f6d731adc7673bfc2614552296d50edecef45c SHA512 4f60417b5be211d9e31857a012ae6da53e2a1c3d1ff14dc0561b7c406a4b328f17025ff084e615f1418895164e71159c798562ba4f1ec55e372a1f8ab1e24563
|
||||
DIST python-3.13.5-docs-html.tar.bz2 10372550 BLAKE2B 0333fffec526942bfe7c70135e6a3eb33ca0ab346427a1e16e0f0dfe09e6bf8ea50a9d760f305842770044b1d1394525de65ad6a2750746c81f2fcc342f566b4 SHA512 639ecac6b342ee7b62968a60d4c7815a0fc59320cf206202148fc0494f46ba690e39b684b311be5c75e1eedd34e1300053a3aa5e5d585ea6159539d9fe542781
|
||||
DIST python-3.13.7-docs-html.tar.bz2 10426777 BLAKE2B 47cfc1a15a78beb69811de863baffb948562e361f6483d79c9f2931075bab4343f73383350565bb1e789d6774d49bad7c55d77de1aeff6bde986c5f425566eee SHA512 724e1cd7cc64db7efcd872beeded4ba8b9b492ae2706de10372e7fc625fe63fc06dfac5dcbe742e9c8c7643f4ba5bbcadd5178e31b87cb60262cf286aa889cb8
|
||||
DIST python-3.13.8-docs-html.tar.bz2 10368502 BLAKE2B 494ab431b1b7c0f10149df5b0dbc668d390aaeca2f9f8d29a7c42216ada929a4c3cf90fc32476d87269baf1f71ab53861c18972af7f766e9b9d3ce34a53590eb SHA512 311cbf10dfe4c81546a17727423f114566055021c63393f58aafc035b4b2b34cf8f861d2a4c3046756391f1e9c204915f673254b010b405c19a764c4ead0ce14
|
||||
|
||||
24
app-doc/python-docs/python-docs-3.13.10.ebuild
Normal file
24
app-doc/python-docs/python-docs-3.13.10.ebuild
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P=python-${PV}-docs-html
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/${MY_P}.tar.bz2"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
||||
@ -1,17 +1,13 @@
|
||||
DIST wine-mono-10.0.0-x86.msi 84493824 BLAKE2B 013d38f30525295d83f430650269bdab12e73d8c7cf5084882eb7a4c4dd4fcca895128d51467154d94597ca67526696e55107bc8ed7418fc248ea2e20553195a SHA512 4238cef9a42b75fd8fc39ae042594266da971f00cb3f91d9bcb5e39454be7f9db403fd9f71c3d731fb692e5e25578a790723e2eac6a4cfbc34156e3c4cf4fb65
|
||||
DIST wine-mono-10.0.0-x86.tar.xz 38907080 BLAKE2B a7efb7e9e3c03a92f3fc2c66172a2597ab4febfbf23a98c20d9ba46c48f0b96f568b21ea61f43cfa0cbbad2557cfafd665b63f3115611f0df9dd75ab358ecf43 SHA512 e7e5867d34b64a9603fb919280d31cc3ae726fcfd22b4972bbfeda470aaddeb618b50f7d63b0a0ea15fd40f7d5e242c335bd84504a67d4e49b457591741acf5c
|
||||
DIST wine-mono-10.1.0-x86.msi 85491712 BLAKE2B f95777cc65ccd445aefb1f5e948505deab59654f588fbb88b782f0afb4c6a08df820401a49748f4887dc9a65667076c147c0ff100687d2be8cfd2035fc38b1e8 SHA512 51b740091b0cc33da30dac933796cafe10bc43891cafb087759711bcb6d1f649504de9b885db9b7f3da24e058f294e8ab3c8820d65c304214e4c0913b4446085
|
||||
DIST wine-mono-10.1.0-x86.tar.xz 41299152 BLAKE2B cbf2a513da869266d2cd953fb33b4fccc129fe051247b393558a399087329696fc821b16d17b89ec0c4724217ed252f9e5e29063981a8e0ad8dee8222026b25b SHA512 6b2e08840715ccb26c5d624ab47fe443d93adcb550df565ae344b963c25ccd12aae31932a259cdc36ed02754e2f77806ce9bc919362d34bf35341075db5b4da9
|
||||
DIST wine-mono-10.2.0-x86.msi 85497856 BLAKE2B 37c5aa18b7997ddf0ac5b22aebfc99f0be1d9b4a76b3d5b7f6b99da2a289d5b5b0b3f8b6d05766a2883e653736e6aa50e672900b306225cb168768a5d9b2ef9d SHA512 03ba4145964898cb3b02b0cce7a340e91f63552f04a5b35f0189bc7609b3afde491da245dd5a0d9c99300685115a77018f6e64617653dd1c880b395d0d59fb11
|
||||
DIST wine-mono-10.2.0-x86.tar.xz 39565980 BLAKE2B c0c2c063de47b484758dc315496c4c8d477273ce286ab5408fbdf8aae2cb8187160faec151c1ecfc18a90a4c6f3b36df9c78097ddc862ee6056739c556af4ff8 SHA512 47e9cecb9488f5bd35045bb3f4017519220e72cb192c99356f1bddf2b6c0453170f14308cd60d51c3aa1e82ec52cc3c266a8befa346310c670270abfd39f3a45
|
||||
DIST wine-mono-10.3.0-x86.msi 85515264 BLAKE2B 9cc4800695411a1de61c3b3e52d52edc2802fa7c99c18697e51cf200c284939e93434a03ff3227d6e8c652d046b30f38331f2ad3f11d6e0e9bf4f98d277d56e6 SHA512 fe8bed279d06522f8d0351b4026e6c24cda525f3911b6c7b900f49260e1027fd9f0504fa974b6af69262c5ddd02ee3eb24c0438400d0d33031c436e89e2badb5
|
||||
DIST wine-mono-10.3.0-x86.tar.xz 39584548 BLAKE2B a3a63b1e8cf072923512923ccd7419fbdb4c9747b0a3c29111d2bda36ab1fd95d0fd4283f74126cfe0c60e639ce3d173d69efdb3d97bf2b39142eb3ed3a27ef7 SHA512 fc67b9524b6b53e9a773bf514b7faab5b699fa4c10f457ddfb8ee564788e262c43241dbd64bcc427420da51ce83a89436f32f42b14c5867ae8a7a5c83960be5f
|
||||
DIST wine-mono-10.4.0-x86.msi 85490176 BLAKE2B 6179d3ca74733454bea62aa3beeccc01f02da7fea4361f7a5d776de34411dabf8e66b133d16bd171665202c66303a1fa798ba95745677899778ad5d7d5a1b6fd SHA512 239126b9fa3f003d6451e908b7d1db779172239471a6d207ee7790e23abba6b246e87ea6f97548ec4e968339370a295cd843e4aed7a940dadbc4510679ac2f5a
|
||||
DIST wine-mono-10.4.0-x86.tar.xz 41326992 BLAKE2B 2abbf16156ad87feda3f413d71565e56db0ebf14a8cd920ecc24bdea7f818365751cb447b91f56f96bcec84e4e28e9c7d022fdaf0804330f056593a99a6e5c6b SHA512 7b99003cd19d0dd5fa6d918f20574b87638b8000836e5ab98f2f8147c01cd221d9c84e9d05b58c3a5fbf46d8caa714d4b6c68615ea368af483bd5f2c9ceb0435
|
||||
DIST wine-mono-7.4.0-x86.msi 87334912 BLAKE2B c0b778f9db59d1a2917631f1d6ca1a1798972a6a42e27975da78f3a35b77018a99228d7d95e5640c57618533a6b01bf2252859e3e978e2aa8dbdc8cd62afcc28 SHA512 cf35513b368324487c387d4339e5b05a90c4825b25ea603140524b79e69786ccc20dfb898213a9548c0313c0b0e4b160acb88364e4b280dd6712d185d9e5ae57
|
||||
DIST wine-mono-7.4.0-x86.tar.xz 45404344 BLAKE2B 3a74106b9b3f21a88c2435f7988d66a54e08beea931a0ce0df6431c21add4ee2685bf9c9cb2404ee1a685736d61b1aee3cdd507130e5c5dddba7e506a2ff18bb SHA512 108cb5d969e84deeda3d2b11dba7cd73853fc3b088ecf2bcdb9bc5c5bbaaff03e72cd4f485d1935eda43cdd95b927886441be1d2204edeaee1ff1fea75735d22
|
||||
DIST wine-mono-8.1.0-x86.msi 84905984 BLAKE2B 948b014fc6fba94bc97642b8aae266b8179b119ea3d8a0fdf47daee33eac65b8cc5dd1bc483ae4c66bdd1bdc10f4b73258bb6c83bca0911a30e86e358faafd20 SHA512 5c788dfa0c9b664242f3ce0ab24f3f9256dabf1e9fadc516140f267c763da1865b4536c707660acaf66e4a37d93198f5499971b4261e63d91252f6a7fc3eae4e
|
||||
DIST wine-mono-8.1.0-x86.tar.xz 40854944 BLAKE2B 0e0dd83b92016da328547173d25dc396a895a7a161cd54796c9bda34ae958856f1bee342c1bb5fcffcf695b35adf66b2bf83cfa61e01790bf4b0f2d198f84feb SHA512 ba87105a6527b9c392e9ad406e92fd90164e0abb3a348a1e343e63eff0ee8632399badb98f7fbc3581ce697ba09d98aafbf5033bf52fb14b7c7c280c64f25a84
|
||||
DIST wine-mono-9.1.0-x86.msi 84623872 BLAKE2B 63e86a4f99a5300782017f0b1a2168ad49516e2b2a7e825d7f59b8e842874c7f84752058908e8f57ad1e650a68675c5ff81ad8ba973962ea075db590be0fa51b SHA512 e51744eb0b07a58516fe3f5115fe45b4924e285fe4688649d04dec522203af6b3aa066e5db9b37cbbfe6ce4b5d8e871e9881842227cbb20c0613b911b5bfc383
|
||||
DIST wine-mono-9.1.0-x86.tar.xz 43820028 BLAKE2B 6249e661239b71ca2607cf5fb3285bbef3e4c056c87e15352e40d2875028dbaa7f1c1a8b4d908f74de8447b4166c61c708314dc6422e9f69a6eea5f588e7c73b SHA512 cede2b910e95fc43e658e6d4d8086ec5324407a32fff4852341178e1e56df240356c02f270e3be174f3ab82aa076e50d70be4da8e8c5f77e877fce8fe3217374
|
||||
DIST wine-mono-9.3.1-x86.msi 84572160 BLAKE2B 82f0aaec4cb816b28708c8bd8f347a128451046f33958b63d8cf6b6009d2f426f03d419017de4303f722ac0232bb2c9a1aba957411114ffc0b392db930888f69 SHA512 6653c6dd5484f3687be7ce13ca74e95abb5b0fa3c6901d57a97f4a218986e68154846ef19bf8ef5667f375b61600bb37e2e339b62a638a5eacd6f15a0022fc8a
|
||||
DIST wine-mono-9.3.1-x86.tar.xz 43896120 BLAKE2B 5f4c2a07355a3d394086467f1b0c45698cd83731a4137b59975abdeda2d564f44922a67b1bec111e4209c4fe74247486076e95dffc84d88b5b7a02774efd070b SHA512 cc4faff237b46d870e1afeb99be1e77f8f0d599c8567dfc365256558b4ec533efee3d5324bfe1bd5bc7f318112899dd800e3e2ef9cbc6d50063f47fc7039c879
|
||||
DIST wine-mono-9.4.0-x86.msi 84639232 BLAKE2B fc53dadf9c73c489f0333ab25aa2ce85df7f1dcf82fd475ea0265772441f1b29804bd378e555f71eafc851393c833c5aef97f10103257ccb6c6951c46fcb5bd9 SHA512 c8907d1f3b04bfc86a4d230148558964984f4ce33a732802ccbbc89b3593bce1c32b2fae105db0efa7e1e7ee97e955e51b682f06efe595408ba4031b55b8fe0f
|
||||
|
||||
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Replacement for the .NET runtime and class libraries in Wine"
|
||||
HOMEPAGE="
|
||||
https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Mono/
|
||||
https://gitlab.winehq.org/mono/wine-mono/
|
||||
"
|
||||
SRC_URI="
|
||||
shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.tar.xz )
|
||||
!shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi )
|
||||
"
|
||||
S=${WORKDIR}
|
||||
|
||||
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
|
||||
SLOT="${PV}"
|
||||
# keep straight-to-stable, builds nothing and the stabilization process
|
||||
# is wasteful and annoying for users using ~testing wine in stable
|
||||
# (wine also pins to specific versions, so stable won't use latest)
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+shared"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/wine/mono
|
||||
|
||||
if use shared; then
|
||||
doins -r ${P}
|
||||
else
|
||||
doins "${DISTDIR}"/${P}-x86.msi
|
||||
fi
|
||||
}
|
||||
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Replacement for the .NET runtime and class libraries in Wine"
|
||||
HOMEPAGE="
|
||||
https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Mono/
|
||||
https://gitlab.winehq.org/mono/wine-mono/
|
||||
"
|
||||
SRC_URI="
|
||||
shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.tar.xz )
|
||||
!shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi )
|
||||
"
|
||||
S=${WORKDIR}
|
||||
|
||||
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
|
||||
SLOT="${PV}"
|
||||
# keep straight-to-stable, builds nothing and the stabilization process
|
||||
# is wasteful and annoying for users using ~testing wine in stable
|
||||
# (wine also pins to specific versions, so stable won't use latest)
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+shared"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/wine/mono
|
||||
|
||||
if use shared; then
|
||||
doins -r ${P}
|
||||
else
|
||||
doins "${DISTDIR}"/${P}-x86.msi
|
||||
fi
|
||||
}
|
||||
@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit edo optfeature python-any-r1 wine
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=10.3.0
|
||||
WINE_MONO=10.4.0
|
||||
WINE_P=wine-$(ver_cut 1-2)
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
|
||||
@ -6,7 +6,7 @@ EAPI=8
|
||||
inherit optfeature wine
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=10.3.0
|
||||
WINE_MONO=10.4.0
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
@ -13,7 +13,7 @@ if [[ ${PV} == *99999999* ]] ; then
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
|
||||
@ -1,13 +1,22 @@
|
||||
DIST abseil-cpp-20250127.0.tar.gz 2267275 BLAKE2B 70fa05a0db91b9e7ccf9f2828a7bf4b7fe6d7177b5f2d17b2f2f6f2a5e83289674d624fa7983410713a2d62b1025a5b5d957f1ba11e01cb727fc771ce76bc914 SHA512 2a021faad807ee3e23548716ffa4785dc2409edbb4be676cc4bc01d47885760de340f0a4afdcbf0aaa835affd6d78f7bc319bbf7d337dbc30e7a559d0088e4bd
|
||||
DIST abseil-cpp-20250814.0.tar.gz 2235497 BLAKE2B f60f3604215f64f33fad902637360050061ec62cfa6413cafc4cd3794a1898c7ee67f7b6edf78e5cb7c6b0ed86b8d80338ad4abee3f2664e391c2cfae5997220 SHA512 4ee1a217203933382e728d354a149253a517150eee7580a0abecc69584b2eb200d91933ef424487e3a3fe0e8ab5e77b0288485cac982171b3585314a4417e7d4
|
||||
DIST apple_support.1.16.0.tar.gz 86001 BLAKE2B 808539ad8ade84d1bed93654c25a41878bf75485cc4404a21ca9286eadb842cc37360aa85632d1c16ef176b32e2853f372124b266354961ffe5060afb0101311 SHA512 93281a271103dfc860e11bb1c8f72d3d3aeb129f3d4bfed8acc6b99fc1727f820fc0c7feaa336c03e5b935c5c39296c361cbc3abd58756a420d518dc1cb4808f
|
||||
DIST apple_support.1.23.1.tar.gz 105227 BLAKE2B c8228fadf527ff4f091082bf71e3c5cf0859aa573b25927dad58c1531bef89334b05cff822d918ce459127c915e267c52448c3f4979812f1fe33f3b0cc6d180a SHA512 60991d408dc073245ab1ae407286e30a6e1390063546d9d6017aa2d395443dfb924b60a5553b930aa7b5ce549200e90354135dabda3ce397232ee300331f1ee8
|
||||
DIST bazel-8.1.1-linux-arm64 60105888 BLAKE2B 5da13dafdff092d9d1846aae2c3cad0dca0dbf6b4cd1e1108beb6c1559cc87fb362b2ee04ce6af37e5dc2b1bcf49a42f164b7f57b0f614eb5654382907708825 SHA512 ec6efe3bdd59ea5ca918854c19d7b85bc6ae71c0b8291106618785213cdddf48ca6fc4056e51336e07fe221fa53c57c7cb0fdcd2c5d72240526c50447847af73
|
||||
DIST bazel-8.1.1-linux-x86_64 61797304 BLAKE2B 54c0bea5572bc7a13435e89dc30ad291bf37801d38a65110c708d9b0e0942e60d28d4b64a9df6e5253e50affeedda45ee313643c674f8c1a7f3d06db60ab01db SHA512 9133ce3d0de0cc1f1d48fbf43e9b37a38bfdd025786ce223c2cd0b7be7d8034c5cb66f482946300f657fecfe3f1b90de14233b9296f9840a34d97a4241caeeca
|
||||
DIST bazel-8.4.1-linux-arm64 62234235 BLAKE2B ad2faf33e4ca4f908ca01c6a415f4acf7f66d8f6c3bc880ff0c52300be8d02b84aedc55d6b476afb69a5b966008f73b58ed83f2a8f6560431e5acab49e3a9f9f SHA512 7462a0aa03c604e2fde7b8412cbd61262c2f3f0867468305c88d9421fc759d0b0bf5499334e0cedd44940522514f77ee76ff1706a64ee9ebe0de1fa1c9586f03
|
||||
DIST bazel-8.4.1-linux-x86_64 64058509 BLAKE2B 50e67de8a5c63f41831a52d5429913185939d6194d0b50d475c554f04c4bc64b4d4ed5e9612a76b4f693d479a58b6e66f46b94f2b2557f24ab4d72c41e4b664c SHA512 175f66a4666daab0efeba54a81ab67e4af4d4e3040c6c35cbfce5cc05b7c4ee04fcb9971d80cf62dc36c22c1908f991391785f9b3c08acecaefdacdba4fe060b
|
||||
DIST bazel-skylib-1.7.1.tar.gz 43566 BLAKE2B 2bafd7dc9aed2852227b1ec2fed91767461d8133338794e4633041263bd3ea1a6ad3665f4723237ba32d9f18ef670efd73f14c8cb273abc1e02846a0f3428e79 SHA512 cb786ab69e288d789ab056e41c663662d6f42c619f3464869f016b01eacd912f730d49fec986dfdd61c630167a697b52c74c4eebc70e69cce4369087aea62ef9
|
||||
DIST bazel-skylib-1.8.1.tar.gz 44537 BLAKE2B dd3b506ceb5e3a72636d9071f13e706f229a8012f9e97575f9dd51f1f3e766c64e7509039404c63570c9971592a19239ce2dab1b0db33c9403a404c141bb7d81 SHA512 519623c2ddce5606ffd101108667ca82b12a53da8c6f01d176b61339dae383b747ae4a6a96584e56b4ee6b1a57167813ee29ccae9736202907b8f3c401458d4f
|
||||
DIST bazel_features-v1.21.0.tar.gz 15880 BLAKE2B dfdba846d9411f0779f6170775d81b1fa34f3f71a094535745f3c132e406e96050a54248f514356e3b0ed979e789aab923c43751023771330c8f43bcce009be5 SHA512 0cd72b38335acf00f203446ee4618aad2d4bcb9df7059ea7196261a42b988b4d63a5ce6eac70fda49f0ecc3058e0f75ed277e3d40991d82b55c4556028ed95bc
|
||||
DIST bazel_features-v1.30.0.tar.gz 16826 BLAKE2B 725739189337b9a4a014d972c9a63ca89c6899ec8fb8773cb7fee1787e3a20042691d700a393d60362e009dd1e3f0fd7c26f6aa13f39b162a900b170ea8b86e6 SHA512 9cca730483639e6b711c1e48d8d916839d5c618eda0b07ccb965184e79326ac6fcecc1446c61efcb4f7bb76b557e291cd2666b90e280dc8a4a76e1f9c09f1bb2
|
||||
DIST cpython-3.11.10+20241016-aarch64-unknown-linux-gnu-install_only.tar.gz 25925656 BLAKE2B aa9c3df9c853b80a0e74ce5c3522e7f4c380a5409de521650dbd5ead81659040cfb77271dee4c5079905f742d33410c86193e9a97283b8e1b76b11fb7533943c SHA512 2317beda197edfd671690018069cd404bcf745e1156c79cddad36973117905ec50a67a668060e2fda02615561f824646fd4df5010cf06688d6160c2ad891863c
|
||||
DIST cpython-3.11.10+20241016-x86_64-unknown-linux-gnu-install_only.tar.gz 29718798 BLAKE2B cc5c8c49bc58dee4562438ca22d0cf91540942e6f6525d581077e7e447d428b6cd0d846ebf38367c0c47b9886bfd96da868a3f09845f2d0e1164932d249fa37d SHA512 0249257a1c50e58cfddd76bfc89a437e02fdae367c3949a9fb678bb9314f149d0c7e3c257a8c0db33d68008315f8ccd0da2aba47f583e19c8ce6c403771ec14a
|
||||
DIST cpython-3.11.13+20250610-aarch64-unknown-linux-gnu-install_only.tar.gz 40970497 BLAKE2B e86c0988d8f60a836e569060402b80ebdc39b81c2de5e099299369a6b7466f61e1de03cd32c414631419e7c4da3e21842fff596a8c1148c209e1420417e5859f SHA512 1dae1385e6bf5009cf16d7cde8e25c214036183a62f59f0f390c6c36421fb25343bbd4241ee15cbd545a0c116a1a55087993230a92a69de9de9bf1f72a5cfc34
|
||||
DIST cpython-3.11.13+20250610-x86_64-unknown-linux-gnu-install_only.tar.gz 48611228 BLAKE2B 8ea831fe64cb31eed977e1a1ff65d318e335c0cc7eddf8f0fffbe75ac349f417b137fd3b318795f7225de5009d915cfcbb6c855cb1d85be0c44fb48b08bc8d8e SHA512 c4aa3a09324abcbc1a2d9aa6a6278645d74af63cad76666224e53c50620450fb686c067db0f799afe84fefe575e0b2bea13b1b952f55e7e075562194b8e5ac43
|
||||
DIST fcitx-mozc-2.28.5029.102-2.28.5029.102.tar.gz 37246575 BLAKE2B 54381968e33870f2d9f769184cf49428548d04de66e767140c8f053fad7873f1b2e3b02be81ce54e51b824d2c9cd971da37bff8b60efe60c9e2c748ff298afbd SHA512 4962e9505b79d4680a260c257719ba2486a6fe127018298758728faa9535504bc2dd6b1bfb430ac2982cb377cda52c145430531afd0968f49f91d366fdd43d92
|
||||
DIST googletest-1.15.2.tar.gz 872667 BLAKE2B 2525d7a8572364cc2c2c129197201fc31e3cb4aadf4be37a995447a9b8e393205628e666dd190dca9a169b693883a5a2a5cafd6432cc3d1263a0c834ff8cf121 SHA512 9046841044a2bf7edfd96854ad9c44ffae4fcb9fb59a075b367507c0762a98eb32cb6968d46663228272e26321e96f4dd287c95baa22c6af9bad902b8b6ede4e
|
||||
DIST googletest-1.17.0.tar.gz 885595 BLAKE2B 194df0cbe44905b9748c3df75ce3e91f0b11d766c845a11a9b86bb65249d21448b6eac1c2ea9fc3c189105f173d2330af5d0622b051f712dbf661ba5917bc96b SHA512 0f57e9ef06925e5b7722df1eb92ef5850e8dce79220ea16a8aaff586a71c0b01460ef1713649ee24ffedb2e6ad5a51e9198c5a5ae1b2789e43feb1f494e7d45c
|
||||
DIST japanese-usage-dictionary-20180701040110.tar.gz 71285 BLAKE2B dfad056a1d5061b6764f583da15b9ad60a3c4421cee0430c4665d1c2779a64f9b31473c1746a3e2b9bda5167349432e51dcf7d4d48f75fde9543e9c16ff74c0d SHA512 68b4d3f52dd6cd4f00a8012a870b4f5929519cd69815b1729f3881d1f964802308f4aa101e236824b4c0f832183a9e8097437ed620403f2a652f126e7cdc1eb3
|
||||
DIST japanese-usage-dictionary-2025-01-25.tar.gz 72003 BLAKE2B 3eef55aa1bd45c209e6457c6ef68105b2c157403be89b8d12cb2401f2e9d75b8b40d381a0ab24a6b99cf284208100fcc57213b4699db1a31a669a43ba7533aae SHA512 ac4be3e60f16804c8aba3491c6bd858bae13834951ea63d90a7d8811ee7a23221f56d161ed9009e5cc9c1df9f0379eee82668f0728c8674cd820051a54baf547
|
||||
DIST mozc-2.28.5029.102-2.28.5029.102.tar.gz 37247099 BLAKE2B 4bb528991102d34a26321e6fa00a73cc83cb103e0b765f1ebb837dd6894387288b13ed75cc255003d07d6f0c4a82f963684fa4f2bd9b5043cfaddb57a5f5cef0 SHA512 b20aa45757db92f66d1c135eacf907b4cec937226a8d09e5f9f6768ae22a6b8464e3b75276773ce55413f2002ffcc3d8cae136e7fd3acfc0733e48bccf848d5b
|
||||
@ -21,18 +30,38 @@ DIST mozc-2.31.5851.102-properties.svg 812 BLAKE2B 17f3facef4594c38b94a3be325d7a
|
||||
DIST mozc-2.31.5851.102-tool.png 360 BLAKE2B e699107fb3d5d8fd202ea8f65908a63b2d9b8c5aa4eaeed0db15a5bc5eb4af4735814f20b8e641736b08fbee2691836a5d5e8b94b4b653aac836f8afa982b791 SHA512 35f270784ff7b947aa3636d9531c502775315116f694f95a21a93ef9bf77d67ab7b194153b186a8371a78ce8b162ca82fb232aea92dc37ba2de86c79fe8f19b1
|
||||
DIST mozc-2.31.5851.102-tool.svg 326 BLAKE2B df5947d23720f168d40403c00dc20e547ae30dd8f92c8448d5675fe28344903a65e139c4739c83fa64db9233b012ddcd3e5ad663d96417a8dcb4b83ba020d4ad SHA512 471ae428ca8312b4ecc8ab3f7348f89b2778e853a3106e21b5027b5fa23d8ea2eb301a18d64203af52e4ca8bfe51f184966e01670c514dc019a649c5f557e08a
|
||||
DIST mozc-2.31.5851.102.tar.gz 28443744 BLAKE2B a00530f469d15b897221673c96132386063f7a649f72f4ce467e17f50bb7f972051160a438f3e0aa930af9610d15a4cf2d6b68538a25a5515165d98a3d1da44b SHA512 468c5bdac8ef767b8872b794f76bcad675798ea2f423893bbb21212840cf78fd9498304ac2ee4c524c35a7f4478f0a7f5df4abdab0861c5308ff2c53fa996c15
|
||||
DIST mozc-2.32.5994.102-dictionary.png 205 BLAKE2B f92fdeae34eff41473c6c9b0f6fb5a3c784b7b98fd6932b03953131f78ab97c961eb94f88e542f593acf0d2af176e28a3d638e50e912aa695de882477117b2d6 SHA512 aac820bbf51b2dfe23a9e0de57c2c9f4301e021c3ae29047ec8918ccb22b698f775ceee1dfe5ceaf21ada9228085ae1a36e65ab33fd811acf072e4d380225d9c
|
||||
DIST mozc-2.32.5994.102-dictionary.svg 294 BLAKE2B 24464c7238fc58056c4c9e94f72c9ece8313a09ef1fd57f07b2178dcf78b722fff4965d42ac867c135db969a905306f99e7d6e4f5c028029646b77d6eee3de33 SHA512 648b486ec244c117ae25aadbff1f14211a311df37161b7777c442aff2f7f8dd61d41912d81891a0de29383e3430ee80ecdad7d9b1fb9e0ea7addcbf97af018c3
|
||||
DIST mozc-2.32.5994.102-jigyosyo.zip 774194 BLAKE2B 46cb54e9d9ee183031dbda9cecbbcf24a341488a0320286f264fb2f9e44638373f432463bbfd2fadaa65f64dba9afce9ca4ae01b8315f3853dcf6b8361e1339d SHA512 ec76f0c9b02a8f0a8633d752ebdb80ac7c4d5c71dfd9916cc9140d446bae8e09755db8d40eca87fbb08d21c31db80ec977f307c497f0d731087c73a1df9ea0c7
|
||||
DIST mozc-2.32.5994.102-ken_all.zip 1694438 BLAKE2B 03879037406a9d95c33d14bbde6fdd33acae0e6fda328e960c9f10aad74f2f34353d8b03e98ea247659587821d839783be2f031c3e756eac292ec52094c7ede6 SHA512 00aef90b785a703d536813616eeec7057eeaf681b83bc35c6c4b597df298ccb6bbd97f97845c7570788e7f063d94b4c62e359ccc698fcaeff17ce472bc1b9225
|
||||
DIST mozc-2.32.5994.102-properties.png 557 BLAKE2B 33a12b009e0dff7a46385a59287a8d179ec931e6cd98a5b13480ade870035259928d8655ca578954307a76eca92ea98dbe4ec4f904f2074c21c848b3a2b6f0d7 SHA512 1cbd9307f0e96c1255c1cb915d10d2254281574c8fcf54e97a518d3a49475cc7775d6f4042a04e2358f7db5808986eef9cd9b84fff571dce1b9ec23f8fb3a8fd
|
||||
DIST mozc-2.32.5994.102-properties.svg 812 BLAKE2B 17f3facef4594c38b94a3be325d7a00d5538c4f098853b5e70254b572305440adbba7e597cee4645ffd1884631cab5ff50dd25a5368b7aff1972290e6ceaab91 SHA512 637b8ec750fa0a5a32afbcefb43430d122de889d32ce6295327934dede6051d1a37678a895b8c2fa26ab0c28f5a372e7b6ca0aad7acebaf64cc5a88c32ff43de
|
||||
DIST mozc-2.32.5994.102-tool.png 360 BLAKE2B e699107fb3d5d8fd202ea8f65908a63b2d9b8c5aa4eaeed0db15a5bc5eb4af4735814f20b8e641736b08fbee2691836a5d5e8b94b4b653aac836f8afa982b791 SHA512 35f270784ff7b947aa3636d9531c502775315116f694f95a21a93ef9bf77d67ab7b194153b186a8371a78ce8b162ca82fb232aea92dc37ba2de86c79fe8f19b1
|
||||
DIST mozc-2.32.5994.102-tool.svg 326 BLAKE2B df5947d23720f168d40403c00dc20e547ae30dd8f92c8448d5675fe28344903a65e139c4739c83fa64db9233b012ddcd3e5ad663d96417a8dcb4b83ba020d4ad SHA512 471ae428ca8312b4ecc8ab3f7348f89b2778e853a3106e21b5027b5fa23d8ea2eb301a18d64203af52e4ca8bfe51f184966e01670c514dc019a649c5f557e08a
|
||||
DIST mozc-2.32.5994.102.tar.gz 28284987 BLAKE2B d62a1b77141e31b8991ed39e84d8daff8f9112efdae82a2ede77654fbe15d2d83b73b747a21b18fc4fcd1faa5324dac50c9e3dfff900ebd546e47ec1d1b4ccc0 SHA512 eac685aa710acfc3af6137793ac506870acfd79d8826ffbb053f6fda850d9cf680f0a9ab59a788a36d98f0dd1fe48d8d19dbf1328b9dcab5ed9976f4f80e13ea
|
||||
DIST mozc-bcr-470a7a43196aeffd5f6c3ff41bbcfeb120a04341.tar.gz 4496750 BLAKE2B eff0dc194d6062e5be927244ebe4e94557391c71c1734e1c7be13071d2efee5d82b18eba7d750e60f7d6eab5db57a021135df54b5cb7f48b208c436543d8126b SHA512 ae05a1aa336ef0966533fca0542cb0e4a8403e3e232d8c4dc4565a9864fb0a26a3785029d3aeac257bc00b0cf45ca555420fd0db1205911c57ef28e737d96d01
|
||||
DIST mozc-bcr-b553f46a71d17fe8f32661f64e755cf6fac03ada.tar.gz 3374577 BLAKE2B 20722deebafffe44f39246c2a2ca11af155585871106fd182f77fba010d5bab907107f078dbba667dfb9f38c375896322fa0b5c1b51fc5b0aef18d99c48d4f7d SHA512 45dea3670a932e370f9ffcd98a5b99e988dfe16fa7140d71230a27bd83b97343dc4dcf96a14ed3bdd50cb17976e484699dbd4e1ffc5b1aba420c16f00f05a37e
|
||||
DIST mozc-fcitx5-2.31.5851.102.tar.gz 28530201 BLAKE2B 4f42970b2bde2173d49cccaefafff0d65c792934b923dc5cbced83de143a5622fa0b9aca672a8e2b536cd5601100754740b09ea2953d00b662f5dc9e04f0f704 SHA512 d60b3d11110acb6e838300ecaa398b8abd652e9ad7a94bd0e2bbaf8cf7d217aaa62241916a607c4f8cf0fe6e9434a31b7fb8dae2a3cd7e20e0022fda137946f1
|
||||
DIST mozc-fcitx5-2.32.5994.102.tar.gz 28373979 BLAKE2B b38ce9527035e16916e5820f63b4e9e6cf93549f29ab1f88e8ee689f829429c459fff60772a3eff429c9c98b61afca931f5354f28c7afe583cce996b35021761 SHA512 9cee1ce170e55dc803c3eb739800c5f1cb9c50e7315361078bda6e12b767e50781c059ae03ab29316fc2b4647af07abb3d865a273c76e41e1c712129d62dbbbf
|
||||
DIST platforms-0.0.10.tar.gz 7680 BLAKE2B dd19db938cc7efe706c94f8149265952ecafe7e2811e84924377b1b1f0138e7104da2252d64a4dc03f66d8a3284716fa09888721294d885de852a69324fcb596 SHA512 a92e54fccebc6ac9715be6ffb09f0bb20d402de4837ad5002e9c292b54f8b84a573b049c0e8192f955bb51b19c9926a3affc880f3d4dce28f535f97241b0663f
|
||||
DIST platforms-1.0.0.tar.gz 7879 BLAKE2B eaa82522a86d75669befeaa6023b46fb6c482cd9a0e818d5f99c602a2bf7e359e51ef61298aeda40cea15b7f281eba04cf9a37e637f92fc8c7b5d209693fd8e1 SHA512 cb05b7157e4e3b8ec05f1e4ac3e5eecc73d9a3ed5729455058a1290a5f04fb4e58be30368fc2ce6a90d6938ada331ea2abaeaaeaede16d1ae2ee091fa0c1faef
|
||||
DIST protobuf-29.3.zip 11127807 BLAKE2B 1889a4948335a5a27e6dee0549bab3f226e634eb8dbce97830b1aa84787026258c135431241afcbfebbe2433ce933d0733bebeeb990c5b5924f09d5e625edb43 SHA512 09cb3eed78d41444b336e5a7bbcc1ca3679ad7c625ecdceb6d5d3b6430baa924b7da3dd4befdf068f2124ecf9fe986f1cc4d7b3b97177a8117af0acb182e63c8
|
||||
DIST protobuf-32.0.zip 11559357 BLAKE2B 86ecede4efa0116e81cd39421a7a630fae3f6393d08421ab329d8f466ea01a3b5b1c0117f0f4e6a3339619201847b8279e3d95cadd13a9d4d042d1e4c368ba02 SHA512 53ba7921add31048adb7ae0fc442d819bf2e9dae5341163770cfc165795b80b19e81aa281f90757a637929acfff200c50ab1c1d09e8612e7a50cd0c3a6e374ba
|
||||
DIST rules_android_ndk-v0.1.3.tar.gz 25611 BLAKE2B bfad0cd27fc9bc2971663a197300794aef7f330659500a69a95a89a0ccdbc547ff4e6760104a1398b3a9981a38facc6a64aeac7b1e55a27bcf44f4eafd19a63c SHA512 6fc90f12ff4736a50e058b1d675b47fe2bb63320b27c42c3be996c52b0076e17248ce246849cc264cd96418c046d54075ebf8ee2ddb3b74b8813d605e8968135
|
||||
DIST rules_apple.3.16.1.tar.gz 2387851 BLAKE2B 0ce5d0d2f0d048d6e462ef4f1e5553e9c4ab8e46d67d79cf12cbc20ed8cf741a0d9bf36a04759b2a9b59ed9021772fa70cf21c2ba4d5dd0e93560bf60c7bd19c SHA512 11523401df02c6b863c625e24ae78b54348ec958c253bec412adc4873f654c830bb7049d500d94e6ce890695899598eb7f785653cbdf264903ba7dd40496a783
|
||||
DIST rules_apple.4.1.2.tar.gz 2435331 BLAKE2B e56aadd96ea72ef714ead6dca3b020def6f9b7756d713e601afc3ab44568f17d59597d3e74e73945f387a94a3250318c91eb036b28e257cdab7c36837bd134da SHA512 0494e784c5140059903cf8eeabd900125c5f917c6e2afdd2bdcb39b8c5c01a928ef3f717ce24cf10c8c3c6fae252d9cb246abe6ece63a9a40bd9cfb1f995710b
|
||||
DIST rules_cc-0.0.17.tar.gz 178823 BLAKE2B 7e544f1752e335f9436fe24ee6ec77aa8c94723b2ecacb65a273f485809df9e11312d54924e0abd5f5c3e01641e055f6efbb72e6a3b407901b8a5364d4dd39f1 SHA512 6a9bb04ecfc93039ba32395e9decd6c1c0910558bb817f06ca80878ba508bc5ed199e7241ba79ae0a4bfa1e74f6dc6207fded47f3b8466cf611005b6c6084582
|
||||
DIST rules_cc-0.2.2.tar.gz 251269 BLAKE2B a1bd0906d00dba875e2d0bb7ae79738d02e45f3c5276e464ba3434c28a39ed60c5421cfd3c7b34dfe1d7db7a0cd47b6b8a26c2140c4504cf39a11f1b17227410 SHA512 1cbad05b9b40460f398d767d73c2d4edcf546c6402d38c98e703664b8201f6eacb9195713a632715613c49c65cc6d182c05193a3594835b5a85bcba59ef27b63
|
||||
DIST rules_java-8.14.0.tar.gz 112382 BLAKE2B d643d827277d49df734457f89c13b591d55679bb404518fb240e0536cca79bad8d70de8e723966431e6a41a022b37fc5af4934d56d04b8c817cda50767782cbd SHA512 b7ea0d839c9ed2edfe3042d8d7ffffeaee66547d9ec6670e71fcadadaa21a465e4fe0db7fae0fd2840a3499a06d1c4543378b96050387bd164ae28b657e9c1ce
|
||||
DIST rules_java-8.6.1.tar.gz 104565 BLAKE2B fc90d972ae704d7c627c408d044e6ae6c331661493ed0f0614ae67415806a33a1df9965d83164d923692e60db4cf711493eceead75181adf691c1ca73826eb0e SHA512 f45114b02d9892781797686be73bbeab988d122bf3bd12f3d854810c62716d3a59a7630b1ab02ecfe464fc80c6041f2caebb465f7eb88d13106645b3fe589fba
|
||||
DIST rules_kotlin-v1.9.6.tar.gz 23089629 BLAKE2B 1532ea7cc7807326c948be50cd4942a39f6c04f179690d9b51b41d354bde253581f453a2889048998e8bd381b8baad04315b81523e8cf2159ea33055704f43fb SHA512 0e2d538a4d4c200d40ad0041d7ccc3155670247144b2be322607c5db219262fd6f7de512b54df9ed3bae72213ca340b6919a0248a00260b451af93042ccd3216
|
||||
DIST rules_license-1.0.0.tar.gz 35903 BLAKE2B 851db879f93a22fed62872fed37e32c8fe54d882c2d15e0df9f17f332d99c92345c7bd89dbb70a040e455d6033e23035a984a478fd1655a6573c35bd1b84300e SHA512 17801f13c8a019de7e85a81ccfe6147ee9b996bbb72bbf4753aadb62e13c7c05040012182f3e557395a36453d8c7e9ca504b624bd2e490447656d0196c0fc6bb
|
||||
DIST rules_pkg-1.0.1.tar.gz 90016 BLAKE2B 49a6faf5c17288bead1d94e071569c2f551b59d0ecb63467967c8abb3946cae7725cde71284623fc6b87a1a227969edfce8a73149853cc2596b2ae98c6c1a58d SHA512 5bbcba04093e91718f00ae48571005ace679a44a8996c5f975f6dd7e8431fd703999e10ce35d84b39a5a5e4fa92ce14d8ff8fc771001ff5c5575f4f6f5098625
|
||||
DIST rules_pkg-1.1.0.tar.gz 92951 BLAKE2B 272ada06effe826ce4eae590863423df9c550f97051c0a8b50fc90d2a323a4218359408e2e57f22d74d337457bb8ab1673f5382784652c546cadaac64eef9336 SHA512 8eae67ababbf596d0c86f5ac9d6c6a0853f301c682df50403509b3bf2a85fdfc8532c4ca0c11e4ab85dac2bdb23165c8bbbeb35eb695a58a29b83c12a40abf55
|
||||
DIST rules_python-1.0.0.tar.gz 753569 BLAKE2B 036344fa385d808656b338f301fd6d76b2ea13088a7bbf69348bf54f3ccc9558573e15ad2f3befe7af404491f6febd735a456c83c64f83124a9f9bfc415d719f SHA512 47a341531548e1bdc90e9e1e2bc9d7199d9edb6b20815591f8fbc3bc2efc769adc213f3b2550e9f628548fe35be5a854a9cdcc44cc79355e6cff3ae5369e3382
|
||||
DIST rules_python-1.5.4.tar.gz 888827 BLAKE2B 81856a49c2da4d746658fa94524614a6ad5c755121ac00e23dc4c38c0ef9be0f1908226235a9b32578df059a1a4b4ffc32e361809bfe4c93b64797030b894562 SHA512 c702e38d13e7b502408aadc313878682272f5e86059350b7568ac07f518439c8645b69ad0ecacc997caa9405ea0c838b7dc08f2d4eb531190d6067c610d30237
|
||||
DIST rules_shell-v0.2.0.tar.gz 14070 BLAKE2B cec6995e2227bd361ccd55ed4f964947d987752eb773ed12ed1f44f5ebd16cf8c6cae5e370a55328777185dbd38a64e0de2c26b617c355a839d82847c3eea445 SHA512 7d5a6ae362ad92b1886c81ac4779c6d027435ae559e6cd0ea0c3b3aba60e614dc5a6428e720d667b1061ee94065d10e86dfaa0c17e2eb0a11bc535c3d450d69d
|
||||
DIST rules_shell-v0.3.0.tar.gz 22046 BLAKE2B ed0740f1e3f637f70e7c2fc76727f54722b767e764dfc0048099b2a16de453e355a1596927461d5abb5d9f2131c12fbbe0bfe6606f3e44c42af8f23eb0454036 SHA512 384f14574edf22fc7b515ca184b2af3868ea21aac31247a53aa5dab44293ed92dfed13807f1428051d6a539fd40f0fdb7e83ac2c8c8811be9ecdaa9725f044db
|
||||
DIST rules_swift.2.1.1.tar.gz 271370 BLAKE2B 5815e469e6577bbc40ac2980eed1e0ceee3ba7bc0ce053ad4ff61a107e4bb788fd8ebfa31122b108ca197dd2c0338c4b389cabc4cbc01db36db62ef20ba9a844 SHA512 444939266564bf418c2dd7fc3c15353818da85fc35e970257d6b79ea62cc1225f68979ef5e5aa7e88e84f4e07b269d1973f9f578edfcc10a50f35b545700cb53
|
||||
DIST rules_swift.3.1.2.tar.gz 326090 BLAKE2B fd8f66c6e2605596197fd0a06c6445545067949f30210fdafe5122eac7883e9d782121c5fbc38b9387d7aaa6fa955d4fd3aefb8479ff4071b619403179bd7dc1 SHA512 d3155ed53b2811e17d3f92f1e1641a09e115c50c8dce686766b138b618925d9e60a1322655394e978fd9e6abc503bbc2601ef1f15ffef63826cb955bd5899554
|
||||
DIST zlib-1.3.1.tar.gz 1512791 BLAKE2B 872ef9cc41ba57e9809ab5714ffa15cc9d3ef6c4a948c57107f800fc373bcfe2475136407203cb9aa33b189994336f36f2757b7a582e065ad477bfd49260184b SHA512 580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
patch rules_python package to set shebang
|
||||
this patch is applied by bazel, not portage
|
||||
--- python/private/py_runtime_info.bzl
|
||||
+++ python/private/py_runtime_info.bzl
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
load(":util.bzl", "define_bazel_6_provider")
|
||||
|
||||
-DEFAULT_STUB_SHEBANG = "#!/usr/bin/env python3"
|
||||
+DEFAULT_STUB_SHEBANG = "#!@PYTHON@"
|
||||
|
||||
_PYTHON_VERSION_VALUES = ["PY2", "PY3"]
|
||||
|
||||
362
app-i18n/mozc/files/mozc-2.32.5994.102-rm_reinterpret_cast.patch
Normal file
362
app-i18n/mozc/files/mozc-2.32.5994.102-rm_reinterpret_cast.patch
Normal file
@ -0,0 +1,362 @@
|
||||
backport https://github.com/google/mozc/commit/7118076.patch
|
||||
Burn down unsafe `reinterpret_cast`s.
|
||||
--- a/config/BUILD.bazel
|
||||
+++ b/config/BUILD.bazel
|
||||
@@ -137,6 +137,7 @@ mozc_cc_test(
|
||||
"//protocol:config_cc_proto",
|
||||
],
|
||||
windows = [
|
||||
+ "//base:bits",
|
||||
"//base/win32:win_api_test_helper",
|
||||
"@com_google_absl//absl/base",
|
||||
"@com_google_absl//absl/container:flat_hash_map",
|
||||
@@ -164,6 +165,7 @@ mozc_cc_library(
|
||||
],
|
||||
deps = [
|
||||
":config_handler",
|
||||
+ "//base:bits",
|
||||
"//base:config_file_stream",
|
||||
"//base:number_util",
|
||||
"//base:singleton",
|
||||
--- a/config/character_form_manager.cc
|
||||
+++ b/config/character_form_manager.cc
|
||||
@@ -44,6 +44,7 @@
|
||||
#include "absl/strings/str_cat.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/span.h"
|
||||
+#include "base/bits.h"
|
||||
#include "base/config_file_stream.h"
|
||||
#include "base/number_util.h"
|
||||
#include "base/singleton.h"
|
||||
@@ -379,7 +380,7 @@ Config::CharacterForm CharacterFormManagerImpl::GetCharacterFormFromStorage(
|
||||
if (value == nullptr) {
|
||||
return Config::FULL_WIDTH; // Return default setting
|
||||
}
|
||||
- const uint32_t ivalue = *reinterpret_cast<const uint32_t*>(value);
|
||||
+ const uint32_t ivalue = LoadUnaligned<uint32_t>(value);
|
||||
return static_cast<Config::CharacterForm>(ivalue);
|
||||
}
|
||||
|
||||
--- a/config/stats_config_util_test.cc
|
||||
+++ b/config/stats_config_util_test.cc
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <bit>
|
||||
|
||||
#include "absl/container/flat_hash_map.h"
|
||||
+#include "base/bits.h"
|
||||
#include "base/singleton.h"
|
||||
#include "base/win32/win_api_test_helper.h"
|
||||
#endif // _WIN32
|
||||
@@ -228,7 +229,7 @@ class RegistryEmulator {
|
||||
if (!CheckWritable(key)) {
|
||||
return ERROR_ACCESS_DENIED;
|
||||
}
|
||||
- SetUsagestatsValue(key, *reinterpret_cast<const DWORD*>(data));
|
||||
+ SetUsagestatsValue(key, LoadUnaligned<DWORD>(data));
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
static LSTATUS WINAPI TestRegCloseKey(HKEY key) { return ERROR_SUCCESS; }
|
||||
--- a/converter/BUILD.bazel
|
||||
+++ b/converter/BUILD.bazel
|
||||
@@ -222,6 +222,7 @@ mozc_cc_library(
|
||||
"//prediction:__pkg__",
|
||||
],
|
||||
deps = [
|
||||
+ "//base:bits",
|
||||
"//data_manager",
|
||||
"//storage/louds:simple_succinct_bit_vector_index",
|
||||
"@com_google_absl//absl/status",
|
||||
@@ -241,6 +242,7 @@ mozc_cc_test(
|
||||
],
|
||||
deps = [
|
||||
":connector",
|
||||
+ "//base:bits",
|
||||
"//base:mmap",
|
||||
"//base:vlog",
|
||||
"//data_manager:connection_file_reader",
|
||||
--- a/converter/connector.cc
|
||||
+++ b/converter/connector.cc
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "absl/strings/escaping.h"
|
||||
#include "absl/strings/str_cat.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
+#include "base/bits.h"
|
||||
#include "data_manager/data_manager.h"
|
||||
#include "storage/louds/simple_succinct_bit_vector_index.h"
|
||||
|
||||
@@ -245,11 +246,11 @@ absl::Status Connector::Init(absl::string_view connection_data) {
|
||||
// |ptr| points to here now. Every uint8_t[] block needs to be aligned at
|
||||
// 32-bit boundary.
|
||||
VALIDATE_SIZE(ptr, 2, "Compact bits size of row ", i, "/", rsize);
|
||||
- const uint16_t compact_bits_size = *reinterpret_cast<const uint16_t*>(ptr);
|
||||
+ const uint16_t compact_bits_size = LoadUnaligned<uint16_t>(ptr);
|
||||
ptr += 2;
|
||||
|
||||
VALIDATE_SIZE(ptr, 2, "Values size of row ", i, "/", rsize);
|
||||
- const uint16_t values_size = *reinterpret_cast<const uint16_t*>(ptr);
|
||||
+ const uint16_t values_size = LoadUnaligned<uint16_t>(ptr);
|
||||
ptr += 2;
|
||||
|
||||
VALIDATE_SIZE(ptr, chunk_bits_size, "Chunk bits of row ", i, "/", rsize);
|
||||
--- a/converter/connector_test.cc
|
||||
+++ b/converter/connector_test.cc
|
||||
@@ -39,6 +39,7 @@
|
||||
#include "absl/random/random.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
+#include "base/bits.h"
|
||||
#include "base/mmap.h"
|
||||
#include "base/vlog.h"
|
||||
#include "data_manager/connection_file_reader.h"
|
||||
@@ -102,7 +103,7 @@ TEST(ConnectorTest, BrokenData) {
|
||||
// Invalid magic number.
|
||||
{
|
||||
data.assign(cmmap->begin(), cmmap->size());
|
||||
- *reinterpret_cast<uint16_t*>(&data[0]) = 0;
|
||||
+ StoreUnaligned<uint16_t>(0, &data[0]);
|
||||
const auto status = Connector::Create(data).status();
|
||||
MOZC_VLOG(1) << status;
|
||||
EXPECT_FALSE(status.ok());
|
||||
--- a/converter/inner_segment.h
|
||||
+++ b/converter/inner_segment.h
|
||||
@@ -31,6 +31,7 @@
|
||||
#define MOZC_CONVERTER_INNER_SEGMENT_H_
|
||||
|
||||
#include <algorithm>
|
||||
+#include <bit>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <iterator>
|
||||
@@ -94,11 +95,11 @@ inline std::optional<uint32_t> EncodeLengths(uint32_t key_len,
|
||||
|
||||
const internal::LengthData data{key_len, value_len, content_key_len,
|
||||
content_value_len};
|
||||
- return *reinterpret_cast<const uint32_t*>(&data);
|
||||
+ return std::bit_cast<uint32_t>(data);
|
||||
}
|
||||
|
||||
inline internal::LengthData DecodeLengths(uint32_t encoded) {
|
||||
- return *reinterpret_cast<const struct internal::LengthData*>(&encoded);
|
||||
+ return std::bit_cast<internal::LengthData>(encoded);
|
||||
}
|
||||
|
||||
// Iterator class to access inner segments.
|
||||
--- a/data_manager/BUILD.bazel
|
||||
+++ b/data_manager/BUILD.bazel
|
||||
@@ -317,4 +317,5 @@ mozc_cc_library(
|
||||
name = "emoji_data",
|
||||
hdrs = ["emoji_data.h"],
|
||||
visibility = ["//rewriter:__pkg__"],
|
||||
+ deps = ["//base:bits"],
|
||||
)
|
||||
--- a/data_manager/emoji_data.h
|
||||
+++ b/data_manager/emoji_data.h
|
||||
@@ -35,6 +35,8 @@
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
|
||||
+#include "base/bits.h"
|
||||
+
|
||||
namespace mozc {
|
||||
|
||||
// Emoji Version Data, in Unicode.
|
||||
@@ -99,17 +101,13 @@ class EmojiDataIterator {
|
||||
EmojiDataIterator() : ptr_(nullptr) {}
|
||||
explicit EmojiDataIterator(const char* ptr) : ptr_(ptr) {}
|
||||
|
||||
- uint32_t key_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_);
|
||||
- }
|
||||
- uint32_t emoji_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_ + 4);
|
||||
- }
|
||||
+ uint32_t key_index() const { return LoadUnaligned<uint32_t>(ptr_); }
|
||||
+ uint32_t emoji_index() const { return LoadUnaligned<uint32_t>(ptr_ + 4); }
|
||||
uint32_t unicode_version_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_ + 8);
|
||||
+ return LoadUnaligned<uint32_t>(ptr_ + 8);
|
||||
}
|
||||
uint32_t description_utf8_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_ + 12);
|
||||
+ return LoadUnaligned<uint32_t>(ptr_ + 12);
|
||||
}
|
||||
|
||||
// Returns key index as token array is searched by key.
|
||||
--- a/data_manager/serialized_dictionary.h
|
||||
+++ b/data_manager/serialized_dictionary.h
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "absl/log/check.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
+#include "base/bits.h"
|
||||
#include "base/container/serialized_string_array.h"
|
||||
|
||||
namespace mozc {
|
||||
@@ -137,72 +138,35 @@ class SerializedDictionary {
|
||||
: token_ptr_(token_ptr), string_array_(string_array) {}
|
||||
iterator(const iterator& x) = default;
|
||||
|
||||
- uint32_t key_index() {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_);
|
||||
- }
|
||||
- uint32_t key_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_);
|
||||
- }
|
||||
- absl::string_view key() { return (*string_array_)[key_index()]; }
|
||||
+ uint32_t key_index() const { return LoadUnaligned<uint32_t>(token_ptr_); }
|
||||
absl::string_view key() const { return (*string_array_)[key_index()]; }
|
||||
|
||||
- uint32_t value_index() {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_ + 4);
|
||||
- }
|
||||
uint32_t value_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_ + 4);
|
||||
+ return LoadUnaligned<uint32_t>(token_ptr_ + 4);
|
||||
}
|
||||
- absl::string_view value() { return (*string_array_)[value_index()]; }
|
||||
absl::string_view value() const { return (*string_array_)[value_index()]; }
|
||||
|
||||
- uint32_t description_index() {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_ + 8);
|
||||
- }
|
||||
uint32_t description_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_ + 8);
|
||||
+ return LoadUnaligned<uint32_t>(token_ptr_ + 8);
|
||||
}
|
||||
|
||||
- absl::string_view description() {
|
||||
- return (*string_array_)[description_index()];
|
||||
- }
|
||||
absl::string_view description() const {
|
||||
return (*string_array_)[description_index()];
|
||||
}
|
||||
|
||||
- uint32_t additional_description_index() {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_ + 12);
|
||||
- }
|
||||
uint32_t additional_description_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(token_ptr_ + 12);
|
||||
- }
|
||||
- absl::string_view additional_description() {
|
||||
- return (*string_array_)[additional_description_index()];
|
||||
+ return LoadUnaligned<uint32_t>(token_ptr_ + 12);
|
||||
}
|
||||
|
||||
absl::string_view additional_description() const {
|
||||
return (*string_array_)[additional_description_index()];
|
||||
}
|
||||
|
||||
- uint16_t lid() {
|
||||
- return *reinterpret_cast<const uint16_t*>(token_ptr_ + 16);
|
||||
- }
|
||||
- uint16_t lid() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(token_ptr_ + 16);
|
||||
- }
|
||||
+ uint16_t lid() const { return LoadUnaligned<uint16_t>(token_ptr_ + 16); }
|
||||
|
||||
- uint16_t rid() {
|
||||
- return *reinterpret_cast<const uint16_t*>(token_ptr_ + 18);
|
||||
- }
|
||||
- uint16_t rid() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(token_ptr_ + 18);
|
||||
- }
|
||||
+ uint16_t rid() const { return LoadUnaligned<uint16_t>(token_ptr_ + 18); }
|
||||
|
||||
- int16_t cost() {
|
||||
- return *reinterpret_cast<const uint16_t*>(token_ptr_ + 20);
|
||||
- }
|
||||
- int16_t cost() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(token_ptr_ + 20);
|
||||
- }
|
||||
+ int16_t cost() const { return LoadUnaligned<int16_t>(token_ptr_ + 20); }
|
||||
|
||||
absl::string_view operator*() { return key(); }
|
||||
absl::string_view operator*() const { return key(); }
|
||||
--- a/dictionary/BUILD.bazel
|
||||
+++ b/dictionary/BUILD.bazel
|
||||
@@ -546,6 +546,7 @@ mozc_cc_library(
|
||||
"//rewriter:__pkg__",
|
||||
],
|
||||
deps = [
|
||||
+ "//base:bits",
|
||||
"//base/container:serialized_string_array",
|
||||
"//base/strings:assign",
|
||||
"//data_manager",
|
||||
--- a/dictionary/user_pos.h
|
||||
+++ b/dictionary/user_pos.h
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
+#include "base/bits.h"
|
||||
#include "base/container/serialized_string_array.h"
|
||||
#include "data_manager/data_manager.h"
|
||||
|
||||
@@ -132,17 +133,15 @@ class UserPos {
|
||||
explicit iterator(const char* ptr) : ptr_(ptr) {}
|
||||
iterator(const iterator& x) = default;
|
||||
|
||||
- uint16_t pos_index() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(ptr_);
|
||||
- }
|
||||
+ uint16_t pos_index() const { return LoadUnaligned<uint16_t>(ptr_); }
|
||||
uint16_t value_suffix_index() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(ptr_ + 2);
|
||||
+ return LoadUnaligned<uint16_t>(ptr_ + 2);
|
||||
}
|
||||
uint16_t key_suffix_index() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(ptr_ + 4);
|
||||
+ return LoadUnaligned<uint16_t>(ptr_ + 4);
|
||||
}
|
||||
uint16_t conjugation_id() const {
|
||||
- return *reinterpret_cast<const uint16_t*>(ptr_ + 6);
|
||||
+ return LoadUnaligned<uint16_t>(ptr_ + 6);
|
||||
}
|
||||
|
||||
uint16_t operator*() const { return pos_index(); }
|
||||
--- a/prediction/BUILD.bazel
|
||||
+++ b/prediction/BUILD.bazel
|
||||
@@ -512,6 +512,7 @@ mozc_cc_library(
|
||||
"//engine:__pkg__",
|
||||
],
|
||||
deps = [
|
||||
+ "//base:bits",
|
||||
"//base/container:serialized_string_array",
|
||||
"@com_google_absl//absl/strings",
|
||||
],
|
||||
--- a/prediction/zero_query_dict.h
|
||||
+++ b/prediction/zero_query_dict.h
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
+#include "base/bits.h"
|
||||
#include "base/container/serialized_string_array.h"
|
||||
|
||||
namespace mozc {
|
||||
@@ -98,21 +99,17 @@ class ZeroQueryDict {
|
||||
uint32_t operator*() const { return key_index(); }
|
||||
|
||||
uint32_t operator[](ptrdiff_t n) const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_ + n * kTokenByteSize);
|
||||
+ return LoadUnaligned<uint32_t>(ptr_ + n * kTokenByteSize);
|
||||
}
|
||||
|
||||
const iterator* operator->() const { return this; }
|
||||
|
||||
- uint32_t key_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_);
|
||||
- }
|
||||
+ uint32_t key_index() const { return LoadUnaligned<uint32_t>(ptr_); }
|
||||
|
||||
- uint32_t value_index() const {
|
||||
- return *reinterpret_cast<const uint32_t*>(ptr_ + 4);
|
||||
- }
|
||||
+ uint32_t value_index() const { return LoadUnaligned<uint32_t>(ptr_ + 4); }
|
||||
|
||||
ZeroQueryType type() const {
|
||||
- const uint16_t val = *reinterpret_cast<const uint16_t*>(ptr_ + 8);
|
||||
+ const uint16_t val = LoadUnaligned<uint16_t>(ptr_ + 8);
|
||||
return static_cast<ZeroQueryType>(val);
|
||||
}
|
||||
|
||||
435
app-i18n/mozc/mozc-2.32.5994.102.ebuild
Normal file
435
app-i18n/mozc/mozc-2.32.5994.102.ebuild
Normal file
@ -0,0 +1,435 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit desktop dot-a edo elisp-common flag-o-matic multiprocessing python-any-r1 savedconfig toolchain-funcs xdg
|
||||
|
||||
# USE_BAZEL_VERSION in .bazeliskrc
|
||||
BAZEL_VER="8.4.1"
|
||||
# 2025-10-22, date of release of mozc
|
||||
BAZEL_BCR_HASH="470a7a43196aeffd5f6c3ff41bbcfeb120a04341"
|
||||
# commit: Merge "Update BUILD_OSS to 5994"
|
||||
MOZC_FCITX_HASH="6c54b5d52a3a9d949502ad8e6c2eab2c66e7f1a7"
|
||||
|
||||
# submodules, but archives are fetched by bazel from bazel_dist
|
||||
ABS_VER="20250814.0"
|
||||
GTEST_VER="1.17.0"
|
||||
JUD_VER="2025-01-25"
|
||||
# sha256sum of tarball
|
||||
JUD_CHECKSUM="ebfc8681eb207f14a2c36a7a71522b1aa8a405d10ab36a83a9a024d4ce58c0ca"
|
||||
PROTO_VER="32.0"
|
||||
|
||||
# to simplify update
|
||||
CPYTHON_VER="3.11.13+20250610"
|
||||
RPYTHON_VER="1.5.4"
|
||||
|
||||
DESCRIPTION="Mozc - Japanese input method editor."
|
||||
HOMEPAGE="https://github.com/google/mozc"
|
||||
# for new release, update versions according to MODULE.bazel or failures of the fetch's phase of bazel
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://releases.bazel.build/${BAZEL_VER}/release/bazel-${BAZEL_VER}-linux-x86_64
|
||||
https://github.com/astral-sh/python-build-standalone/releases/download/${CPYTHON_VER#*+}/cpython-${CPYTHON_VER}-x86_64-unknown-linux-gnu-install_only.tar.gz
|
||||
)
|
||||
arm64? (
|
||||
https://releases.bazel.build/${BAZEL_VER}/release/bazel-${BAZEL_VER}-linux-arm64
|
||||
https://github.com/astral-sh/python-build-standalone/releases/download/${CPYTHON_VER#*+}/cpython-${CPYTHON_VER}-aarch64-unknown-linux-gnu-install_only.tar.gz
|
||||
)
|
||||
!fcitx5? ( https://github.com/google/${PN}/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.tar.gz )
|
||||
fcitx5? ( https://github.com/fcitx/${PN}/archive/${MOZC_FCITX_HASH}.tar.gz
|
||||
-> ${PN}-fcitx5-${PV}.tar.gz )
|
||||
test? ( https://github.com/google/googletest/releases/download/v${GTEST_VER}/googletest-${GTEST_VER}.tar.gz )
|
||||
https://github.com/bazelbuild/bazel-central-registry/archive/${BAZEL_BCR_HASH}.tar.gz
|
||||
-> ${PN}-bcr-${BAZEL_BCR_HASH}.tar.gz
|
||||
https://github.com/abseil/abseil-cpp/releases/download/${ABS_VER}/abseil-cpp-${ABS_VER}.tar.gz
|
||||
https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/${JUD_VER}.tar.gz
|
||||
-> japanese-usage-dictionary-${JUD_VER}.tar.gz
|
||||
https://github.com/protocolbuffers/protobuf/releases/download/v${PROTO_VER}/protobuf-${PROTO_VER}.zip
|
||||
https://github.com/bazel-contrib/rules_python/releases/download/${RPYTHON_VER}/rules_python-${RPYTHON_VER}.tar.gz
|
||||
https://github.com/bazelbuild/apple_support/releases/download/1.23.1/apple_support.1.23.1.tar.gz
|
||||
https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz
|
||||
https://github.com/bazelbuild/bazel-skylib/releases/download/1.8.1/bazel-skylib-1.8.1.tar.gz
|
||||
https://github.com/bazelbuild/platforms/releases/download/1.0.0/platforms-1.0.0.tar.gz
|
||||
https://github.com/bazelbuild/rules_android_ndk/releases/download/v0.1.3/rules_android_ndk-v0.1.3.tar.gz
|
||||
https://github.com/bazelbuild/rules_apple/releases/download/4.1.2/rules_apple.4.1.2.tar.gz
|
||||
https://github.com/bazelbuild/rules_cc/releases/download/0.2.2/rules_cc-0.2.2.tar.gz
|
||||
https://github.com/bazelbuild/rules_java/releases/download/8.14.0/rules_java-8.14.0.tar.gz
|
||||
https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.6/rules_kotlin-v1.9.6.tar.gz
|
||||
https://github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz
|
||||
https://github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz
|
||||
https://github.com/bazelbuild/rules_shell/releases/download/v0.3.0/rules_shell-v0.3.0.tar.gz
|
||||
https://github.com/bazelbuild/rules_swift/releases/download/3.1.2/rules_swift.3.1.2.tar.gz
|
||||
https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz
|
||||
https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/33524763837473258e7ba2f14b17fc3a70519831/ken_all.zip
|
||||
-> ${P}-ken_all.zip
|
||||
https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/33524763837473258e7ba2f14b17fc3a70519831/jigyosyo.zip
|
||||
-> ${P}-jigyosyo.zip
|
||||
https://raw.githubusercontent.com/google/material-design-icons/4.0.0/png/action/chrome_reader_mode/materialiconsoutlined/48dp/1x/outline_chrome_reader_mode_black_48dp.png
|
||||
-> ${P}-dictionary.png
|
||||
https://raw.githubusercontent.com/google/material-design-icons/4.0.0/src/action/chrome_reader_mode/materialiconsoutlined/24px.svg
|
||||
-> ${P}-dictionary.svg
|
||||
https://raw.githubusercontent.com/google/material-design-icons/4.0.0/png/action/settings/materialiconsround/48dp/1x/round_settings_black_48dp.png
|
||||
-> ${P}-properties.png
|
||||
https://raw.githubusercontent.com/google/material-design-icons/4.0.0/src/action/settings/materialiconsround/24px.svg
|
||||
-> ${P}-properties.svg
|
||||
https://raw.githubusercontent.com/google/material-design-icons/4.0.0/png/action/build/materialicons/48dp/1x/baseline_build_black_48dp.png
|
||||
-> ${P}-tool.png
|
||||
https://raw.githubusercontent.com/google/material-design-icons/4.0.0/src/action/build/materialicons/24px.svg
|
||||
-> ${P}-tool.svg
|
||||
"
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
# Mozc: BSD
|
||||
# src/data/dictionary_oss: ipadic, public-domain
|
||||
# src/data/unicode: unicode
|
||||
# japanese-usage-dictionary: BSD-2
|
||||
LICENSE="BSD BSD-2 ipadic public-domain unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="debug emacs fcitx5 +gui +ibus renderer test"
|
||||
REQUIRED_USE="|| ( emacs fcitx5 ibus )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
fcitx5? ( app-i18n/fcitx:5 )
|
||||
gui? ( dev-qt/qtbase:6[gui,widgets] )
|
||||
ibus? (
|
||||
app-i18n/ibus
|
||||
dev-libs/glib:2
|
||||
)
|
||||
renderer? ( dev-qt/qtbase:6[gui,widgets] )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
emacs? ( app-editors/emacs:* )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
fcitx5? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.31.5851.102-fix_path.patch
|
||||
# from upstream
|
||||
"${FILESDIR}"/${PN}-2.32.5994.102-rm_reinterpret_cast.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
case $(tc-arch) in
|
||||
amd64) export EARCH=x86_64 ;;
|
||||
arm64) export EARCH=arm64 ;;
|
||||
*) die "architecture not supported: $(tc-arch)" ;;
|
||||
esac
|
||||
cp "${DISTDIR}"/bazel-${BAZEL_VER}-linux-${EARCH} bazel || die
|
||||
chmod +x bazel || die
|
||||
|
||||
unpack ${PN}-bcr-${BAZEL_BCR_HASH}.tar.gz
|
||||
ln -sfT bazel-central-registry-${BAZEL_BCR_HASH} bcr || die
|
||||
|
||||
# create symlinks for distdir with the name wanted by bazel
|
||||
mkdir bazel_dist || die
|
||||
pushd "${DISTDIR}" || die
|
||||
for dep in *.{tar.gz,zip,png,svg}; do
|
||||
ln -sfT "${DISTDIR}/${dep}" "${WORKDIR}/bazel_dist/${dep#${P}-}" || die
|
||||
done
|
||||
ln -sfT "${DISTDIR}"/japanese-usage-dictionary-${JUD_VER}.tar.gz "${WORKDIR}"/bazel_dist/${JUD_VER}.tar.gz || die
|
||||
popd || die
|
||||
|
||||
if use fcitx5; then
|
||||
unpack ${PN}-fcitx5-${PV}.tar.gz
|
||||
ln -sfT "${WORKDIR}"/${PN}-${MOZC_FCITX_HASH} "${WORKDIR}"/${P} || die
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
}
|
||||
|
||||
ebazel() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
edo "${WORKDIR}"/bazel "$@"
|
||||
}
|
||||
|
||||
mozc_icons() {
|
||||
if use fcitx5 || use gui || use ibus; then
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# use tarball instead of zip for japanese-usage-dictionary (avoid CI failure)
|
||||
sed -e "/^ *name = \"ja_usage_dict\"/,/^ *sha256/s/sha256 =.*,$/sha256 = \"${JUD_CHECKSUM}\",/" \
|
||||
-e "\@.*github.com/hiroyuki-komatsu/japanese-usage-dictionary@s:%s.zip:%s.tar.gz:" \
|
||||
-i MODULE.bazel || die
|
||||
|
||||
# declare a patch to bazel for rules_python
|
||||
cat >> MODULE.bazel <<-_EOF_ || die
|
||||
single_version_override(
|
||||
module_name = "rules_python",
|
||||
patches = [ "bazel/rules_python_fix_shebang.patch" ],
|
||||
version = "${RPYTHON_VER}",
|
||||
)
|
||||
_EOF_
|
||||
# 'install' the patch for rules_python
|
||||
# check py_runtime_info.bzl from ${WORKDIR}/bazel_dist/rules_python-${RPYTHON_VER}.tar.gz to update the patch
|
||||
cp "${FILESDIR}"/${PN}-2.32.5994.102-bazel_patch-fix_shebang.patch bazel/rules_python_fix_shebang.patch || die
|
||||
# fix shebang
|
||||
sed -e "s:@PYTHON@:${PYTHON}:" \
|
||||
-i bazel/rules_python_fix_shebang.patch || die
|
||||
|
||||
# fix paths to preserve compatibility
|
||||
sed -e "/LINUX_MOZC_SERVER_DIR/s:=.*:= \"/usr/libexec/mozc\":" \
|
||||
-e "/IBUS_MOZC_PATH/s:=.*:= \"/usr/libexec/ibus-engine-mozc\":" \
|
||||
-i config.bzl || die
|
||||
|
||||
# respect prefix
|
||||
if [[ -n ${EPREFIX} ]]; then
|
||||
sed -e "s@/usr@${EPREFIX}/usr@" -i config.bzl || die
|
||||
fi
|
||||
|
||||
# fix pkg-config for fcitx5 / ibus / glib / Qt
|
||||
tc-export PKG_CONFIG
|
||||
sed -e "s@\"pkg-config\"@\"${PKG_CONFIG}\"@" \
|
||||
-i bazel/pkg_config_repository.bzl || die
|
||||
|
||||
# bug #877765
|
||||
restore_config mozcdic-ut.txt
|
||||
if [[ -f /mozcdic-ut.txt && -s mozcdic-ut.txt ]]; then
|
||||
einfo "mozcdic-ut.txt found. Adding to mozc dictionary..."
|
||||
cat mozcdic-ut.txt >> "${S}"/data/dictionary_oss/dictionary00.txt || die
|
||||
fi
|
||||
|
||||
# custom the target 'package' defined in unix/BUILD.bazel
|
||||
if ! mozc_icons; then
|
||||
sed -e "\@:icons@d" \
|
||||
-i unix/BUILD.bazel || die
|
||||
fi
|
||||
|
||||
if ! use emacs; then
|
||||
sed -e "\@//unix/emacs:mozc_emacs_helper@d" \
|
||||
-e "\@//unix/emacs:mozc.el@d" \
|
||||
-i unix/BUILD.bazel || die
|
||||
fi
|
||||
|
||||
if ! use gui; then
|
||||
sed -e "\@//gui/tool:mozc_tool@d" \
|
||||
-i unix/BUILD.bazel || die
|
||||
fi
|
||||
|
||||
if ! use ibus; then
|
||||
sed -e "\@//unix/ibus:gen_mozc_xml@d" \
|
||||
-e "\@//unix/ibus:ibus_mozc@d" \
|
||||
-i unix/BUILD.bazel || die
|
||||
fi
|
||||
|
||||
if ! use renderer; then
|
||||
sed -e "\@//renderer/qt:mozc_renderer@d" \
|
||||
-i unix/BUILD.bazel || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# to investigate, but there's lot of static libs
|
||||
lto-guarantee-fat
|
||||
|
||||
# https://bazel.build/reference/be/make-variables
|
||||
tc-export CC AR
|
||||
|
||||
# fix external/zlib+ w/ clang-21
|
||||
append-cppflags -DHAVE_UNISTD_H=1
|
||||
|
||||
MYEBAZELARGS=(
|
||||
--compilation_mode="$(usex debug dbg opt)"
|
||||
--config="oss_linux"
|
||||
--distdir="${WORKDIR}/bazel_dist"
|
||||
--jobs="$(get_makeopts_jobs)"
|
||||
--registry="file://${WORKDIR}/bcr"
|
||||
--repository_cache="${WORKDIR}/bazel_cache"
|
||||
--spawn_strategy="local" # portage is already sandboxed
|
||||
--strip="$(usex debug never always)"
|
||||
--subcommands # be verbose
|
||||
--verbose_failures
|
||||
)
|
||||
|
||||
if use fcitx5; then
|
||||
MYEBAZELARGS+=(
|
||||
unix/fcitx5/fcitx5-mozc.so
|
||||
# just to be sure, use_server is enabled by default
|
||||
--define server=1
|
||||
)
|
||||
fi
|
||||
|
||||
# add all targets/testsuites by default, then filter
|
||||
if use test; then
|
||||
MYEBAZELARGS+=( /... )
|
||||
# not unix, no testsuite
|
||||
SKIP_TESTS=( -protocol/... )
|
||||
! use emacs && SKIP_TESTS+=( -unix/emacs/... )
|
||||
! use gui && SKIP_TESTS+=( -gui/... )
|
||||
! use ibus && SKIP_TESTS+=( -unix/ibus/... )
|
||||
! use renderer && SKIP_TESTS+=( -renderer/... )
|
||||
use fcitx5 && SKIP_TESTS+=( -unix/fcitx/... )
|
||||
fi
|
||||
|
||||
local cppflags
|
||||
for cppflags in ${CPPFLAGS}; do
|
||||
MYEBAZELARGS+=( --copt="${cppflags}" )
|
||||
done
|
||||
|
||||
local cflags
|
||||
for cflags in ${CFLAGS}; do
|
||||
MYEBAZELARGS+=( --conlyopt="${cflags}" )
|
||||
done
|
||||
|
||||
local cxxflags
|
||||
for cxxflags in ${CXXFLAGS}; do
|
||||
MYEBAZELARGS+=( --cxxopt="${cxxflags}" )
|
||||
done
|
||||
|
||||
local ldflags
|
||||
for ldflags in ${LDFLAGS}; do
|
||||
MYEBAZELARGS+=( --linkopt="${ldflags}" )
|
||||
done
|
||||
|
||||
# clean cache, just in case
|
||||
ebazel clean --expunge
|
||||
|
||||
# this build --nobuild generates bazel_cache
|
||||
# this is useful to debug or make patch
|
||||
ebazel build --nobuild package "${MYEBAZELARGS[@]}" -- "${SKIP_TESTS[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ebazel build package "${MYEBAZELARGS[@]}" -- "${SKIP_TESTS[@]}"
|
||||
|
||||
# bazel-bin is a symlink, copy files to avoid problem with symlink then
|
||||
cp -R bazel-bin/unix out_linux || die
|
||||
|
||||
use emacs && elisp-compile unix/emacs/*.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ebazel test --build_tests_only "${MYEBAZELARGS[@]}" -- "${SKIP_TESTS[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unzip -qo out_linux/mozc.zip -d "${ED}" || die
|
||||
|
||||
# remove mozc.el, in a wrong path
|
||||
# already compiled elsewhere and installed then
|
||||
if use emacs; then
|
||||
rm -r "${ED}"/usr/share/emacs/site-lisp/emacs-mozc || die
|
||||
elisp-install ${PN} unix/emacs/*.{el,elc}
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE} ${PN}
|
||||
fi
|
||||
|
||||
if mozc_icons; then
|
||||
# remove tmp with duplicate icons zipped
|
||||
rm -r "${ED}"/tmp || die
|
||||
if ! use ibus; then
|
||||
rm -r "${ED}"/usr/share/ibus-mozc || die
|
||||
fi
|
||||
if ! use gui; then
|
||||
rm -r "${ED}"/usr/share/icons/mozc || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use fcitx5; then
|
||||
exeinto /usr/$(get_libdir)/fcitx5
|
||||
doexe out_linux/fcitx5/fcitx5-mozc.so
|
||||
|
||||
# see scripts/install_fcitx5_data
|
||||
insinto /usr/share/fcitx5/addon
|
||||
newins unix/fcitx5/mozc-addon.conf mozc.conf
|
||||
|
||||
insinto /usr/share/fcitx5/inputmethod
|
||||
doins unix/fcitx5/mozc.conf
|
||||
|
||||
export MOPREFIX="fcitx5-mozc"
|
||||
local mo_file
|
||||
for mo_file in unix/fcitx5/po/*.po; do
|
||||
msgfmt "${mo_file}" -o "${mo_file%.po}.mo" && domo "${mo_file%.po}.mo" || die
|
||||
done
|
||||
|
||||
msgfmt --xml -d unix/fcitx5/po/ \
|
||||
--template unix/fcitx5/org.fcitx.Fcitx5.Addon.Mozc.metainfo.xml.in \
|
||||
-o unix/fcitx5/org.fcitx.Fcitx5.Addon.Mozc.metainfo.xml || die
|
||||
insinto /usr/share/metainfo
|
||||
doins unix/fcitx5/org.fcitx.Fcitx5.Addon.Mozc.metainfo.xml
|
||||
|
||||
# see scripts/install_fcitx5_icons
|
||||
local orgfcitx5="org.fcitx.Fcitx5.fcitx-mozc"
|
||||
newicon -s 128 data/images/product_icon_32bpp-128.png ${orgfcitx5}.png
|
||||
newicon -s 128 data/images/product_icon_32bpp-128.png fcitx-mozc.png
|
||||
newicon -s 32 data/images/unix/ime_product_icon_opensource-32.png ${orgfcitx5}.png
|
||||
newicon -s 32 data/images/unix/ime_product_icon_opensource-32.png fcitx-mozc.png
|
||||
for uiimg in ../scripts/icons/ui-*.png; do
|
||||
dimg="${uiimg#*ui-}"
|
||||
newicon -s 48 "${uiimg}" "${orgfcitx5}-${dimg/_/-}"
|
||||
newicon -s 48 "${uiimg}" "fcitx-mozc-${dimg/_/-}"
|
||||
done
|
||||
fi
|
||||
|
||||
[[ -s mozcdic-ut.txt ]] && save_config mozcdic-ut.txt
|
||||
|
||||
insinto /usr/libexec/mozc/documents
|
||||
doins data/installer/credits_en.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "ENVIRONMENTAL VARIABLES"
|
||||
elog
|
||||
elog "MOZC_SERVER_DIRECTORY"
|
||||
elog " Mozc server directory"
|
||||
elog " Value used by default: \"${EPREFIX}/usr/libexec/mozc\""
|
||||
elog "MOZC_DOCUMENTS_DIRECTORY"
|
||||
elog " Mozc documents directory"
|
||||
elog " Value used by default: \"${EPREFIX}/usr/libexec/mozc/documents\""
|
||||
elog "MOZC_CONFIGURATION_DIRECTORY"
|
||||
elog " Mozc configuration directory"
|
||||
elog " Value used by default: \"~/.mozc\""
|
||||
elog
|
||||
if use emacs; then
|
||||
elog
|
||||
elog "USAGE IN EMACS"
|
||||
elog
|
||||
elog "mozc-mode is minor mode to input Japanese text using Mozc server."
|
||||
elog "mozc-mode can be used via LEIM (Library of Emacs Input Method)."
|
||||
elog
|
||||
elog "In order to use mozc-mode by default, the following settings should be added to"
|
||||
elog "Emacs init file (~/.emacs.d/init.el or ~/.emacs):"
|
||||
elog
|
||||
elog " (require 'mozc)"
|
||||
elog " (set-language-environment \"Japanese\")"
|
||||
elog " (setq default-input-method \"japanese-mozc\")"
|
||||
elog
|
||||
elog "With the above settings, typing C-\\ (which is bound to \"toggle-input-method\""
|
||||
elog "by default) will enable mozc-mode."
|
||||
elog
|
||||
elog "Alternatively, at run time, after loading mozc.el, mozc-mode can be activated by"
|
||||
elog "calling \"set-input-method\" and entering \"japanese-mozc\"."
|
||||
elog
|
||||
|
||||
elisp-site-regen
|
||||
fi
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
xdg_pkg_postrm
|
||||
}
|
||||
@ -1,3 +1,5 @@
|
||||
DIST calibre-8.15.0.tar.xz 45759104 BLAKE2B ce8ca1a0bd9cbbb916a993b4c139efd1ff49d697aef3088322f06f4bac85d9a9e5d648a664fd75ef621c1e6021a67d6696e2a2a3b58a73651097bf3c6a774ca9 SHA512 7713ae8304e887dad320cddd6eceeec79bdb9de88e23ed2d50c0d2da429e25b2d761646259ffda47682ce07ed556bd47129561bd193c7953bd72867b98b0674c
|
||||
DIST calibre-8.15.0.tar.xz.sig 566 BLAKE2B e994b448ef1f08051d2a4ce254a83d37ec6fe3c99f416c0203b892ac35ee4a26151f07ea838929ed91e4024b6688bff5c26aec587bb39e9bdab185970bced520 SHA512 faff5e863c92e537b19e651aa9082359e530ff3c6412954c6eee339fa5a16614e16e3ee489f2c67e64a08a1c4db55c5dbaae4466caeb694aa8dd63093fd25834
|
||||
DIST calibre-8.4.0.tar.xz 44113820 BLAKE2B 3580124b04d9aef19c6ac2c1e3bdf5aa86f128a7e0f34a3ae80f07493127ca16b7edc72800cf9b200e926198ed92d5bef671a483d0572a6f6ae67fde64638f2e SHA512 df998fa31b9e581739872a649669fccf29f34d3ac1b4d0a96c37e08a0b049b1357b56a2af25f2733936e78901dd61b38a24e536e107e7094ada7e60a5c2c56ab
|
||||
DIST calibre-8.4.0.tar.xz.sig 566 BLAKE2B 7b353272722cfea8e57c274671dde100df7d351e2c5bafb3ab55c221d3290ce45f3627087a91f97b27080f6762596c788bf308ae4b49fe6ebb25d6ee85bf419c SHA512 7cd17aa5c8be1eb736c1ef8e98f91ecc313ed00da7760e6d234ff9b56a23c1f5a382dff8b3c0b7145443b6c2871f224a6ed47ddd39eaacfb380353c3f78c8344
|
||||
DIST calibre-8.7.0.tar.xz 45111468 BLAKE2B 2b8042f44422945a027f289015e5c9a42450b94ca0e53cdbaac7d0a2f7f41ea2a19f3e90b702f043a086e7218d4d9a25b441bc5b516c3e7f6454422d2c4accd1 SHA512 12d6f49d09edef8677a966198b0b05da9f8deee3c3ff6980804e13561edc35a515555e6a8cb53be70925bc3bdb8e3714cb018454f4e5da4794105b0fe53bba63
|
||||
|
||||
256
app-text/calibre/calibre-8.15.0.ebuild
Normal file
256
app-text/calibre/calibre-8.15.0.ebuild
Normal file
@ -0,0 +1,256 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="sqlite,ssl"
|
||||
|
||||
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
|
||||
|
||||
DESCRIPTION="Ebook management application"
|
||||
HOMEPAGE="https://calibre-ebook.com/"
|
||||
SRC_URI="
|
||||
https://download.calibre-ebook.com/${PV}/${P}.tar.xz
|
||||
verify-sig? ( https://calibre-ebook.com/signatures/${P}.tar.xz.sig )
|
||||
"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kovidgoyal.gpg
|
||||
|
||||
LICENSE="
|
||||
GPL-3+
|
||||
GPL-3
|
||||
GPL-2+
|
||||
GPL-2
|
||||
GPL-1+
|
||||
LGPL-3+
|
||||
LGPL-2.1+
|
||||
LGPL-2.1
|
||||
BSD
|
||||
MIT
|
||||
Old-MIT
|
||||
Apache-2.0
|
||||
public-domain
|
||||
|| ( Artistic GPL-1+ )
|
||||
CC-BY-3.0
|
||||
OFL-1.1
|
||||
PSF-2
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Qt slotted dependencies are used because the libheadless.so plugin links to
|
||||
# QT_*_PRIVATE_ABI. It only uses core/gui/dbus.
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-i18n/uchardet
|
||||
>=app-text/hunspell-1.7:=
|
||||
>=app-text/podofo-0.10.0:=
|
||||
app-text/poppler[utils]
|
||||
dev-libs/hyphen:=
|
||||
>=dev-libs/icu-57.1:=
|
||||
dev-libs/openssl:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/lxml-html-clean[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-3.2.0[jpeg,truetype,webp,zlib,${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
||||
dev-python/pykakasi[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
||||
dev-python/pyqt6[gui,network,opengl,printsupport,quick,svg,widgets,${PYTHON_USEDEP}]
|
||||
dev-python/pyqt6-webengine[widgets,${PYTHON_USEDEP}]
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
dev-python/xxhash[${PYTHON_USEDEP}]
|
||||
>=dev-python/zeroconf-0.75.0[${PYTHON_USEDEP}]
|
||||
')
|
||||
dev-qt/qtbase:6=[gui,widgets]
|
||||
dev-qt/qtimageformats:6
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/gtk-update-icon-cache
|
||||
media-fonts/liberation-fonts
|
||||
media-libs/fontconfig:=
|
||||
>=media-libs/freetype-2:=
|
||||
>=media-libs/libmtp-1.1.11:=
|
||||
>=media-gfx/optipng-0.7.6
|
||||
>=media-video/ffmpeg-6:=
|
||||
virtual/libusb:1=
|
||||
x11-misc/shared-mime-info
|
||||
>=x11-misc/xdg-utils-1.0.2-r2
|
||||
font-subsetting? ( $(python_gen_cond_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') )
|
||||
ios? (
|
||||
>=app-pda/usbmuxd-1.0.8
|
||||
>=app-pda/libimobiledevice-1.2.0
|
||||
)
|
||||
speech? (
|
||||
$(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]')
|
||||
dev-python/pyqt6[multimedia,speech]
|
||||
)
|
||||
system-mathjax? ( >=dev-libs/mathjax-3:= )
|
||||
udisks? ( virtual/libudev )
|
||||
unrar? ( dev-python/unrardll )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? ( $(python_gen_cond_dep '>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]') )
|
||||
"
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
>=dev-python/pyqt-builder-1.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/pkgconfig
|
||||
system-mathjax? ( dev-lang/rapydscript-ng )
|
||||
verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
||||
# (last commit in 2017)
|
||||
"${FILESDIR}/${PN}-7.0.0-jxr-test.patch"
|
||||
"${FILESDIR}/${PN}-8.9.0-piper.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Warning:
|
||||
#
|
||||
# While it might be rather tempting to add yet another sed here,
|
||||
# please don't. There have been several bugs in Gentoo's packaging
|
||||
# of calibre from seds-which-become-stale. Please consider
|
||||
# creating a patch instead, but in any case, run the test suite
|
||||
# and ensure it passes.
|
||||
#
|
||||
# If in doubt about a problem, checking Fedora's packaging is recommended.
|
||||
|
||||
# Disable privilege dropping for bug #287067 and generally because desktop
|
||||
# login user != portage.
|
||||
sed -e "s:SUDO_:__DISABLED_SUDO_:" \
|
||||
-i setup/__init__.py || die
|
||||
|
||||
# This is only ever used at build time. It contains a small embedded copy
|
||||
# of the rapydscript-ng compiler usable inside of qtwebengine, if you don't
|
||||
# have rapydscript-ng (a nodejs package) itself installed. Its only purpose
|
||||
# is to build some resources that come bundled in dist tarballs already...
|
||||
# and which we may also need to regenerate e.g. to use system-mathjax.
|
||||
#
|
||||
# However, running qtwebengine violates the portage sandbox (among other
|
||||
# things, it tries to create directories in /usr! amazing) so this is a
|
||||
# wash anyway. The only real solution here is to package rapydscript-ng.
|
||||
#
|
||||
# We do not need it at build time, and *no one* needs it at install time.
|
||||
# Delete the cruft.
|
||||
rm -r resources/rapydscript/ || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
||||
tc-export CC CXX
|
||||
|
||||
# bug 821871
|
||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
||||
export QMAKE="$(qt6_get_bindir)/qmake"
|
||||
|
||||
edo ${EPYTHON} setup.py build
|
||||
edo ${EPYTHON} setup.py gui
|
||||
|
||||
# A few different resources are bundled in the distfile by default, because
|
||||
# not all systems necessarily have them. We un-vendor them, using the
|
||||
# upstream integrated approach if possible. See setup/revendor.py and
|
||||
# consider migrating other resources to this if they do not use it, in
|
||||
# *preference* over manual rm'ing.
|
||||
edo ${EPYTHON} setup.py liberation_fonts \
|
||||
--path-to-liberation_fonts "${EPREFIX}"/usr/share/fonts/liberation-fonts \
|
||||
--system-liberation_fonts
|
||||
if use system-mathjax; then
|
||||
edo ${EPYTHON} setup.py mathjax --path-to-mathjax "${EPREFIX}"/usr/share/mathjax --system-mathjax
|
||||
edo ${EPYTHON} setup.py rapydscript
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Skipped tests:
|
||||
local _test_excludes=(
|
||||
# unpackaged Python dependency: py7zr
|
||||
7z
|
||||
# unpackaged Python dependency: pyzstd
|
||||
test_zstd
|
||||
# unpackaged TTS backend (optional at runtime): https://github.com/rhasspy/piper
|
||||
piper
|
||||
# tests if a completely unused module is bundled
|
||||
pycryptodome
|
||||
|
||||
$(usev !speech speech_dispatcher)
|
||||
$(usev !unrar test_unrar)
|
||||
|
||||
# undocumented reasons
|
||||
test_mem_leaks
|
||||
test_searching
|
||||
)
|
||||
|
||||
# Some of these tests weren't practical to split out into distinct tests, so
|
||||
# have a different control mechanism
|
||||
use speech || export SKIP_SPEECH_TESTS=1
|
||||
|
||||
edo ${PYTHON} setup.py test "${_test_excludes[@]/#/--exclude-test-name=}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANG LANGUAGE ${!LC_*}
|
||||
export LC_ALL=C.UTF-8 # bug #709682
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${HOME}/.config/calibre"
|
||||
mkdir -p "${CALIBRE_CONFIG_DIRECTORY}" || die
|
||||
|
||||
addpredict /dev/dri #665310
|
||||
|
||||
# If this directory doesn't exist, zsh completion won't install
|
||||
dodir /usr/share/zsh/site-functions
|
||||
|
||||
edo "${PYTHON}" setup.py install \
|
||||
--staging-root="${ED}/usr" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--staging-libdir="${ED}/usr/$(get_libdir)" \
|
||||
--system-plugins-location="${EPREFIX}/usr/share/calibre/system-plugins"
|
||||
|
||||
cp -r man-pages/ "${ED}"/usr/share/man || die
|
||||
|
||||
find "${ED}"/usr/share -type d -empty -delete || die
|
||||
|
||||
python_fix_shebang "${ED}/usr/bin"
|
||||
|
||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
||||
}
|
||||
@ -3,9 +3,11 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://git.libreoffice.org/libetonyek.git"
|
||||
inherit autotools git-r3
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
|
||||
@ -40,7 +42,7 @@ BDEPEND="
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -d m4 ]] || mkdir "m4" || die
|
||||
[[ ${PV} == *9999* ]] && eautoreconf
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
@ -50,7 +52,6 @@ src_configure() {
|
||||
$(use_with doc docs)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
|
||||
@ -5,9 +5,11 @@ EAPI=8
|
||||
|
||||
MDDS_VER="3.0"
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://git.libreoffice.org/libetonyek.git"
|
||||
inherit autotools git-r3
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
@ -42,7 +44,7 @@ BDEPEND="
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -d m4 ]] || mkdir "m4" || die
|
||||
[[ ${PV} == *9999* ]] && eautoreconf
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
DIST rpl-1.15.5.gh.tar.gz 24401 BLAKE2B 91f0914ce80167305f9b403f691e58cd3f219d9e22f0ae7587b6dc5c60809e03bf38bd3878696916026b7cd0e597b67a6fcbb97d55005fd113e80aa7296f0e95 SHA512 1669a2de5b09090a3058421e2f9560f9b155151ec6d91f9d4f3b43070082d2541981de7754f047771c515e6d1450998c55e3b018a589a5ae4bd48e28464bb858
|
||||
DIST rpl-1.18.gh.tar.gz 25750 BLAKE2B f090049d51e3fa4da1d0c3827a750b861fbd730b66d2e5336193332b119ac58bc26d64f429090443b6f45099fe078e0499f0aaf9e5488a543b5792de8f2d33a9 SHA512 08b68c0894085451a9bce169e972a67cddbbbc18565f514fc53a4ae1dbcc13818f71b8a6402e305c47298b1abc75a2ae39ac1acf175c29ee86fe6f6d2e6f474c
|
||||
DIST rpl-2.0.4.tar.gz 1098594 BLAKE2B 5337bbc9e2fa42d4904f04aee3db711d9446717b3727b5971d4cf2be8b583b42f5e1ae1aae58b3d15564e48b76246638c769be8a6445d0dee6e3f252f44c9d94 SHA512 0908f53bb6b48a1a80f8c9c364da01430d2d630848f6c99691ccf8d630121811c1d85218d68576b611877667039c882eb7d245f24152207cb48dcfa5d19fafa5
|
||||
|
||||
24
app-text/rpl/files/rpl-2.0.4-tests.patch
Normal file
24
app-text/rpl/files/rpl-2.0.4-tests.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff --git a/test.vala b/test.vala
|
||||
index 8e62a32..0e8c8a7 100644
|
||||
--- a/test.vala
|
||||
+++ b/test.vala
|
||||
@@ -77,16 +77,9 @@ Subprocess check_prog (string prog, string[] args) throws Error {
|
||||
}
|
||||
|
||||
bool try_sudo (string[] cmd) {
|
||||
- try {
|
||||
- var cmd_args = new Array<string>.take_zero_terminated(cmd);
|
||||
- cmd_args.prepend_val ("-n");
|
||||
- check_prog ("sudo", cmd_args.data);
|
||||
- return true;
|
||||
- } catch (Error e) {
|
||||
- print ("cannot sudo, skipping test\n");
|
||||
- Test.skip ();
|
||||
- return false;
|
||||
- }
|
||||
+ print ("cannot sudo, skipping test\n");
|
||||
+ Test.skip ();
|
||||
+ return false;
|
||||
}
|
||||
|
||||
Output run_prog (string prog, string[] args, int expected_rc = 0) {
|
||||
108
app-text/rpl/files/rpl-2.0.4-uchardet-vala.patch
Normal file
108
app-text/rpl/files/rpl-2.0.4-uchardet-vala.patch
Normal file
@ -0,0 +1,108 @@
|
||||
From 3669921bb1bab7bc9f7f5fb1ef4b9ceb2cf02ff7 Mon Sep 17 00:00:00 2001
|
||||
From: Reuben Thomas <rrt@sc3d.org>
|
||||
Date: Mon, 10 Nov 2025 23:37:49 +0000
|
||||
Subject: [PATCH] Revert "Use UcharDet VAPI from vala-extra-vapis project, not
|
||||
our own one"
|
||||
|
||||
This reverts commit f5e40e01f84b8841c8a30ef9b7890bf0cbd0beaf.
|
||||
|
||||
The vala-extra-vapis VAPI does not work properly with pkg-config; see
|
||||
https://gitlab.gnome.org/GNOME/vala-extra-vapis/-/issues/28
|
||||
---
|
||||
.gitmodules | 3 ---
|
||||
Makefile.am | 4 ++--
|
||||
rpl.vala | 5 ++---
|
||||
uchardet.vapi | 36 ++++++++++++++++++++++++++++++++++++
|
||||
vala-extra-vapis | 1 -
|
||||
5 files changed, 40 insertions(+), 9 deletions(-)
|
||||
create mode 100644 uchardet.vapi
|
||||
delete mode 160000 vala-extra-vapis
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 8c3301d..5a86282 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -8,11 +8,11 @@ SUBDIRS = lib
|
||||
|
||||
include $(top_srcdir)/aminclude_static.am
|
||||
|
||||
-AM_VALAFLAGS = --debug --vapidir=$(srcdir) --vapidir=$(srcdir)/vala-extra-vapis
|
||||
+AM_VALAFLAGS = --debug --vapidir=$(srcdir)
|
||||
if OS_WIN32
|
||||
AM_VALAFLAGS += -D WINDOWS
|
||||
endif
|
||||
-VAPIS = config.vapi cmdline.vapi gnu.vapi pcre2.vapi
|
||||
+VAPIS = config.vapi cmdline.vapi gnu.vapi pcre2.vapi uchardet.vapi
|
||||
|
||||
LDADD = $(top_builddir)/lib/libgnu.a $(CODE_COVERAGE_LDFLAGS)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib $(CODE_COVERAGE_CPPFLAGS)
|
||||
diff --git a/rpl.vala b/rpl.vala
|
||||
index 32aab87..9bc0374 100644
|
||||
--- a/rpl.vala
|
||||
+++ b/rpl.vala
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/env -S vala --vapidir=. --vapidir=./vala-extra-vapis --pkg gio-2.0 --pkg posix --pkg gnu --pkg config --pkg cmdline --pkg pcre2 --pkg uchardet fd-stream.vala prefix-input-stream.vala
|
||||
+#! /usr/bin/env -S vala --vapidir=. --pkg gio-2.0 --pkg posix --pkg gnu --pkg config --pkg cmdline --pkg pcre2 --pkg uchardet fd-stream.vala prefix-input-stream.vala
|
||||
// rpl: search and replace text in files
|
||||
//
|
||||
// © 2025 Reuben Thomas <rrt@sc3d.org>
|
||||
@@ -20,7 +20,6 @@ using Config;
|
||||
using Posix;
|
||||
using Pcre2;
|
||||
using Gengetopt;
|
||||
-using UcharDet;
|
||||
|
||||
|
||||
void info (string msg) {
|
||||
@@ -569,7 +568,7 @@ int main (string[] argv) {
|
||||
warn (@"error reading $filename: $(e.message); skipping!");
|
||||
continue;
|
||||
} // GCOVR_EXCL_STOP
|
||||
- var detector = new UcharDet.Classifier ();
|
||||
+ var detector = new UCharDet ();
|
||||
var ok = detector.handle_data (buf.data) == 0;
|
||||
GLib.assert (ok);
|
||||
detector.data_end ();
|
||||
diff --git a/uchardet.vapi b/uchardet.vapi
|
||||
new file mode 100644
|
||||
index 0000000..db25893
|
||||
--- /dev/null
|
||||
+++ b/uchardet.vapi
|
||||
@@ -0,0 +1,36 @@
|
||||
+/* uchardet.vapi
|
||||
+ *
|
||||
+ * Copyright (C) 2025 Reuben Thomas
|
||||
+ *
|
||||
+ * This library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU Lesser General Public
|
||||
+ * License as published by the Free Software Foundation; either
|
||||
+ * version 2.1 of the License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ * Lesser General Public License for more details.
|
||||
+ *
|
||||
+ * You should have received a copy of the GNU Lesser General Public
|
||||
+ * License along with this library; if not, write to the Free Software
|
||||
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
+ *
|
||||
+ * Author:
|
||||
+ * Reuben Thomas <rrt@sc3d.org>
|
||||
+ */
|
||||
+
|
||||
+[Compact]
|
||||
+[CCode (cprefix = "uchardet_", cheader_filename = "uchardet.h", cname = "uchardet_t", free_function = "uchardet_delete")]
|
||||
+public class UCharDet {
|
||||
+ [CCode (cname = "uchardet_new")]
|
||||
+ public UCharDet ();
|
||||
+
|
||||
+ public int handle_data ([CCode (array_length_type = "size_t")] uint8[] data);
|
||||
+
|
||||
+ public void data_end ();
|
||||
+
|
||||
+ public void data_reset ();
|
||||
+
|
||||
+ public unowned string get_charset ();
|
||||
+}
|
||||
\ No newline at end of file
|
||||
@ -5,7 +5,6 @@
|
||||
<email>shell-tools@gentoo.org</email>
|
||||
<name>Gentoo Shell Tools Project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">rpl</remote-id>
|
||||
<remote-id type="github">rrthomas/rpl</remote-id>
|
||||
|
||||
@ -16,7 +16,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~sparc ~x86"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~sparc ~x86"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
40
app-text/rpl/rpl-2.0.4.ebuild
Normal file
40
app-text/rpl/rpl-2.0.4.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools vala
|
||||
|
||||
DESCRIPTION="Intelligent recursive search/replace utility"
|
||||
HOMEPAGE="https://rpl.sourceforge.net/ https://github.com/rrthomas/rpl"
|
||||
SRC_URI="https://github.com/rrthomas/rpl/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# unable to cause tests to pass fully
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/uchardet
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpcre2:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/gengetopt
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
$(vala_depend)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-uchardet-vala.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
vala_setup
|
||||
rm *_vala.stamp || die
|
||||
}
|
||||
@ -1,4 +1,3 @@
|
||||
DIST Sigil_User_Guide_2024.08.15.epub 12641984 BLAKE2B feaa8a4f6b64786d5cbf494a61c8726a5dd3e169ca8902348e2fee9f890ab7496b5ad018d49d6cecd65cb3d3d4a9b4a6bda019ac52c324fa92fad3e7b5dbc680 SHA512 10199c037a57f4b9ed913a8c726a58e376dcd34300a98cdd4cf934fd3a2f9a26d2f92bd85131af7ee1084824d7b082f7becdec9b0731a62f9cde712bfada5a09
|
||||
DIST Sigil_User_Guide_20250912.epub 13247414 BLAKE2B 56849469c035746c197837711f99d4ba774e52326c187fc20a34d7cff01b8da66a17055926ec636a59f79e63d22b2b9c7f90a08ff176496360cfb32b790ca1a0 SHA512 1fca88a0adec13f28435208c521dedf0a0e01c17412a1a31598451ffe69453135325cbc710fda4e0522928bf78ff8c896c727732792812fee718261f72ce57f7
|
||||
DIST sigil-2.6.0.tar.gz 19447356 BLAKE2B 9072bd8d58f82c6adee0a62af7ad644ed7c887da96d637b50060bae6ceac9244483ea579d570ef3487c1e8a279814c7a415c946c0c027b85a1dd6efbc49a5919 SHA512 a0c34df59d3409daa36d333d67cfff99f7386a56c666f395b401e9b20d81969af9e910d18f6ddbe2d86e307fe09f85e8f72a0d7bea0fd3ad4b40669421ab0d0d
|
||||
DIST sigil-2.6.2.tar.gz 19462877 BLAKE2B 3e04c5243ccb2cc07950e8040446c985b5a59340e9c805d87154eaf758091a4be2a8c0e6b6e999c3e8198262c8a94a4573252614ba0cd93ce3343b74b61876f6 SHA512 e15c7f19eec98b0d4762e35cadb6140440999d92ce87a3c59a3b94dbbcdc3b7ccc85b2d1084633720afca16329d5345d8f2bfdbd66b7566ebc293fbdebf49ab3
|
||||
DIST sigil-2.7.0.tar.gz 19493969 BLAKE2B bed39e9d2fcf1c4d6301f0483c5efa842625d3bc9a7718dd1760b9eabe1572bad209334552024122cb5aa0224c2aaae9f1f665ddfab0daecec1db6a6388d07f9 SHA512 63d4adffe53555fa070ecd482e41cce4ef433ea6035402021486695e756f061e3a1b018268e541220d758a972f11a19e61b9c5ab3cea7e8872504b36e374a458
|
||||
|
||||
@ -3,11 +3,11 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit xdg cmake python-single-r1
|
||||
|
||||
DOC_VERSION="2024.08.15"
|
||||
DOC_VERSION="20250912"
|
||||
DOC_FILE="Sigil_User_Guide_${DOC_VERSION}.epub"
|
||||
|
||||
DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format"
|
||||
@ -18,7 +18,7 @@ S=${WORKDIR}/${P^}
|
||||
|
||||
LICENSE="GPL-3+ Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc +plugins +system-mathjax"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
DIST meson-1.1.1.tar.gz 2125503 BLAKE2B 295b46d19c8a1d64d326a6c826e2abe11d9768902ed2f8816df18677e7f3f58decc0c660925821825ecd9a4955a65bda8b2aa66a7bb1961810d8f78f92a3fd8a SHA512 c6259d73566d2532b87e8a23951363103f7be2aacdf120e50946273a2fed6b1602104a3ffbfda159138ac8f780d2c3e67a6fe2c8c228b73c1266775491797adb
|
||||
DIST meson-1.1.1.tar.gz.asc 833 BLAKE2B 165f3a0e8093995e82efcdea78b8cf0d2479505aeec145cf0c4bf3448dd74f0b5d1631e574e7d945d5b5976e11c065043ab0a6efe5646484a5bcd6386050a073 SHA512 004ec7e530ad21b012e461c8d50322295e4ec96a1a3197dbcbeb24b8bd6465a34008541e6fc547e451a50dce53f7ce170ec1bfd8c465ded56a5924e880aa0539
|
||||
DIST meson-1.10.0rc1.tar.gz 2413344 BLAKE2B c86c14492708262a163ac1c5f27e5c255355eacbf5f9aafce210f5a7d2a4f10aa87f5e58c49a46c234de7b42869ebc964992492787fee67dcf1d8f254a993282 SHA512 9f7de48678fc3af181647a2cb3c07ed5e72b49921d440eb77193d9468a52d870f6da196ce06894ad85d0c483fb82ec558924f87abda28279a5584d1ea5d5fbc1
|
||||
DIST meson-1.10.0rc1.tar.gz.asc 833 BLAKE2B 893f3a843684c04bdd2d59038e0adc2aff5dad786746acf79e13f85928bd5e2eee52918f1868dd18d3857c46a2574de888ea61d9ea558caca676371cd2fbee36 SHA512 f0c54508a3cdaf70a656a874f6a78aa80ad91badb49316dab0a4e3bf73038bd1256510e99024e541bc0c72716fb66b6b648d641a9767b1f2e842cda82bca285e
|
||||
DIST meson-1.10.0rc2.tar.gz 2412412 BLAKE2B 9d8f7657085d4aa22eea5b08954c322d62675c1bb34a3b7d6931f8fd58f5faa7f2ed1544afc62b781fd0c8006b5060031f38d5c9ecad13fbb1080e026f52910e SHA512 2b77d422056696aab2c1d34bf0670dd74e4322c90b39b4b7c6f8281d81db13c973675b85888fa248c034784c86d8abf8e85a29dbc497a934e70009700fdf0276
|
||||
DIST meson-1.10.0rc2.tar.gz.asc 833 BLAKE2B d71db628f222b8ffaa3bd4d65e4f4ab19e4ce726bab22d34fd00e59f88b7d12d2133c7328029550590ea6d8dfb5043acd8e69f51637e6a34307f0ec5d4340cca SHA512 02027b74966618f271d523578ece4faa7c7056d0e80f3038b0f5d0a3a1b4e9c8ea966e7d49d8cbb609084b646a47f8f4831bc592cc243934cf88160ab011ee6e
|
||||
DIST meson-1.2.3.tar.gz 2184484 BLAKE2B 7d76c54bddba249ab97ebd5dd0afc448177ff9fa70812a8ca0cc9fe308c9b145b3fbc3ee068acae0fdc73edff42134b7a0b618cd80a05347a424aca7bc8bbef8 SHA512 cdcadc731effc1ffb2de98b795ba37955f934ed9b54b9f7f3ac5fe96ab33268d4de4fce734a4c2ef7d2ecc5051616df127e1f8665e197ff954310bf1483b81fc
|
||||
DIST meson-1.2.3.tar.gz.asc 833 BLAKE2B 1416c49302aab80b5f647cc1d6cd18c36f6199e79c7d13ea284143b2423267b5823850218578626937c14589ebcdf19069b310394c63bc762ab8f59d7ebe3780 SHA512 852c031ecfe032cb48d284bb270597d114294b7d1be5dd0df6ec2f78a62e1a5ba82711bc14ae410e47ced54f99a639055a1628b0acf7aa07a3a80034fce5ebc9
|
||||
DIST meson-1.3.2.tar.gz 2223798 BLAKE2B 72b061598a0cb22517460de4df25394a9dfbddb536c5b8e75b7267ae21292fe2a6a3ec16d64aa81cde63d33022decebcc051cf2d87d677f9b40eb2f4106a40cd SHA512 6369c6d64f91c769f0f4d3e2445bb3615785998489d41acba2134b44ec89abd04bd97a3d3d17c64779eb40b0bf4808e3419eb47638169446a98824d680f37a7b
|
||||
@ -18,7 +18,7 @@ DIST meson-1.8.5.tar.gz 5056050 BLAKE2B 4f67b140329d3b64dcc213e0c4e65d105dd98e03
|
||||
DIST meson-1.8.5.tar.gz.asc 996 BLAKE2B ff8c1ffe8fd8488a00ffcc9d5d0c19dcadfca5216ad8c70daf44526f949c835d775dc558932237a891345e9d900385081ee1d7c76b41237aac423bf72b8f5f7b SHA512 da9ff37ac207dbfbe8bca511e6b8ee233aaaf89653bf00c43d2fed2ecaf0b59b0b11bd4efafa4f87a6f70c8ad11f23834d313c7d1ae07a77baa0d9cfbbe535aa
|
||||
DIST meson-1.9.1.tar.gz 5083044 BLAKE2B a4d1894636ee61fa0101153f07d53717d34ba9de620b69becf669e06dc09a85874b4c5d619a509347c97e4112502a431affecccc5faf96464b072b5563247b9e SHA512 e5a167ff035f1494d6b1df7d3bf6feb37aa6421222fd27bfbebb36de4c7c3083e327679b82b7d9d3d4a2cc4dc2a3babb7cbf03358e4a2784d47eb34502014a1c
|
||||
DIST meson-1.9.1.tar.gz.asc 992 BLAKE2B 5271c87e19da0f0776c01b1f9f71eef0540e532a9397dbbff3c09c9b3b7698b8ea650f46c8b7edab8e5fd72c1fce4445d556c310770cc23c8275ebf8f06241f6 SHA512 a621781134e4793ea557fd1487895b65a38de23b676a7b6d8d7ac779abcdf768bdf09f933ea7ecedee0cd78fa62ab6319a9108cdf39ffa2e5695cddf183fb903
|
||||
DIST meson-reference-1.10.0rc1.3 364969 BLAKE2B d04289e25879ed74a5dd9cfc35978ba6413b9d6f71e4a4c0e7862b0d2b929d0f298b294ec508c512235baa832ba50a303100430b4e968fc6255a41cabca4d947 SHA512 b7e69032a316679d99602cb9e07a3187a4929cc8f89309df098efa908c12de78d6e9bee25bbf3dc31c833d8f0bbb26945f7e1b595d80a82c9ed8f0e1708d04eb
|
||||
DIST meson-reference-1.10.0rc2.3 365878 BLAKE2B 73f3647bbd9d8780d397b7666d9efe7fd7e34896759c0c5075d00fb422ea110236b588f7b44582accd96b0e83cad404ff214c6693bc660b79fbdd3165cb76d16 SHA512 64828b68101e6db8c59137909044129ec7073b92474928c495f36bb4906fe3fb151a86e49e14a806e19cff578b1838a4ec225ef84097206b8d561aa8a4e6b5e4
|
||||
DIST meson-reference-1.4.2.3 339324 BLAKE2B 1a4fbd8c27a8cfba773777eabd2ebaa0f76ec0c61dcfe1c7b4483737b348ff9528d68f26e68d7d40b2e1875611eed5b9a31c1cf55fed8eabb42fc1e31d9ef14b SHA512 8b8ec43e812599203ec44c08805eb6818485805c45b9c69802261eaa35efc97846a96f6472c6b1ef5f6c703e7153fd957df7b805f173ca3400a2030dfbe002ca
|
||||
DIST meson-reference-1.5.2.3 341110 BLAKE2B 0d588b796f7f2da2dcb0e7822acde6a9a461930da4bfead3cf9148fa0fac18cd0ccbc6e891f555c973836f1c16b4eae299908a838a0b6843293de8815d30fc23 SHA512 64715ce2113e362e7d67179fe13566bc8f84ce7f4e6d795b836f42455a871173fee06e3e969e2996022d7e6c9b4b5379587a4c0c3d97b4bca527fb8902d3547f
|
||||
DIST meson-reference-1.6.1.3 343730 BLAKE2B 55df822192781a70e4bc44cfe14fb363e3f820406260ca9705d7fdb5fad1bf0117e3f1325d37e58e23477bc075ab6bd84056409355ec694f72eeaa5bf982ecc7 SHA512 553cdcd86a7a600cda05ac970cc285c4c50017d1e7d2925645d7f19a62b34c2f079673cafecf4111aa102afbe9d8e4d56f166d1d9940b740eeec0bb99d6cbc0d
|
||||
|
||||
@ -12,6 +12,9 @@ inherit cmake
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/aws-c-auth:=
|
||||
@ -31,6 +34,11 @@ src_configure()
|
||||
{
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DEPS=OFF # disable embedded 3rd-party repositories.
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail.
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
@ -22,7 +22,7 @@ LICENSE="Apache-2.0"
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc java +kpoll odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
|
||||
@ -12,6 +12,8 @@ DIST Python-3.12.11.tar.xz 20525812 BLAKE2B 08eed9d91fe0be305fe9832f5fae5ed4ffdb
|
||||
DIST Python-3.12.11.tar.xz.asc 963 BLAKE2B 4c7eea750312ba996f88c452e51b58c0176d53f43e5bd30fd41a931540320b598b6d1e93d79996ce30dfa22858c4c3ed2cb24d16ba0a891a146fbf81ec60b07b SHA512 3589deba17c5adcfcd614387a5207ad20db56cd9c7937eb44e21035a8745f1c6bb9a1b7cfe8bc5b58ecc7cca09ed49fd4c2878f65baecb2514e79c666f85a22e
|
||||
DIST Python-3.12.12.tar.xz 20798712 BLAKE2B 3ce140b5b2c5e3b055118c8595385c7d79582c64cd8dfe9dbd062f8e38a7a995bf51f7c61e1faa768bd36c315c3493d27cd81c7425c7416454f41f77431eac0f SHA512 4b99d240dd96a6e154909dcffe87f8bb38193d634cd80a1c3d9e819b7a63af2afa46d5e6423e81f00dd388840dc29a4a71580f6aa1ce9a12e559c1d63f65a205
|
||||
DIST Python-3.12.12.tar.xz.asc 963 BLAKE2B 243d7e8000768b562ff771ec8dd8fdc6be2bc36174a1f0f8b00038df2264c9d1c8a14913d07df2826fead822a16db18ef08b40d553f6a9bdc0ea39645d6d798a SHA512 32c10fd427c6f9f11595493d1b4d4c3cade85bffd439fe11e8b0b2c619e06734097b6aaedfdb4fe035b7fdd7196714dba77cdc806923e4454d5bcf60056991a0
|
||||
DIST Python-3.13.10.tar.xz 22714348 BLAKE2B 3668feb55810ea9d1b47972060b38dde476008df1c759875f1433a7540a95483d11097024e5f8b0b46ba31078995fa32ec5a854ad10614934a42103a3a439bd6 SHA512 7edf3c1008b1df3a067bf03b8218fbd9f5da7226ba17d8ec54e54a30aca5051e6435eb447a999a9665097dbe65fde27356103c3ea5227b5605b233482e037b07
|
||||
DIST Python-3.13.10.tar.xz.asc 963 BLAKE2B 3a6339d73ce3ed847ea6d227ad471d1da96aaacf261d93b1e57dacd7902ed4c63efbb81a2fea35d8abe63a4aa139f8ea47e1e1c2a370093947c7578e44c7284a SHA512 b7ef2e4fe9d206e1d20c166224401f6b9bd782323d424e996e0a1cd38a0b7407b994bcc13a63bfa3558482c6775470769c4f11f873b515b8072b75c4cf835011
|
||||
DIST Python-3.13.5.tar.xz 22856016 BLAKE2B 9caacad8745dcd238b208022cb140a6655ae57ae0b7f5ac88efc84a96635c310102a5de20cbaa43ef3c329f454b142a0a019141279d49a4d657be5682a1d6521 SHA512 2a058072e87b614b204bd1321b2bfa9c4b6614dbd5ded98dc0ee51c0d6b81504f902b7c003ad14295b371a37918f6975dc37d5a9c836dd9c30f8b086e4759193
|
||||
DIST Python-3.13.5.tar.xz.asc 963 BLAKE2B 2db0162d18129ec42b48393108a72c28e7f8f8c3fa40b2e231c87fe0bdc3c166fb6ca4a1c1dfb3fffe1aa0c2618c7ccb245513beb7a0919b4aaca5ec7eb23b36 SHA512 07c1a2ec2d6ba2805680b7f1dc262fdc5dc3eec4503780ecdc08cd570ccbb5f1efa736ee03c83d36bdb33ce87db06be5892cf5a6eaf4018d5fe78fff99e615ae
|
||||
DIST Python-3.13.7.tar.xz 22769492 BLAKE2B 8654588ed12e8cd1d691a1869ed1db0d4b9dbb8e265bb0189cfb3cd1f21a298c1d8e9678e27c23b31e6c7f86478f33f3fc6bb66488a550bed60d64b7a801e65a SHA512 73fa04db860e8b98c204f84d403598fcb802b19bfc8f2675df2fddb6b153b1643daf081746a043f57c8fa71b950a439581aa5204c2bfadb8cfd8864ca4f42f0d
|
||||
@ -44,6 +46,7 @@ DIST python-gentoo-patches-3.11.14.tar.xz 15968 BLAKE2B 5bd091046feee03afd59a87b
|
||||
DIST python-gentoo-patches-3.12.11.tar.xz 12020 BLAKE2B b419d32b1d7bef9408027edda7eac9a920a877e1b8f521483df595199bad1bbadd9dd9500079c09beab63286a801bfb25da5f93a5d31462ed3e457a6e40ad6af SHA512 1b0eaff4c0df06554525a50576da7eadb4067c4f2970851e5c9e3e527a9ccc4216cbd65c45fd562af4a1cedc2c66278a74bee5cf5c1a65df8feb22f34f5a19e4
|
||||
DIST python-gentoo-patches-3.12.11_p1.tar.xz 23276 BLAKE2B 794485d0fa596f0f2797e2aa505f888a05e2ef63840068b3214efbe51b592586bcfdf193b71e239beb3c3037f01ca086b6b97aeff092b2a344e74d962fb9dffc SHA512 1402b0bbeb189ed4a16364398495fcccc31da0aad4fc88e30978e7754575fbd8f51974dcd97d2a57a581072f083233dfb00b30af687455ad170fc3c64875a9d5
|
||||
DIST python-gentoo-patches-3.12.12.tar.xz 12012 BLAKE2B 4a030f976e73160f74dd760a8cac55a5889bf821e998b717962aac8b79780c314dfbabf93a6919daa75565c3ef31dcf6af87f3ec6768db0ff02154c4c112ab08 SHA512 d5ee32b93fb4a1910a8e3aa0486ae284885c05bd03ada3540f4990b4f12c837cd154e76511db663542dde74d652c3d1d279098319dcc991e7195e8db5befea12
|
||||
DIST python-gentoo-patches-3.13.10.tar.xz 8948 BLAKE2B 015f92b6522be1087bfe796d3b1bc93ec46997d618367b871ef1c43bc6a2401f55e95a16ce2e72d6553931e99d7c0991fdc953faf7a99795a511944dd7c650d2 SHA512 691c2ead6f6c63cb714c989d5a1cd2fe6073c96fe244ba7768abf79678aa1ecc7039ee11e137678d793f6b43c742655546d7f65efe38d39b5a35a81d7ddfae8f
|
||||
DIST python-gentoo-patches-3.13.4.tar.xz 8912 BLAKE2B e3d9f2a12f801dc75e09c5301757f35216d712b5e5394f2ec3ce1d79d0cb57571dbca525e3d5c35b90fa059c2b78ee24341b6a51cbe9691deac84c9ee0578824 SHA512 1a7141accb7aa70c7bd8dd12528f7de031dfeab9ff089f3d044da0b7b52461e2d6d7d1467161e0fe1e259d9fa06d70bcf107d86ad3590e8cf73aa1132ef3aaf9
|
||||
DIST python-gentoo-patches-3.13.5_p1.tar.xz 19756 BLAKE2B ecc594573bbe3a28364d541d5e1014778c342b6e8ecb09e5e9def238ce73d51f178d02ae91bedce3f7aee4a753f2653aee4f4035f238fa60d603baa59ce4e89b SHA512 a60f3cf65b57aa6c85f59dc5f36fbabe1fa19a5225c3e224c99696bb3d1186b54bdad94627638a3a73b66ceb5958b3a5dcb2b83d13357c71ded04c98ad7da0b9
|
||||
DIST python-gentoo-patches-3.13.7_p1.tar.xz 8944 BLAKE2B f7d7769328fc5cb83f03a8e30602a556be032b71bf068871d22a2ae234fbe865a8f3801300c959d216274025b824fa1d0e5c8cc866c5e6ab38c0b484dc1c1b75 SHA512 a102b66d3b1766261b5bc56ed08c88dc0b34480750177b1d6051bc8b5e9e51df956dc604c5e3509b02fb0dd09d00473f7955652d41cf76299537e18c9bc16389
|
||||
|
||||
611
dev-lang/python/python-0.3.13.10.ebuild
Normal file
611
dev-lang/python/python-0.3.13.10.ebuild
Normal file
@ -0,0 +1,611 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic linux-info
|
||||
inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs
|
||||
inherit verify-sig
|
||||
|
||||
REAL_PV=${PV#0.}
|
||||
MY_PV=${REAL_PV}
|
||||
MY_P="Python-${MY_PV%_p*}"
|
||||
PYVER="$(ver_cut 2-3)t"
|
||||
PATCHSET="python-gentoo-patches-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Freethreading (no-GIL) version of Python programming language"
|
||||
HOMEPAGE="
|
||||
https://www.python.org/
|
||||
https://github.com/python/cpython/
|
||||
"
|
||||
SRC_URI="
|
||||
https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
||||
verify-sig? (
|
||||
https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="
|
||||
bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo
|
||||
+readline +sqlite +ssl test tk valgrind
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
app-crypt/libb2
|
||||
app-misc/mime-types
|
||||
>=dev-libs/expat-2.1:=
|
||||
dev-libs/libffi:=
|
||||
dev-libs/mpdecimal:=
|
||||
dev-python/gentoo-common
|
||||
>=virtual/zlib-1.1.3:=
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||
kernel_linux? ( sys-apps/util-linux:= )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
readline? (
|
||||
!libedit? ( >=sys-libs/readline-4.1:= )
|
||||
libedit? ( dev-libs/libedit:= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? ( >=dev-libs/openssl-1.1.1:= )
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:=
|
||||
>=dev-lang/tk-8.0:=
|
||||
dev-tcltk/blt:=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
"
|
||||
# bluetooth requires headers from bluez
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
test? (
|
||||
dev-python/ensurepip-pip
|
||||
dev-python/ensurepip-setuptools
|
||||
)
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
# autoconf-archive needed to eautoreconf
|
||||
BDEPEND="
|
||||
dev-build/autoconf-archive
|
||||
app-alternatives/awk
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
|
||||
"
|
||||
if [[ ${PV} != *_alpha* ]]; then
|
||||
RDEPEND+="
|
||||
dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]
|
||||
"
|
||||
fi
|
||||
PDEPEND="
|
||||
ensurepip? ( dev-python/ensurepip-pip )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
||||
|
||||
# large file tests involve a 2.5G file being copied (duplicated)
|
||||
CHECKREQS_DISK_BUILD=5500M
|
||||
|
||||
QA_PKGCONFIG_VERSION=${PYVER%t}
|
||||
# false positives -- functions specific to *BSD
|
||||
QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
|
||||
|
||||
declare -rgA PYTHON_KERNEL_CHECKS=(
|
||||
["CROSS_MEMORY_ATTACH"]="test_external_inspection" #bug 938589
|
||||
["DNOTIFY"]="test_fcntl" # bug 938662
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if use pgo || use test; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
|
||||
ewarn "Freethreading build is considered experimental upstream. Using it"
|
||||
ewarn "could lead to unexpected breakage, including race conditions"
|
||||
ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless"
|
||||
ewarn "you can reproduce the problem with dev-lang/python. Instead,"
|
||||
ewarn "please consider reporting freethreading problems upstream."
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
if use test || use pgo; then
|
||||
check-reqs_pkg_setup
|
||||
|
||||
local CONFIG_CHECK
|
||||
for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do
|
||||
CONFIG_CHECK+="~${f} "
|
||||
done
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat and libffi are not used.
|
||||
# TODO: Makefile has annoying deps on expat headers
|
||||
#rm -r Modules/expat || die
|
||||
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
# force the correct number of jobs
|
||||
# https://bugs.gentoo.org/737660
|
||||
sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
|
||||
|
||||
# breaks tests when using --with-wheel-pkg-dir
|
||||
rm -r Lib/test/wheeldata || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
build_cbuild_python() {
|
||||
# Hack to workaround get_libdir not being able to handle CBUILD, bug #794181
|
||||
local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi)
|
||||
|
||||
# pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
|
||||
# propagated to sysconfig for built extensions
|
||||
#
|
||||
# -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway)
|
||||
local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto"
|
||||
local -x LDFLAGS_NODIST=${BUILD_LDFLAGS}
|
||||
local -x CFLAGS= LDFLAGS=
|
||||
local -x BUILD_CFLAGS="${CFLAGS_NODIST}"
|
||||
local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
|
||||
|
||||
# We need to build our own Python on CBUILD first, and feed it in.
|
||||
# bug #847910
|
||||
local myeconfargs_cbuild=(
|
||||
"${myeconfargs[@]}"
|
||||
|
||||
--prefix="${BROOT}"/usr
|
||||
--libdir="${cbuild_libdir:2}"
|
||||
|
||||
# Avoid needing to load the right libpython.so.
|
||||
--disable-shared
|
||||
|
||||
# As minimal as possible for the mini CBUILD Python
|
||||
# we build just for cross to satisfy --with-build-python.
|
||||
--without-lto
|
||||
--without-readline
|
||||
--disable-optimizations
|
||||
)
|
||||
|
||||
mkdir "${WORKDIR}"/${P}-${CBUILD} || die
|
||||
pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
|
||||
|
||||
# Avoid as many dependencies as possible for the cross build.
|
||||
mkdir Modules || die
|
||||
cat > Modules/Setup.local <<-EOF || die
|
||||
*disabled*
|
||||
nis
|
||||
_dbm _gdbm
|
||||
_sqlite3
|
||||
_hashlib _ssl
|
||||
_curses _curses_panel
|
||||
readline
|
||||
_tkinter
|
||||
pyexpat
|
||||
zlib
|
||||
# We disabled these for CBUILD because Python's setup.py can't handle locating
|
||||
# libdir correctly for cross. This should be rechecked for the pure Makefile approach,
|
||||
# and uncommented if needed.
|
||||
#_ctypes
|
||||
EOF
|
||||
|
||||
ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
|
||||
|
||||
# Unfortunately, we do have to build this immediately, and
|
||||
# not in src_compile, because CHOST configure for Python
|
||||
# will check the existence of the --with-build-python value
|
||||
# immediately.
|
||||
emake
|
||||
popd &> /dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# disable automagic bluetooth headers detection
|
||||
if ! use bluetooth; then
|
||||
local -x ac_cv_header_bluetooth_bluetooth_h=no
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
# PKG_CONFIG needed for cross.
|
||||
tc-export CXX PKG_CONFIG
|
||||
|
||||
local dbmliborder=
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
# Set baseline test skip flags.
|
||||
COMMON_TEST_SKIPS=(
|
||||
# running gdb inside an ebuild as non-root, within sandbox,
|
||||
# and possibly within a container is unreliable
|
||||
-x test_gdb
|
||||
# this is actually test_gdb.test_pretty_print
|
||||
-x test_pretty_print
|
||||
# https://bugs.gentoo.org/933840
|
||||
-x test_perf_profiler
|
||||
)
|
||||
|
||||
# Arch-specific skips. See #931888 for a collection of these.
|
||||
case ${CHOST} in
|
||||
alpha*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
-x test_builtin
|
||||
-x test_capi
|
||||
-x test_cmath
|
||||
-x test_float
|
||||
# timeout
|
||||
-x test_free_threading
|
||||
-x test_math
|
||||
-x test_numeric_tower
|
||||
-x test_random
|
||||
-x test_statistics
|
||||
# bug 653850
|
||||
-x test_resource
|
||||
-x test_strtod
|
||||
)
|
||||
;;
|
||||
mips*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
-x test_ctypes
|
||||
-x test_external_inspection
|
||||
-x test_statistics
|
||||
)
|
||||
;;
|
||||
riscv*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
-x test_urllib2
|
||||
)
|
||||
;;
|
||||
sparc*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
# bug 788022
|
||||
-x test_multiprocessing_fork
|
||||
-x test_multiprocessing_forkserver
|
||||
-x test_multiprocessing_spawn
|
||||
|
||||
-x test_ctypes
|
||||
# bug 931908
|
||||
-x test_exceptions
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
# Kernel-config specific skips
|
||||
for option in "${!PYTHON_KERNEL_CHECKS[@]}"; do
|
||||
if ! linux_config_exists || ! linux_chkconfig_present "${option}"
|
||||
then
|
||||
COMMON_TEST_SKIPS+=( -x "${PYTHON_KERNEL_CHECKS[${option}]}" )
|
||||
fi
|
||||
done
|
||||
|
||||
# musl-specific skips
|
||||
use elibc_musl && COMMON_TEST_SKIPS+=(
|
||||
# various musl locale deficiencies
|
||||
-x test__locale
|
||||
-x test_c_locale_coercion
|
||||
-x test_locale
|
||||
-x test_re
|
||||
|
||||
# known issues with find_library on musl
|
||||
# https://bugs.python.org/issue21622
|
||||
-x test_ctypes
|
||||
|
||||
# fpathconf, ttyname errno values
|
||||
-x test_os
|
||||
)
|
||||
|
||||
if use pgo; then
|
||||
local profile_task_flags=(
|
||||
-m test
|
||||
"-j$(makeopts_jobs)"
|
||||
--pgo-extended
|
||||
--verbose3
|
||||
-u-network
|
||||
|
||||
# We use a timeout because of how often we've had hang issues
|
||||
# here. It also matches the default upstream PROFILE_TASK.
|
||||
--timeout 1200
|
||||
|
||||
"${COMMON_TEST_SKIPS[@]}"
|
||||
|
||||
-x test_dtrace
|
||||
|
||||
# All of these seem to occasionally hang for PGO inconsistently
|
||||
# They'll even hang here but be fine in src_test sometimes.
|
||||
# bug #828535 (and related: bug #788022)
|
||||
-x test_asyncio
|
||||
-x test_httpservers
|
||||
-x test_logging
|
||||
-x test_multiprocessing_fork
|
||||
-x test_socket
|
||||
-x test_xmlrpc
|
||||
|
||||
# Hangs (actually runs indefinitely executing itself w/ many cpython builds)
|
||||
# bug #900429
|
||||
-x test_tools
|
||||
)
|
||||
|
||||
if has_version "app-arch/rpm" ; then
|
||||
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
|
||||
profile_task_flags+=(
|
||||
-x test_distutils
|
||||
)
|
||||
fi
|
||||
# PGO sometimes fails randomly
|
||||
local -x PROFILE_TASK="${profile_task_flags[*]} || true"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
||||
# Python on glibc upgrade, remove it proactively to give
|
||||
# a chance for users rebuilding python before glibc
|
||||
ac_cv_header_stropts_h=no
|
||||
|
||||
--enable-shared
|
||||
--without-static-libpython
|
||||
--enable-ipv6
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--without-lto
|
||||
--with-system-expat
|
||||
--with-system-libmpdec
|
||||
--with-platlibdir=lib
|
||||
--with-pkg-config=yes
|
||||
--with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
|
||||
--disable-gil
|
||||
|
||||
$(use_with debug assertions)
|
||||
$(use_enable pgo optimizations)
|
||||
$(use_with readline readline "$(usex libedit editline readline)")
|
||||
$(use_with valgrind)
|
||||
)
|
||||
|
||||
if tc-is-lto; then
|
||||
myeconfargs+=(
|
||||
--with-lto
|
||||
)
|
||||
fi
|
||||
|
||||
# Force-disable modules we don't want built.
|
||||
# See Modules/Setup for docs on how this works. Setup.local contains our local deviations.
|
||||
cat > Modules/Setup.local <<-EOF || die
|
||||
*disabled*
|
||||
nis
|
||||
$(usev !gdbm '_gdbm _dbm')
|
||||
$(usev !sqlite '_sqlite3')
|
||||
$(usev !ssl '_hashlib _ssl')
|
||||
$(usev !ncurses '_curses _curses_panel')
|
||||
$(usev !readline 'readline')
|
||||
$(usev !tk '_tkinter')
|
||||
EOF
|
||||
|
||||
# disable implicit optimization/debugging flags
|
||||
local -x OPT=
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
build_cbuild_python
|
||||
myeconfargs+=(
|
||||
# Point the imminent CHOST build to the Python we just
|
||||
# built for CBUILD.
|
||||
--with-build-python="${WORKDIR}"/${P}-${CBUILD}/python
|
||||
)
|
||||
fi
|
||||
|
||||
# pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
|
||||
# propagated to sysconfig for built extensions
|
||||
local -x CFLAGS_NODIST=${CFLAGS}
|
||||
local -x LDFLAGS_NODIST=${LDFLAGS}
|
||||
local -x CFLAGS= LDFLAGS=
|
||||
|
||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
||||
if use ncurses; then
|
||||
append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
|
||||
# install epython.py as part of stdlib
|
||||
echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Ensure sed works as expected
|
||||
# https://bugs.gentoo.org/594768
|
||||
local -x LC_ALL=C
|
||||
export PYTHONSTRICTEXTENSIONBUILD=1
|
||||
|
||||
# Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
|
||||
# end up writing bytecode & violating sandbox.
|
||||
# bug #831897
|
||||
local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
# Gentoo hack to disable accessing system site-packages
|
||||
export GENTOO_CPYTHON_BUILD=1
|
||||
|
||||
if use pgo ; then
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x TMPDIR=/var/tmp
|
||||
fi
|
||||
|
||||
# also need to clear the flags explicitly here or they end up
|
||||
# in _sysconfigdata*
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Restore saved value from above.
|
||||
local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# this just happens to skip test_support.test_freeze that is broken
|
||||
# without bundled expat
|
||||
# TODO: get a proper skip for it upstream
|
||||
local -x LOGNAME=buildbot
|
||||
|
||||
local test_opts=(
|
||||
--verbose3
|
||||
-u-network
|
||||
-j "$(makeopts_jobs)"
|
||||
"${COMMON_TEST_SKIPS[@]}"
|
||||
)
|
||||
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x TMPDIR=/var/tmp
|
||||
|
||||
nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
|
||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local ret=${?}
|
||||
|
||||
[[ ${ret} -eq 0 ]] || die "emake test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/lib/python${PYVER}
|
||||
|
||||
# -j1 hack for now for bug #843458
|
||||
emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
||||
# Fix collision with GIL-enabled build.
|
||||
rm "${ED}/usr/bin/python${PYVER%t}" || die
|
||||
mv "${ED}"/usr/bin/pydoc{${PYVER%t},${PYVER}} || die
|
||||
mv "${ED}"/usr/share/man/man1/python{${PYVER%t},${PYVER}}.1 || die
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
# python seems to get rebuilt in src_install (bug 569908)
|
||||
# Work around it for now.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
||||
else
|
||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
||||
fi
|
||||
|
||||
rm -r "${libdir}"/ensurepip/_bundled || die
|
||||
if ! use sqlite; then
|
||||
rm -r "${libdir}/"sqlite3 || die
|
||||
fi
|
||||
if use tk; then
|
||||
# rename to avoid collision with dev-lang/python
|
||||
mv "${ED}"/usr/bin/idle{${PYVER%t},${PYVER}} || die
|
||||
else
|
||||
rm -r "${ED}/usr/bin/idle${PYVER%t}" || die
|
||||
rm -r "${libdir}/"{idlelib,tkinter} || die
|
||||
fi
|
||||
|
||||
ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
||||
dodoc -r Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(
|
||||
printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' |
|
||||
emake --no-print-directory -s -f - 2>/dev/null
|
||||
)
|
||||
newins Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
local EPYTHON=python${PYVER}
|
||||
local scriptdir=${D}$(python_get_scriptdir)
|
||||
mkdir -p "${scriptdir}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die
|
||||
# pydoc
|
||||
ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
|
||||
fi
|
||||
}
|
||||
616
dev-lang/python/python-3.13.10.ebuild
Normal file
616
dev-lang/python/python-3.13.10.ebuild
Normal file
@ -0,0 +1,616 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
LLVM_COMPAT=( 18 )
|
||||
LLVM_OPTIONAL=1
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic linux-info llvm-r1
|
||||
inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs
|
||||
inherit verify-sig
|
||||
|
||||
MY_PV=${PV}
|
||||
MY_P="Python-${MY_PV%_p*}"
|
||||
PYVER=$(ver_cut 1-2)
|
||||
PATCHSET="python-gentoo-patches-${MY_PV}"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="
|
||||
https://www.python.org/
|
||||
https://github.com/python/cpython/
|
||||
"
|
||||
SRC_URI="
|
||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
||||
verify-sig? (
|
||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="
|
||||
bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo
|
||||
+readline +sqlite +ssl test tk valgrind
|
||||
"
|
||||
REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
app-crypt/libb2
|
||||
app-misc/mime-types
|
||||
>=dev-libs/expat-2.1:=
|
||||
dev-libs/libffi:=
|
||||
dev-libs/mpdecimal:=
|
||||
dev-python/gentoo-common
|
||||
>=virtual/zlib-1.1.3:=
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||
kernel_linux? ( sys-apps/util-linux:= )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
readline? (
|
||||
!libedit? ( >=sys-libs/readline-4.1:= )
|
||||
libedit? ( dev-libs/libedit:= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? ( >=dev-libs/openssl-1.1.1:= )
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:=
|
||||
>=dev-lang/tk-8.0:=
|
||||
dev-tcltk/blt:=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
"
|
||||
# bluetooth requires headers from bluez
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
test? (
|
||||
dev-python/ensurepip-pip
|
||||
dev-python/ensurepip-setuptools
|
||||
)
|
||||
valgrind? ( dev-debug/valgrind )
|
||||
"
|
||||
# autoconf-archive needed to eautoreconf
|
||||
BDEPEND="
|
||||
dev-build/autoconf-archive
|
||||
app-alternatives/awk
|
||||
virtual/pkgconfig
|
||||
jit? (
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}
|
||||
llvm-core/llvm:${LLVM_SLOT}
|
||||
')
|
||||
)
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 )
|
||||
"
|
||||
if [[ ${PV} != *_alpha* ]]; then
|
||||
RDEPEND+="
|
||||
dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]
|
||||
"
|
||||
fi
|
||||
PDEPEND="
|
||||
ensurepip? ( dev-python/ensurepip-pip )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
||||
|
||||
# large file tests involve a 2.5G file being copied (duplicated)
|
||||
CHECKREQS_DISK_BUILD=5500M
|
||||
|
||||
QA_PKGCONFIG_VERSION=${PYVER}
|
||||
# false positives -- functions specific to *BSD
|
||||
QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
|
||||
|
||||
declare -rgA PYTHON_KERNEL_CHECKS=(
|
||||
["CROSS_MEMORY_ATTACH"]="test_external_inspection" #bug 938589
|
||||
["DNOTIFY"]="test_fcntl" # bug 938662
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if use pgo || use test; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
|
||||
if use jit; then
|
||||
ewarn "USE=jit is considered experimental upstream. Using it"
|
||||
ewarn "could lead to unexpected breakage, including race conditions"
|
||||
ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless"
|
||||
ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead,"
|
||||
ewarn "please consider reporting JIT problems upstream."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
use jit && llvm-r1_pkg_setup
|
||||
if use test || use pgo; then
|
||||
check-reqs_pkg_setup
|
||||
|
||||
local CONFIG_CHECK
|
||||
for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do
|
||||
CONFIG_CHECK+="~${f} "
|
||||
done
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat and libffi are not used.
|
||||
# TODO: Makefile has annoying deps on expat headers
|
||||
#rm -r Modules/expat || die
|
||||
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
# force the correct number of jobs
|
||||
# https://bugs.gentoo.org/737660
|
||||
sed -i -e "s:-j0:-j$(makeopts_jobs):" Makefile.pre.in || die
|
||||
|
||||
# breaks tests when using --with-wheel-pkg-dir
|
||||
rm -r Lib/test/wheeldata || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
build_cbuild_python() {
|
||||
# Hack to workaround get_libdir not being able to handle CBUILD, bug #794181
|
||||
local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi)
|
||||
|
||||
# pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
|
||||
# propagated to sysconfig for built extensions
|
||||
#
|
||||
# -fno-lto to avoid bug #700012 (not like it matters for mini-CBUILD Python anyway)
|
||||
local -x CFLAGS_NODIST="${BUILD_CFLAGS} -fno-lto"
|
||||
local -x LDFLAGS_NODIST=${BUILD_LDFLAGS}
|
||||
local -x CFLAGS= LDFLAGS=
|
||||
local -x BUILD_CFLAGS="${CFLAGS_NODIST}"
|
||||
local -x BUILD_LDFLAGS=${LDFLAGS_NODIST}
|
||||
|
||||
# We need to build our own Python on CBUILD first, and feed it in.
|
||||
# bug #847910
|
||||
local myeconfargs_cbuild=(
|
||||
"${myeconfargs[@]}"
|
||||
|
||||
--prefix="${BROOT}"/usr
|
||||
--libdir="${cbuild_libdir:2}"
|
||||
|
||||
# Avoid needing to load the right libpython.so.
|
||||
--disable-shared
|
||||
|
||||
# As minimal as possible for the mini CBUILD Python
|
||||
# we build just for cross to satisfy --with-build-python.
|
||||
--without-lto
|
||||
--without-readline
|
||||
--disable-optimizations
|
||||
)
|
||||
|
||||
mkdir "${WORKDIR}"/${P}-${CBUILD} || die
|
||||
pushd "${WORKDIR}"/${P}-${CBUILD} &> /dev/null || die
|
||||
|
||||
# Avoid as many dependencies as possible for the cross build.
|
||||
mkdir Modules || die
|
||||
cat > Modules/Setup.local <<-EOF || die
|
||||
*disabled*
|
||||
nis
|
||||
_dbm _gdbm
|
||||
_sqlite3
|
||||
_hashlib _ssl
|
||||
_curses _curses_panel
|
||||
readline
|
||||
_tkinter
|
||||
pyexpat
|
||||
zlib
|
||||
# We disabled these for CBUILD because Python's setup.py can't handle locating
|
||||
# libdir correctly for cross. This should be rechecked for the pure Makefile approach,
|
||||
# and uncommented if needed.
|
||||
#_ctypes
|
||||
EOF
|
||||
|
||||
ECONF_SOURCE="${S}" econf_build "${myeconfargs_cbuild[@]}"
|
||||
|
||||
# Unfortunately, we do have to build this immediately, and
|
||||
# not in src_compile, because CHOST configure for Python
|
||||
# will check the existence of the --with-build-python value
|
||||
# immediately.
|
||||
emake
|
||||
popd &> /dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# disable automagic bluetooth headers detection
|
||||
if ! use bluetooth; then
|
||||
local -x ac_cv_header_bluetooth_bluetooth_h=no
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
# PKG_CONFIG needed for cross.
|
||||
tc-export CXX PKG_CONFIG
|
||||
|
||||
local dbmliborder=
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
# Set baseline test skip flags.
|
||||
COMMON_TEST_SKIPS=(
|
||||
# running gdb inside an ebuild as non-root, within sandbox,
|
||||
# and possibly within a container is unreliable
|
||||
-x test_gdb
|
||||
# this is actually test_gdb.test_pretty_print
|
||||
-x test_pretty_print
|
||||
# https://bugs.gentoo.org/933840
|
||||
-x test_perf_profiler
|
||||
)
|
||||
|
||||
# Arch-specific skips. See #931888 for a collection of these.
|
||||
case ${CHOST} in
|
||||
alpha*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
-x test_builtin
|
||||
-x test_capi
|
||||
-x test_cmath
|
||||
-x test_float
|
||||
# timeout
|
||||
-x test_free_threading
|
||||
-x test_math
|
||||
-x test_numeric_tower
|
||||
-x test_random
|
||||
-x test_statistics
|
||||
# bug 653850
|
||||
-x test_resource
|
||||
-x test_strtod
|
||||
)
|
||||
;;
|
||||
mips*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
-x test_ctypes
|
||||
-x test_external_inspection
|
||||
-x test_statistics
|
||||
)
|
||||
;;
|
||||
riscv*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
-x test_urllib2
|
||||
)
|
||||
;;
|
||||
sparc*)
|
||||
COMMON_TEST_SKIPS+=(
|
||||
# bug 788022
|
||||
-x test_multiprocessing_fork
|
||||
-x test_multiprocessing_forkserver
|
||||
-x test_multiprocessing_spawn
|
||||
|
||||
-x test_ctypes
|
||||
# bug 931908
|
||||
-x test_exceptions
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
# Kernel-config specific skips
|
||||
for option in "${!PYTHON_KERNEL_CHECKS[@]}"; do
|
||||
if ! linux_config_exists || ! linux_chkconfig_present "${option}"
|
||||
then
|
||||
COMMON_TEST_SKIPS+=( -x "${PYTHON_KERNEL_CHECKS[${option}]}" )
|
||||
fi
|
||||
done
|
||||
|
||||
# musl-specific skips
|
||||
use elibc_musl && COMMON_TEST_SKIPS+=(
|
||||
# various musl locale deficiencies
|
||||
-x test__locale
|
||||
-x test_c_locale_coercion
|
||||
-x test_locale
|
||||
-x test_re
|
||||
|
||||
# known issues with find_library on musl
|
||||
# https://bugs.python.org/issue21622
|
||||
-x test_ctypes
|
||||
|
||||
# fpathconf, ttyname errno values
|
||||
-x test_os
|
||||
)
|
||||
|
||||
if use pgo; then
|
||||
local profile_task_flags=(
|
||||
-m test
|
||||
"-j$(makeopts_jobs)"
|
||||
--pgo-extended
|
||||
--verbose3
|
||||
-u-network
|
||||
|
||||
# We use a timeout because of how often we've had hang issues
|
||||
# here. It also matches the default upstream PROFILE_TASK.
|
||||
--timeout 1200
|
||||
|
||||
"${COMMON_TEST_SKIPS[@]}"
|
||||
|
||||
-x test_dtrace
|
||||
|
||||
# All of these seem to occasionally hang for PGO inconsistently
|
||||
# They'll even hang here but be fine in src_test sometimes.
|
||||
# bug #828535 (and related: bug #788022)
|
||||
-x test_asyncio
|
||||
-x test_httpservers
|
||||
-x test_logging
|
||||
-x test_multiprocessing_fork
|
||||
-x test_socket
|
||||
-x test_xmlrpc
|
||||
|
||||
# Hangs (actually runs indefinitely executing itself w/ many cpython builds)
|
||||
# bug #900429
|
||||
-x test_tools
|
||||
)
|
||||
|
||||
if has_version "app-arch/rpm" ; then
|
||||
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
|
||||
profile_task_flags+=(
|
||||
-x test_distutils
|
||||
)
|
||||
fi
|
||||
# PGO sometimes fails randomly
|
||||
local -x PROFILE_TASK="${profile_task_flags[*]} || true"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
||||
# Python on glibc upgrade, remove it proactively to give
|
||||
# a chance for users rebuilding python before glibc
|
||||
ac_cv_header_stropts_h=no
|
||||
|
||||
--enable-shared
|
||||
--without-static-libpython
|
||||
--enable-ipv6
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--without-lto
|
||||
--with-system-expat
|
||||
--with-system-libmpdec
|
||||
--with-platlibdir=lib
|
||||
--with-pkg-config=yes
|
||||
--with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
|
||||
--enable-gil
|
||||
|
||||
$(use_with debug assertions)
|
||||
$(use_enable jit experimental-jit)
|
||||
$(use_enable pgo optimizations)
|
||||
$(use_with readline readline "$(usex libedit editline readline)")
|
||||
$(use_with valgrind)
|
||||
)
|
||||
|
||||
if tc-is-lto; then
|
||||
myeconfargs+=(
|
||||
--with-lto
|
||||
)
|
||||
fi
|
||||
|
||||
# Force-disable modules we don't want built.
|
||||
# See Modules/Setup for docs on how this works. Setup.local contains our local deviations.
|
||||
cat > Modules/Setup.local <<-EOF || die
|
||||
*disabled*
|
||||
nis
|
||||
$(usev !gdbm '_gdbm _dbm')
|
||||
$(usev !sqlite '_sqlite3')
|
||||
$(usev !ssl '_hashlib _ssl')
|
||||
$(usev !ncurses '_curses _curses_panel')
|
||||
$(usev !readline 'readline')
|
||||
$(usev !tk '_tkinter')
|
||||
EOF
|
||||
|
||||
# disable implicit optimization/debugging flags
|
||||
local -x OPT=
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
build_cbuild_python
|
||||
myeconfargs+=(
|
||||
# Point the imminent CHOST build to the Python we just
|
||||
# built for CBUILD.
|
||||
--with-build-python="${WORKDIR}"/${P}-${CBUILD}/python
|
||||
)
|
||||
fi
|
||||
|
||||
# pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
|
||||
# propagated to sysconfig for built extensions
|
||||
local -x CFLAGS_NODIST=${CFLAGS}
|
||||
local -x LDFLAGS_NODIST=${LDFLAGS}
|
||||
local -x CFLAGS= LDFLAGS=
|
||||
|
||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
||||
if use ncurses; then
|
||||
append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
|
||||
# install epython.py as part of stdlib
|
||||
echo "EPYTHON='python${PYVER}'" > Lib/epython.py || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Ensure sed works as expected
|
||||
# https://bugs.gentoo.org/594768
|
||||
local -x LC_ALL=C
|
||||
export PYTHONSTRICTEXTENSIONBUILD=1
|
||||
|
||||
# Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
|
||||
# end up writing bytecode & violating sandbox.
|
||||
# bug #831897
|
||||
local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
# Gentoo hack to disable accessing system site-packages
|
||||
export GENTOO_CPYTHON_BUILD=1
|
||||
|
||||
if use pgo ; then
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x TMPDIR=/var/tmp
|
||||
fi
|
||||
|
||||
# also need to clear the flags explicitly here or they end up
|
||||
# in _sysconfigdata*
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Restore saved value from above.
|
||||
local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# this just happens to skip test_support.test_freeze that is broken
|
||||
# without bundled expat
|
||||
# TODO: get a proper skip for it upstream
|
||||
local -x LOGNAME=buildbot
|
||||
|
||||
local test_opts=(
|
||||
--verbose3
|
||||
-u-network
|
||||
-j "$(makeopts_jobs)"
|
||||
"${COMMON_TEST_SKIPS[@]}"
|
||||
)
|
||||
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x TMPDIR=/var/tmp
|
||||
|
||||
nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \
|
||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local ret=${?}
|
||||
|
||||
[[ ${ret} -eq 0 ]] || die "emake test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/lib/python${PYVER}
|
||||
|
||||
# -j1 hack for now for bug #843458
|
||||
emake -j1 DESTDIR="${D}" TEST_MODULES=no altinstall
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
# python seems to get rebuilt in src_install (bug 569908)
|
||||
# Work around it for now.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
||||
else
|
||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
||||
fi
|
||||
|
||||
rm -r "${libdir}"/ensurepip/_bundled || die
|
||||
if ! use sqlite; then
|
||||
rm -r "${libdir}/"sqlite3 || die
|
||||
fi
|
||||
if ! use tk; then
|
||||
rm -r "${ED}/usr/bin/idle${PYVER}" || die
|
||||
rm -r "${libdir}/"{idlelib,tkinter} || die
|
||||
fi
|
||||
|
||||
ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
||||
dodoc -r Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(
|
||||
printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' |
|
||||
emake --no-print-directory -s -f - 2>/dev/null
|
||||
)
|
||||
newins Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
local EPYTHON=python${PYVER}
|
||||
local scriptdir=${D}$(python_get_scriptdir)
|
||||
mkdir -p "${scriptdir}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die
|
||||
# pydoc
|
||||
ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
|
||||
fi
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
DIST aws-c-auth-0.9.1.tar.gz 265755 BLAKE2B 3b092f15ad7d892b31ed9478da0f58d47789d8bfe220a9563422ab978401a654dad3cd5470691f67f6868db4052cf2e8ae9b22212828112b3c033a9f31a71c10 SHA512 3e6ab0e35bb61702de9bad0b71a76c7ec9275d478f8a0dda8334185eff90be8c662e39ff0ca8fe3298663073167d1951910e017814c829e81d10785e44351ffd
|
||||
DIST aws-c-auth-0.9.2.tar.gz 280216 BLAKE2B a8001c4ad257480e7d5756bb500bb66fb09c5254114510a5a96e13e3150bbf6f0843e59b842d4354ff94f57c5fea3f27b184105e4d1c0d0a3537be0403624469 SHA512 b9abc81d5687de08d5db840ce22d0e41719cfd4c30c0868601da5877444cd66970274d4c8adeee8f409002d118d5a65ada3d2f4292dfd2dcb011922e8adec820
|
||||
|
||||
36
dev-libs/aws-c-auth/aws-c-auth-0.9.2.ebuild
Normal file
36
dev-libs/aws-c-auth/aws-c-auth-0.9.2.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="AWS C Auth: C99 library implementation of AWS client-side authentication."
|
||||
HOMEPAGE="https://github.com/awslabs/aws-c-auth"
|
||||
SRC_URI="https://github.com/awslabs/aws-c-auth/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
inherit cmake
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/aws-c-cal:=
|
||||
>=dev-libs/aws-c-common-0.12.6:=
|
||||
dev-libs/aws-c-http:=
|
||||
dev-libs/aws-c-sdkutils:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-libs/aws-c-common"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail.
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
DIST aws-c-common-0.12.5.tar.gz 627705 BLAKE2B e3aabd690ee377affa499bb38f8bfc65dd42edd49eb4e36a4ca6234f5c195130e642e14deb940f0b245f7b4d0ef374d9ccf19f3a68822e06df884be02b50f406 SHA512 3f211e4d7737e756b6bda0de965570c3c04588e4f10dddf17f21ced1937a8dc6ddb5aeca52b96d7ead3cfb53e05ad99155d17045ea0da7f964372357046041ca
|
||||
DIST aws-c-common-0.12.6.tar.gz 629851 BLAKE2B 46adc68f4ff9bcef4a130dde295259237bc9c29c565df21458ff1f08769440b70903733feb4a4cda34aa0f203a4470bbe7888d8d2ecf98a15f37ed75b78f66d9 SHA512 577fdea85ea84563e2167d70f0988ceeccc6ab298a2ca034393872d1717237a64be0d0b5e9cd2083c2278b8c294bc4afb8f8d6bcc13e144259fa0e3166af35bb
|
||||
|
||||
24
dev-libs/aws-c-common/aws-c-common-0.12.6.ebuild
Normal file
24
dev-libs/aws-c-common/aws-c-common-0.12.6.ebuild
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Core c99 package for AWS SDK for C."
|
||||
HOMEPAGE="https://github.com/awslabs/aws-c-common"
|
||||
SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
inherit cmake
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@ -12,7 +12,17 @@ inherit cmake
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="dev-libs/aws-c-common"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-libs/aws-c-common"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@ -12,7 +12,18 @@ inherit cmake
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="dev-libs/aws-c-common"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-libs/aws-c-common"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
DIST libevdev-1.13.4.tar.xz 464556 BLAKE2B 05560ddbbeab9aa8e7cf3964d5ea7cb692d5f4381d6ab458fc27b719e3df4e0ea239f688eeb0912987796800aa38c61ddbc320780a33c59e3b603d188e08be7b SHA512 7afb3f5652982d861623c8d2e61d02dca094d360e20afb7bc30eee6d6d79d8724aae700a83fd96bc8ffe8a026f1fdf347acfd8e31fa5849f4a89a7af5c6a54ab
|
||||
DIST libevdev-1.13.5.tar.xz 471668 BLAKE2B ded7c40bcf2e765705ac627964857eae1febd37b868af37466281e8bb4be7b4deec9d4894701055a31d0eb4e6f19b1f05fcf347f63a50ee7a6b160ace9a01caf SHA512 2ca066235c9d6729e965e2df1df192285b3d41a20aeb2bc4eb21d14dc469198d5270d1cd900dee0b6cf1bdf9efd3c47ec310bfbd9e4965b3bcc3ef440efba604
|
||||
DIST libevdev-1.13.6.tar.xz 472152 BLAKE2B 18ebeb8915913d451372df8d58a6d8228df0416c87b507480562ebe144b073f4f03a5dcf6ab93ecaa3f32206bf91ebad64046ea722134ed221a479a2d59fe13a SHA512 367081bf587dd63845086714e0b51ec0f9eb107d4c32cc387cf60d3c41ad3cb31a64b1c74e25116b5bc900d6c34e82694697e942bb646f7161b0670b70d1b54d
|
||||
|
||||
50
dev-libs/libevdev/libevdev-1.13.6.ebuild
Normal file
50
dev-libs/libevdev/libevdev-1.13.6.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit meson-multilib python-any-r1
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-text/doxygen )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature doc documentation)
|
||||
$(meson_feature test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
meson_src_test -t 100
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
}
|
||||
@ -15,5 +15,7 @@ DIST llvm-project-21.1.5.src.tar.xz 158957032 BLAKE2B c056049214b18a17a3fd2dc86a
|
||||
DIST llvm-project-21.1.5.src.tar.xz.sig 119 BLAKE2B abf014908e981ea358ee38f6d1ef6c745ebbe51011fa7e83a514672bbad152fac92c95dd32a7b52a8d9c2a2a9ea1b44e447bb0bc5953f0f7bbd9ced34aa3c0cc SHA512 4e327c7d60525526ff3ac6ca58f1e753a57f841b88078a9bfe2a2ce91e4a5e17bcc52fd2f27f75801540610c1a56d57a3070243f13ad583e3526901b1f7be4a5
|
||||
DIST llvm-project-21.1.6.src.tar.xz 158947864 BLAKE2B eeda7b9903ef59319ad22e5e3a8b66a339cbbb7445ccb75fa09db6823371a22e9b66cb44c084fdeb16054f2e62a149f6e069d9726f269f667dbd6a631cb658c3 SHA512 f9e6c84828e40cb0a7894258b07240468a9d555c11496a1725bf959444362277a90ea822eeb8c9b51b3b7fecd4dd0b213a28a2f2effefbf43efdd21084d10afc
|
||||
DIST llvm-project-21.1.6.src.tar.xz.sig 119 BLAKE2B 2e3de87f4adb181740cfc8a5f8de3e6f4090f50d2f0dfa2670b27c0a6dde296b399ee017b5f6220aa80581a16c81afb5c96454d69dac8ce246713570470956b8 SHA512 637cc9f778f8303e80985469c3102573a9cf6264093b1a83fb494e34b5cb444f76cbb7d6d497d44b05250d56e25ec27dd9df685e0b78b23bb71e4bcd05a8facf
|
||||
DIST llvm-project-21.1.7.src.tar.xz 158956584 BLAKE2B dc9738fdde764d520f0e6d615295133a96833935b38239ea2ec6dffe72558d01332905fa265a55eb105ab4c4f88f37d5b3427126b1f7c788dc266add581cdf25 SHA512 ae30a53ed929df979849f7433bf705bc3d540aa9e12a02a175eb2483d1a56f9ca1203c9b67795f6e84cf2407c28d46d5d5351b290d8735adb5206103fee6f379
|
||||
DIST llvm-project-21.1.7.src.tar.xz.sig 438 BLAKE2B be4808a0888b088df0be4edaa7d49361dee717508d4438ad09c18b00752cd7a14ef56f5f18e3e4306a9ace95d9da7ed6904c998eb8a386577f21049bf5b6c0ce SHA512 d02b09c77abd537eb24d6d43470f962c80a9ec6ccc03ac0efc950d90dbdec5b94dd6abad18143890ff85cee2bdeb7bcf1dac2a576ffcab8ef053d8526417bdcc
|
||||
DIST llvm-project-21c4c1502e3383988ba77eac75b13da7b9426957.tar.gz 254650569 BLAKE2B aaa8fffbe3b8ddcffa232c6cd078d33efc0f23453fd79b2ae71a0760b35da2ad17ffaed95d99c2548904468767d9f95af2ca4a59245e1ddf51a6612bda61cda4 SHA512 40a97c53cf7825b5c1e6867df74fa22e3b786a2ec9bcb478e1af0e6a165c582316c3c75b12f4704227b8e95cce91ab110acb10f2d8f30bc82319d6af4d201956
|
||||
DIST llvm-project-8401a8d0be7671fb5089f850a34dc92ad4a2eb12.tar.gz 254694831 BLAKE2B edac68e2b57124504262d68d1fabbb2161af023c2b9f96f304ce220e3d84249e2a2c1137c83bcfb15f6f082b68ef24a775150e5f435ec14d0f471c51ec438346 SHA512 a35f918fc3363df20fecac5820595060acd9fa0bce2cc3f696603192100a63ff4d31f6ba6ac98ad13f62b01c0789f3cce2ecbe4b9c0095d2bf02d2b24971d973
|
||||
|
||||
108
dev-ml/llvm/llvm-21.1.7.ebuild
Normal file
108
dev-ml/llvm/llvm-21.1.7.ebuild
Normal file
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
inherit cmake llvm.org llvm-utils python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="debug test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~llvm-core/llvm-${PV}:=[debug?]
|
||||
!llvm-core/llvm[ocaml(-)]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( llvm cmake third-party )
|
||||
LLVM_USE_TARGETS=llvm
|
||||
llvm.org_set_globals
|
||||
|
||||
src_configure() {
|
||||
llvm_prepend_path "${LLVM_MAJOR}"
|
||||
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
||||
@ -1,10 +1,6 @@
|
||||
DIST boto3-1.40.50.gh.tar.gz 1009112 BLAKE2B a5c1be6c13cacb8b0fa1a7b4c64a9fec9caabd6b17ba9cdceb45da4954e21d4020a707d72eb2de52e8d83b78990adf5ce8a82dc166d84f5e98fa5289304dadee SHA512 7955190f7a55b47293b25b15e1b5c86e79a3a468aba20999a114de99df3af57cf6a2d23acbc90dde056aa2f557db938fa8f6638d3de939009b6a6ec69d691a18
|
||||
DIST boto3-1.40.55.gh.tar.gz 1013401 BLAKE2B 86de575af2244a1b6ec317dac61a71ba2b5eee42f28ca3b3d1ded552cbad10bb22e96ae6bf49212be0ee5fb220342a8829213fff9ec19ce046aae0262f791ee9 SHA512 b9fe63173e21303d688add1a519b589072313d9f62d474418a0f99eee50a92d595e36e4f1d9cd8259884c9c4c21b29c55242c9583c21b7e8a4f0bdcd76c79841
|
||||
DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 31511c062e6991ba14b7bc7227f4b4a214da5bc6dd012139cebaeb53a34ad540a80b5216495b2796d34f6ad91fc135837c830d9151fb34aba15d6d1c552c415d SHA512 90cc90f03e743c57ddc195a2ff10282d3c99851b54cd475da95bb3eb120449b0c0aa59d920baf206142e151eba0250aad5fa9c1a6c1be9e550ea1be5b69f8566
|
||||
DIST boto3-1.40.64.gh.tar.gz 1023920 BLAKE2B ca8af519caa4d3d4a20c808b3b9d263ad4d684327c29513d9fd37fc820f2d38c6a6450d6450d9a5355bdf4182e875a01939d69546821b00594b51b985fec31b5 SHA512 58010e4fbca89978aee5703e6e39ffe6116b31c1afb409335937de07e447e9027eea9523ac04e059c12cbf46b84ce88583b49356457978dc8d8491688fc2034d
|
||||
DIST boto3-1.40.69.gh.tar.gz 1027290 BLAKE2B 5e68da89d063ee063dc79d3fee9958ea6a8d408184f28931f9b21aaaa52c2f1a2ac5ddf293ff7d5dccccd0097ec94e0688fa0cd206f11f19bf0c774ece3c164b SHA512 509b32070e09ebb965d392ced9c064ef97b44f8c530cca807177261eecc3cf522df8d4c0822f7aa3521d7cff81935891e33fcc0570462ba73740ae85f6514d0c
|
||||
DIST boto3-1.40.74.gh.tar.gz 1032058 BLAKE2B c24653bac3279f688d240390f53a9070d51d7d13bae6d7179c849c189fe70ddcbf35892ad8ddf6dd77e508ea597901db60ecccc083666aa9178b07d2388ffff7 SHA512 0ab155ccf97335ad29f7d62f4fed3979fffa1b45d2ffa4bf5e949c90c864298179e5c3854ec157a7dfdf2dd9efd91df83307a04060e95b77aa38cfcfe8137033
|
||||
DIST boto3-1.41.2.gh.tar.gz 1047105 BLAKE2B ac62862f9430604d6056e9ee9c0c6747bc8abd000957365e569d20c96f0672c771c628ce0bd1d644aee6149b22792f455b43f58fce987d5ba00acbfbf56bd7f2 SHA512 98209ea6ded6c1018b98106c89b53d2115fad3de26524f7b9efa0c91f1e4435c9ea2d954c21d8666cb427777ade60bb12a36544d9844dc1d79f925c3206a578f
|
||||
DIST boto3-1.41.3.gh.tar.gz 1047349 BLAKE2B dbabb10e58a122f654e1b545d966a0f2de31b8fc88ba9b29b71c296fdee6f9e2aefd5061c6c0a05ee52240455af9c9c7ddb374b76400fa4d69fc712f9957fa55 SHA512 2e228ad6a7ee514ed7b588599121719088bb7a5751e713e0971cef9dd44baab3cbd6bc452e39dc66209e3137bbd84605b7c1dfafcf8c88abab1fc655f66a7ff7
|
||||
DIST boto3-1.41.4.gh.tar.gz 1047635 BLAKE2B 75e55f4ec2dfb460c1782faf01b896091667ba176c0a31b75e8cfca52f4fc0de3201214ebad798be793936d540e2042f177faf1a35abd4782b3dadfb96b40eb2 SHA512 a391726e7016d314b52e79ae7847929e36e856ae0dfb6be2d552d8a8b29c5e8ef2c9ab7fc603dae348918a055ae6dbb68b83d1899b5375fec45b9244623cf77c
|
||||
DIST boto3-1.41.5.gh.tar.gz 1047828 BLAKE2B c4ff68f8851f56539998186d6dab74d015e5752aa3e1f29226ff67b7457618f48d04637a6532e73016203970be82ca3fe9f295dbf6fb68c6a126058bfe452999 SHA512 c41c80a42513ae9aa09789aed69798b8946042d9cbf9de67c8541cce254cacc06ee965d53d61b0bd773762e4bf49e533d6c9ca11c5bce390544be317b60a601b
|
||||
DIST boto3-1.42.0.gh.tar.gz 1051896 BLAKE2B 5bc423d834f4baba83b1e332b67fbfbe76b7dc1dc61e12750ebf3d25bde987d76815039980d3b30b5a0c8904c9fd4045900e03a7d593f99f5ec446e83e491279 SHA512 cd204476d704732077f12fa4be1ffb6ed6c535f5997ffdaae188d9b632604d613b60f0644768ccc4454255afefd2fe762f3590a1bbeada1ab53a2eee98421cb1
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -20,7 +20,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.15.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -22,10 +22,12 @@ LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# major.(minor - 1).(patch + 6), sigh
|
||||
BOTOCORE_PV=$(ver_cut 1).$(( $(ver_cut 2) - 1 )).$(( $(ver_cut 3) + 6 ))
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
@ -1,10 +1,6 @@
|
||||
DIST botocore-1.40.50.gh.tar.gz 15222465 BLAKE2B 626b040c06531d96c1e0276e4bf6a70747b2c8184d9178b24333b1b7e91e833175114d31e7ee1b48b83597b22b2869132b50f3834a4bdaa082a111a7a9f41a10 SHA512 91ac7467c8b1cc58d2b29a0bb34d7374a7c8987eb73caccc3b3becb782995d64a874d099ea74a5e0c046d0aae2497211a0a84d3a8e7f42efc1252fa6ab517872
|
||||
DIST botocore-1.40.55.gh.tar.gz 15255349 BLAKE2B 22516d43d5737d92bbead967a13b4ce72fc6d35d928f9ac6d9906505412813b1649a5b5e73d14f90d7650682568ca3545e4b4b70b9908570725f4c3e2a4adaee SHA512 175dafe4d80c9283cfd4e81d74e59ad694356438b1a32c765baa78686b2afeb3f7e6083e76cdf488efcec0fbfb26967a408cb9a9cb48d0a0feb37977254a14a6
|
||||
DIST botocore-1.40.59.gh.tar.gz 15284317 BLAKE2B f0e5b5ac06292c003ac6dcf0d8b4098b12cdeb2ea5ef8158aa1ce20000730e8f0bfb65a5156f64decaec9ef2d144f3aebbad1e2f2389e80d6d3cdef24f735f2e SHA512 04aabb134f24782274c3b44b0addc45523e36216372e07da271d282968200b66785c4ca92754a79a0ae26fc93c2448e032f0e498552eb8b344c618cd2be2221a
|
||||
DIST botocore-1.40.64.gh.tar.gz 15230274 BLAKE2B 6156b2d80f6aee5df0d746bf3a2fe1bda6cee3435612d3db12a8134b9fdfa7a6c250752dadb562d1c804052ea6c775f802067d611ba1fb597e9d90439e219b64 SHA512 a8c7793146d25ae5cabe12fa5a65e8195f35029dd2f0dd9a6d012b8abfe41e1871808e1dd3d550ac153ce323c15c398b35a535780c5e143bbe5645b5eeb8c620
|
||||
DIST botocore-1.40.69.gh.tar.gz 15265787 BLAKE2B c567c9d2cd25d98e7055b829ca337654f3c2f239296e32735d8064dc698a4fee41464a0ca22453f93feea7a9d6eb58183406780c56bab345521420c7177681a9 SHA512 2c76026a2b5114fbc4d8be54cf67ade64f3a563f8b50e83bdfc1f238f220a94acb1ca1aa607ce4934a8e2b58ebfa2c4b07892b693ad80d539188352a3ffa1f75
|
||||
DIST botocore-1.40.74.gh.tar.gz 15284643 BLAKE2B 585f072a5ec39c12e3f74a272b0c5ed7d07d1f69b704058d9154da2c12753008b57c5c1c05e7cc982aa4cf28060aa20c62f7ecb6874534b109e409f3b2fcf05c SHA512 c17d51212481e5e3c4af912679894fb73ae4084d983cc086e99ffa7b3522723ce7bf82e6745cc55cc1db9d2ae1657d0e1a74cbd3b06653e7fc1987125667b18d
|
||||
DIST botocore-1.41.2.gh.tar.gz 15504253 BLAKE2B 3c3967e3876ec2529ed0fbd192594f963ebc75f27f196188456a3f4999187b92072224da7d0d91d3dba44c109a74eb35229062e61f161d30f5fad69fcd6097ae SHA512 47cbae2cd1c729fbe6ef55ef5ad6102f636dfb62dd4b4011ad8d163dfdd038d94201b49e48847fed4130e5523b0279b921eedcb94ee4611f42e6aa102bb3705f
|
||||
DIST botocore-1.41.3.gh.tar.gz 15508146 BLAKE2B ee0ef8eeb86c0ed90b30b2bf9fa180e300f015ebc219b58b975e4f835eeed7b411a491aca6de9628b53538d308f20985dfce249f0f3a9bc37d72058f1c36f371 SHA512 09a00793df98c337d6e9a8ed67841af64a95b701f1b54675f764ba6553549efb7f27061ecc5d7f8b3b3affccb20d4044d052648fc3a913b4e5cb901a7d129118
|
||||
DIST botocore-1.41.4.gh.tar.gz 15518786 BLAKE2B 3941223f02cc709f3388b725b15eb6b563f134c14beb8084a19899efa1acb4a8f93e44e4a747f9dbbe53f3f4a7b347e7311f381afae6f210a7e45aeda97379c0 SHA512 77ec108112da6e31e62f923c465a33e621257b497732da142fae90df4ec39a37f37cfaa056ea41dfe0858227221aa54db79c33fbd4cb42745bc3467a85f5c4a9
|
||||
DIST botocore-1.41.5.gh.tar.gz 15519699 BLAKE2B 05c9cd0768013d6e3af76ad9daf8b957bb8d6e3f17b3bfb85d4dc73de36ab71ff5da14306d5147375ec1d5a3080f5b25c056e2796c7918f21aba1fafe32deff8 SHA512 8f95ce652ef670129966aca8265022c79544bcb0927504ee0567272412437dc8789df10c7f77696434864ec541b6b17dc39aabb1ec16ee690a22617fe8d7da03
|
||||
DIST botocore-1.41.6.gh.tar.gz 15619213 BLAKE2B 132f1020643f335793393f34545d7f13c0e69394ccaa4ad047694e681832ea340ee76925879e3bcff45145fda387f6b2a81ca9e69d424fe39b8754e04aee541d SHA512 15ecad28923a7ab80c749856ce9e7b02b14eaf9f2346786f0943b3a450bbe94eacd3b2f8275b8b2e6612d6c1faf53aa8788fb790722471e49c6fdf7c3cc2dd81
|
||||
|
||||
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# unbundled packages
|
||||
RDEPEND+="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# unbundled packages
|
||||
RDEPEND+="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -20,7 +20,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
|
||||
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# unbundled packages
|
||||
RDEPEND+="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# unbundled packages
|
||||
RDEPEND+="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
@ -15,5 +15,7 @@ DIST llvm-project-21.1.5.src.tar.xz 158957032 BLAKE2B c056049214b18a17a3fd2dc86a
|
||||
DIST llvm-project-21.1.5.src.tar.xz.sig 119 BLAKE2B abf014908e981ea358ee38f6d1ef6c745ebbe51011fa7e83a514672bbad152fac92c95dd32a7b52a8d9c2a2a9ea1b44e447bb0bc5953f0f7bbd9ced34aa3c0cc SHA512 4e327c7d60525526ff3ac6ca58f1e753a57f841b88078a9bfe2a2ce91e4a5e17bcc52fd2f27f75801540610c1a56d57a3070243f13ad583e3526901b1f7be4a5
|
||||
DIST llvm-project-21.1.6.src.tar.xz 158947864 BLAKE2B eeda7b9903ef59319ad22e5e3a8b66a339cbbb7445ccb75fa09db6823371a22e9b66cb44c084fdeb16054f2e62a149f6e069d9726f269f667dbd6a631cb658c3 SHA512 f9e6c84828e40cb0a7894258b07240468a9d555c11496a1725bf959444362277a90ea822eeb8c9b51b3b7fecd4dd0b213a28a2f2effefbf43efdd21084d10afc
|
||||
DIST llvm-project-21.1.6.src.tar.xz.sig 119 BLAKE2B 2e3de87f4adb181740cfc8a5f8de3e6f4090f50d2f0dfa2670b27c0a6dde296b399ee017b5f6220aa80581a16c81afb5c96454d69dac8ce246713570470956b8 SHA512 637cc9f778f8303e80985469c3102573a9cf6264093b1a83fb494e34b5cb444f76cbb7d6d497d44b05250d56e25ec27dd9df685e0b78b23bb71e4bcd05a8facf
|
||||
DIST llvm-project-21.1.7.src.tar.xz 158956584 BLAKE2B dc9738fdde764d520f0e6d615295133a96833935b38239ea2ec6dffe72558d01332905fa265a55eb105ab4c4f88f37d5b3427126b1f7c788dc266add581cdf25 SHA512 ae30a53ed929df979849f7433bf705bc3d540aa9e12a02a175eb2483d1a56f9ca1203c9b67795f6e84cf2407c28d46d5d5351b290d8735adb5206103fee6f379
|
||||
DIST llvm-project-21.1.7.src.tar.xz.sig 438 BLAKE2B be4808a0888b088df0be4edaa7d49361dee717508d4438ad09c18b00752cd7a14ef56f5f18e3e4306a9ace95d9da7ed6904c998eb8a386577f21049bf5b6c0ce SHA512 d02b09c77abd537eb24d6d43470f962c80a9ec6ccc03ac0efc950d90dbdec5b94dd6abad18143890ff85cee2bdeb7bcf1dac2a576ffcab8ef053d8526417bdcc
|
||||
DIST llvm-project-21c4c1502e3383988ba77eac75b13da7b9426957.tar.gz 254650569 BLAKE2B aaa8fffbe3b8ddcffa232c6cd078d33efc0f23453fd79b2ae71a0760b35da2ad17ffaed95d99c2548904468767d9f95af2ca4a59245e1ddf51a6612bda61cda4 SHA512 40a97c53cf7825b5c1e6867df74fa22e3b786a2ec9bcb478e1af0e6a165c582316c3c75b12f4704227b8e95cce91ab110acb10f2d8f30bc82319d6af4d201956
|
||||
DIST llvm-project-8401a8d0be7671fb5089f850a34dc92ad4a2eb12.tar.gz 254694831 BLAKE2B edac68e2b57124504262d68d1fabbb2161af023c2b9f96f304ce220e3d84249e2a2c1137c83bcfb15f6f082b68ef24a775150e5f435ec14d0f471c51ec438346 SHA512 a35f918fc3363df20fecac5820595060acd9fa0bce2cc3f696603192100a63ff4d31f6ba6ac98ad13f62b01c0789f3cce2ecbe4b9c0095d2bf02d2b24971d973
|
||||
|
||||
54
dev-python/clang/clang-21.1.7.ebuild
Normal file
54
dev-python/clang/clang-21.1.7.ebuild
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
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
|
||||
}
|
||||
@ -20,7 +20,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@ -21,7 +21,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/numpy-1.25[${PYTHON_USEDEP}]
|
||||
|
||||
@ -21,7 +21,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
KEYWORDS="amd64 arm64 ~riscv x86"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/cython-3[${PYTHON_USEDEP}]
|
||||
|
||||
@ -20,6 +20,6 @@ SRC_URI="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
@ -16,7 +16,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cachetools[${PYTHON_USEDEP}]
|
||||
|
||||
@ -1,5 +1,2 @@
|
||||
DIST grpc-1.73.1.gh.tar.gz 14876868 BLAKE2B 6321e16b4ebee97c8482be8756700de6409bcaf3eac5be0765b021672560fd9d063385fd6c3c03855134dd26157b1183efe38e99acdab72b31e149478b52c4de SHA512 66e66828de7c95d3eb83bcba369f9c73be89044a5a755f99132de1694b08b72ebc848b33c73fdeed816174f1fc44e407be094237fcb4c5bc9732019cb3fae1b5
|
||||
DIST grpc-1.74.0.gh.tar.gz 15014902 BLAKE2B 1c024dd44053cc076d8c3d42b9aa642120222ba36fb816a7be31b9e72b12fe1c14e2d8d81db38c1ea89a57589ebc6153d6089b32c0cbc4100d8b70b579bb42fe SHA512 2b8e726743336ad33157705761159ae4f096209781d7c05cf0b2699852604dde28878f60f3028e08f19db7d8f7c003dc342594a387a9da55db67d39180fdc010
|
||||
DIST grpc-1.75.0.gh.tar.gz 15248921 BLAKE2B 4f26e82e2af806545622d45efaac07e1cb271edb6335fc6a1a968f0f2789a82c4c1713ad11ff61a0abf72b5fe9e91ab671c457e5c650d877c8a57d2fd2e11be7 SHA512 8cd7854185e2b8156860ed6f652b81041986fb7aee6cfb4cc35a9b63a218ae849c79a7de4fa003e89b1aa4e0e0a89f01630ab5f259ee34e4e1882d8d9c4cd4b0
|
||||
DIST grpc-1.75.1.gh.tar.gz 15252613 BLAKE2B 5919ed80a7d723875b586ec9ed46e9f2921223dc459403184c35502a7768d9d7ead978a302b4b9d15fa3645c088a6344c6488d519ea7e9f9a7889465264a0467 SHA512 ffc3fde817f60e151cb2d2c0980485faf15270c12f2ec5f1228ef595d019ddf3c5e977f974cb8d5911010e0083652edddade1e999155a2fa2e72c3fd3a1aefb2
|
||||
DIST grpc-1.76.0.gh.tar.gz 15387277 BLAKE2B 529effe73d8a8f0a07b18127c05f3d9752294ffbba9b44470974905ce6a458bd2d7cbb70be59c1c22d32b56151a3f2c891b815b5eb0d8a381bf7744ceb513d0a SHA512 6338448d7c0fc78c38480f1fafd7605d031b600a702df3771a9d1b1236da7bf97a93dbdbc2d93d12d395411dc2f2ac57587ad1b697c4b2a5ac56fb8af1184501
|
||||
|
||||
@ -1,46 +0,0 @@
|
||||
# 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_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=grpc-${PV}
|
||||
DESCRIPTION="Reference package for GRPC Python status proto mapping"
|
||||
HOMEPAGE="
|
||||
https://grpc.io/
|
||||
https://github.com/grpc/grpc/
|
||||
https://pypi.org/project/grpcio-status/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/grpc/grpc/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}/src/python/grpcio_status
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
|
||||
<dev-python/protobuf-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/protobuf-6.30.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
|
||||
epytest tests{,_aio}/status
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
# 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_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=grpc-${PV}
|
||||
DESCRIPTION="Reference package for GRPC Python status proto mapping"
|
||||
HOMEPAGE="
|
||||
https://grpc.io/
|
||||
https://github.com/grpc/grpc/
|
||||
https://pypi.org/project/grpcio-status/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/grpc/grpc/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}/src/python/grpcio_status
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
|
||||
<dev-python/protobuf-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/protobuf-6.31.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
|
||||
epytest tests{,_aio}/status
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
# 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_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=grpc-${PV}
|
||||
DESCRIPTION="Reference package for GRPC Python status proto mapping"
|
||||
HOMEPAGE="
|
||||
https://grpc.io/
|
||||
https://github.com/grpc/grpc/
|
||||
https://pypi.org/project/grpcio-status/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/grpc/grpc/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}/src/python/grpcio_status
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
|
||||
<dev-python/protobuf-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/protobuf-6.31.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
|
||||
epytest tests{,_aio}/status
|
||||
}
|
||||
@ -28,7 +28,7 @@ SRC_URI+="
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:=
|
||||
|
||||
@ -6,3 +6,4 @@ DIST hypothesis-6.148.0.gh.tar.gz 9637659 BLAKE2B 49f4a793181e308b5a4c8b134b7b22
|
||||
DIST hypothesis-6.148.1.gh.tar.gz 9637657 BLAKE2B 4a933b39815f8d003c97848f95ae40b66b1c80457fb87978e431ef8da89a355c7460aba4e443dc8e4261068215503f00cce8ee6d9cf381144fdabd1a0e9e398b SHA512 d5bf5de8a8b015b2704a1e08ea694d33bacd69d2ca91f63ff33df1f8ae2edc2bac10d20926a787a728d518fd4dc2b7b9cffff3d34d7aba856a8ee33b0f3d595c
|
||||
DIST hypothesis-6.148.2.gh.tar.gz 9643732 BLAKE2B a8804651d2f07c1ac514f74316caed430c964d543d523ab0b4422c72c06e0709b9aa0267d431c4a2a0406020c2d6604f4448e638ea5b66e76cb3b9117c8fed06 SHA512 bbf60e86e1cf44d30dfd5b853a3079e549b52418f21087f6cedb9cba86a95b706ab6e22d7741c503bd63d80e0f6f973c085d21040b083059e29af5fb14aed3f9
|
||||
DIST hypothesis-6.148.3.gh.tar.gz 9924980 BLAKE2B c65e3316c876187a0065d917f49c2df7455599641fcb35c8f588422e137a38a7ba62365a59ff07d40e4e5c6bed41fc4a678a104b0a352b6cee9575963d8d1527 SHA512 c61fa75f06f88b3a8adeaf0bbfc6ca4c8ad3e770b5a2ed84d4c2e8be5612108b7aefdb4c9c6ed45a3eba27e23c08402056b73ab777a43d2b7b625d0b125b7561
|
||||
DIST hypothesis-6.148.5.gh.tar.gz 9926203 BLAKE2B 81a95a8bd7dabc004f263e377f1a1a4bb6d4550b86f420afaa65edf2aeb675f6615b44cfbca3aafdbf80c51212e92489cfc5d7b5fc32845017256e9045572e06 SHA512 e5fe49177ca4fe9f59b3185de96bbc6c3e8a0bd8332d1e778547737210831584abc68a8759a1f3c29c7f1dc5aed56917962535efb452275064d7ed6f9c8a8091
|
||||
|
||||
@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
|
||||
91
dev-python/hypothesis/hypothesis-6.148.5.ebuild
Normal file
91
dev-python/hypothesis/hypothesis-6.148.5.ebuild
Normal file
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
CLI_COMPAT=( python3_{11..13} )
|
||||
PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 python3_14 python3_{13,14}t )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
TAG=hypothesis-python-${PV}
|
||||
MY_P=hypothesis-${TAG}
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="
|
||||
https://github.com/HypothesisWorks/hypothesis/
|
||||
https://pypi.org/project/hypothesis/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}/hypothesis-python"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
||||
cli? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
' "${CLI_COMPAT[@]}")
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
dev-python/hypothesis-gentoo[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
|
||||
EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
|
||||
EPYTEST_RERUNS=5
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# NB: paths need to be relative to pytest.ini,
|
||||
# i.e. start with hypothesis-python/
|
||||
|
||||
local -x HYPOTHESIS_NO_PLUGINS=1
|
||||
epytest -o filterwarnings= tests/{cover,pytest,quality}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local HAD_CLI=
|
||||
|
||||
distutils-r1_src_install
|
||||
|
||||
if [[ ! ${HAD_CLI} ]]; then
|
||||
rm -r "${ED}/usr/bin" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
|
||||
HAD_CLI=1
|
||||
else
|
||||
rm -r "${D}$(python_get_scriptdir)" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "dateutil support" dev-python/python-dateutil
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pandas support" dev-python/pandas
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
}
|
||||
@ -1,3 +1,2 @@
|
||||
DIST lark-1.2.2.tar.gz 252132 BLAKE2B 175f51930972f17051af6fefdf71ef4602f126d373888f30a630a703d038abe9bb2706da80564c72f19273f7d0bfbe351ab34e9d72fa1ad9dd7181232eefe61e SHA512 77cf3abf26b827cb60eae4c193de0c98780df7dfa3daa1c21ca5d73bc16387d77561d57e8a20c69ceaeb35531b7191fe765b9834587972e2697f3f07def96b6c
|
||||
DIST lark-1.3.0.tar.gz 259551 BLAKE2B 0df524ef483efeb7ab42973a1c06146e4e50fb59c489606498cc7dd8db61be76c7cf12062981cdbe9121ad98a1f892940d0b4d592d63c7d8d1563de4feab2f65 SHA512 d20191bb98e823f078359ccf2f391f9d01c80d7481d3c8061f8a6a8083f069e11029017158f773683b8e662f6cc81075f5cb4965c5fecde3956f131e3938af3d
|
||||
DIST lark-1.3.1.tar.gz 382732 BLAKE2B d08d8f73d79699f33795a46d1e8ae4aa86425e63df4dea19ce9aefaa18749bed5505f5dd657313e4d0463cd217f851494b939da7e134557f4a8f6c26321d7f42 SHA512 aee4ec6a6dd2e25801c66688861d0b25b68b7b916492764b3f8621dd70c33a93b364cb70d84ccac645cb7156892b90b503d6c79dedb9f656830c70a9b43549d0
|
||||
|
||||
@ -1,38 +0,0 @@
|
||||
https://github.com/lark-parser/lark/issues/1480
|
||||
https://github.com/lark-parser/lark/pull/1483
|
||||
|
||||
From 4809ce89ca005b71f6db930c4aabf6496a502795 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
|
||||
Date: Wed, 6 Nov 2024 16:47:11 +0100
|
||||
Subject: [PATCH] Wrap functools.partial in staticmethod() to add compatibility
|
||||
with Python 3.14
|
||||
|
||||
Fixes: #1480
|
||||
---
|
||||
tests/test_trees.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/tests/test_trees.py b/tests/test_trees.py
|
||||
index 1f69869e..07687ac0 100644
|
||||
--- a/tests/test_trees.py
|
||||
+++ b/tests/test_trees.py
|
||||
@@ -254,7 +254,7 @@ def ab_method(self, a, b):
|
||||
ab_partialmethod = partialmethod(ab_for_partialmethod, 1)
|
||||
set_union = set(["a"]).union
|
||||
static_add = staticmethod(add)
|
||||
- partial_reduce_mul = partial(reduce, mul)
|
||||
+ partial_reduce_mul = staticmethod(partial(reduce, mul))
|
||||
|
||||
custom_callable = CustomCallable()
|
||||
|
||||
@@ -355,8 +355,8 @@ def test(prefix, s, postfix):
|
||||
|
||||
@v_args(inline=True)
|
||||
class T(Transformer):
|
||||
- a = functools.partial(test, "@", postfix="!")
|
||||
- b = functools.partial(lambda s: s + "!")
|
||||
+ a = staticmethod(functools.partial(test, "@", postfix="!"))
|
||||
+ b = staticmethod(functools.partial(lambda s: s + "!"))
|
||||
|
||||
res = T().transform(tree)
|
||||
assert res.children == ["@TEST1!", "test2!"]
|
||||
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/lark-parser/lark/
|
||||
https://pypi.org/project/lark/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
|
||||
|
||||
# dev-python/regex doesn't support pypy
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/atomicwrites[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
' 'python*')
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/lark-parser/lark/pull/1483
|
||||
"${FILESDIR}"/${P}-py314.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# require dev-python/js2py which is a really bad quality package
|
||||
tests/test_nearley/test_nearley.py
|
||||
)
|
||||
|
||||
epytest
|
||||
}
|
||||
@ -16,7 +16,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
|
||||
|
||||
# dev-python/regex doesn't support pypy
|
||||
BDEPEND="
|
||||
|
||||
@ -15,5 +15,7 @@ DIST llvm-project-21.1.5.src.tar.xz 158957032 BLAKE2B c056049214b18a17a3fd2dc86a
|
||||
DIST llvm-project-21.1.5.src.tar.xz.sig 119 BLAKE2B abf014908e981ea358ee38f6d1ef6c745ebbe51011fa7e83a514672bbad152fac92c95dd32a7b52a8d9c2a2a9ea1b44e447bb0bc5953f0f7bbd9ced34aa3c0cc SHA512 4e327c7d60525526ff3ac6ca58f1e753a57f841b88078a9bfe2a2ce91e4a5e17bcc52fd2f27f75801540610c1a56d57a3070243f13ad583e3526901b1f7be4a5
|
||||
DIST llvm-project-21.1.6.src.tar.xz 158947864 BLAKE2B eeda7b9903ef59319ad22e5e3a8b66a339cbbb7445ccb75fa09db6823371a22e9b66cb44c084fdeb16054f2e62a149f6e069d9726f269f667dbd6a631cb658c3 SHA512 f9e6c84828e40cb0a7894258b07240468a9d555c11496a1725bf959444362277a90ea822eeb8c9b51b3b7fecd4dd0b213a28a2f2effefbf43efdd21084d10afc
|
||||
DIST llvm-project-21.1.6.src.tar.xz.sig 119 BLAKE2B 2e3de87f4adb181740cfc8a5f8de3e6f4090f50d2f0dfa2670b27c0a6dde296b399ee017b5f6220aa80581a16c81afb5c96454d69dac8ce246713570470956b8 SHA512 637cc9f778f8303e80985469c3102573a9cf6264093b1a83fb494e34b5cb444f76cbb7d6d497d44b05250d56e25ec27dd9df685e0b78b23bb71e4bcd05a8facf
|
||||
DIST llvm-project-21.1.7.src.tar.xz 158956584 BLAKE2B dc9738fdde764d520f0e6d615295133a96833935b38239ea2ec6dffe72558d01332905fa265a55eb105ab4c4f88f37d5b3427126b1f7c788dc266add581cdf25 SHA512 ae30a53ed929df979849f7433bf705bc3d540aa9e12a02a175eb2483d1a56f9ca1203c9b67795f6e84cf2407c28d46d5d5351b290d8735adb5206103fee6f379
|
||||
DIST llvm-project-21.1.7.src.tar.xz.sig 438 BLAKE2B be4808a0888b088df0be4edaa7d49361dee717508d4438ad09c18b00752cd7a14ef56f5f18e3e4306a9ace95d9da7ed6904c998eb8a386577f21049bf5b6c0ce SHA512 d02b09c77abd537eb24d6d43470f962c80a9ec6ccc03ac0efc950d90dbdec5b94dd6abad18143890ff85cee2bdeb7bcf1dac2a576ffcab8ef053d8526417bdcc
|
||||
DIST llvm-project-21c4c1502e3383988ba77eac75b13da7b9426957.tar.gz 254650569 BLAKE2B aaa8fffbe3b8ddcffa232c6cd078d33efc0f23453fd79b2ae71a0760b35da2ad17ffaed95d99c2548904468767d9f95af2ca4a59245e1ddf51a6612bda61cda4 SHA512 40a97c53cf7825b5c1e6867df74fa22e3b786a2ec9bcb478e1af0e6a165c582316c3c75b12f4704227b8e95cce91ab110acb10f2d8f30bc82319d6af4d201956
|
||||
DIST llvm-project-8401a8d0be7671fb5089f850a34dc92ad4a2eb12.tar.gz 254694831 BLAKE2B edac68e2b57124504262d68d1fabbb2161af023c2b9f96f304ce220e3d84249e2a2c1137c83bcfb15f6f082b68ef24a775150e5f435ec14d0f471c51ec438346 SHA512 a35f918fc3363df20fecac5820595060acd9fa0bce2cc3f696603192100a63ff4d31f6ba6ac98ad13f62b01c0789f3cce2ecbe4b9c0095d2bf02d2b24971d973
|
||||
|
||||
46
dev-python/lit/lit-21.1.7.ebuild
Normal file
46
dev-python/lit/lit-21.1.7.ebuild
Normal file
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
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
|
||||
}
|
||||
@ -30,7 +30,7 @@ SRC_URI+="
|
||||
# Fonts: BitstreamVera, OFL-1.1
|
||||
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
IUSE="cairo excel gtk3 latex qt6 tk webagg wxwidgets"
|
||||
|
||||
DEPEND="
|
||||
|
||||
@ -23,7 +23,7 @@ SRC_URI="
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
|
||||
IUSE="+native-extensions"
|
||||
IUSE="native-extensions"
|
||||
|
||||
# stubgen collides with this package: https://bugs.gentoo.org/585594
|
||||
RDEPEND="
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
DIST narwhals-2.10.2.tar.gz 584954 BLAKE2B 9f8b96e44d3ceb4fa27d4bc36f4d0507f9f93d163180b25eebc4e96a4a4f10479b6f9ccac42368151331d9b5167c5694e7b3195336c4d4fe95efbc16628927e8 SHA512 818d57fe759b76374fc869056f0a4ffe6cc83bd19f2d0783428128f1ed958daf8e5a3c8cecfb365e318d5f41cc814d9388531273b77e946a76f6058f8a28850a
|
||||
DIST narwhals-2.10.2.tar.gz.provenance 9485 BLAKE2B 9cc829eb823c8a27681c6d7a47bb894b99c3aaa6532c923fa4e6cd708fa019d2d61fec6889c19303d4e847485d188c051c20f4db14e53a86796bb917481f51aa SHA512 66b9c91aaf6e8a507c0e35bb076c7b4ba4d35c27773b9432557ade4650aa1d8cda4c621139138d8342d153d390ff87879cedd34f46c801c213f0b785af18fe9c
|
||||
DIST narwhals-2.11.0.tar.gz 589233 BLAKE2B 98b0c8bf2895092538edb3a570135bfcbe8932e790411357f46d5d5bec7629d041fd987b4ab30550dc6df56297653b02c51cfcefce08d323fab8e203ce427fed SHA512 0ac1844d409d898526da380e4c99353903f2017de3534e6f9d94e257c4bd369df29db0c4f79f7207c3c46577504d41ff5db73fa756d7241cfde2409b01a08d53
|
||||
DIST narwhals-2.11.0.tar.gz.provenance 9661 BLAKE2B ad5083eccef69217ca1410c2daf595f7437088c91749b644a4ea85763405a597a111c23dffe3b38db4c1b3051219fa72ba86c56b135b9a0f0b1ce266eb504fd2 SHA512 9ed4b208b811cdf2cbecf0dbf32a28ddd06227c8ed5856b5759b503ea0b12974c63c3118c52de55481b9d0aad74398ad9991a6fb1b9d4c10a769e80d8bdc471d
|
||||
DIST narwhals-2.12.0.tar.gz 590404 BLAKE2B 2cee8cff2f8729940aac78950692117348a960c781a9e1adec3e8f1cb0afc98aa19d46a73cd5792a7aa4d607410d69433fa0760e7cdd6cd76229118497bb9156 SHA512 692ee2de2bf0cd589772b01c419fa6a50f815df3311109bfbbcc042b396082362cf439abd7da68b476e869594367d4c85a77bc64e7402219fed44e257c6a3fdd
|
||||
DIST narwhals-2.12.0.tar.gz.provenance 9771 BLAKE2B 204ffab4f63293e8229f23eb353778b853b582c8f083ea315c9921796b0c357b2ab1b909f3dd4057ae052960fedcfcaa07a1e188b0a098591e348973fb833b0f SHA512 3b59c95a3b720499804ac6752585dda24591f4b0103164013c700e12bb1bef8db67620b9d888d2153ed8d578120f11ea80ed20a0feff9e6632bad0821b132143
|
||||
DIST narwhals-2.13.0.tar.gz 594555 BLAKE2B 0aec6b516be4ac9a216bfea637cc0b5bb4db2f1e8fc179849ada090f729f8619b6892958a4ac564139f89fc80e766b05e2b36d42d116b11a40d8e43a752fa439 SHA512 f0bc70c52c915841f14ee21f56d55731c9b2e984fbb4af259d3e835ae849b404693983297a4ea961d4f15fa2c63f5e7f083b6596853fa6eccc8c533ad3e338aa
|
||||
DIST narwhals-2.13.0.tar.gz.provenance 9626 BLAKE2B d373f35380ac0293c0658dbd92cbe4b25a1667180270e066b69d0eca5cfdd248bbe83285802fcb427d7a92db40c19db093e2268f4f8a25ed4ec0336c6c43d482 SHA512 76acb7bc7d98d825465c26d7db6e8875a6d7e324af7c3ab0de098e9b278224129223e4d1ee79cd58d83e076950351fc4870183816a227be5bc1f30cf758ffff8
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/narwhals-dev/narwhals
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries"
|
||||
HOMEPAGE="
|
||||
https://github.com/narwhals-dev/narwhals/
|
||||
https://pypi.org/project/narwhals/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/pandas-1.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyarrow-13.0.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( hypothesis pytest-env )
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# segfaults
|
||||
# https://github.com/apache/arrow/issues/47252
|
||||
'tests/modern_polars/unpivot_test.py::test_unpivot[pyarrow]'
|
||||
# fragile to parallel merges that can cause non-atomic .dist-info
|
||||
# changes
|
||||
tests/system_info_test.py::test_get_sys_info
|
||||
)
|
||||
|
||||
epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow"
|
||||
}
|
||||
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-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} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 virtualx pypi
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/setuptools-64.0.0[${PYTHON_USEDEP}]
|
||||
|
||||
@ -17,7 +17,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="big-endian"
|
||||
|
||||
# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as
|
||||
|
||||
@ -18,7 +18,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
KEYWORDS="amd64 arm64 ~riscv x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
|
||||
@ -3,5 +3,6 @@ DIST psycopg-3.2.11.gh.tar.gz 577490 BLAKE2B f0575616ba664335651612fb14328cd99c2
|
||||
DIST psycopg-3.2.12.gh.tar.gz 582058 BLAKE2B be6732c9d8c0395e8875c0fcd679628b35b0b0454ade4ca7e447fd45b833e5a2617134ea876b01bdab2a0bac44e6074827b12d04039cc097bf8a38dcd3c5a138 SHA512 911d8f246e055b43be273bb9c41c6bda0c4ac55ba5c11cd2c80d2bea54d354893bfee64797bc55a823bb834e6792c31f139ea5e18196bfc6a64273d13f940f8b
|
||||
DIST psycopg-3.2.13.gh.tar.gz 585567 BLAKE2B 244c9b51ae88dfafb235c65cec69b556ab624d6185680813548afa704916cabbf12129ba574079a98ee59f3621cf86d5a36aa2f61681b2819dc853043a9966c3 SHA512 db657b2fcf25a7dddcb30db154de97be164e48c9f88d9b7a4407f8e8e4f12d02efd0fb1ff2c3e6d0576d4ec06b8e1442c0dcc1734c88ca3171043060fafef68b
|
||||
DIST psycopg-3.2.9.gh.tar.gz 565735 BLAKE2B 5b9b16e5e310214bdbf12198a7b8d9d86ed7b7e947a33c7333fe79bca946b76f09c60ea25960d3cf3f99423598a65ce33b53bd6dc10a9c68a930a46068b54fd6 SHA512 3e455852dd19c9639a8ee18773486295ea76f9a16146997be9dd4f3f6350257440e0d8fff9494acb79e95f04e74c0c14ec7968694fe329abeb74edcfb297d4dd
|
||||
DIST psycopg-3.3.0.gh.tar.gz 607828 BLAKE2B 494ce84ffaaecafccb353697198077d7bb60f9ed17171bb3946f5501c8e67d1e240fa08f228bdc9f61988c9c6487930df49112be7f658d1b8e3146c8aa95f729 SHA512 48a184e2629d7317c9a6b80addf5405feac4ba0f477c12c5ee9bc826bc132c8874020b62c28df9ba92e2655edf15daa2a619c9961cbe71dd2ad7d5b9580c6389
|
||||
DIST psycopg2-2.9.10.tar.gz 385672 BLAKE2B 4a3ad64f406c427b785ffeb85f6520aa67ed04de2d1749eb22d8275146b71ba451f7c04c9ead401d6f7a273781492cd6a5a36beba68b36b1e5203ee75f7df503 SHA512 d0916f6a645b5e87f89f2463dc22fad78340a85fbff320d099bf429a42557f40d3a4eebdc670768469aef1e9fcee60123767bfe49e1186e8574f95bfd6f46900
|
||||
DIST psycopg2-2.9.11.tar.gz 379598 BLAKE2B 78608a2b4a9b1db9ba9873ce01b84f898489de8ff6db5522ecc2fa68606b0ef8cdab7f137c86cf840509c9161b329a2efc1e1aadc494b565226099e8651372ab SHA512 44f7b03d958dc62822be8a8c38d738c4016c3a1f860c824158b78ba0a23f04ca63377171b22a14e38b76df868458ede25f29e4643197912adb2f1a1db8c0d5c0
|
||||
|
||||
@ -19,7 +19,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="2"
|
||||
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="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
123
dev-python/psycopg/psycopg-3.3.0.ebuild
Normal file
123
dev-python/psycopg/psycopg-3.3.0.ebuild
Normal file
@ -0,0 +1,123 @@
|
||||
# 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=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL database adapter for Python"
|
||||
HOMEPAGE="
|
||||
https://www.psycopg.org/psycopg3/
|
||||
https://github.com/psycopg/psycopg/
|
||||
https://pypi.org/project/psycopg/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/psycopg/psycopg/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
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"
|
||||
IUSE="+native-extensions"
|
||||
|
||||
DEPEND="
|
||||
native-extensions? (
|
||||
>=dev-db/postgresql-8.1:=
|
||||
)
|
||||
!native-extensions? (
|
||||
>=dev-db/postgresql-8.1:*
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}]
|
||||
' 3.11 3.12)
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
>=dev-db/postgresql-8.1[server]
|
||||
>=dev-python/dnspython-2.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( anyio )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
# Python code + ctypes backend
|
||||
cd psycopg || die
|
||||
distutils-r1_python_compile
|
||||
|
||||
# optional C backend
|
||||
if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then
|
||||
local DISTUTILS_USE_PEP517=standalone
|
||||
cd ../psycopg_c || die
|
||||
distutils-r1_python_compile
|
||||
fi
|
||||
cd .. || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
rm -r psycopg{,_c} || die
|
||||
|
||||
initdb -D "${T}"/pgsql || die
|
||||
# TODO: random port
|
||||
pg_ctl -w -D "${T}"/pgsql start \
|
||||
-o "-h '' -k '${T}'" || die
|
||||
createdb -h "${T}" test || die
|
||||
|
||||
local -x PSYCOPG_TEST_DSN="host=${T} dbname=test"
|
||||
distutils-r1_src_test
|
||||
|
||||
pg_ctl -w -D "${T}"/pgsql stop || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# tests for the psycopg_pool package
|
||||
tests/pool
|
||||
# some broken mypy magic
|
||||
tests/test_module.py::test_version
|
||||
tests/test_module.py::test_version_c
|
||||
tests/test_typing.py
|
||||
tests/crdb/test_typing.py
|
||||
# TODO, relying on undefined ordering in Python?
|
||||
tests/test_dns_srv.py::test_srv
|
||||
# requires pproxy?
|
||||
tests/test_waiting.py::test_remote_closed
|
||||
tests/test_waiting.py::test_wait_remote_closed
|
||||
tests/test_waiting_async.py::test_remote_closed
|
||||
tests/test_waiting_async.py::test_wait_remote_closed
|
||||
)
|
||||
|
||||
case ${ARCH} in
|
||||
arm|x86)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
tests/types/test_numpy.py::test_classes_identities
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local impls=( python )
|
||||
if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then
|
||||
impls+=( c )
|
||||
fi
|
||||
|
||||
local -x PSYCOPG_IMPL
|
||||
for PSYCOPG_IMPL in "${impls[@]}"; do
|
||||
einfo "Testing with ${PSYCOPG_IMPL} implementation ..."
|
||||
# leak and timing tests are fragile whereas slow tests are slow
|
||||
epytest -k "not leak" \
|
||||
-m "not timing and not slow and not flakey"
|
||||
done
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user