mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
Compare commits
164 Commits
6905489dc0
...
f064ec645d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f064ec645d | ||
|
|
73152465eb | ||
|
|
b756afa68b | ||
|
|
250d025649 | ||
|
|
5d7099fd87 | ||
|
|
f4abc27b50 | ||
|
|
c64f74ecee | ||
|
|
46970e9dcc | ||
|
|
77794b8aab | ||
|
|
3f267139fd | ||
|
|
8a893db59e | ||
|
|
6466292e4c | ||
|
|
727946ef38 | ||
|
|
2aa9316609 | ||
|
|
d3cfdd4e68 | ||
|
|
d8b3da554a | ||
|
|
76d3645768 | ||
|
|
218ce1c6ac | ||
|
|
bb96f5b067 | ||
|
|
84f148e851 | ||
|
|
740d6a0d8d | ||
|
|
7c606e9f40 | ||
|
|
b56f7517c3 | ||
|
|
4b329e550c | ||
|
|
fade3614e8 | ||
|
|
dd5a6cfda9 | ||
|
|
64b3bf0fcc | ||
|
|
daada649f2 | ||
|
|
7930963dbd | ||
|
|
5804e7129b | ||
|
|
68cf06d928 | ||
|
|
2e5b799faa | ||
|
|
48c0167611 | ||
|
|
eff3784dd0 | ||
|
|
e12c1d9c0e | ||
|
|
a1df48000e | ||
|
|
dfbcc3d338 | ||
|
|
8e5e427b98 | ||
|
|
612f3ca3d9 | ||
|
|
08959d8d47 | ||
|
|
87cb192050 | ||
|
|
1246a30bdf | ||
|
|
cded8c2b94 | ||
|
|
916851d452 | ||
|
|
c593d8a554 | ||
|
|
29f924a39e | ||
|
|
fbe9366b31 | ||
|
|
86bcb985fd | ||
|
|
c70178fdcb | ||
|
|
6852043dab | ||
|
|
50e99c3383 | ||
|
|
91f1cfda42 | ||
|
|
0f90ffb193 | ||
|
|
a7955061c8 | ||
|
|
37122dbfb4 | ||
|
|
bed88ef36a | ||
|
|
a957b16e91 | ||
|
|
4e0479c3bb | ||
|
|
1df7a5965d | ||
|
|
ab52f37d11 | ||
|
|
809cb8eaa0 | ||
|
|
28bd252b5c | ||
|
|
48397b15eb | ||
|
|
35aa438089 | ||
|
|
6087f93514 | ||
|
|
d1df55d7fe | ||
|
|
59da5a9b76 | ||
|
|
69e6b3c029 | ||
|
|
9d2be2ffc6 | ||
|
|
93fc7e1542 | ||
|
|
e89c2a5385 | ||
|
|
2ec51094ad | ||
|
|
776bcd0264 | ||
|
|
271bd4cd60 | ||
|
|
01bf1d1dac | ||
|
|
4477834c2e | ||
|
|
9fa0852c8a | ||
|
|
e05e0b0d7b | ||
|
|
a941e5f983 | ||
|
|
d938371831 | ||
|
|
99936fd9f0 | ||
|
|
8b1f414dda | ||
|
|
4102c27780 | ||
|
|
71676e969b | ||
|
|
fd5e60f8ff | ||
|
|
528dac5fdd | ||
|
|
4a1968802c | ||
|
|
aae6912a9c | ||
|
|
239ee1fc78 | ||
|
|
43f11364ef | ||
|
|
e08ce8ef6c | ||
|
|
8b0805727d | ||
|
|
62ca5dc233 | ||
|
|
7b01927dd8 | ||
|
|
fe366f24fe | ||
|
|
bf014b2830 | ||
|
|
7773aa4362 | ||
|
|
e09dd14dcd | ||
|
|
50b451f4b3 | ||
|
|
65d48063b8 | ||
|
|
34f916fbde | ||
|
|
930e50898a | ||
|
|
92a4388ac1 | ||
|
|
fedd20e83f | ||
|
|
c948984cbd | ||
|
|
44aae3e38b | ||
|
|
d18f259687 | ||
|
|
020ef31d76 | ||
|
|
8e0e8adea5 | ||
|
|
09821d4fc2 | ||
|
|
78f9515590 | ||
|
|
fc8afae1b4 | ||
|
|
9e49128fde | ||
|
|
49fb6bc764 | ||
|
|
321ed9cfd1 | ||
|
|
e805185989 | ||
|
|
08192de275 | ||
|
|
ec0d913e4e | ||
|
|
275a31f9bd | ||
|
|
84f5372a02 | ||
|
|
5391234d74 | ||
|
|
794d3e62ae | ||
|
|
72226bd7bb | ||
|
|
02b2ea2ef0 | ||
|
|
1e2ae4c173 | ||
|
|
617a01bccb | ||
|
|
df2ede30c9 | ||
|
|
cc5329d63e | ||
|
|
7a7e91fa7d | ||
|
|
3a75361291 | ||
|
|
9da8924a63 | ||
|
|
58f4822f40 | ||
|
|
64e259696b | ||
|
|
abe444a777 | ||
|
|
8df0ca4518 | ||
|
|
a404a5f3fb | ||
|
|
cbc58d4a26 | ||
|
|
b941bdce91 | ||
|
|
f41601f43e | ||
|
|
72a7f0a20d | ||
|
|
6653848617 | ||
|
|
02e22dc835 | ||
|
|
c4a13b625f | ||
|
|
4cfa318e3b | ||
|
|
9e10b4b46c | ||
|
|
c8418d5dd3 | ||
|
|
f940029df9 | ||
|
|
ff4329a6ee | ||
|
|
be6cc57b0c | ||
|
|
2055d512e9 | ||
|
|
653389dc65 | ||
|
|
4e8aee83fe | ||
|
|
1b3474439b | ||
|
|
62ff0714e7 | ||
|
|
17c0529dce | ||
|
|
157c46be8c | ||
|
|
befa90714f | ||
|
|
4ef99dc8c0 | ||
|
|
4a09302533 | ||
|
|
c1bb1ad889 | ||
|
|
4cc17500fb | ||
|
|
29ac38010d | ||
|
|
5cdc1921e9 | ||
|
|
18ded9bb05 |
@ -1,3 +1,4 @@
|
||||
DIST httpd-2.4.63.tar.bz2 7517972 BLAKE2B adc4b3ad640919a2df1eaae9a4a7d004f60b2d59a6fa4a624c7e97758c0e244378cb06f11d69a54e789dd216f8f3fb8e967b2e01fd3bdab10ce1ae332d2a4d07 SHA512 a804ca564dfee5907fe4ce4f36884815bace0621bc7b8c9aa7c99472a954aa19cb13733f90678ff3d58ab3c76cc0e33a27e1035dc1d8cb597a9622154c59ef48
|
||||
DIST httpd-2.4.64.tar.bz2 7293281 BLAKE2B 80e8334fcdbf69af9d5a041e6206f510ad39c77cacf272bd59b098d2f91835713485532c23987dd407573865050e6183c8c9c5db11759010f9ab68e0ef64a30c SHA512 299cb0d87a7e0e0a99d22bba7349b6b07c69222897410f9670af29896288d1f4e1da81d22ac9e1d8d6ea096e88044ab1dd34555b40a4b1b1cb3fd4b1d1897a7a
|
||||
DIST httpd-2.4.65.tar.bz2 7506711 BLAKE2B 67da132d066e03690d3a3ead8a528ab020564699c82584adf5bc637e1bc6c1def6f08e7b8b7962115fcb5bab31be7c977442549096d171321f95f54796ece63a SHA512 202f8bfe2aafcfbcd7315191d466e9c10b9a8c0abafb7864510b6e1abe4cb660aaacc2456aa77d43e48ef7a49e591d0b54170d3daf67abc3e06c3da1c63fdffc
|
||||
DIST httpd-2.4.66.tar.bz2 7504564 BLAKE2B 3e702c9eda81440733516b6fe26f44cd358c385203de5a674f65e3806b0204bae4eb845e3a9ab340b2d731f98c9a0e72f616dd3ad070421b31e7814bbfcd6469 SHA512 49031a3465d956ee3b755e65810b6c35561ddd5fac2c624a273b733c238e115b914cd7b246837e5a3090ccfded6e0b8b3059bfd1f8ce4419081c805a38d05a4b
|
||||
|
||||
114
app-admin/apache-tools/apache-tools-2.4.66.ebuild
Normal file
114
app-admin/apache-tools/apache-tools-2.4.66.ebuild
Normal file
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="https://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND=">=dev-libs/apr-1.5.0:1=
|
||||
dev-libs/apr-util:1=
|
||||
dev-libs/expat
|
||||
dev-libs/libpcre2
|
||||
virtual/libcrypt:=
|
||||
kernel_linux? ( sys-apps/util-linux )
|
||||
ssl? ( dev-libs/openssl:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-build/libtool"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.4.54-Makefile.patch" #459446
|
||||
"${FILESDIR}/${PN}-2.4.54-no-which.patch" #844868
|
||||
"${FILESDIR}/${PN}-2.4.54-libtool.patch" #858833
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
# This package really should upgrade to using pcre's .pc file.
|
||||
cat <<-\EOF > "${T}"/pcre2-config
|
||||
#!/usr/bin/env bash
|
||||
flags=()
|
||||
for flag; do
|
||||
if [[ ${flag} == "--version" ]]; then
|
||||
flags+=( --modversion )
|
||||
else
|
||||
flags+=( "${flag}" )
|
||||
fi
|
||||
done
|
||||
exec ${PKG_CONFIG} libpcre2-8 "${flags[@]}"
|
||||
EOF
|
||||
chmod a+x "${T}"/pcre2-config || die
|
||||
|
||||
# Only here for libtool and which patches
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Silly check.
|
||||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
||||
|
||||
export ac_cv_path_PKGCONFIG="${PKG_CONFIG}"
|
||||
export PCRE_CONFIG="${T}"/pcre2-config
|
||||
export ac_cv_prog_ac_ct_PCRE_CONFIG="${T}"/pcre2-config
|
||||
|
||||
local myeconfargs=(
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules
|
||||
--sbindir="${EPREFIX}"/usr/sbin
|
||||
--with-z="${EPREFIX}"/usr
|
||||
--with-apr="${ESYSROOT}"/usr
|
||||
--with-apr-util="${ESYSROOT}"/usr
|
||||
--without-pcre
|
||||
--with-pcre2="${T}"/pcre2-config
|
||||
$(use_enable ssl)
|
||||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '')
|
||||
)
|
||||
|
||||
# econf overwrites the stuff from config.layout.
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
sed -i \
|
||||
-e '/^LTFLAGS/s:--silent::' \
|
||||
build/rules.mk build/config_vars.mk || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C support
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C support DESTDIR="${D}" install
|
||||
dodoc CHANGES
|
||||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
||||
docs/man/{htcacheclean,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
pushd "${ED}"/usr/sbin >/dev/null || die
|
||||
local i
|
||||
for i in *; do
|
||||
dosym ${i} /usr/sbin/${i}2
|
||||
done
|
||||
popd >/dev/null || die
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl ; then
|
||||
dosym ab /usr/bin/ab-ssl
|
||||
dosym ab /usr/bin/ab2-ssl
|
||||
fi
|
||||
}
|
||||
@ -6,3 +6,4 @@ DIST aws-cli-1.43.5.gh.tar.gz 3022688 BLAKE2B 9246ea7ef59101488d290de46e109516c3
|
||||
DIST aws-cli-1.43.6.gh.tar.gz 3025578 BLAKE2B 33fc6b437c9e2b1717bf51218fb81bcd612eba55fa6e0a553a05312d20484987dcd6e468b4df8fcec09b0496b078dacede13c6b0e4133016e83d625de65a2572 SHA512 c871ad2933d4116e8514aec75412c2902bc46a6199c306fe50e0cc0f6cf3c75cb029688916f1ffcdb9be6cf698e5d125a6863218064ed555996d7d253acc379c
|
||||
DIST aws-cli-1.43.7.gh.tar.gz 3028477 BLAKE2B 27e815fbbd01912597e0ed0ec5f7f5c177e822a2c3dda1776fdff7d4032920f8d6d4a989ab47815217327a831c0a9e8e06f343a9b10c62a209a110a31bd67776 SHA512 2aa2ed902aa753426719fb36b8de0065bfcd0b6766301eea8eba3167abc50baabd1e9e89640fbd25430111b2233323a99e557fba19e4ca70828709a0a34cef97
|
||||
DIST aws-cli-1.43.8.gh.tar.gz 3028171 BLAKE2B 21e01698495aaa342579899f8406f24b338d1d1eba4985f2160cf446c1721d5c82cbe94e92e98ec6b94e6f690beda9e1e2f74eb1393da24778fc9d1b77c77c20 SHA512 99a782ee2b3ed8569c31ee5343b7b002d0e8bb44ea459e5f35ef62141efeb02bd95d465beda9f20f6d434664410d0f7bad241978fc7553af3601024b865f9fe5
|
||||
DIST aws-cli-1.43.9.gh.tar.gz 3028303 BLAKE2B 96b98149f34b7c0105811f8372aafca1c3e02ebbbf9cd2247a533e4ce492f69a3d478f35ce7b5a9d774fc4af689fc07d61d08f1646df6c336d718ce40fc9dca6 SHA512 482185181a393b3d1143afe3a2aaccf17034ba8f9ff19f21c9852aa6d857b2a534ad17f4720ce1bb7b1bae60d218c2db09304c5a6cd8d97586b639bddc8a944d
|
||||
|
||||
92
app-admin/awscli/awscli-1.43.9.ebuild
Normal file
92
app-admin/awscli/awscli-1.43.9.ebuild
Normal file
@ -0,0 +1,92 @@
|
||||
# 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-1).(z-6), sigh
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(( $(ver_cut 3) - 6 ))"
|
||||
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.16.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,4 +1,5 @@
|
||||
DIST createrepo_c-1.2.0.tar.gz 639118 BLAKE2B 35c9617ebab793a6eb7ad7b03ff074ef4a82739ccb602f07387099df1216f7453dd2710002e8e8383ec0253546eaa19e383895204972732ff877e74eacee0a6f SHA512 e399b635ea008ff833385107f28c6ac8514427c8be4cf45fdb2ed5cca601852c8429730e4160975ba8370ad8a74ee628dc91d1dd7629ed6d5b6fe60008d275ef
|
||||
DIST createrepo_c-1.2.1-r2-cmake4.patch 10607 BLAKE2B 366ba9be95eb0a2c5057e999638ab17d2f805a34cc5d0e454e7f9d61369183a54b1670fd6374ca0f2449b665086d48115c64b47e3616adf270cd437474b840cd SHA512 3d61b175e1d70661b1971963ac6977f75c21355019aa78c3b6c6ff1f230078047d8b2d045017f640cefd88f6bc19f7da77b5e7c5350f8d5689c71e21a4878f00
|
||||
DIST createrepo_c-1.2.1-r2-rpm6compat.patch 1993 BLAKE2B 50d6b21c0129df913ea5740067dd901a3633a3dc10c025e163d0f0fd1dd3e941c13139d92a94908bb33abd61994ea6b8786d8bc1f1bfbc889846aa7ed173cc57 SHA512 cba117543a31a36ec0bae14e8e7c629e28e6081d13d2f7ec48c38dd1d9a0f570c5986c19d14f6cc4ca28dffc8cc3cbb5fcd63f7e5fe01a26c31091bf7fb8c1e6
|
||||
DIST createrepo_c-1.2.1-r3-docs-doxygen-optional.patch 1685 BLAKE2B 787d31b8cd236ec59f0dcda7203b02549ba21ebc53957b770b820ce84f78d1e204fbc944f7786b2b0e7c13ac89e58698144782a9126086fde8834e5c5dcae932 SHA512 c3d29ad449b6ab75cb6c51f548c505537c544eec941d80cdeae079cea2c621324e0c54682a3482dbe5ee41af03009dfc07c81d8271189b5c1d747d755f5055ff
|
||||
DIST createrepo_c-1.2.1-r3-docs-target.patch 1645 BLAKE2B 8915426f5e47143b387b48073baf1f3a9bb02491cb4b5b1e0b1dcfc11fcffab87084520aa402fd02a34431457a9695ce0435d6f95255f569391f0db5ae5ec3ef SHA512 7719748836328340e02471396fcbd266932c6d83651f65f0a636cde89d89c482610f88d86790f784d4b39a769f7eb37bdb3a75fda0dc23ddfd12f66c2968314e
|
||||
DIST createrepo_c-1.2.1.tar.gz 639122 BLAKE2B 6705fd56f72934eef88b31fae725085c91b6b14a601d0f0908ed9307d72eabf17fd2258f13eeadeb7234b31d08a61eab2fc75c4b75bf8ea75ee69442715277bc SHA512 3acd54e5848ad3995d8b140b9d338fb8588c46d163e029b7203e49b3ff1a9984b55d403c3a5c590be23ebb5c5c74de369883eb51bba6fb51e8b247f9f10ab383
|
||||
|
||||
@ -11,23 +11,34 @@ if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/rpm-software-management/createrepo_c.git"
|
||||
else
|
||||
SRC_URI="https://github.com/rpm-software-management/createrepo_c/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="
|
||||
https://github.com/rpm-software-management/createrepo_c/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/rpm-software-management/createrepo_c/commit/4e37bc582b1673ff767dbd0b570ef1c8871d3e8c.patch
|
||||
-> ${PN}-1.2.1-r2-rpm6compat.patch
|
||||
https://github.com/rpm-software-management/createrepo_c/commit/89fa02828cdaf1c710c38bde5fcbcf59538a9cce.patch
|
||||
-> ${PN}-1.2.1-r2-cmake4.patch
|
||||
https://github.com/rpm-software-management/createrepo_c/commit/908e3a4a5909ab107da41c2631a06c6b23617f3c.patch
|
||||
-> ${PN}-1.2.1-r3-docs-target.patch
|
||||
https://github.com/rpm-software-management/createrepo_c/commit/e2ce40a8191b76165a68289bb3a9876171f42dea.patch
|
||||
-> ${PN}-1.2.1-r3-docs-doxygen-optional.patch
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="legacy test zstd"
|
||||
IUSE="doc legacy test zstd"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Restrict to <app-arch/rpm-6.0.0 because it fails to build with newer
|
||||
# versions due to header changes.
|
||||
# https://github.com/rpm-software-management/createrepo_c/commit/4e37bc582b1673ff767dbd0b570ef1c8871d3e8c
|
||||
BDEPEND="doc? (
|
||||
app-text/doxygen
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/drpm
|
||||
<app-arch/rpm-6.0.0
|
||||
app-arch/rpm
|
||||
app-arch/xz-utils
|
||||
app-arch/zchunk
|
||||
app-arch/zstd:=
|
||||
@ -43,6 +54,14 @@ DEPEND="
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${DISTDIR}/createrepo_c-1.2.1-r2-cmake4.patch"
|
||||
"${DISTDIR}/createrepo_c-1.2.1-r2-rpm6compat.patch"
|
||||
"${FILESDIR}/createrepo_c-1.2.1-r3-cmake-fixes.patch"
|
||||
"${DISTDIR}/createrepo_c-1.2.1-r3-docs-target.patch"
|
||||
"${DISTDIR}/createrepo_c-1.2.1-r3-docs-doxygen-optional.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DRPM=ON
|
||||
@ -53,6 +72,7 @@ src_configure() {
|
||||
-DWITH_LEGACY_HASHES=$(usex legacy ON OFF)
|
||||
-DWITH_LIBMODULEMD=ON
|
||||
-DWITH_ZCHUNK=ON
|
||||
-DBUILD_DOC_C=$(usex doc ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
@ -62,8 +82,14 @@ src_compile() {
|
||||
cmake_src_compile
|
||||
# Tests have a magic target!
|
||||
use test && cmake_src_compile tests
|
||||
use doc && cmake_src_compile doc-c
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}"_build/tests/run_tests.sh || die "Failed to run C library tests"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
use doc && dodoc -r "${BUILD_DIR}/doc/html"
|
||||
}
|
||||
@ -0,0 +1,73 @@
|
||||
https://github.com/rpm-software-management/createrepo_c/pull/461
|
||||
From 1723a3044ed7797978a150a7b3fa2483dba17074 Mon Sep 17 00:00:00 2001
|
||||
From: Jaco Kroon <jaco@uls.co.za>
|
||||
Date: Fri, 5 Dec 2025 14:05:54 +0200
|
||||
Subject: [PATCH] Migrate cmake to find_package(PYTHON* to
|
||||
find_package(Python3.
|
||||
|
||||
Also bump minimum cmake version to 3.12.
|
||||
|
||||
Closes: #460
|
||||
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
src/python/CMakeLists.txt | 25 ++++++-------------------
|
||||
2 files changed, 7 insertions(+), 20 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c4bf525..5b3925a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-CMAKE_MINIMUM_REQUIRED (VERSION 3.7)
|
||||
+CMAKE_MINIMUM_REQUIRED (VERSION 3.12)
|
||||
PROJECT (createrepo_c C)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
|
||||
index a31b14d..5303876 100644
|
||||
--- a/src/python/CMakeLists.txt
|
||||
+++ b/src/python/CMakeLists.txt
|
||||
@@ -1,23 +1,10 @@
|
||||
-MACRO(PYTHON_UNSET)
|
||||
- unset(PYTHON_LIBRARY)
|
||||
- unset(PYTHON_INCLUDE_DIR)
|
||||
- unset(PYTHON_EXECUTABLE)
|
||||
- unset(PYTHON_LIBRARY CACHE)
|
||||
- unset(PYTHON_INCLUDE_DIR CACHE)
|
||||
- unset(PYTHON_EXECUTABLE CACHE)
|
||||
-ENDMACRO(PYTHON_UNSET)
|
||||
-
|
||||
if (NOT SKBUILD)
|
||||
- PYTHON_UNSET()
|
||||
- SET(Python_ADDITIONAL_VERSIONS 3.0 CACHE INTERNAL "")
|
||||
- FIND_PACKAGE(PythonInterp 3 REQUIRED)
|
||||
- FIND_PACKAGE(PythonLibs 3 REQUIRED)
|
||||
+ FIND_PACKAGE(Python3 REQUIRED Interpreter Development)
|
||||
endif (NOT SKBUILD)
|
||||
|
||||
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
|
||||
-INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
|
||||
+INCLUDE_DIRECTORIES (${Python3_INCLUDE_DIRS})
|
||||
|
||||
-MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
|
||||
+MESSAGE(STATUS "Python install dir is ${Python3_SITELIB}")
|
||||
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-strict-aliasing")
|
||||
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-strict-aliasing")
|
||||
@@ -72,9 +59,9 @@ IF (SKBUILD)
|
||||
INSTALL(FILES createrepo_c/__init__.py DESTINATION src/python/createrepo_c)
|
||||
INSTALL(TARGETS _createrepo_c LIBRARY DESTINATION src/python/createrepo_c)
|
||||
ELSE ()
|
||||
- INSTALL(FILES createrepo_c/__init__.py DESTINATION ${PYTHON_INSTALL_DIR}/createrepo_c)
|
||||
- INSTALL(TARGETS _createrepo_c LIBRARY DESTINATION ${PYTHON_INSTALL_DIR}/createrepo_c)
|
||||
+ INSTALL(FILES createrepo_c/__init__.py DESTINATION ${Python3_SITELIB}/createrepo_c)
|
||||
+ INSTALL(TARGETS _createrepo_c LIBRARY DESTINATION ${Python3_SITELIB}/createrepo_c)
|
||||
|
||||
# Version has to be passed as last argument.
|
||||
- INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/utils/setup_for_python_metadata.py install_egg_info --install-dir \$ENV{DESTDIR}/${PYTHON_INSTALL_DIR} ${VERSION})")
|
||||
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/utils/setup_for_python_metadata.py install_egg_info --install-dir \$ENV{DESTDIR}/${Python3_SITELIB} ${VERSION})")
|
||||
ENDIF ()
|
||||
--
|
||||
2.51.2
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
DIST duplicity-rel.3.0.5.tar.bz2 952327 BLAKE2B a5befdcfbca07655b690c681a7858e181029f6432583006872d9a1fe446a157717d6bfdc8462b087d719548ad8e761efb35b37ee23441bd7ed7830cbf5ed1612 SHA512 c57cd0192989ea98ef297aa5eb1e80f32f885af8c035521fffed115e2bd77af187b726a500e8d2e3f4100b00490cc62079dcba4568ca0d17239763477d3e7cb5
|
||||
DIST duplicity-rel.3.0.6.2.tar.bz2 959175 BLAKE2B b1f04665daadaebc924203982b2ffe8f25275e2909b0bf8076d50823f8be56e6d5af55e6d9ae064256d345b8bec517179ef262b45be135f3ecad5f1b88716e39 SHA512 90fe1af5ad14f64c2e60f97b03a36465740e457893ea49a54331c40742f784a009dd049e6ad9d3bb0ed9687047b8ff7779ebd4f3549adf98f25fb9ce6a54bc17
|
||||
DIST duplicity-rel.3.0.6.3.tar.bz2 989593 BLAKE2B f2f465527e6c876593709d7ace2163f6f60c340995b2037872039ed33cc740b3527c2197b7741fef495b84da3610bcf6762353f2cdf64c7ce773653f0e7fd2ee SHA512 cf2c9804a609541a67a5bdf5da8cd8a0595a146f5a036b7223c0d3f72361bd944f2d3c532e5e64458a0410a80a6d8090f035bc06af0253ccc031e2db90e112bc
|
||||
|
||||
72
app-backup/duplicity/duplicity-3.0.6.3.ebuild
Normal file
72
app-backup/duplicity/duplicity-3.0.6.3.ebuild
Normal file
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Secure backup system using gnupg to encrypt data"
|
||||
HOMEPAGE="https://duplicity.gitlab.io/"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.com/duplicity/duplicity.git/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitlab.com/duplicity/duplicity/-/archive/rel.${PV}/${PN}-rel.${PV}.tar.bz2"
|
||||
S="${WORKDIR}"/${PN}-rel.${PV}
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="s3 test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-alternatives/gpg
|
||||
net-libs/librsync:=
|
||||
dev-python/fasteners[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
|| ( app-arch/par2cmdline app-arch/par2cmdline-turbo )
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Linting tests (black, pylint, etc); not relevant for us
|
||||
testing/test_code.py::CodeTest::test_black
|
||||
testing/test_code.py::CodeTest::test_pep8
|
||||
testing/test_code.py::CodeTest::test_pylint
|
||||
# boto3
|
||||
testing/unit/test_cli_main.py::CommandlineTest::test_intermixed_args
|
||||
)
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
testing/test_code.py
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
|
||||
"${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Duplicity has many optional dependencies to support various backends."
|
||||
elog "Currently it's up to you to install them as necessary."
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
DIST alacritty-828457c9ff1f7ea0a0469337cc8a37ee3a1b0590.gh.tar.gz 1648143 BLAKE2B c3d7c72dd994ca62b1d5746ddf8f8a11a71cb59a7bfe36770b5b757889f0f1660ad628826a78d3a297ce937845c6a157062720a07bdc0cccf0547aacfa07f415 SHA512 6c2a67b4bed4b0c76217021fb90be4b00b89419ddd227166c062f09fa6cbfe85987f4bb2aa6bb8745560ee2acb47cbdd7ea248e486c4168ff5e611c9c3166bc4
|
||||
DIST async-pipe-rs-82d00a04211cf4e1236029aa03e6b6ce2a74c553.gh.tar.gz 5575 BLAKE2B bbad7d35213afb7dc3eda1f72555cb5a61bc61acfa1b91771a528773c468629831f62bd26f9bdb345bcf94950892a294ce71cecc8552660cda5c28de6906764a SHA512 86b13e6acbc1d04fd386b10be1e8f1f917f0ad12a702e9709526f798ef45ee389f4e14bb4ff16d0f1b14b278c76b75b5bf925581af402b350dc933a96b019460
|
||||
DIST async-tar-a307f6bf3e4219c3a457bea0cab198b6d7c36e25.gh.tar.gz 51819 BLAKE2B f6574c300a7a8b297407f04ac0bb64ec61d1e453209ff04a01a336f1991e60716dab54828ef4c01f36dca3a8087a75fa90f61e5a23773ea492cf2c6cb711c051 SHA512 b6639cb6a559423465ffa4b61ab544b20032e1ce0b7e6a9e1c2f60cd7ef51b97b651d3379a3afc80e72afbad45016f8bfc5ad2f1e3c1d653ad8e5ed1715b197c
|
||||
DIST blade-bfa594ea697d4b6326ea29f747525c85ecf933b9.gh.tar.gz 3321377 BLAKE2B ee69c72f8a3ec32fc28a757a6be58cca7fe31ace5b87f79c2644a501173567bdd8a31f81bb6e5c6b854d9da099913c2572924550dfa4d6efb36989f90b30c7b2 SHA512 64d2cfb7bcfcd316d43129304e9f7d2e6b272da66f307f4a1e8aa60377f0c22feec72c0d3c14573bf5589eca22ea431ee9c2058a8c7e80bc6ac1bd2802864c7b
|
||||
DIST calloop-eb6b4fd17b9af5ecc226546bdd04185391b3e265.gh.tar.gz 94768 BLAKE2B 3953c9c103f9c7140a924b664c33f7292cc8fc1f3a81f7a534b1ac689fb4eb37e722ec2fd27bc29c72508cc96642df4ca090486e46d8578cc37aa7c75ded4415 SHA512 f74a73e6246a99663285d84b71d51763c37fb0e093c038946db160a0daaccf6ddae502f944f28316a82ad51fb3a87c89c7bb746235f3e025379701dfcf98f74b
|
||||
DIST candle-724d75eb3deebefe83f2a7381a45d4fac6eda383.gh.tar.gz 3072184 BLAKE2B 10f88ac6a940deba3956865559bdd60b69ab139c3f18e87228aa14e96534cf08c006ecae46143674ea327b5615d1fc7ed1c00fcfa82bb69f05ac8d0885dd0551 SHA512 92d2c3c05647c7e1e59a676e7e2adc1c80dc0b344bf77bcb5c110a690d42cef229dbb2de336b7ab1b973b8239615e9b2d96bc75fbad65c8e9d5f1c2e1260b965
|
||||
DIST dap-types-1b461b310481d01e02b2603c16d7144b926339f8.gh.tar.gz 77173 BLAKE2B 9b0c905d3300222a7bd2166d1f954039c0013044ab22f845da290361ab0f2eaa756cc99c053a1a30eba75742a4706e403f55810c08c822fede393e503623a34f SHA512 eb5f23bd989668fbadd265ad8b714cf3c4215615d1b803ce7ce6d9d62744d2d404b383bb4bf851b5b37e92aaa3ae29622290f2c1b71f85880d4fc226c6d66cb4
|
||||
DIST font-kit-110523127440aefb11ce0cf280ae7c5071337ec5.gh.tar.gz 1289436 BLAKE2B abe61ea8a1442b9d4d6a1de7751b5e1becb44834cd8fb1040d54c3329af45d3472b97198c6b951f8f8e2444b3988e783d498271a65473c54ab3c1421cbb43664 SHA512 ebedc99904db7805233e40c40e1a1a918119a039709fa1269a1fe6f336b7d28fa0dea7cd747509d0cafa04f435d1e2f311a203e493f86f9414331ff9c1e774ec
|
||||
@ -14,6 +14,7 @@ DIST lsp-types-b71ab4eeb27d9758be8092020a46fe33fbca4e33.gh.tar.gz 74361 BLAKE2B
|
||||
DIST notify-b4588b2e5aee68f4c0e100f140e808cbce7b1419.gh.tar.gz 133736 BLAKE2B 28c3014bbc9a4067c169933eb384d1fe95eaebd29efffe5059274a64f80e5fb95333c67a6c6f7f09d362ba349507a4aeb45bc9d783e8d6eb58e7c3230e2fc750 SHA512 91124db99dc0d375813f61ccd3339c54286b2eef1c3f940805eea4d97094d6653cfabf51d2872d544ba8b5b6d0f50ae490a5472879fc5076b8f18a8de91fc8f5
|
||||
DIST notify-bbb9ea5ae52b253e095737847e367c30653a2e96.gh.tar.gz 104977 BLAKE2B 9ac63358c0a7dcbb683e55cf240b48e25b6f076c6d5371c271c551d836188749e9705f78725e08ab314068255e45866bd315247713894637661a07869b56d455 SHA512 e7032771aa7ffb3d65c559ffdf9ff1f39558f5c269b5c1242dced7aef5e3388b366c8bbbd89f80c649ab7d93b38ba8314d0d35205ce699f2166a908504c541a3
|
||||
DIST nvim-rs-764dd270c642f77f10f3e19d05cc178a6cbe69f3.gh.tar.gz 49979 BLAKE2B 63c2e181cdce292349f07375d5b23e30f0a4de1f872040d3a572f228147d9812bf94ab9799889d89ec0fb5de2fb8a46a8a92af392d65fb221dc91d1954dbcb20 SHA512 1d62d2bd4385dfb15e4aa52d5b823472011ea29a5faf6cc51a01b5c281502aaea78ea103838a4af15f8c36da2d26964f5fad5645cd033c761691d7bf8d2c1fb6
|
||||
DIST python-environment-tools-1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da.gh.tar.gz 1493630 BLAKE2B 2485b970182ee95f7a0b998dcd2b42de9c82ab94fe0e849046cad5d84104ec81513f878de0843ac3af97e43a480b0fd82dcf0a691331314f886d12f52d41f1b5 SHA512 aa7a26769bcdce405159bbfea1f75862635d06503115cc2e3aeca0f227549facb5b5254908da41fb212a44631cb9d80443d70535c03f66b14fe20d88b943a921
|
||||
DIST python-environment-tools-845945b830297a50de0e24020b980a65e4820559.gh.tar.gz 1481537 BLAKE2B b316a575560b901bde0fdcd9316ecabfc164d5f11124fd1cebebe2694c833e7e65756a2f24b5f71113a8f30135d97f792a9cf0b4314ff713cfe88d502dbfde24 SHA512 aa15c0f6338d5c0bbe74a62ce1f6af584d7f059f964967572d47ecbc8d4f9c737b19a9b4d3071dcc1af3974df8df7adb807304b7fae2885eedb772033327006c
|
||||
DIST python-environment-tools-e97b9508befa0062929da65a01054d25c4be861c.gh.tar.gz 1489385 BLAKE2B 0df0ab542cd0ce794d32cc31e6c06027ecc4be69b5e5144e53006afda32cdcf9d6c2764f3208b999598806211131c6e0cabe6fdcff8cf80be27ce58a081f30b8 SHA512 1547fc973ed08d50d03b5dcc2f951ecc46c84f7b9886f25d9cbc8c08bbe91871a54626cd3ead8e222eecab83087709f3970c72573882b09d1cb8111ceaf00793
|
||||
DIST reqwest-951c770a32f1998d6e999cef3e59e0013e6c4415.gh.tar.gz 242638 BLAKE2B 966d2fb6a4c2a7d5fa6582e96867021fb30106a964cea53a616595cda443d3ccf5170a6f5fa00d22eee3fce7188cb6be8502af391a4118dc94166d5f2c0f4d93 SHA512 4cbb903ac36f54dc2abb08170c9cbedc3dd339d7fe19df42541edbe0bd90195f90ed0c1cfb788b927837087345387e4ed1e15a99d91e9379e1183d7ddf3fd6fb
|
||||
@ -24,6 +25,7 @@ DIST runtimed-7130c804216b6914355d15d0b91ea91f6babd734.gh.tar.gz 229524 BLAKE2B
|
||||
DIST scap-4afea48c3b002197176fb19cd0f9b180dd36eaac.gh.tar.gz 5161737 BLAKE2B f9b85f0f01932b9de03d89a4745925f6605381a77d705f595a564afbfe68172fcc294bbd4fb0170c84b301c6eaec8826afe30cabbc2401e2b62cafe651247b96 SHA512 e9b533cc1029a7d5206f05720bf9c8201d926c93ef8449165ad215bb2827ed70e517ea111e4b13edcf644116cfede35954f69ccc62b136a23d199184e86a61bd
|
||||
DIST scap-808aa5c45b41e8f44729d02e38fd00a2fe2722e7.gh.tar.gz 5161739 BLAKE2B 74cd9679d9a06fb3335c81c43e5ac3d88ff1e94a8d33891a019f27f17d0512bc29bf771971d02ae12f279f6156384a53ccd5be7141f19f1b9be42e16e5d4b52c SHA512 ed53ca4d571f4bd4a9b839f0408eb47b7db6276677fbe4bd545ac8a2b5df642c7a9cd08db570629f773fa7826b5271f6a70c6d28761fb9f6b304791e0292fb7a
|
||||
DIST tiktoken-rs-30c32a4522751699adeda0d5840c71c3b75ae73d.gh.tar.gz 3815470 BLAKE2B 812ab7273935c6a561a0d5d2b274386811b56ff31fa76eeaefa98ed482dc845e50e2bbd93e944ecaf211d85c265d1b16b43d1c5ddcd661d5c452357678dc1aab SHA512 862c376d9a1999b18ed62bb16cf8baf08e1801287cf5ea5fe4b6122380e89e78ff01e5b121b40ad700148e388b87c2a9ca5ce008f7605af5886d4e97f20af184
|
||||
DIST tiktoken-rs-7249f999c5fdf9bf3cc5c288c964454e4dac0c00.gh.tar.gz 3815394 BLAKE2B 52fc48b5cd582fc04c5586d076e203b5bfaef851801b94851c11e0fa1c09490bb995e0ec5987a6a968103ac814dbde47cab01502cf20ac6096e113c5024cf101 SHA512 94eb6abb210626508c6c33f21fe3a7c01c48e092180788cd9c17f93eebaa1a530239a95ebcf0d803c31a78bfd2cdaa728b79419f84947d881456f6c44731b695
|
||||
DIST tree-sitter-cpp-5cb9b693cfd7bfacab1d9ff4acac1a4150700609.gh.tar.gz 1194179 BLAKE2B 9b1a128d186f488da459275d3b31c417c8f4ff769907d5ead63a5712ba05f332560acb0a8b3693946f67ee4077a26de637575714292a19e9405c47608b0d7f1f SHA512 4a8d87b839fc7a5fa397187836b672bae9bf244950eaf14aaa0833bc4d9bf948fc23424edf10aff3ebde7fd07973f1bd88779b4963850010bc0ec0c459f451df
|
||||
DIST tree-sitter-git-commit-88309716a69dd13ab83443721ba6e0b491d37ee9.gh.tar.gz 73789 BLAKE2B 0c87bac702bc3b88b9846944a8880b619be6aff3206a339da7a74ed81ca64c033ddf9a0c13a8320b6897dc6de225c8568661cb29a82cf445c8b6818c904f2395 SHA512 53141c8a98a22e031c44d158dbe0cbb7a6f41bc7e762b9b22c86db3e861f7b43771d136f958f6c207f621ba074e15a4fc37aae29ec7c4a6468a2a7ceae67eaf2
|
||||
DIST tree-sitter-go-mod-2e886870578eeba1927a2dc4bd2e2b3f598c5f9a.gh.tar.gz 31799 BLAKE2B 9952abc83e82db8c46114b4d126098ae4807a2b6847186e050e370934f56f77041b98632cbb39f54e7daabb9122ab9217618dd0bf49a0636a41ed682396212df SHA512 218e14793184c401e07374cbf2f5b71f70f7c07e04f72f854bdbb6f27c9d3a169460ac0083c88e26819d95ada79722df2769007d6c93e1f057a7ee1a8246c5c2
|
||||
@ -43,9 +45,9 @@ DIST zed-0.205.9-crates.tar.xz 113042688 BLAKE2B 745ad0a051b7df64b5ac04f322d4037
|
||||
DIST zed-0.205.9.tar.gz 20734454 BLAKE2B 8c12df5a854ab77b8b46d73e2cea1dd19d0c8ed4da6d954c7fd2163b541170bb82648234af87ffa063d498731dcbf12df975e263be4e5703c9531a3c6aec1dd7 SHA512 291ec67b00c24c500cb8dcf87fc7c12b46e5ade23c1760f53e0ffc79c06d8119be699c377e5434745d89017d2472f40fb579c1417b2a511bc2b50bcc64f2ef97
|
||||
DIST zed-0.208.4-crates.tar.xz 115106028 BLAKE2B 29a7a38cddc2a2abe38fc83ae9c7bf7b62716622d18d611448974ff95da7f08b4372284067fe67a27adda5cfa89a9d5ff302b9003e1e6bd9ca6ec0efb1e1d36e SHA512 9057fe94fe3a988656ad2892250230bb5d2bf5126c7bd538038de64da0811cd06dae981914370d7803a5a48c8ac057a57084dc8a2af46ea2479d8080e874087b
|
||||
DIST zed-0.208.4.tar.gz 21446693 BLAKE2B 8265058a4c1b57d0d51f4e09a274798ea7e46eb404a2048c05a93a6caca7817964ecde830a3106526b58af6d89f3f0be7cca6a01be973e0f7a65a0c0a5283bfe SHA512 b9f918deb5201f9c4fd74f74b9fef90df4dbf5b3a971f0bb328cd90c7ccd7dc8c791fb44a7f9670d64fefef778f3d5dada158a816bfbc90392cb63acbb4b29e7
|
||||
DIST zed-0.210.4-crates.tar.xz 119182976 BLAKE2B a111f89b039e6c7e0e8d7bdd9d47fe165d19347e8f10356c67ab1a567ba423cb2edabffa7ed7074e6007ca420a7e3e2026bf65d3779bbca03b3426a735f655d8 SHA512 0c5b51b1cce0e42e76e08d76ac6106a8c636b0ba75b9ceec70f2dd189c2f1a8e87ed768c46c4a2fc029bc28d111e9a1f9d37f4c73d6f2675be041aea6abf4a83
|
||||
DIST zed-0.210.4.tar.gz 21434026 BLAKE2B 26a07561ee23fb535da5e216b624b76909472206c4a0e40b635fa14dc7c6b01fffa5f40fba275bab848e9c0f43bda3e0dc7df0a729bf920ee5be3a8caad8a526 SHA512 a6e5a31096407c3f5328b42f9aff1d59313b3c2ddb27e3618273f728434af6472a669522529287e8c31ff3266e025e6ddded45d3f5da87626abf472c427f9eb7
|
||||
DIST zed-0.211.6-crates.tar.xz 119298664 BLAKE2B f77d40a9bad8ef23dff30a7cc8c2496c2cc0016e3b354174b56bcc81d7ef6265aab03d8902e10b6080d8280f26e7ece9864b1053ff0219c1671b2432282551dd SHA512 5ca34c247c6c29f48a658af1cf5202b9390f8df4da93fe4fec8ffc9d6ed62b9125ee2a695c444ac51537a7c35d82c1d1c6bd7b695b5ed752b43dc066abe6980a
|
||||
DIST zed-0.211.6.tar.gz 21520246 BLAKE2B a03467c2fbc9322ad8965213b2993358615a7be560853183d931432a591abb40604c2fbd319da8cbd2718693b7265377419f9afcd012eca2a36f4edaa94e6494 SHA512 b2223525874f8a31c41649c3b1667de9209fb11874116cfde986fa32f4f507edb02327cced55bf687639c209cf60b85ba7afed5dbe2037610cf737cc2f10b517
|
||||
DIST zed-0.213.8-crates.tar.xz 119360968 BLAKE2B 1a1813f50e11e14f5b0de2d7a1507a6cd52bfc3d195e10d316b9f6f923c95d8ac9f2dd942aaa8ae9787669a44a5628c373be401599b9122fd642e64998fb2e3c SHA512 71b6e4624ba34a767cda331f95edbbd5f2d35130fafe3d54b9040b1eb66f4213b86cbb061a2976c16846ef210a94d2e56cf9e13b3c7b084377b5534466c652a3
|
||||
DIST zed-0.213.8.tar.gz 21636842 BLAKE2B d0eaa275f120247f4ac504ea306165aaa995b7eace3a1e840ccabcd7405f069fe02600f840a04fda06bfc8f49a96219fac6bdf42fd97f971bc9cb27623720773 SHA512 133c244248f3cc5ce37392b6e9eadd7d1ebcbfbbba6cf8f68f4569b8135d60a3bc12c686ead446cb68cd114998a625ed3e016a651587eff92fb2c6bd9e785a75
|
||||
DIST zed-0.215.3-crates.tar.xz 119425660 BLAKE2B 3167147e78f60cd9941f908eda3be51dffe2c6c1fec15ede2342471c164b7556522a42a32d2b73d482e8266cec7b813fa8b9c1f383e7360eb0a453a665134bd8 SHA512 4595752a2888d0b22011168974cd06aaf7e976643bbff2027833f58c6810bbdbfeb0d6a11f8d8a5658c0d619b464c80434180798ec3c6a029d038efc40c09e6e
|
||||
DIST zed-0.215.3.tar.gz 22308904 BLAKE2B 7c3d2f9ce4696b26d43a569d2c7fd4f529384a9aa521e6655e4bba5efd874d76373225595edd81ceb32591c32b92b1f151ea1159fa31fc670eb902e9b2d94a8b SHA512 ed97519c164b67b0e8de925d9a722db894fbb4cab682fead65500225b05c209ad7a253074d417ba1982ad09ae01f177e5929fb8e5d396400533cc48791161bb5
|
||||
|
||||
@ -10,52 +10,52 @@ CRATES="
|
||||
|
||||
declare -A GIT_CRATES=(
|
||||
[async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
|
||||
[calloop]='https://github.com/zed-industries/calloop;eb6b4fd17b9af5ecc226546bdd04185391b3e265;calloop-%commit%'
|
||||
[candle-core]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-core'
|
||||
[candle-nn]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-nn'
|
||||
[candle-onnx]='https://github.com/zed-industries/candle;724d75eb3deebefe83f2a7381a45d4fac6eda383;candle-%commit%/candle-onnx'
|
||||
[dap-types]='https://github.com/zed-industries/dap-types;1b461b310481d01e02b2603c16d7144b926339f8;dap-types-%commit%/dap-types'
|
||||
[jupyter-protocol]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/jupyter-protocol'
|
||||
[jupyter-websocket-client]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/jupyter-websocket-client'
|
||||
[gh-workflow-macros]='https://github.com/zed-industries/gh-workflow;3eaa84abca0778eb54272f45a312cb24f9a0b435;gh-workflow-%commit%/crates/gh-workflow-macros'
|
||||
[gh-workflow]='https://github.com/zed-industries/gh-workflow;3eaa84abca0778eb54272f45a312cb24f9a0b435;gh-workflow-%commit%/crates/gh-workflow'
|
||||
[libwebrtc]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/libwebrtc'
|
||||
[livekit-api]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-api'
|
||||
[livekit-protocol]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-protocol'
|
||||
[livekit-runtime]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit-runtime'
|
||||
[livekit]='https://github.com/zed-industries/livekit-rust-sdks;5f04705ac3f356350ae31534ffbc476abc9ea83d;livekit-rust-sdks-%commit%/livekit'
|
||||
[lsp-types]='https://github.com/zed-industries/lsp-types;0874f8742fe55b4dc94308c1e3c0069710d8eeaf;lsp-types-%commit%'
|
||||
[nbformat]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/nbformat'
|
||||
[notify-types]='https://github.com/zed-industries/notify;bbb9ea5ae52b253e095737847e367c30653a2e96;notify-%commit%/notify-types'
|
||||
[notify]='https://github.com/zed-industries/notify;bbb9ea5ae52b253e095737847e367c30653a2e96;notify-%commit%/notify'
|
||||
[lsp-types]='https://github.com/zed-industries/lsp-types;b71ab4eeb27d9758be8092020a46fe33fbca4e33;lsp-types-%commit%'
|
||||
[notify-types]='https://github.com/zed-industries/notify;b4588b2e5aee68f4c0e100f140e808cbce7b1419;notify-%commit%/notify-types'
|
||||
[notify]='https://github.com/zed-industries/notify;b4588b2e5aee68f4c0e100f140e808cbce7b1419;notify-%commit%/notify'
|
||||
[nvim-rs]='https://github.com/KillTheMule/nvim-rs;764dd270c642f77f10f3e19d05cc178a6cbe69f3;nvim-rs-%commit%'
|
||||
[pet-conda]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-conda'
|
||||
[pet-core]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-core'
|
||||
[pet-env-var-path]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-env-var-path'
|
||||
[pet-fs]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-fs'
|
||||
[pet-global-virtualenvs]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-global-virtualenvs'
|
||||
[pet-homebrew]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-homebrew'
|
||||
[pet-jsonrpc]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-jsonrpc'
|
||||
[pet-linux-global-python]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-linux-global-python'
|
||||
[pet-mac-commandlinetools]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-mac-commandlinetools'
|
||||
[pet-mac-python-org]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-mac-python-org'
|
||||
[pet-mac-xcode]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-mac-xcode'
|
||||
[pet-pipenv]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-pipenv'
|
||||
[pet-pixi]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-pixi'
|
||||
[pet-poetry]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-poetry'
|
||||
[pet-pyenv]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-pyenv'
|
||||
[pet-python-utils]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-python-utils'
|
||||
[pet-reporter]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-reporter'
|
||||
[pet-telemetry]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-telemetry'
|
||||
[pet-venv]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-venv'
|
||||
[pet-virtualenv]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-virtualenv'
|
||||
[pet-virtualenvwrapper]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-virtualenvwrapper'
|
||||
[pet-windows-registry]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-windows-registry'
|
||||
[pet-windows-store]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet-windows-store'
|
||||
[pet]='https://github.com/microsoft/python-environment-tools;e97b9508befa0062929da65a01054d25c4be861c;python-environment-tools-%commit%/crates/pet'
|
||||
[pet-conda]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-conda'
|
||||
[pet-core]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-core'
|
||||
[pet-env-var-path]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-env-var-path'
|
||||
[pet-fs]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-fs'
|
||||
[pet-global-virtualenvs]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-global-virtualenvs'
|
||||
[pet-homebrew]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-homebrew'
|
||||
[pet-jsonrpc]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-jsonrpc'
|
||||
[pet-linux-global-python]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-linux-global-python'
|
||||
[pet-mac-commandlinetools]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-mac-commandlinetools'
|
||||
[pet-mac-python-org]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-mac-python-org'
|
||||
[pet-mac-xcode]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-mac-xcode'
|
||||
[pet-pipenv]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-pipenv'
|
||||
[pet-pixi]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-pixi'
|
||||
[pet-poetry]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-poetry'
|
||||
[pet-pyenv]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-pyenv'
|
||||
[pet-python-utils]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-python-utils'
|
||||
[pet-reporter]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-reporter'
|
||||
[pet-telemetry]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-telemetry'
|
||||
[pet-uv]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-uv'
|
||||
[pet-venv]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-venv'
|
||||
[pet-virtualenv]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-virtualenv'
|
||||
[pet-virtualenvwrapper]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-virtualenvwrapper'
|
||||
[pet-windows-registry]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-windows-registry'
|
||||
[pet-windows-store]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet-windows-store'
|
||||
[pet]='https://github.com/microsoft/python-environment-tools;1e86914c3ce2f3a08c0cedbcb0615a7f9fa7a5da;python-environment-tools-%commit%/crates/pet'
|
||||
[rodio]='https://github.com/RustAudio/rodio;e2074c6c2acf07b57cf717e076bdda7a9ac6e70b;rodio-%commit%'
|
||||
[runtimelib]='https://github.com/ConradIrwin/runtimed;7130c804216b6914355d15d0b91ea91f6babd734;runtimed-%commit%/crates/runtimelib'
|
||||
[tiktoken-rs]='https://github.com/zed-industries/tiktoken-rs;30c32a4522751699adeda0d5840c71c3b75ae73d;tiktoken-rs-%commit%/tiktoken-rs'
|
||||
[tiktoken-rs]='https://github.com/zed-industries/tiktoken-rs;7249f999c5fdf9bf3cc5c288c964454e4dac0c00;tiktoken-rs-%commit%/tiktoken-rs'
|
||||
[tree-sitter-cpp]='https://github.com/tree-sitter/tree-sitter-cpp;5cb9b693cfd7bfacab1d9ff4acac1a4150700609;tree-sitter-cpp-%commit%'
|
||||
[tree-sitter-gitcommit]='https://github.com/zed-industries/tree-sitter-git-commit;88309716a69dd13ab83443721ba6e0b491d37ee9;tree-sitter-git-commit-%commit%'
|
||||
[tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c;tree-sitter-go-mod-%commit%'
|
||||
[tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;2e886870578eeba1927a2dc4bd2e2b3f598c5f9a;tree-sitter-go-mod-%commit%'
|
||||
[tree-sitter-gowork]='https://github.com/zed-industries/tree-sitter-go-work;acb0617bf7f4fda02c6217676cc64acb89536dc7;tree-sitter-go-work-%commit%'
|
||||
[tree-sitter-heex]='https://github.com/zed-industries/tree-sitter-heex;1dd45142fbb05562e35b2040c6129c9bca346592;tree-sitter-heex-%commit%'
|
||||
[tree-sitter-md]='https://github.com/tree-sitter-grammars/tree-sitter-markdown;9a23c1a96c0513d8fc6520972beedd419a973539;tree-sitter-markdown-%commit%'
|
||||
@ -66,15 +66,14 @@ declare -A GIT_CRATES=(
|
||||
[windows-capture]='https://github.com/zed-industries/windows-capture;f0d6c1b6691db75461b732f6d5ff56eed002eeb9;windows-capture-%commit%'
|
||||
[xim-ctext]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-ctext'
|
||||
[xim-parser]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%/xim-parser'
|
||||
[zed-async-tar]='https://github.com/zed-industries/async-tar;a307f6bf3e4219c3a457bea0cab198b6d7c36e25;async-tar-%commit%'
|
||||
[zed-font-kit]='https://github.com/zed-industries/font-kit;110523127440aefb11ce0cf280ae7c5071337ec5;font-kit-%commit%'
|
||||
[zed-reqwest]='https://github.com/zed-industries/reqwest;c15662463bda39148ba154100dd44d3fba5873a4;reqwest-%commit%'
|
||||
[zed-scap]='https://github.com/zed-industries/scap;4afea48c3b002197176fb19cd0f9b180dd36eaac;scap-%commit%'
|
||||
[zed-xim]='https://github.com/zed-industries/xim-rs;16f35a2c881b815a2b6cdfd6687988e84f8447d8;xim-rs-%commit%'
|
||||
)
|
||||
|
||||
LLVM_COMPAT=( 20 )
|
||||
RUST_MIN_VER="1.90.0"
|
||||
LLVM_COMPAT=( 21 )
|
||||
RUST_MIN_VER="1.91.0"
|
||||
RUST_NEEDS_LLVM=1
|
||||
WEBRTC_COMMIT="b99fd2c-6"
|
||||
|
||||
@ -105,7 +104,7 @@ LICENSE+="
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
CHECKREQS_DISK_BUILD="14G"
|
||||
CHECKREQS_DISK_BUILD="13G"
|
||||
CHECKREQS_MEMORY="8G"
|
||||
|
||||
DEPEND="
|
||||
@ -141,7 +140,6 @@ BDEPEND="
|
||||
dev-build/cmake
|
||||
dev-util/vulkan-headers
|
||||
sys-devel/gettext
|
||||
sys-devel/mold
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}=
|
||||
llvm-core/llvm:${LLVM_SLOT}=
|
||||
@ -163,7 +161,7 @@ pkg_setup() {
|
||||
|
||||
strip-unsupported-flags
|
||||
# flags from upstream
|
||||
export RUSTFLAGS="${RUSTFLAGS} -C symbol-mangling-version=v0 --cfg tokio_unstable -C link-arg=-fuse-ld=mold -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
|
||||
export RUSTFLAGS="${RUSTFLAGS} -C symbol-mangling-version=v0 --cfg tokio_unstable -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
|
||||
# fix error in livekit-rust-sdks
|
||||
export RUSTFLAGS="${RUSTFLAGS} -A unexpected_cfgs"
|
||||
llvm-r1_pkg_setup
|
||||
@ -186,7 +184,11 @@ src_prepare() {
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die
|
||||
|
||||
# Cargo offline fetch workaround
|
||||
local NOTIFY_COMMIT="bbb9ea5ae52b253e095737847e367c30653a2e96"
|
||||
local CALLOOP_COMMIT="eb6b4fd17b9af5ecc226546bdd04185391b3e265"
|
||||
local CALLOOP_GIT="calloop = { git = \"https://github.com/zed-industries/calloop\""
|
||||
local CALLOOP_PATH="calloop = \\{ path = \"${WORKDIR}/calloop-${CALLOOP_COMMIT}\""
|
||||
|
||||
local NOTIFY_COMMIT="b4588b2e5aee68f4c0e100f140e808cbce7b1419"
|
||||
local NOTIFY_GIT="notify = { git = \"https://github.com/zed-industries/notify.git\", rev = \"${NOTIFY_COMMIT}\""
|
||||
local NOTIFY_PATH="notify = \\{ path = \"${WORKDIR}/notify-${NOTIFY_COMMIT}/notify\""
|
||||
local NOTIFY_TYPES_GIT="notify-types = { git = \"https://github.com/zed-industries/notify.git\", rev = \"${NOTIFY_COMMIT}\""
|
||||
@ -196,7 +198,8 @@ src_prepare() {
|
||||
local WIN_CAP_GIT="windows-capture = { git = \"https://github.com/zed-industries/windows-capture.git\", rev = \"${WIN_CAP_COMMIT}\""
|
||||
local WIN_CAP_PATH="windows-capture = \\{ path = \"${WORKDIR}/windows-capture-${WIN_CAP_COMMIT}\""
|
||||
|
||||
sed -e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \
|
||||
sed -e "s#${CALLOOP_GIT}#${CALLOOP_PATH}#" \
|
||||
-e "s#${NOTIFY_GIT}#${NOTIFY_PATH}#" \
|
||||
-e "s#${NOTIFY_TYPES_GIT}#${NOTIFY_TYPES_PATH}#" \
|
||||
-e "s#${WIN_CAP_GIT}#${WIN_CAP_PATH}#" \
|
||||
-i "${S}/Cargo.toml" || die "Cargo fetch workaround failed"
|
||||
@ -1,6 +1,6 @@
|
||||
DIST org-mode-release_9.7.34.tar.gz 2365680 BLAKE2B 308389056148e7ae3dba51cc3e754484bc5ec925e2761f6fee7a48a2c11ba8bb2c1bffebbfef6e06f7eaee240a3fd07e39abeb6c2267824f3b1199b283650b2e SHA512 27b80ac4c8c73f9409ccac816322fcabe67fc74ff16ba4fb109bbbcc40dc2bbc32599268f31d124a47741f0113c41cd52d85938f1b08b89fb44807690191ee58
|
||||
DIST org-mode-release_9.7.35.tar.gz 2366581 BLAKE2B 55b52b94dde1efe7be7354c3c8ae2aa3a51e2e65a9ae96d255017704bd875cbc4ffc3102ea56f5a90994538b6ec76cc61de406406f03096724ab2a066cc54751 SHA512 93354dc2aa8f3c72b4af599650d0cacb4a1112cdf2a7c72efad70f7ae07d7fbcc5c05cf0770b5f9d110b2118a00c532c08b9eb9ca23acbf64882a8b01283150b
|
||||
DIST org-mode-release_9.7.36.tar.gz 2366692 BLAKE2B 8835b09ab306b9365e4b62402557975e24d20a0d6421b2642c19186c0604682ccd2af8ccce8785b0f0babe31428f1d221206a728426c7f098d1b37c2ea36cf4f SHA512 455ab8269d7cdf03cea29f0abef365621a945ffd81549d2c079a3929bd4548b2bfb5445920df7724f0f3242ba4f3589b4a6c4e9fa8e6480d7b5eb356bfc6ce40
|
||||
DIST org-mode-release_9.7.37.tar.gz 2366760 BLAKE2B ac54eb23f15085dd31f8658babe613929d04085d072edc4f4eb6cce6fd46cd340be829fe4dba2d66787f95ae734a335a00a321da55e5cdb61355839afb3d72bc SHA512 064da295b785a666839d25a6fb47623134c42a062b5d4e68cff9702f6ad40069fa89f524f294971055c84fdddbe82cbb68d4460299e57266415fa91b9d09999c
|
||||
DIST org-mode-release_9.7.35.tar.gz 2365682 BLAKE2B b69aeda08327a719a3bc51097e3eb19d3ff941e2f53dcbb25008a7ddc702182722c9f76bb346ceb1c7aef48b7d658d2fe8fb0948a69916fbc531550e66d889b2 SHA512 6d1ff33e0a4b057e54c4788d7b391fb9ad29abaa06f0618d617217e5f7568cfe741af53e3294c0c50e2db4d69573af58046375dbdc697de4589ed00766792397
|
||||
DIST org-mode-release_9.7.36.tar.gz 2365759 BLAKE2B da6713bc9cd51ddedc7b6e31f7aa5ad93f7c3dd20be9bc90950704376182231a7c678ac10a2fe315edb609e4c207c011e662e4c1ddd451d467a1afc9bc9527d1 SHA512 01f2a71c9cabacaa2dd01ef92242cfe4992ffd73774dadfdb8f62b5ad7430638964a6e365f36c7c539f3564941e35c9d4734c35a54fcc5249d802903f04b94e2
|
||||
DIST org-mode-release_9.7.37.tar.gz 2365803 BLAKE2B 8391a6aa910759c67c6c206ea8678a943451e8ece1b35812cec7fa766b4944e170a50e7a1b25387a9b244a82fd3dcb045bbc7805aaad8cb9b7b03f3fa5ddd70a SHA512 822ed4901d2613a65d6629684262a2e4c056bb461ab78e1f10259d025e637c91a9924407d48628d6dc92fe103a4aacfaf526cd4dc7e037a9043932b9ae39f3ee
|
||||
DIST org-mode-release_9.7.38.tar.gz 2365808 BLAKE2B eadc6a37996b46368cdd6c9f45b10c3ae63688e2917870ad415d691dc0f52249767ec4111d79128cf96df317dddf9131044c20f046b40e4030e07884387dfc27 SHA512 999266f59892d3bbf9bd04311c54a9c718ab0ec6e4efd4881dc3f8eb4921176bab4bed47aa560a1d73cfdee01b936363c7d49b71f8438f3ce525e0ccded4a36c
|
||||
DIST org-mode-release_9.7.39.tar.gz 2366758 BLAKE2B b64f14eca65b786c02dd0e33e2ef58a7b13dd4e1b6ec67978ac7b3040c938c533b53c9c00d915a62907f46056d9cff049ab0aa8d4f29e3066d8db6948b2364a6 SHA512 ecb994a771a10e4461043d90711363874bbfcbe4c22e25868068a54fb42bd6de48c2fe9a0a2fd9739f63b2ba0e189cd275f6a8e4164e5073b803817f7d15f7a6
|
||||
DIST org-mode-release_9.7.39.tar.gz 2365803 BLAKE2B 9f77f5bc73437efcf78d74d242f8e119af3c108db789e8f9ecc3c60254cdbb99448a21834419777f8f18df1063b6d8a0515408cecb8d064499ec87c601842d2d SHA512 768b59defbf77e9643b4d36dff64f57097cf5df470e16e77d13fe6d56bebd00d117260050182b286c6289823abd25856274a011fd2203a2d2ede7b84ca66bcc7
|
||||
|
||||
@ -4,3 +4,5 @@ DIST upterm-0.18.0-vendor.tar.xz 3779868 BLAKE2B 846155c764437dbba34efbcf30424ee
|
||||
DIST upterm-0.18.0.tar.gz 153200 BLAKE2B 08d281a35590dfa1e1df546873ac3903cd3848c83d80fae4d50161a6088299590e3624e989a7418aa5997a04e55e85115d9d5335f0f7d01d73b0c73013af5b15 SHA512 8cf4362bca36b1ce1aff9f48fc4a867a678bcf77de440413716207439cde8f3f91b5d6b2b4a265cdc253663ef3019e1de0876ef3aa4a77d28c74a6bcb359e471
|
||||
DIST upterm-0.19.0-vendor.tar.xz 3928796 BLAKE2B 39fa1fa12984e85a299cac080dddbb08568c2ded2bf4f4cbaf5d3424aee0d155f672ad8ef7546c922a08d8bfea377683e1462a050fdc54ace46629f1b9944f46 SHA512 d74712ad6459b2bc74ebdfa065c7734f04624a4145a96f93ba3b51a4dd730a3e0563549d6dbbc35356c6c1c3d32810e09f88851bec568eb47565d6f34f6100a5
|
||||
DIST upterm-0.19.0.tar.gz 160052 BLAKE2B 502b1abcca498f5fdf33ac7bb3b889bce0c1daa1865cab94ebaa7a6a44ee98cab0f7c113a639978abc4080f366e19b7de0732f61d879825b95b48eb9afad90f3 SHA512 3855c672e620586b5b8f0d34cd817ddb5521101cdabf9b1115e65991a47e968c5467d46c2a0a433ff90c849e225ab0901e2766762cdf4fbf1a7cf40c483e768f
|
||||
DIST upterm-0.20.0-vendor.tar.xz 3932452 BLAKE2B 813b6cdc050efe73eeb3bdc515faaeeee26f125d9a65064128202a51df542839e26c4d459dad8e29c37066d234fdcbfb4f8a984d8f2e1050255e04a1339b19e0 SHA512 31eb03f34b35f6df0a0c69010472c6700acd424de93e2a8743da2d64010137e3ecf34c01f5ca047c9a21d255b4efbf7fc6eaa0200c2335ebda660f73740bd82f
|
||||
DIST upterm-0.20.0.tar.gz 161410 BLAKE2B d80940f84ddc2e82f160c57746a18d53d0360eb80e855e19057e5fb3a6a241ce00e85048f74aa26c5b89a8a24e8f228e9232325f48302ab15d653925d251e1d3 SHA512 7430f9f8d3b6dd5997593575497a1b65327df5b3b0624cd636e9e425b76e8943b926cb189a3050bc18e6bf15764328d86aed20651af117f91295480a6fd578a5
|
||||
|
||||
50
app-misc/upterm/upterm-0.20.0.ebuild
Normal file
50
app-misc/upterm/upterm-0.20.0.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module shell-completion systemd
|
||||
|
||||
DESCRIPTION="Instant Terminal Sharing"
|
||||
HOMEPAGE="https://upterm.dev/"
|
||||
SRC_URI="https://github.com/owenthereal/upterm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-golang-dist/upterm/releases/download/v${PV}/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# Dependent licenses
|
||||
LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 MIT MPL-2.0 Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="server test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.25.4
|
||||
test? (
|
||||
app-editors/vim
|
||||
app-shells/bash
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
local BINS=( ./cmd/upterm )
|
||||
use server && BINS+=( ./cmd/uptermd )
|
||||
ego build -o bin/ "${BINS[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test -vet=off -timeout=120s ./{cmd,server,io,host,memlistener,routing,internal,ftests}/...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/upterm
|
||||
doman etc/man/man1/*
|
||||
|
||||
newbashcomp etc/completion/upterm.bash_completion.sh upterm
|
||||
newzshcomp etc/completion/upterm.zsh_completion _upterm
|
||||
|
||||
if use server; then
|
||||
dobin bin/uptermd
|
||||
systemd_dounit systemd/uptermd.service
|
||||
fi
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
DIST posh-debian-0.14.2.tar.bz2 213312 BLAKE2B 92beb662b9a954311f1cf19fda2c5238826969f596f1c5a6d2557a824f90d79b3c310c9be3eed83b98c3c91c8bc6bc8c147f5560d6e4265c213f3e908ebb9f7f SHA512 4a9a66d1a1c666ef13d53db3d6b74337253ebfff3dd50cabbb988437050258d52592f135e1e5bc3a1ddd542b27927b5bc76a320241528bd95a228cb26efdd4be
|
||||
DIST posh-debian-0.14.3.tar.bz2 213735 BLAKE2B 70bbf21d80d9074ee48841d18d15f30d30c5cc7169c862eac873602f967cea1b43af61005c410b0269b1e8368203bd2afbe2a36e2435733e83f0445edd4be07c SHA512 0746463210c6b0c4ccd78285e05183551f08d9572725ce82bab9e2553c4b221c27635cc369d1bbfd3ff8bf4da04f571f76bee61eeca4250c32391f96fbe3967e
|
||||
|
||||
29
app-shells/posh/posh-0.14.3.ebuild
Normal file
29
app-shells/posh/posh-0.14.3.ebuild
Normal file
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_P=posh-debian-${PV}
|
||||
DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
|
||||
HOMEPAGE="https://salsa.debian.org/clint/posh"
|
||||
SRC_URI="
|
||||
https://salsa.debian.org/clint/posh/-/archive/debian/${PV}/${MY_P}.tar.bz2"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2+ BSD public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--exec-prefix="${EPREFIX:-/}"
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
ADA_COMPAT=( gcc_{12..15} )
|
||||
ADA_COMPAT=( gcc_{12..16} )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit python-single-r1 ada multiprocessing
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
DIST swipl-10.0.0.tar.gz 12792426 BLAKE2B b8c05f517d5f5963ef7fd2f1a1103f03226a803b3f641db5e224032b0e03e53ef8aeaf8defd1a243a2e3ec0a2121658d224cf0be10f44f3c2783f845ad2ce3a0 SHA512 810488ad9ec9fc926d7b5a515e7c2556f36e63e9437f729d21b66e86a4afe8e9c9fdad7651d0dbac458479ad527c58350b3e1ec4048727949e8710f7a1bcf8c2
|
||||
DIST swipl-9.3.25.tar.gz 12428028 BLAKE2B 1e7f641709117b765a50460421654169133aabfc2b0459418bc8c6214a13bfffd5a369f21242730a8c4d456c1c20209adc9b42f92b96b06f9b3ccd58b1bf1649 SHA512 624ce3087ab3eea927beaf5475fcd8c20b5d85e948be3bedbe06e07849ae7e4be3e6f97e422f6da7a64d785f9836b6aa40830ab4957a1a1ce0515176b84d8a6b
|
||||
DIST swipl-9.3.28.tar.gz 12352281 BLAKE2B c5f1a829fdbf21166ed30b5f415ea3233d95c70b899fa0b866ec82fa35134a43e3a901af3a3689be771128ee31e638251aba49a4f1ec1d5e8fece54d8279d1a5 SHA512 126b579267195a817f3d151b69d9513da535bb4d071ab6dfafa94da444f674bc3d6fe781f7399e804528cece6c1237dac02021c0e8f1292e4a4181e2095668fa
|
||||
|
||||
198
dev-lang/swi-prolog/swi-prolog-10.0.0.ebuild
Normal file
198
dev-lang/swi-prolog/swi-prolog-10.0.0.ebuild
Normal file
@ -0,0 +1,198 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
REAL_PN="swipl"
|
||||
REAL_P="${REAL_PN}-${PV}"
|
||||
|
||||
inherit cmake desktop flag-o-matic java-pkg-opt-2 toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Versatile implementation of the Prolog programming language"
|
||||
HOMEPAGE="https://www.swi-prolog.org/
|
||||
https://github.com/SWI-Prolog/swipl-devel/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/SWI-Prolog/swipl-devel"
|
||||
else
|
||||
SRC_URI="https://www.swi-prolog.org/download/stable/src/${REAL_P}.tar.gz"
|
||||
S="${WORKDIR}/${REAL_P}"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="archive berkdb +cli debug doc +gmp gui +ipc java minimal odbc pcre pgo ssl test yaml"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# See "cmake/PackageSelection.cmake" and "cmake/DocDepends.cmake" in pkg source.
|
||||
REQUIRED_USE="
|
||||
doc? ( archive )
|
||||
minimal? ( !archive !doc !ipc !ssl !test )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-libs/ncurses:=
|
||||
virtual/zlib:=
|
||||
virtual/libcrypt:=
|
||||
!minimal? (
|
||||
dev-libs/ossp-uuid
|
||||
)
|
||||
archive? (
|
||||
app-arch/libarchive:=
|
||||
)
|
||||
berkdb? (
|
||||
>=sys-libs/db-4:=
|
||||
)
|
||||
cli? (
|
||||
dev-libs/libedit
|
||||
)
|
||||
gmp? (
|
||||
dev-libs/gmp:0=
|
||||
)
|
||||
gui? (
|
||||
dev-libs/glib:2
|
||||
media-libs/sdl3-image
|
||||
x11-libs/pango
|
||||
)
|
||||
odbc? (
|
||||
dev-db/unixODBC
|
||||
)
|
||||
pcre? (
|
||||
dev-libs/libpcre
|
||||
)
|
||||
ssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
yaml? (
|
||||
dev-libs/libyaml
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
java? (
|
||||
>=virtual/jre-1.8:*
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
java? (
|
||||
>=virtual/jdk-1.8:*
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
java? (
|
||||
dev-java/junit:4
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" \
|
||||
-e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" \
|
||||
-i CMakeLists.txt \
|
||||
|| die
|
||||
|
||||
sed -e "s/ -Werror//g" \
|
||||
-i cmake/GCCBuiltins.cmake \
|
||||
-i cmake/Config.cmake \
|
||||
-i packages/ssl/CMakeLists.txt \
|
||||
|| die
|
||||
|
||||
local ncurses_lib_flags=$($(tc-getPKG_CONFIG) --libs ncurses)
|
||||
sed -e "/project(SWI-Prolog)/a set(CMAKE_REQUIRED_LIBRARIES \${CMAKE_REQUIRED_LIBRARIES} ${ncurses_lib_flags})" \
|
||||
-i CMakeLists.txt \
|
||||
|| die
|
||||
sed -e "s:\${CURSES_LIBRARIES}:${ncurses_lib_flags}:" \
|
||||
-i src/CMakeLists.txt \
|
||||
|| die
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export XDG_CONFIG_DIRS="${HOME}"
|
||||
export XDG_DATA_DIRS="${HOME}"
|
||||
|
||||
# Lots of UB, see https://gcc.gnu.org/PR113521
|
||||
filter-lto
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
if use debug ; then
|
||||
append-flags -DO_DEBUG
|
||||
fi
|
||||
|
||||
if use pgo ; then
|
||||
CMAKE_BUILD_TYPE="PGO"
|
||||
append-flags -Wno-error=coverage-mismatch
|
||||
fi
|
||||
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
|
||||
-DSWIPL_INSTALL_PREFIX="$(get_libdir)/swipl"
|
||||
-DINSTALL_DOCUMENTATION=$(usex doc)
|
||||
|
||||
-DUSE_GMP=$(usex gmp)
|
||||
-DUSE_TCMALLOC="OFF"
|
||||
-DSWIPL_PACKAGES_BASIC=$(usex !minimal)
|
||||
|
||||
-DSWIPL_PACKAGES_ARCHIVE=$(usex archive)
|
||||
-DSWIPL_PACKAGES_BDB=$(usex berkdb)
|
||||
-DSWIPL_PACKAGES_GUI=$(usex gui)
|
||||
-DSWIPL_PACKAGES_JAVA=$(usex java)
|
||||
-DSWIPL_PACKAGES_ODBC=$(usex odbc)
|
||||
-DSWIPL_PACKAGES_PCRE=$(usex pcre)
|
||||
-DSWIPL_PACKAGES_SSL=$(usex ssl)
|
||||
-DSWIPL_PACKAGES_TERM=$(usex cli)
|
||||
-DSWIPL_PACKAGES_TIPC=$(usex ipc)
|
||||
-DSWIPL_PACKAGES_YAML=$(usex yaml)
|
||||
)
|
||||
|
||||
if use test && use java ; then
|
||||
mycmakeargs+=(
|
||||
-DJUNIT_JAR="${ESYSROOT}/usr/share/junit-4/lib/junit.jar"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use gui ; then
|
||||
doicon "${S}/desktop/swipl-cli.png"
|
||||
make_desktop_entry "swipl-win" "SWI-Prolog" "swipl" "Development"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
java-pkg-opt-2_pkg_preinst
|
||||
|
||||
if use gui ; then
|
||||
xdg_pkg_preinst
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gui ; then
|
||||
xdg_pkg_postinst
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gui ; then
|
||||
xdg_pkg_postrm
|
||||
fi
|
||||
}
|
||||
@ -21,7 +21,7 @@ else
|
||||
SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
|
||||
SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )"
|
||||
|
||||
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"
|
||||
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-elfutils-20240301 )"
|
||||
fi
|
||||
|
||||
@ -1 +1,2 @@
|
||||
DIST pecl-xattr-1.4.0.tgz 8401 BLAKE2B 661611cd638db4807b33b68d549cb85659c1fe092d2f576a72f44a5afd5306e551303f4b55a4ed6354b5fa69c91f98c8a7e0d27eb7700c1aa506bfaa50dbf991 SHA512 b8e0225e07df55f428db7d9c26fa4c7007f7345df72bced162b1910235de52040147c1925658bcd428f6dd76793a874d3db6cd14258cf3f794f3abe5ec07e97d
|
||||
DIST pecl-xattr-1.4.1.tgz 8694 BLAKE2B 6681ab603648a9e2cc18270f37a6d508efadbf468f6267126bd7b62bfa0490f4ea3b8c536a933837d85021889934cc62f7ced6927f74e3c1106cd185a710c830 SHA512 30b9a925e3db6b6b6aef2f8a8b75822f892e8edcc843611090ce00ee7f65d40780a9a813ebb470b5b26670a73e8ed9459fc13282f74a1903119b770e38c5fa78
|
||||
|
||||
19
dev-php/pecl-xattr/pecl-xattr-1.4.1.ebuild
Normal file
19
dev-php/pecl-xattr/pecl-xattr-1.4.1.ebuild
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_NAME="xattr"
|
||||
PHP_EXT_NEEDED_USE=""
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
USE_PHP="php8-2 php8-3"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="Extended attributes for PHP"
|
||||
SRC_URI="${SRC_URI} -> ${P}.tgz"
|
||||
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="8"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@ -6,3 +6,4 @@ DIST boto3-1.41.5.gh.tar.gz 1047828 BLAKE2B c4ff68f8851f56539998186d6dab74d015e5
|
||||
DIST boto3-1.42.0.gh.tar.gz 1051896 BLAKE2B 5bc423d834f4baba83b1e332b67fbfbe76b7dc1dc61e12750ebf3d25bde987d76815039980d3b30b5a0c8904c9fd4045900e03a7d593f99f5ec446e83e491279 SHA512 cd204476d704732077f12fa4be1ffb6ed6c535f5997ffdaae188d9b632604d613b60f0644768ccc4454255afefd2fe762f3590a1bbeada1ab53a2eee98421cb1
|
||||
DIST boto3-1.42.1.gh.tar.gz 1054688 BLAKE2B 9722ba8fb97df81abfbcc26f5ab5d5c7819a3cd1f265af9938820968ba79232ed453c594db3bc661ac6bed50058638903700e8c8e16613b59c88bc97807ad966 SHA512 961cae734e2e8db1e0511d19f24f5b509b14fbcc9d32327fa39928b21d502516b4dec8a2723c342bdc77649df292086f2b8281b30d54396f9849445b61fff8b7
|
||||
DIST boto3-1.42.2.gh.tar.gz 1054980 BLAKE2B 5d361d756f41fb2e1df9f4397ba64a842388abb8f8f239b19c450ab062ec999c10c6a46770a52b3f9f664614c54093959fdbb85cff81bd712cb9b431604661a1 SHA512 1c24227ed467c9406c1cb781a46796d7748f44bbc5dddb53ad1153202111a08f33de7c7696f8294ac57df960a67a338cf37620c13df852cddb8d21ed909cbf20
|
||||
DIST boto3-1.42.3.gh.tar.gz 1055160 BLAKE2B 86399e22d40747aa40d6d61296e9833f86ddbf8921a157a369bed90c538ce6ca43729c1a69c3f1f99d1b8496414397aa0b1a442d33e81d191fbac6991ab1a840 SHA512 c4f36ae4340e809c398ee9e496af1da5da24be08d6ab443dd434f5612bda97c187375480bb62992cb6129f638f8715cfd476d3a1116f94d3de470756d932d0c3
|
||||
|
||||
53
dev-python/boto3/boto3-1.42.3.ebuild
Normal file
53
dev-python/boto3/boto3-1.42.3.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# 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.16.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}
|
||||
}
|
||||
@ -6,3 +6,4 @@ DIST botocore-1.41.5.gh.tar.gz 15519699 BLAKE2B 05c9cd0768013d6e3af76ad9daf8b957
|
||||
DIST botocore-1.41.6.gh.tar.gz 15619213 BLAKE2B 132f1020643f335793393f34545d7f13c0e69394ccaa4ad047694e681832ea340ee76925879e3bcff45145fda387f6b2a81ca9e69d424fe39b8754e04aee541d SHA512 15ecad28923a7ab80c749856ce9e7b02b14eaf9f2346786f0943b3a450bbe94eacd3b2f8275b8b2e6612d6c1faf53aa8788fb790722471e49c6fdf7c3cc2dd81
|
||||
DIST botocore-1.42.1.gh.tar.gz 15695042 BLAKE2B f0587a7e8112d0fd80cb40fb0da6cf88f3c0ec567a803a062f295624ca3541e0adb4cfc6d039e4bfdbcbf0c4ed07ae0117ce1ce691c6e95914bc4767d57324d4 SHA512 627ae08b65839f48fd24b567951e45363bb5d0c1ff566701a5396f6c6b0e5c58ce66143eb5bab64656d80c0751aad22af04a5d1f048d234a854325139c408846
|
||||
DIST botocore-1.42.2.gh.tar.gz 15699929 BLAKE2B 9f809924aeb031313806c70207c2063c0a421695b2be1a246f886f3214ca1f7fee1ba25b456b654a93c1d682ed7988e9f5648ac91b1703a0ff534603b4e566f4 SHA512 e23157d1ef297f35cddc73ac43604b46e6274fbd1938b8bcb3a9dc142f4c47e377e8f3675e5045755e1ad70914c56a7a84ad3d39798f5486300a25ff3f4464ca
|
||||
DIST botocore-1.42.3.gh.tar.gz 15700743 BLAKE2B d288896f8538dcb4e7589e641f8b2b0e78b9b45576a592ea105353ebcd3e03f695fff3e71af56dfdebd8cdf9cc35bc36593a30fabb02a78a7531dcbd000f2774 SHA512 d32b4b775f5a692c3f731b83a1538cff002c215a4a3947eb69fd27ddf638d47a41e037f7b8a6d73ec4acfaeaf5fbc649103051383f56190e25b5748fcd0b9d88
|
||||
|
||||
67
dev-python/botocore/botocore-1.42.3.ebuild
Normal file
67
dev-python/botocore/botocore-1.42.3.ebuild
Normal file
@ -0,0 +1,67 @@
|
||||
# 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,2 +1,3 @@
|
||||
DIST cliff-4.11.0.tar.gz 86638 BLAKE2B f4e6e4f7ba1e9dc46c40988ef92f808c4f3c03ad53ce5f8b9017a98ceb619d3d797b8ca4922b2104fbed95205b3378e9577a1c68791b3d49aaf7f44f69295126 SHA512 43f60294bece3e6b5f326ff605f9db0c5920326cc35c3953f21135ce8f68ca6f31f35a77c2d39f12b0fe005d6aac1403ae45935919e7f08631a5cd076f3eb820
|
||||
DIST cliff-4.12.0.tar.gz 86665 BLAKE2B eaf18a9af695da4ed892c0f962b54de90b5d1df00ccc69fed2d62de79226e9bdc69617bcac04443898983e2543a43d2222249c06c4d23edea0a1b71cf446df05 SHA512 be56ef236b83884c5520d05ce367799c1ca741bf6b0b1393857092a5b8f5554f4e95d03f45998122b76e8a304d88d610088398906befdcf2f5ed0e43ee238fb2
|
||||
DIST cliff-4.13.0.tar.gz 89337 BLAKE2B 37dd455d79c5a41d76d58d420596f5b4ff9c0a05037cb7ec5eb7e635c09c8e6e087d4cd6fbac1331136383dd58470636ec2edeb1f99acb690a1c5bc907184590 SHA512 c3a64e36a3a1d25c0cf0ac6f2e899d8b4ee21b362dc08354004caddd0850603dd0019f4a7f807268c827ecb76ce1d659642614f737f9f33dbd4f28b374515bbe
|
||||
|
||||
39
dev-python/cliff/cliff-4.13.0.ebuild
Normal file
39
dev-python/cliff/cliff-4.13.0.ebuild
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=pbr
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Command Line Interface Formulation Framework"
|
||||
HOMEPAGE="
|
||||
https://opendev.org/openstack/cliff/
|
||||
https://github.com/openstack/cliff/
|
||||
https://pypi.org/project/cliff/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/autopage-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cmd2-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/prettytable[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-5.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@ -1,4 +1,2 @@
|
||||
DIST django_debug_toolbar-6.0.0.tar.gz 305331 BLAKE2B a51c465065036a2b9807bcf75561f3b12dea8532312b5f56ae97ed304d97de1e4f686f9ec38952e7defbb1c4142e63946661e2d6248f800072180ffc94cf83c1 SHA512 2772bba84805309cebba962ee386e2c44a922f7b1f61fcb59b9723e107ac950b0b8816f22fbf28c4a11c9e985b3c2343c4a7ca0a07ac0060de5533e95d06d5f4
|
||||
DIST django_debug_toolbar-6.0.0.tar.gz.provenance 9931 BLAKE2B 65b8a2edd627e9a5b86d26692d8b5b29f426beaf12f138357f04e3ecfbd7822624d7452a25d43b8ebf7a8b9ed581d0880969d7f7ac52161452064ba050100310 SHA512 bf0bc9b88ecfeb2edee3a99e84e15ad07d173e4072ed35a074303b7ed0e37afabaa83e631760247173098fe3467a6b9a75ed5df9f5bdf5bfab04f7a55ba8e143
|
||||
DIST django_debug_toolbar-6.1.0.tar.gz 309141 BLAKE2B 885d69d0a93eaaca1c713acfa0a0c78b5f7d53f7f4d9a59707564a132312008cbc95177d2718c86e754d7f7b1546170f398cbad5f14c60337bfb6254de3e4691 SHA512 e2eaa16460b3cb81666984136e3ad492dad9444f356757c95c94ea23547fcb5a7c7d8928e325ff1b0e08b6ce1b5cbe58bbc52933a8bb3a78676bc39a0f0c752a
|
||||
DIST django_debug_toolbar-6.1.0.tar.gz.provenance 10248 BLAKE2B 7dee60be72a31a7a35e434ddc0f58933175385d3c1c306c6beb901f125e5314d067fb24cdf1a0a145479f561b47eb1451f01a0b4b0d1424cc7ed4434d1182e04 SHA512 86e14abbabdf4d17131bdb8952e6791c2cb2603c99c232852ccd44475cdb33d871a8e26b6019b088478ae2707730c35939424b33f33232e2e3365855dfa3a610
|
||||
|
||||
@ -1,46 +0,0 @@
|
||||
# Copyright 2023-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/django-commons/django-debug-toolbar
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A configurable set of panels that display various debug information"
|
||||
HOMEPAGE="
|
||||
https://github.com/django-commons/django-debug-toolbar/
|
||||
https://pypi.org/project/django-debug-toolbar/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-4.2.9[${PYTHON_USEDEP}]
|
||||
elibc_musl? ( dev-python/tzdata )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/django-template-partials[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# requires django-csp
|
||||
rm tests/test_csp_rendering.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m django test -v 2 --settings tests.settings tests \
|
||||
|| die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/django-commons/django-debug-toolbar
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@ -1,2 +1 @@
|
||||
DIST django_otp-1.6.2.tar.gz 74228 BLAKE2B b4abf0d0aa9a56632d0d498f3d5006ab7a90c4fff73c431f2c7489b6ad5e6452071fb18ea6b69fb92ffe8e5f0c9a736b30d5b883294769ddee901e7a86b766d8 SHA512 39015bec2c2c306cf247bf12ed33a6b84314f6155f730368c50d5354c09315977cc6cc2653562c0987641cc2820c7a4149b4c85eac53baef8c80f59257c8fdf3
|
||||
DIST django_otp-1.6.3.tar.gz 74641 BLAKE2B eac8399251e35d0aa768a05816f06649afac65bd67462c5b0a3f04b68c4b914c8998bb90e244ca2bbdd6d766fec27611d9541703aa9954db83dcaff88cfa029f SHA512 3e671e643d37b734ec4e2808ce50d7636315a57dd59c9466ee2ededd4a94201f2340b0d1dc711106c0af154cca5229b4688d05db9085bc48483385ca534d6753
|
||||
|
||||
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Django framework adding two-factor authentication using one-time passwords"
|
||||
HOMEPAGE="
|
||||
https://github.com/django-otp/django-otp/
|
||||
https://pypi.org/project/django-otp/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-4.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/qrcode[${PYTHON_USEDEP}]
|
||||
dev-python/segno[${PYTHON_USEDEP}]
|
||||
)
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=test:${PYTHONPATH}
|
||||
local -x DJANGO_SETTINGS_MODULE=test_project.settings
|
||||
"${EPYTHON}" -m django test -v 2 django_otp ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
DIST django-polymorphic-4.1.0.gh.tar.gz 104197 BLAKE2B b76ee07790fc1b88e3f75460adb43d78505e2acce0298872aff9bbcb00bab67e78b4fed228b50a2228c17f22f8fba7a3bb4918281b2535daf3c2273437037d20 SHA512 ef6eab91812d8cd0762648f90b2411ee6d748790e6285e6ea8aea8362c67d9a7433d18726a60b155a1d9f75bf929ed36c447504421d800d04d6e4731e73bb7f1
|
||||
DIST django-polymorphic-4.2.0.gh.tar.gz 222029 BLAKE2B 2a277dd817f24f3282f2bd1a1a302553518d12f217cd026ee95fe5d0f765159499699670f29eda28ff4407ba2e82dae431b9297b8acbd718bc4bd40a0a6f0f23 SHA512 b1be07d0527165baea32dd5b0adc03da23c6027c3ed4094e78be7807e3621addef9d4da047a49f223f186b5f60fd3bc1cea1755ad85c8308e44d0681848df445
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -23,7 +23,7 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-3.2[$PYTHON_USEDEP]
|
||||
>=dev-python/django-4.2[$PYTHON_USEDEP]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
@ -35,3 +35,13 @@ BDEPEND="
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-django )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# requires playwright
|
||||
src/polymorphic/tests/test_admin.py
|
||||
)
|
||||
|
||||
rm -f conftest.py || die
|
||||
epytest -o addopts=
|
||||
}
|
||||
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/django-commons/django-prometheus
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@ -1,2 +1 @@
|
||||
DIST django-tables2-2.7.5.gh.tar.gz 432318 BLAKE2B fc762afeba6332f61a48fb4f404e261dd483661b880e7baefe39593f4f0ca34e11326214c8f6b4d4eaa53c425793e6d07c73f039f0366c4e60f9d4b0588d3cde SHA512 b85bba6f1674497036e1c0c1ae5f05c241d951670501f2ca78aa62f1f278b455b9bde04f9f877a9972f92451ea1b296b39052da0da43f624bc270c787441e48a
|
||||
DIST django-tables2-2.8.0.gh.tar.gz 432933 BLAKE2B ce5472827b26be9b08e1b62bfb1489944b92789f05bbe2144416ed9c017b4ba1750a16630d1a62e9210fb484a12c5732638867eadcd7ee4b1a2a96cea1de1234 SHA512 d961b9329715a64c4dd77bf97c7b485f55fc7b9bec1f99513ffd877de0c63e02a73130ab807b6e2b255b8e6bcaf1f30b1aac7db503d7f4031ece13618aefd5a1
|
||||
|
||||
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Table/data-grid framework for Django"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/django-tables2/
|
||||
https://github.com/jieter/django-tables2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/jieter/django-tables2/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-4.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/django-filter[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg:*[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# these tests require tablib
|
||||
rm tests/test_export.py tests/test_templatetags.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" manage.py test -v 2 tests || die
|
||||
}
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@ -1,2 +1 @@
|
||||
DIST django_template_partials-25.2.tar.gz 17787 BLAKE2B e471e8a1b8844352ae7b880e3f4b2ab858ff847a0a1980e80cf50048bfe623869f43fafd0d76ae07f2c6c8e28c95175e5d33bed743cb8930ef7cb5fce4686d74 SHA512 be5b71b498b5828169ef1ad0a79097cd3fe88a0bf6ff9e82d5f7466fd0939855cd053a2349924d0e99cd35553df809a6cc73e383734b62fb8450e3f9b270f2aa
|
||||
DIST django_template_partials-25.3.tar.gz 18052 BLAKE2B 3e52d3faba0f4286059acca56587add0e5876614287c2a94698a53bbda76c1dad245a34543eb90868bfe1a35d7cbf24a7cc004c3e67eb9d8273a1e110fce39c0 SHA512 d2f1cff1a9e7907a70944057732f6b100dba6a33fdf0d112f7fa6a9e767d3bf8faaf9cb3c6ef238e31f4d63827e6d475c098577047248cd43f9d7dc6a7170e15
|
||||
|
||||
@ -1,35 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Reusable named inline partials for the Django Template Language"
|
||||
HOMEPAGE="
|
||||
https://github.com/carltongibson/django-template-partials/
|
||||
https://pypi.org/project/django-template-partials/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m django test --settings=tests.settings -v 2 ||
|
||||
die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
DIST greenlet-3.2.3.tar.gz 185752 BLAKE2B 4e5ea7c83622a954d9cab3da524c88970cc8a22759c3cdfdca1a718c5e630d895d844679292b48a4ebda93bcbbad1da0665c78bbf132cf1215456d742190a3ac SHA512 3153123855b4900387454fa1d4223b321980e3462e1e139b9f90b4eb2d0772102e06375055c6eb612530d7037169ff6e28166f95efe09073ea331db76284d39d
|
||||
DIST greenlet-3.2.4.tar.gz 188260 BLAKE2B b4ac8d493fe2fa471d61a11d7f5aa8cdec5e94d00f902c44204838d1e049cd289e52ac959dda3967a8b2b1b0d157f42225db0ff1665cd799070e230f834d53c2 SHA512 59a2df6248ba8830d0d92cf26cde97fef87fd6d3b5ebd2661d1a8762e622b98b502ab8531f613830c6645b0249c084f326c38c34824da37b717ff6cfbb105e4c
|
||||
DIST greenlet-3.3.0.tar.gz 190651 BLAKE2B 32405286c0b8a7b1170936c419a4c40856b7e4605eac95ff733c0603ba54031fe2510cc47cdecfe33ce97e5e6de0995a9c174fb52dfd637bd351c0782d787929 SHA512 633d207f9fe749074760e31302ca6b2f2a6c72f0161d9676c8c1047928a4108106653f3914430cee62b125d99d449f80566282d089a09f9bb6eb3589b43e9817
|
||||
|
||||
@ -1,71 +0,0 @@
|
||||
From 739cc559ac42f41f6ccbc7d556d730fd424f3be8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Wed, 30 Jul 2025 12:17:47 +0200
|
||||
Subject: [PATCH] Fix py312+ crash test skips to correctly check for assertions
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Fix the skips for `test_trace_events_multiple_greenlets_switching*`
|
||||
to correctly detect assertions being enabled independently of
|
||||
`--with-pydebug`. Gentoo builds Python `--without-pydebug` but
|
||||
`--with-assertions`, in order to benefit from assertion-implied safety
|
||||
checks without the full cost of PyDEBUG. For the purpose of detecting
|
||||
it, check for `-DNDEBUG` in optimization flags, as implied by disabling
|
||||
assertions. Leave the existing code as a fallback for when build flags
|
||||
are unavailable, e.g. in Windows packages.
|
||||
|
||||
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
||||
---
|
||||
src/greenlet/tests/test_tracing.py | 18 +++++++++++++-----
|
||||
1 file changed, 13 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/greenlet/tests/test_tracing.py b/src/greenlet/tests/test_tracing.py
|
||||
index c044d4b6..235fbcd6 100644
|
||||
--- a/src/greenlet/tests/test_tracing.py
|
||||
+++ b/src/greenlet/tests/test_tracing.py
|
||||
@@ -1,5 +1,6 @@
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
+import sysconfig
|
||||
import greenlet
|
||||
import unittest
|
||||
|
||||
@@ -7,9 +8,16 @@
|
||||
from . import PY312
|
||||
|
||||
# https://discuss.python.org/t/cpython-3-12-greenlet-and-tracing-profiling-how-to-not-crash-and-get-correct-results/33144/2
|
||||
-DEBUG_BUILD_PY312 = (
|
||||
- PY312 and hasattr(sys, 'gettotalrefcount'),
|
||||
- "Broken on debug builds of Python 3.12"
|
||||
+# When build variables are available, OPT is the best way of detecting
|
||||
+# the build with assertions enabled. Otherwise, fallback to detecting PyDEBUG
|
||||
+# build.
|
||||
+ASSERTION_BUILD_PY312 = (
|
||||
+ PY312 and (
|
||||
+ "-DNDEBUG" not in sysconfig.get_config_var("OPT").split()
|
||||
+ if sysconfig.get_config_var("OPT") is not None
|
||||
+ else hasattr(sys, 'gettotalrefcount')
|
||||
+ ),
|
||||
+ "Broken on assertion-enabled builds of Python 3.12"
|
||||
)
|
||||
|
||||
class SomeError(Exception):
|
||||
@@ -198,7 +206,7 @@ def run(self):
|
||||
|
||||
self._check_trace_events_from_greenlet_sets_profiler(X(), tracer)
|
||||
|
||||
- @unittest.skipIf(*DEBUG_BUILD_PY312)
|
||||
+ @unittest.skipIf(*ASSERTION_BUILD_PY312)
|
||||
def test_trace_events_multiple_greenlets_switching(self):
|
||||
tracer = PythonTracer()
|
||||
|
||||
@@ -236,7 +244,7 @@ def g2_run():
|
||||
('c_call', '__exit__'),
|
||||
])
|
||||
|
||||
- @unittest.skipIf(*DEBUG_BUILD_PY312)
|
||||
+ @unittest.skipIf(*ASSERTION_BUILD_PY312)
|
||||
def test_trace_events_multiple_greenlets_switching_siblings(self):
|
||||
# Like the first version, but get both greenlets running first
|
||||
# as "siblings" and then establish the tracing.
|
||||
@ -1,51 +0,0 @@
|
||||
From cfb846272ab94a79c2f936da13dc3f5213f48912 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Thu, 31 Jul 2025 18:16:00 +0200
|
||||
Subject: [PATCH] Skip `TestLeaks` when `GREENLET_SKIP_LEAKCHECKS` is used
|
||||
|
||||
When `GREENLET_SKIP_LEAKCHECKS` is used, we do not want to check for
|
||||
leaks, and therefore it makes no sense to run tests explicitly checking
|
||||
for leaks. Since the conditional is also true for MANYLINUX builds,
|
||||
remove the redundant condition.
|
||||
---
|
||||
src/greenlet/tests/test_leaks.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/greenlet/tests/test_leaks.py b/src/greenlet/tests/test_leaks.py
|
||||
index 99da4eb..fe60fa2 100644
|
||||
--- a/src/greenlet/tests/test_leaks.py
|
||||
+++ b/src/greenlet/tests/test_leaks.py
|
||||
@@ -10,6 +10,7 @@
|
||||
import time
|
||||
import weakref
|
||||
import threading
|
||||
+import unittest
|
||||
|
||||
|
||||
import greenlet
|
||||
@@ -17,7 +18,7 @@
|
||||
from . import PY314
|
||||
from .leakcheck import fails_leakcheck
|
||||
from .leakcheck import ignores_leakcheck
|
||||
-from .leakcheck import RUNNING_ON_MANYLINUX
|
||||
+from .leakcheck import SKIP_LEAKCHECKS
|
||||
|
||||
# pylint:disable=protected-access
|
||||
|
||||
@@ -39,6 +40,7 @@ def reset(cls):
|
||||
cls.EXTANT_INSTANCES.clear()
|
||||
|
||||
|
||||
+@unittest.skipIf(SKIP_LEAKCHECKS, "Leak checks disabled")
|
||||
class TestLeaks(TestCase):
|
||||
|
||||
def test_arg_refs(self):
|
||||
@@ -313,8 +315,6 @@ def _only_test_some_versions(self):
|
||||
assert sys.version_info[0] >= 3
|
||||
if sys.version_info[:2] < (3, 8):
|
||||
self.skipTest('Only observed on 3.11')
|
||||
- if RUNNING_ON_MANYLINUX:
|
||||
- self.skipTest("Slow and not worth repeating here")
|
||||
|
||||
@ignores_leakcheck
|
||||
# Because we're just trying to track raw memory, not objects, and running
|
||||
@ -19,7 +19,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="MIT PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 -hppa ~m68k ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~m68k ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -35,13 +35,6 @@ distutils_enable_sphinx docs \
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# https://github.com/python-greenlet/greenlet/pull/457
|
||||
"${FILESDIR}/${P}-py312-assert.patch"
|
||||
# https://github.com/python-greenlet/greenlet/pull/461
|
||||
"${FILESDIR}/${P}-skip-leak-tests.patch"
|
||||
)
|
||||
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# patch cflag manipulations out
|
||||
@ -1,9 +1,5 @@
|
||||
DIST hypothesis-6.139.2.gh.tar.gz 9623909 BLAKE2B 2b509474e06169191087932a47a0564fc5babf0f1e2acddd4f95d7d411befea444a80c7d7fea9c8582fb6ddc8153388a52a7a29d917f4f5ea8c142c8345e9036 SHA512 ffd797bc2ed6591fd67b2639665c606c1814a7ee2cca1b1f4272ef505a3ad83883988feb2dc32e4a92813c540dd485594d2c332e945ad7f58b9eb276af733869
|
||||
DIST hypothesis-6.142.5.gh.tar.gz 9625137 BLAKE2B 2a0146541b95710419c5ede4288a3996d1e7688932b7f888d960fed5c69b344b1fb5e9e4509c97033d102137e315b10d3d1d336ed6964db8caaacdd23c160213 SHA512 5d7f21dd449a951ea9974dcb586087a5f0a43a2bc84ff5898ef81d53d9a543a7afdc26e85ffc21be01f300d6582eedb2f99cf086fd5eb9debb457b62f75500ea
|
||||
DIST hypothesis-6.145.1.gh.tar.gz 9636827 BLAKE2B e39544074d83b33b6e04eb26319d20dd48e4196f216c782149fdf9e2bd869b5f29aa97b3606a5235bcf41dc0a98db05966c6e542a64ab5a63470038f9eca02fd SHA512 3af66ecac9217a11dccba070f16af610e0ca0216d802ae298d9a5ded6c62546b70d260d7fd191785b84f106ff9786af2dbda400e30bd4fb5caa05ef6a0fd65ee
|
||||
DIST hypothesis-6.147.0.gh.tar.gz 9637937 BLAKE2B ee245790ce248a43dd6a25148b9adc40278bbdcedf169820a1047ef0a12707ab90083b285e952ecde2397e5ec313314b7dcd9b8939bbbefdc113509f27db09d9 SHA512 6c5da0c2ceec1110b1f310f9cb0d13ec9e0397ff2cdc53cc47e9e3d7147b2153cd1fbff870ca63589d08f20bb6f7f30a3a73c402312d202974f0ec08a6612918
|
||||
DIST hypothesis-6.148.0.gh.tar.gz 9637659 BLAKE2B 49f4a793181e308b5a4c8b134b7b222d42162e1dca0c424ab30a82a061e479028703237e550ea491e3a2ba10610f2c4e248b618527e554b82d95d442f98abced SHA512 169ca9a09c0a3752768cbbd48f8bb444382895f066e0f26c6f64df64dd957e8a5e3a4ef79c33bfc2643908b96159f212661dab7f04e2380a85a82330aaf139e1
|
||||
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
|
||||
DIST hypothesis-6.148.7.gh.tar.gz 9927096 BLAKE2B 4e6f782918394edba79a2c183be923076eec1b12b24cc184561e4ee5900e97d2f9c7e110ec98a51911ccdd5b0f2b3172947067038bba03723472be99b7005873 SHA512 f9fbe91650a99f9db3fa1e3a389c2a3cdac85cbb0a7c6cb694b29e486b29670833fd534022c6d26ebeac7b2f3135940dda854f865fde0a6b62c229fdd5f422e6
|
||||
|
||||
@ -1,125 +0,0 @@
|
||||
# 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/attrs-22.2.0[${PYTHON_USEDEP}]
|
||||
>=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/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 EPYTEST_DESELECT=()
|
||||
case ${EPYTHON} in
|
||||
python3.13t)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO: missing warning
|
||||
'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns'
|
||||
)
|
||||
;;
|
||||
python3.14*)
|
||||
EPYTEST_DESELECT+=(
|
||||
'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]'
|
||||
'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]'
|
||||
hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds
|
||||
hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence
|
||||
hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression
|
||||
hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types
|
||||
hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types
|
||||
hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic
|
||||
hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic
|
||||
hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic
|
||||
hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic
|
||||
hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic
|
||||
hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic
|
||||
hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense
|
||||
hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns
|
||||
hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope
|
||||
hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent
|
||||
hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref
|
||||
hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref
|
||||
hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type
|
||||
hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
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,91 +0,0 @@
|
||||
# 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,91 +0,0 @@
|
||||
# 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,91 +0,0 @@
|
||||
# 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,2 +1,2 @@
|
||||
DIST pyghmi-1.6.6.tar.gz 280557 BLAKE2B da746222d0f281c899e9e7ef4458294e538eefe9036f51f81afd342e12a3b0fe8f650eb14aed5fab13c2ddb7e5a39567f0e72f48c35aae4cd1c4959e8426aa18 SHA512 0d3269e90467315c9767cae158bd1b6f89870337325cf7541e62b755adac2c7c263d9b6cef681f66747ddd80bbfdbb5338b85a16a2157a7ec74dd51ace076464
|
||||
DIST pyghmi-1.6.7.tar.gz 282464 BLAKE2B 0605b1bb63d1e024e54f67ea3893a2aeac74d4704b8c9bf7a36cfe581eea6be659a1b92133026f75d7ee62f2eacb086f5700f8718d6b44d4a1332caecf11071d SHA512 0727d4b4e98ae3b5d7ee8edbb5756215abb896d1a47762eb41d0067cd73205d5234d8a63d53c272f7635f065aee77b80f7127471686744e2ead2219a2828b020
|
||||
DIST pyghmi-1.6.8.tar.gz 282988 BLAKE2B 9b243bb061772f5b6edf9956b6117031a7d565504e26508acfb37b9bb0418136fb1afd388a860abaf9cf713c18ad685d6a37afa69d60ee2f6234a04c5617da8a SHA512 335e293c0e139d939c4ace9fc640a363cccf49f4c5ab05ddfd80f0a5d2cee5b845ca729a21a07f68ff61605d0f60dcecdf70e0882e9054ca67b0effcabc8a527
|
||||
|
||||
@ -15,7 +15,6 @@
|
||||
<flag name="network">Build bindings for the QtNetwork module</flag>
|
||||
<flag name="opengl">Build bindings for the QtOpenGL module</flag>
|
||||
<flag name="printsupport">Build bindings for the QtPrintSupport module</flag>
|
||||
<flag name="serialport">Build bindings for the QtSerialPort module</flag>
|
||||
<flag name="speech">Build bindings for the QtTextToSpeech module</flag>
|
||||
<flag name="sql">Build bindings for the QtSql module</flag>
|
||||
<flag name="svg">Build bindings for the QtSvg module</flag>
|
||||
|
||||
@ -19,8 +19,8 @@ KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
|
||||
|
||||
IUSE="
|
||||
dbus debug declarative designer examples gles2-only gui help multimedia
|
||||
network opengl printsupport serialport speech sql +ssl svg testlib
|
||||
websockets widgets x11extras xmlpatterns
|
||||
network opengl printsupport speech sql +ssl svg testlib websockets
|
||||
widgets x11extras xmlpatterns
|
||||
"
|
||||
|
||||
# The requirements below were extracted from the qmake_QT declarations
|
||||
@ -32,7 +32,6 @@ REQUIRED_USE="
|
||||
multimedia? ( gui network )
|
||||
opengl? ( gui widgets )
|
||||
printsupport? ( gui widgets )
|
||||
serialport? ( gui )
|
||||
sql? ( widgets )
|
||||
svg? ( gui widgets )
|
||||
testlib? ( widgets )
|
||||
@ -60,7 +59,6 @@ DEPEND="
|
||||
network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} )
|
||||
serialport? ( >=dev-qt/qtserialport-${QT_PV} )
|
||||
speech? ( >=dev-qt/qtspeech-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV} )
|
||||
@ -126,7 +124,6 @@ python_configure_all() {
|
||||
$(pyqt_use_enable network QtNetwork)
|
||||
$(pyqt_use_enable opengl QtOpenGL)
|
||||
$(pyqt_use_enable printsupport QtPrintSupport)
|
||||
$(pyqt_use_enable serialport QtSerialPort)
|
||||
$(pyqt_use_enable speech QtTextToSpeech)
|
||||
$(pyqt_use_enable sql QtSql)
|
||||
$(pyqt_use_enable svg QtSvg)
|
||||
@ -142,6 +139,7 @@ python_configure_all() {
|
||||
--disable=QtLocation
|
||||
--disable=QtPositioning
|
||||
--disable=QtSensors
|
||||
--disable=QtSerialPort
|
||||
--disable=QtWebChannel
|
||||
|
||||
$(usev debug '--debug --qml-debug --tracing')
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
DIST sphinx-8.2.3.gh.tar.gz 8378376 BLAKE2B ddfa406140bebcaa09299a56fedf1170db6504a9ce3807e20c555f5e088d81acbfd19f2621a824b91199713b301380fd2056cf2282ea81f4a0858dd714eb7e45 SHA512 23066d9e98f3e36ee34ac3bc5af45792762f858e1e670145b7d1db7e98fa9e9654d87a27b9316dd72704aeea75b53f73d07d22f723c915d23a95f59bbd4f6365
|
||||
DIST sphinx-9.0.0.gh.tar.gz 8603500 BLAKE2B 7d855abd0a32b5474dcec23a880e6b4eeb7b7370320dccd869c1770e4d037575ea71941384c8c3c8764d44c123d481c8aac9d6149a82bb85529b267944f47151 SHA512 6be63da6a23cfd7dda90ff3907a9f5f3527a081e204c07523253d11612f91e9a5dad1772a4ba937306ca5ff1215e037a65782c398435c70c74aea5f22cc6e1a6
|
||||
DIST sphinx-9.0.1.gh.tar.gz 8758828 BLAKE2B 274b2d67e6570a001d1e9248e1e56cd7340162295976a6889503cbca07a016bcef667a3e1bd8bcd98c949a52b3c685c2bf8e73a634e03a8fe33ead810fdaa49a SHA512 72fb9829c26d970d7434a4ecb429b314da57d98c3a89e55bbfc864947d769e5bad3c8a3621b14db72237edfec8a59aafeba6944e0a79cee668c6672c796c08c3
|
||||
DIST sphinx-9.0.3.gh.tar.gz 8843780 BLAKE2B 4d3bb39c612f099cd93d99a7f808012a511aca7f885124de2a29aca9ff40e139cbbf340a0895a40c6e7747113839d9b69785ba501b26219b92b61f3c4a5225f9 SHA512 49014e02017d1d70a84c0877d24c13732ee936d456e01b72e53dcaa7009cdf18c9dd5d0c23d25adb718439999d2d82cbcd29ba7e97289c394f3a1cdb456fe8af
|
||||
DIST sphinx-9.0.4.gh.tar.gz 8843746 BLAKE2B 4cae21fa2b980f529f58444c4cf793ec455f5a0ea43944fa44e9e99a3d03de48f88f170e6c7382dea99cd0bb895729ee0b43cafe2aef1e84a190ea244e4c08da SHA512 8652e6a65060a81609275afa6301bb0eaccda939e2988f86d548796a215a86c923c9240422497abe77652a436479930e81dfdf43fba9722b63a50542d3ac9522
|
||||
|
||||
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/_}
|
||||
DESCRIPTION="Python documentation generator"
|
||||
HOMEPAGE="
|
||||
https://www.sphinx-doc.org/
|
||||
https://github.com/sphinx-doc/sphinx/
|
||||
https://pypi.org/project/Sphinx/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sphinx-doc/sphinx/archive/v${PV/_}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_rc* ]]; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
IUSE="doc latex"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/babel-2.13[${PYTHON_USEDEP}]
|
||||
<dev-python/docutils-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.20[${PYTHON_USEDEP}]
|
||||
>=dev-python/imagesize-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja2-3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-23.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.30.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/roman-numerals-py-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-applehelp-1.0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-devhelp-1.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-htmlhelp-2.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-jsmath-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-qthelp-1.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}]
|
||||
latex? (
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
app-text/dvipng
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/flit-core-3.11
|
||||
doc? (
|
||||
dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
app-text/dvipng
|
||||
>=dev-python/cython-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-67.0[${PYTHON_USEDEP}]
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
virtual/imagemagick-tools[jpeg,png,svg]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/sphinx-3.2.1-doc-link.patch"
|
||||
)
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_RERUNS=5
|
||||
# EPYTEST_XDIST breaks stuff
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# roman-numerals-py has been renamed (no -py), but the package can't be pkgmoved "yet".
|
||||
# For rc1, simply fix pip check by using the old name.
|
||||
sed -i -e 's:roman-numerals:roman-numerals-py:' pyproject.toml || die
|
||||
# disable internet access
|
||||
sed -i -e 's:^intersphinx_mapping:disabled_&:' \
|
||||
doc/conf.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# we can't use distutils_enable_sphinx because it would
|
||||
# introduce a dep on itself
|
||||
use doc && build_sphinx doc
|
||||
}
|
||||
|
||||
python_test() {
|
||||
mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
|
||||
local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
|
||||
|
||||
local EPYTEST_DESELECT=()
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
tests/test_util/test_util_inspect.py::test_is_classmethod_descriptor
|
||||
tests/test_util/test_util_inspect.py::test_is_builtin_classmethod_like
|
||||
# minor repr() differences
|
||||
tests/test_util/test_util_typing.py::test_restify
|
||||
tests/test_util/test_util_typing.py::test_stringify_annotation
|
||||
tests/test_util/test_util_typing.py::test_stringify_type_union_operator
|
||||
# from pypy3 era
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_exception
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_ignore_module_all
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_inherited_members_None
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_automethod_for_builtin
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_cython
|
||||
tests/test_ext_autodoc/test_ext_autodoc.py::test_partialfunction
|
||||
tests/test_ext_autodoc/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
|
||||
tests/test_ext_autodoc/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
|
||||
tests/test_ext_autodoc/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
|
||||
tests/test_ext_autodoc/test_ext_autodoc_autofunction.py::test_builtin_function
|
||||
tests/test_ext_autodoc/test_ext_autodoc_autofunction.py::test_methoddescriptor
|
||||
tests/test_ext_autodoc/test_ext_autodoc_automodule.py::test_automodule_inherited_members
|
||||
tests/test_ext_autodoc/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs
|
||||
tests/test_ext_autodoc/test_ext_autodoc_signatures.py::test_format_class_signatures_text_signature
|
||||
tests/test_ext_autodoc/test_ext_autodoc_signatures.py::test_format_class_signatures_no_text_signature
|
||||
tests/test_ext_autodoc/test_ext_autodoc_signatures.py::test_format_method_signatures_error_handling
|
||||
tests/test_ext_autosummary/test_ext_autosummary.py::test_autosummary_generate_content_for_module
|
||||
tests/test_ext_autosummary/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
|
||||
tests/test_util/test_util_inspect.py::test_isattributedescriptor
|
||||
tests/test_util/test_util_inspect.py::test_signature
|
||||
tests/test_util/test_util_typing.py::test_is_invalid_builtin_class
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest
|
||||
}
|
||||
@ -1,3 +1,4 @@
|
||||
DIST translate-3.16.3.gh.tar.gz 1182562 BLAKE2B 25ea88b5490891140670cdc384c9c1a318dce0085d6b9c8f6b1a7fbb0892a2e6eb80c26c02fa4890d3ec45c0d9c3958d7c3c4c33dba76d1ee03d977ee0a6863a SHA512 e2e59ca01769a88fd7c6367d0e1e8b96da9f950b600fc62eecae9aed4ad072877b1fd1a6742f0588b2b27d33f6652e98db4c90e63fb4d09481a651019beaee44
|
||||
DIST translate-3.17.2.gh.tar.gz 1237809 BLAKE2B b7f1ea65990ac2b5380e674cadc47c1df6ff2476afed25d36b8c636b4d0fba32005086015b03425bdea38f4b22ed7c53d1b664ed92a06aa65f80720e34c49072 SHA512 8658101eec4d4da05c34f4e7b4e0fb77bf8f576bf867118bd4f5b39609fb7d67064412dfab514edc448331b93fd12c148e53cff57c6b1fe1155427059ad7821a
|
||||
DIST translate-3.17.3.gh.tar.gz 1241480 BLAKE2B 2c3e32f1959b37903214005bb360a0efd9c3b8ebbd8c1996be0af80aa753e109512656c896c51cf9a1e0f449fef47116938e5c92a9828c21cd5a3cd6a2bc4315 SHA512 8d5c83b10a706300ba73310469b1e1857338c6dffa5790765fee316c183b832b3f142080759fd6155fcfa716613c6019be17b3ad70ffcf57eeb27e7eb5b62397
|
||||
DIST translate-3.17.4.gh.tar.gz 1242234 BLAKE2B da13cc36d463c7f50724b1f398d77e817db03abe2ca9bbc19de6900f48de839feff63b7efcbf76e4eb6d252525e56d0abe67403102f2eaf45c5bcc2007f00e55 SHA512 1ee5a3bb82cd7cd57e6ab3cc95469c0c1b00018accb0129fda909317dfd62df77ea69061fddec9838c8e5f0e76fc45c130c93ce99d2e628b508551e573ef9279
|
||||
|
||||
129
dev-python/translate-toolkit/translate-toolkit-3.17.4.ebuild
Normal file
129
dev-python/translate-toolkit/translate-toolkit-3.17.4.ebuild
Normal file
@ -0,0 +1,129 @@
|
||||
# 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} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=translate-${PV}
|
||||
DESCRIPTION="Toolkit to convert between many translation formats"
|
||||
HOMEPAGE="
|
||||
https://github.com/translate/translate/
|
||||
https://pypi.org/project/translate-toolkit/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/translate/translate/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+html +ical +ini +subtitles +yaml"
|
||||
|
||||
RDEPEND="
|
||||
app-text/iso-codes
|
||||
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
dev-python/cheroot[${PYTHON_USEDEP}]
|
||||
>=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-5.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
dev-python/tomlkit[${PYTHON_USEDEP}]
|
||||
>=dev-python/unicode-segmentation-rs-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/wcwidth-0.2.14[${PYTHON_USEDEP}]
|
||||
sys-devel/gettext
|
||||
html? ( dev-python/utidylib[${PYTHON_USEDEP}] )
|
||||
ical? ( dev-python/vobject[${PYTHON_USEDEP}] )
|
||||
ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] )
|
||||
subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] )
|
||||
yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# Technically, the test suite also has undeclared dependency
|
||||
# on dev-python/snapshottest but all the tests using it are broken
|
||||
# anyway, so we skip them.
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/phply[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# strip unnecessary pins
|
||||
sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# unfortunately, this bad quality package doesn't support XDG_DATA_DIRS
|
||||
# correctly, so we need to reassemble all data files in a single directory
|
||||
local -x XDG_DATA_HOME=${T}/share
|
||||
cp -r translate/share "${T}/" || die
|
||||
cp -r "${ESYSROOT}"/usr/share/gaupol "${XDG_DATA_HOME}"/ || die
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# Fails with network-sandbox (and even with it off but w/ softer fail)
|
||||
'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff'
|
||||
'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff'
|
||||
# all tests based on snapshottest are broken and I'm too tired
|
||||
# to figure this out
|
||||
tests/translate/tools/test_pocount.py::test_{cases,output}
|
||||
tests/translate/tools/test_junitmsgfmt.py::test_output
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# unpackaged fluent.*
|
||||
tests/translate/storage/test_fluent.py
|
||||
# changes directory and does not change it back, sigh
|
||||
tests/odf_xliff/test_odf_xliff.py
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/iniparse[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=(
|
||||
translate/convert/test_ini2po.py
|
||||
translate/convert/test_po2ini.py
|
||||
)
|
||||
fi
|
||||
|
||||
if ! has_version "media-video/gaupol[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=(
|
||||
translate/storage/test_subtitles.py
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /usr
|
||||
doins -r translate/share
|
||||
|
||||
if ! use html; then
|
||||
rm "${ED}"/usr/bin/{html2po,po2html} || die
|
||||
fi
|
||||
if ! use ical; then
|
||||
rm "${ED}"/usr/bin/{ical2po,po2ical} || die
|
||||
fi
|
||||
if ! use ini; then
|
||||
rm "${ED}"/usr/bin/{ini2po,po2ini} || die
|
||||
fi
|
||||
if ! use subtitles; then
|
||||
rm "${ED}"/usr/bin/{sub2po,po2sub} || die
|
||||
fi
|
||||
}
|
||||
@ -1,2 +1 @@
|
||||
DIST txaio-25.6.1.tar.gz 58709 BLAKE2B b1dd0801752c16753238d5afa2c5f7f96cc684ff5d5cc1764715f768a589dfd2b488bb3450eac7e7c7228dbb8bebf7770ed2da1303b6bd815edcae9058340767 SHA512 70ebf010c8baf9a374437ef6670215fef29a27f9b15839181031149e712ecb2a9bfeb0554df1a223f1f073d76de38497e01e2e5289622a9249740afc663b4dfb
|
||||
DIST txaio-25.9.2.tar.gz 50008 BLAKE2B ac43909f92370475d9ef64b8a64a454dbec1f3c28cac13d876ea7877b4f0b92d274867eabbdca7bceae5d32588e2e6befde2399e09a293e5a0548222cb1d1e6e SHA512 6a9ade6b8a7a7a29b96d8bc2a9ee5c2981270000b44736a753ef32aa6aa5f40b0fb0302d0b789795b313379eec236e8e5d02c5bebeefff1832a276994716794d
|
||||
|
||||
@ -1,39 +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 optfeature pypi
|
||||
|
||||
DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius"
|
||||
HOMEPAGE="
|
||||
https://github.com/crossbario/txaio/
|
||||
https://pypi.org/project/txaio/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/test[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# we certainly don't need to test "python setup.py sdist" here
|
||||
test/test_packaging.py
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Twisted support" "dev-python/twisted dev-python/zope-interface"
|
||||
}
|
||||
@ -1,3 +1,2 @@
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.18.tar.xz 6534556 BLAKE2B 5b8e7cc45c640ab9c753cb54e22574f2246f807802fac2c4376360e343b863c800b640edeea2569ad8af6b2fd56110eafd82792b111258f8997943f080003f13 SHA512 587e1cc8c8f46ab09ea79c4142dbecc52466dafa94c4bfa61264eba4f202fb5e2979d1ae6ba5fb924376d75764f28b58c7bcc03ab29edef2524aa872adb3c936
|
||||
DIST qtpositioning-everywhere-src-6.10.1.tar.xz 649012 BLAKE2B ec925df18235a79a1e7e63c9c09b722ac42ba63f3661f0c18e524bb9b849061d40eb2eca8f06530c6177806286d6ec5e0deb5d2a07414cd396fe36d97e628d19 SHA512 738f88b1531d1ce980ceab974293ddc8139d7c9d84a3097e5e4dc48cd54ea9b34c447bb4060969cd8cc171e737c1968835fd7dd9229e3ed55344a836cddf9c9c
|
||||
DIST qtpositioning-everywhere-src-6.9.3.tar.xz 649260 BLAKE2B 3943dac4012f4fe93109bfd171e04428d9792d68c2e4a43a7ceb68701b937125e2d395ef19bb36af3fc163ca4919f2b411ae7fac260f80a6efe7772171069d07 SHA512 d76acf54df301b678e138486f1fda1a5ccb814bc80c8f5bfd16b075b1abc300f19798c54190be072ecbd2961060c19b370f72ff490cee0b23684dd8fa95dc250
|
||||
|
||||
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QT5_MODULE="qtlocation"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue +qml"
|
||||
|
||||
RDEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
geoclue? ( =dev-qt/qtdbus-${QT5_PV}* )
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/3rdparty/clipper
|
||||
src/3rdparty/poly2tri
|
||||
src/3rdparty/clip2tri
|
||||
src/positioning
|
||||
src/plugins/position/positionpoll
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use geoclue && QT5_TARGET_SUBDIRS+=( src/plugins/position/geoclue2 )
|
||||
use qml && QT5_TARGET_SUBDIRS+=(
|
||||
src/positioningquick
|
||||
src/imports/positioning
|
||||
)
|
||||
}
|
||||
@ -1,3 +1,2 @@
|
||||
DIST qtserialport-everywhere-opensource-src-5.15.18.tar.xz 301032 BLAKE2B a29298a05f5e72444349aa5ced2bada485ad9bef67ddb6db82499031419070a8276334295c23aea35ce52e193034a71e8374a9f31d752abeeb9add933e8e08a0 SHA512 4944c4fc03386c635197c9d0fa4550fd05285c9bd36861409e2c5282aeee153baa5bc285be5314a6309026f54058f8bd605be389471a1dd34b3236f3d05131ec
|
||||
DIST qtserialport-everywhere-src-6.10.1.tar.xz 263892 BLAKE2B 6c66404146c5619a02df86db900a9f836c303c02fc206e6e6ce74428fe705cc1a7ce4a85f277c50bbaa91c2b8b86ff11e213a2f828c64ba382f65a7e7e4d313d SHA512 b72eac5952195d8afdd423b4a22ae4177a4a97b534f39fa00b21e7707858c39e1e1ed01f37b7024334b8b5630a339464e1987ef817bada977c9e3d34bc5c535e
|
||||
DIST qtserialport-everywhere-src-6.9.3.tar.xz 262984 BLAKE2B 592627ca9d19e9f01d66a89dfe921dfda1ca91b1e616a176120de9a7bfc65d201bd376a9772ba298f321339c010853817feaf5fbecf789f21b30f3eeae6d12b1 SHA512 04d2802f6742e0ac95c1273c3ff4913dd94ac0b7f974b54354b605c3d6af794d07de249f4fcfffc942f4bb4990af0fb81531643be876c675f9d1b907e9ae01d5
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Serial port abstraction library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
virtual/libudev:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# make sure we link against libudev
|
||||
sed -i -e 's/:qtConfig(libudev)//' \
|
||||
-e "s/\$\$QMAKE_LIBS_LIBUDEV/-ludev/" \
|
||||
src/serialport/serialport-lib.pri || die
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
https://github.com/bryanp/llhttp/commit/89551cd7fa539d7073e62ba8f6ba1dd70e73c36a
|
||||
|
||||
From 89551cd7fa539d7073e62ba8f6ba1dd70e73c36a Mon Sep 17 00:00:00 2001
|
||||
From: Bryan Powell <bryan@metabahn.com>
|
||||
Date: Wed, 29 Mar 2023 07:27:08 -0700
|
||||
Subject: [PATCH] Fix ffi clean
|
||||
|
||||
--- a/Rakefile
|
||||
+++ b/Rakefile
|
||||
@@ -16,6 +16,8 @@ task :clean do
|
||||
[
|
||||
"./lib/llhttp/llhttp_ext.bundle"
|
||||
].each do |file|
|
||||
+ next unless File.exist?(file)
|
||||
+
|
||||
FileUtils.rm(file)
|
||||
end
|
||||
end
|
||||
@ -1,436 +0,0 @@
|
||||
From 4683f35469dbb69fa291ea35be4e7a74090a8b24 Mon Sep 17 00:00:00 2001
|
||||
From: Balasankar C <balasankarc@autistici.org>
|
||||
Date: Sat, 28 Nov 2015 17:55:09 +0530
|
||||
Subject: [PATCH] Port tests to RSpec 3
|
||||
|
||||
---
|
||||
Rakefile | 2 +-
|
||||
gemspec.yml | 2 +-
|
||||
spec/diff_spec.rb | 226 ++++++++++++++++++++++----------------------
|
||||
spec/spec_helper.rb | 2 +-
|
||||
4 files changed, 116 insertions(+), 116 deletions(-)
|
||||
|
||||
diff --git a/Rakefile b/Rakefile
|
||||
index 1b8a92d..7fb967c 100644
|
||||
--- a/Rakefile
|
||||
+++ b/Rakefile
|
||||
@@ -12,7 +12,7 @@ rescue LoadError => e
|
||||
end
|
||||
|
||||
begin
|
||||
- gem 'rspec', '~> 2.4'
|
||||
+ gem 'rspec', '~> 3.0'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new
|
||||
diff --git a/gemspec.yml b/gemspec.yml
|
||||
index 5ae611d..d775248 100644
|
||||
--- a/gemspec.yml
|
||||
+++ b/gemspec.yml
|
||||
@@ -18,5 +18,5 @@ dependencies:
|
||||
|
||||
development_dependencies:
|
||||
rubygems-tasks: ~> 0.1
|
||||
- rspec: ~> 2.4
|
||||
+ rspec: ~> 3.0
|
||||
yard: ~> 0.7
|
||||
diff --git a/spec/diff_spec.rb b/spec/diff_spec.rb
|
||||
index 6450c49..adfaaa8 100644
|
||||
--- a/spec/diff_spec.rb
|
||||
+++ b/spec/diff_spec.rb
|
||||
@@ -21,197 +21,197 @@
|
||||
let(:removed_attr) { Nokogiri::XML('<div><p>one</p></div>') }
|
||||
|
||||
it "should add #diff to Nokogiri::XML::Docuemnt" do
|
||||
- doc.should respond_to(:diff)
|
||||
+ expect(doc).to respond_to(:diff)
|
||||
end
|
||||
|
||||
it "should add #diff to Nokogiri::XML::Element" do
|
||||
- added_element.at('div').should respond_to(:diff)
|
||||
+ expect(added_element.at('div')).to respond_to(:diff)
|
||||
end
|
||||
|
||||
it "should add #diff to Nokogiri::XML::Text" do
|
||||
- added_text.at('p/text()').should respond_to(:diff)
|
||||
+ expect(added_text.at('p/text()')).to respond_to(:diff)
|
||||
end
|
||||
|
||||
it "should add #diff to Nokogiri::XML::Attr" do
|
||||
- added_attr.at('p/@id').should respond_to(:diff)
|
||||
+ expect(added_attr.at('p/@id')).to respond_to(:diff)
|
||||
end
|
||||
|
||||
it "should not compare the Document objects" do
|
||||
change = doc.diff(doc).first
|
||||
|
||||
- change[0].should == ' '
|
||||
- change[1].should == doc.root
|
||||
+ expect(change[0]).to eq(' ')
|
||||
+ expect(change[1]).to eq(doc.root)
|
||||
end
|
||||
|
||||
it "should determine when two different documents are identical" do
|
||||
- doc.diff(Nokogiri::XML(contents)).all? { |change,node|
|
||||
+ expect(doc.diff(Nokogiri::XML(contents)).all? { |change,node|
|
||||
change == ' '
|
||||
- }.should == true
|
||||
+ }).to eq(true)
|
||||
end
|
||||
|
||||
it "should search down within Nokogiri::XML::Document objects" do
|
||||
- doc.diff(changed_text).any? { |change,node|
|
||||
+ expect(doc.diff(changed_text).any? { |change,node|
|
||||
change != ' '
|
||||
- }.should == true
|
||||
+ }).to eq(true)
|
||||
end
|
||||
|
||||
it "should determine when text nodes are added" do
|
||||
changes = doc.at('div').diff(added_text.at('div')).to_a
|
||||
|
||||
- changes.length.should == 4
|
||||
+ expect(changes.length).to eq(4)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == doc.at('div')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(doc.at('div'))
|
||||
|
||||
- changes[1][0].should == ' '
|
||||
- changes[1][1].should == doc.at('//p')
|
||||
+ expect(changes[1][0]).to eq(' ')
|
||||
+ expect(changes[1][1]).to eq(doc.at('//p'))
|
||||
|
||||
- changes[2][0].should == '+'
|
||||
- changes[2][1].should == added_text.at('//div/text()')
|
||||
+ expect(changes[2][0]).to eq('+')
|
||||
+ expect(changes[2][1]).to eq(added_text.at('//div/text()'))
|
||||
|
||||
- changes[3][0].should == ' '
|
||||
- changes[3][1].should == doc.at('//p/text()')
|
||||
+ expect(changes[3][0]).to eq(' ')
|
||||
+ expect(changes[3][1]).to eq(doc.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine when elements are added" do
|
||||
changes = doc.at('div').diff(added_element.at('div')).to_a
|
||||
|
||||
- changes.length.should == 5
|
||||
+ expect(changes.length).to eq(5)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == doc.at('div')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(doc.at('div'))
|
||||
|
||||
- changes[1][0].should == '+'
|
||||
- changes[1][1].should == added_element.at('//p[1]')
|
||||
+ expect(changes[1][0]).to eq('+')
|
||||
+ expect(changes[1][1]).to eq(added_element.at('//p[1]'))
|
||||
|
||||
- changes[2][0].should == ' '
|
||||
- changes[2][1].should == doc.at('//p')
|
||||
+ expect(changes[2][0]).to eq(' ')
|
||||
+ expect(changes[2][1]).to eq(doc.at('//p'))
|
||||
|
||||
- changes[3][0].should == '-'
|
||||
- changes[3][1].should == doc.at('//p/text()')
|
||||
+ expect(changes[3][0]).to eq('-')
|
||||
+ expect(changes[3][1]).to eq(doc.at('//p/text()'))
|
||||
|
||||
- changes[4][0].should == '+'
|
||||
- changes[4][1].should == added_element.at('//p[2]/text()')
|
||||
+ expect(changes[4][0]).to eq('+')
|
||||
+ expect(changes[4][1]).to eq(added_element.at('//p[2]/text()'))
|
||||
end
|
||||
|
||||
it "should ignore when attribute order changes" do
|
||||
changes = added_attrs.at('p').diff(changed_attr_order.at('p')).to_a
|
||||
|
||||
- changes.all? { |change| change[0] == ' ' }.should be_true
|
||||
+ expect(changes.all? { |change| change[0] == ' ' }).to be_truthy
|
||||
end
|
||||
|
||||
it "should determine when attributes are added" do
|
||||
changes = doc.at('p').diff(added_attr.at('p')).to_a
|
||||
|
||||
- changes.length.should == 3
|
||||
+ expect(changes.length).to eq(3)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == doc.at('p')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(doc.at('p'))
|
||||
|
||||
- changes[1][0].should == '+'
|
||||
- changes[1][1].should == added_attr.at('//p/@id')
|
||||
+ expect(changes[1][0]).to eq('+')
|
||||
+ expect(changes[1][1]).to eq(added_attr.at('//p/@id'))
|
||||
|
||||
- changes[2][0].should == ' '
|
||||
- changes[2][1].should == doc.at('//p/text()')
|
||||
+ expect(changes[2][0]).to eq(' ')
|
||||
+ expect(changes[2][1]).to eq(doc.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine when text nodes differ" do
|
||||
changes = doc.at('p').diff(changed_text.at('p')).to_a
|
||||
|
||||
- changes.length.should == 3
|
||||
+ expect(changes.length).to eq(3)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == doc.at('p')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(doc.at('p'))
|
||||
|
||||
- changes[1][0].should == '-'
|
||||
- changes[1][1].should == doc.at('//p/text()')
|
||||
+ expect(changes[1][0]).to eq('-')
|
||||
+ expect(changes[1][1]).to eq(doc.at('//p/text()'))
|
||||
|
||||
- changes[2][0].should == '+'
|
||||
- changes[2][1].should == changed_text.at('//p/text()')
|
||||
+ expect(changes[2][0]).to eq('+')
|
||||
+ expect(changes[2][1]).to eq(changed_text.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine when element names differ" do
|
||||
changes = doc.at('div').diff(changed_element.at('div')).to_a
|
||||
|
||||
- changes.length.should == 3
|
||||
+ expect(changes.length).to eq(3)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == doc.at('div')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(doc.at('div'))
|
||||
|
||||
- changes[1][0].should == '-'
|
||||
- changes[1][1].should == doc.at('p')
|
||||
+ expect(changes[1][0]).to eq('-')
|
||||
+ expect(changes[1][1]).to eq(doc.at('p'))
|
||||
|
||||
- changes[2][0].should == '+'
|
||||
- changes[2][1].should == changed_element.at('span')
|
||||
+ expect(changes[2][0]).to eq('+')
|
||||
+ expect(changes[2][1]).to eq(changed_element.at('span'))
|
||||
end
|
||||
|
||||
it "should determine when attribute names differ" do
|
||||
changes = added_attr.at('p').diff(changed_attr_name.at('p')).to_a
|
||||
|
||||
- changes.length.should == 4
|
||||
+ expect(changes.length).to eq(4)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == added_attr.at('p')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(added_attr.at('p'))
|
||||
|
||||
- changes[1][0].should == '-'
|
||||
- changes[1][1].should == added_attr.at('//p/@id')
|
||||
+ expect(changes[1][0]).to eq('-')
|
||||
+ expect(changes[1][1]).to eq(added_attr.at('//p/@id'))
|
||||
|
||||
- changes[2][0].should == '+'
|
||||
- changes[2][1].should == changed_attr_name.at('//p/@i')
|
||||
+ expect(changes[2][0]).to eq('+')
|
||||
+ expect(changes[2][1]).to eq(changed_attr_name.at('//p/@i'))
|
||||
|
||||
- changes[3][0].should == ' '
|
||||
- changes[3][1].should == added_attr.at('//p/text()')
|
||||
+ expect(changes[3][0]).to eq(' ')
|
||||
+ expect(changes[3][1]).to eq(added_attr.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine when attribute values differ" do
|
||||
changes = added_attr.at('p').diff(changed_attr_value.at('p')).to_a
|
||||
|
||||
- changes.length.should == 4
|
||||
+ expect(changes.length).to eq(4)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == added_attr.at('p')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(added_attr.at('p'))
|
||||
|
||||
- changes[1][0].should == '-'
|
||||
- changes[1][1].should == added_attr.at('//p/@id')
|
||||
+ expect(changes[1][0]).to eq('-')
|
||||
+ expect(changes[1][1]).to eq(added_attr.at('//p/@id'))
|
||||
|
||||
- changes[2][0].should == '+'
|
||||
- changes[2][1].should == changed_attr_value.at('//p/@id')
|
||||
+ expect(changes[2][0]).to eq('+')
|
||||
+ expect(changes[2][1]).to eq(changed_attr_value.at('//p/@id'))
|
||||
|
||||
- changes[3][0].should == ' '
|
||||
- changes[3][1].should == added_attr.at('//p/text()')
|
||||
+ expect(changes[3][0]).to eq(' ')
|
||||
+ expect(changes[3][1]).to eq(added_attr.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine when text nodes are removed" do
|
||||
changes = added_text.at('div').diff(removed_text.at('div')).to_a
|
||||
|
||||
- changes.length.should == 4
|
||||
+ expect(changes.length).to eq(4)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == added_text.at('div')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(added_text.at('div'))
|
||||
|
||||
- changes[1][0].should == ' '
|
||||
- changes[1][1].should == added_text.at('p')
|
||||
+ expect(changes[1][0]).to eq(' ')
|
||||
+ expect(changes[1][1]).to eq(added_text.at('p'))
|
||||
|
||||
- changes[2][0].should == ' '
|
||||
- changes[2][1].should == added_text.at('//div/text()')
|
||||
+ expect(changes[2][0]).to eq(' ')
|
||||
+ expect(changes[2][1]).to eq(added_text.at('//div/text()'))
|
||||
|
||||
- changes[3][0].should == '-'
|
||||
- changes[3][1].should == added_text.at('//p/text()')
|
||||
+ expect(changes[3][0]).to eq('-')
|
||||
+ expect(changes[3][1]).to eq(added_text.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine when elements are removed" do
|
||||
changes = added_element.at('div').diff(removed_element.at('div')).to_a
|
||||
|
||||
- changes.length.should == 3
|
||||
+ expect(changes.length).to eq(3)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == added_element.at('div')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(added_element.at('div'))
|
||||
|
||||
- changes[1][0].should == '-'
|
||||
- changes[1][1].should == added_element.at('//p[1]')
|
||||
+ expect(changes[1][0]).to eq('-')
|
||||
+ expect(changes[1][1]).to eq(added_element.at('//p[1]'))
|
||||
|
||||
- changes[2][0].should == '-'
|
||||
- changes[2][1].should == added_element.at('//p[2]')
|
||||
+ expect(changes[2][0]).to eq('-')
|
||||
+ expect(changes[2][1]).to eq(added_element.at('//p[2]'))
|
||||
end
|
||||
|
||||
it "should ignore when attributes change order" do
|
||||
@@ -220,47 +220,47 @@
|
||||
it "should determine when attributes are removed" do
|
||||
changes = added_attr.at('div').diff(removed_attr.at('div')).to_a
|
||||
|
||||
- changes.length.should == 4
|
||||
+ expect(changes.length).to eq(4)
|
||||
|
||||
- changes[0][0].should == ' '
|
||||
- changes[0][1].should == added_attr.at('div')
|
||||
+ expect(changes[0][0]).to eq(' ')
|
||||
+ expect(changes[0][1]).to eq(added_attr.at('div'))
|
||||
|
||||
- changes[1][0].should == ' '
|
||||
- changes[1][1].should == added_attr.at('p')
|
||||
+ expect(changes[1][0]).to eq(' ')
|
||||
+ expect(changes[1][1]).to eq(added_attr.at('p'))
|
||||
|
||||
- changes[2][0].should == '-'
|
||||
- changes[2][1].should == added_attr.at('//p/@id')
|
||||
+ expect(changes[2][0]).to eq('-')
|
||||
+ expect(changes[2][1]).to eq(added_attr.at('//p/@id'))
|
||||
|
||||
- changes[3][0].should == ' '
|
||||
- changes[3][1].should == added_attr.at('//p/text()')
|
||||
+ expect(changes[3][0]).to eq(' ')
|
||||
+ expect(changes[3][1]).to eq(added_attr.at('//p/text()'))
|
||||
end
|
||||
|
||||
context ":added" do
|
||||
it "should determine only when text nodes are added" do
|
||||
changes = doc.at('div').diff(added_text.at('div'), :added => true).to_a
|
||||
|
||||
- changes.length.should == 1
|
||||
+ expect(changes.length).to eq(1)
|
||||
|
||||
- changes[0][0].should == '+'
|
||||
- changes[0][1].should == added_text.at('//div/text()')
|
||||
+ expect(changes[0][0]).to eq('+')
|
||||
+ expect(changes[0][1]).to eq(added_text.at('//div/text()'))
|
||||
end
|
||||
|
||||
it "should determine only when elements are added" do
|
||||
changes = doc.at('div').diff(added_element.at('div'), :added => true).to_a
|
||||
|
||||
- changes.length.should == 1
|
||||
+ expect(changes.length).to eq(1)
|
||||
|
||||
- changes[0][0].should == '+'
|
||||
- changes[0][1].should == added_element.at('//div/p[2]')
|
||||
+ expect(changes[0][0]).to eq('+')
|
||||
+ expect(changes[0][1]).to eq(added_element.at('//div/p[2]'))
|
||||
end
|
||||
|
||||
it "should determine only when attributes are added" do
|
||||
changes = doc.at('div').diff(added_attr.at('div'), :added => true).to_a
|
||||
|
||||
- changes.length.should == 1
|
||||
+ expect(changes.length).to eq(1)
|
||||
|
||||
- changes[0][0].should == '+'
|
||||
- changes[0][1].should == added_attr.at('//p/@id')
|
||||
+ expect(changes[0][0]).to eq('+')
|
||||
+ expect(changes[0][1]).to eq(added_attr.at('//p/@id'))
|
||||
end
|
||||
end
|
||||
|
||||
@@ -268,28 +268,28 @@
|
||||
it "should determine only when text nodes are removed" do
|
||||
changes = doc.at('div').diff(removed_text.at('div'), :removed => true).to_a
|
||||
|
||||
- changes.length.should == 1
|
||||
+ expect(changes.length).to eq(1)
|
||||
|
||||
- changes[0][0].should == '-'
|
||||
- changes[0][1].should == doc.at('//p/text()')
|
||||
+ expect(changes[0][0]).to eq('-')
|
||||
+ expect(changes[0][1]).to eq(doc.at('//p/text()'))
|
||||
end
|
||||
|
||||
it "should determine only when elements are removed" do
|
||||
changes = doc.at('div').diff(removed_element.at('div'), :removed => true).to_a
|
||||
|
||||
- changes.length.should == 1
|
||||
+ expect(changes.length).to eq(1)
|
||||
|
||||
- changes[0][0].should == '-'
|
||||
- changes[0][1].should == doc.at('//div/p')
|
||||
+ expect(changes[0][0]).to eq('-')
|
||||
+ expect(changes[0][1]).to eq(doc.at('//div/p'))
|
||||
end
|
||||
|
||||
it "should determine only when attributes are removed" do
|
||||
changes = added_attr.at('div').diff(removed_attr.at('div'), :removed => true).to_a
|
||||
|
||||
- changes.length.should == 1
|
||||
+ expect(changes.length).to eq(1)
|
||||
|
||||
- changes[0][0].should == '-'
|
||||
- changes[0][1].should == added_attr.at('//p/@id')
|
||||
+ expect(changes[0][0]).to eq('-')
|
||||
+ expect(changes[0][1]).to eq(added_attr.at('//p/@id'))
|
||||
end
|
||||
end
|
||||
end
|
||||
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
|
||||
index 4b9ecea..5f26cbb 100644
|
||||
--- a/spec/spec_helper.rb
|
||||
+++ b/spec/spec_helper.rb
|
||||
@@ -1,2 +1,2 @@
|
||||
-gem 'rspec', '~> 2.4'
|
||||
+gem 'rspec', '~> 3.0'
|
||||
require 'rspec'
|
||||
@ -1,24 +0,0 @@
|
||||
From 2b84ba489fb28f474195d215be7cc6bed43c32bc Mon Sep 17 00:00:00 2001
|
||||
From: Olle Jonsson <olle.jonsson@gmail.com>
|
||||
Date: Thu, 2 Apr 2020 21:02:51 +0200
|
||||
Subject: [PATCH] Avoid warning `*' interpreted as argument prefix
|
||||
|
||||
---
|
||||
lib/patron/request.rb | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/patron/request.rb b/lib/patron/request.rb
|
||||
index 9050ef2..3ac998a 100644
|
||||
--- a/lib/patron/request.rb
|
||||
+++ b/lib/patron/request.rb
|
||||
@@ -34,8 +34,8 @@ def initialize
|
||||
:low_speed_time, :low_speed_limit, :progress_callback
|
||||
]
|
||||
|
||||
- attr_reader *READER_VARS
|
||||
- attr_writer *WRITER_VARS
|
||||
+ attr_reader(*READER_VARS)
|
||||
+ attr_writer(*WRITER_VARS)
|
||||
|
||||
# Set the type of authentication to use for this request.
|
||||
#
|
||||
@ -3,3 +3,4 @@ DIST pkg-config-1.6.1.gem 23552 BLAKE2B e48e946fcb73cd37c8039515129899024578f4b8
|
||||
DIST pkg-config-1.6.2.gem 23552 BLAKE2B 885ec8e76059648a76d3a38731e42af79745bb86654724f7923d328901a23c6533ad04145f3b364d222a1bedae6629ebe79075610d64d6415f3415e105fc703e SHA512 e5cc6aeb3d907bb670e8178b07fc595bbd5fccf1575c5b1904ac4e8ff34ce78988461d04a0e8241afd1add2d145652d0a494a8c9b302359f3826515c072bda39
|
||||
DIST pkg-config-1.6.3.gem 23552 BLAKE2B 183297eab8d62806c3bd7a99dcd1a0af8ff5333d54b0e95b82c137cf825c8adc4e28282b2b0419c0f4c000b6f3f249aa8c6eea68e4fc542b0c8f98445b586e52 SHA512 6556e125ed655703f92a6c7e7dbe4c0273d4a3c9c4fd238fec2c9f953fa2c6c39d1c4369708eb74249f20bea00a5129456979c71531789d758d41786d42b9449
|
||||
DIST pkg-config-1.6.4.gem 24064 BLAKE2B 106b2d10ffc2e6fce8188879a563de94ea03fc4b282925d69a2d532d5d409ef191526e5a2eafdb5f367001db6809a9076d4bbe2c0babec93d1a7d77b2a7771e3 SHA512 05b5598be4076d72261d62dcd65ecd310ed47315de185f3b93d8067cbf33dbdcf093938ac00eed1ffc8f82ae265bd3b205d5b9de2c900ec673bb94ad43f14ec3
|
||||
DIST pkg-config-1.6.5.gem 24576 BLAKE2B 7423cfa36cf7590b73ebdd06d9497eef1ca79488b30a678267d8e0a92a8a86d0177244182176a5fae55705e283c468b4b739c9406685f43a731c24f6e87f4f1a SHA512 38c9064402c2f7ca30dc0dd19f946fa45deffb77761c8eda932515219e079975669b51511f0888fc58c75e66dbea85dba5fc7977c7effca198b1e5f1e9d9826e
|
||||
|
||||
30
dev-ruby/pkg-config/pkg-config-1.6.5.ebuild
Normal file
30
dev-ruby/pkg-config/pkg-config-1.6.5.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A pkg-config implementation by Ruby"
|
||||
HOMEPAGE="https://github.com/ruby-gnome/pkg-config"
|
||||
LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
# this is used for testing
|
||||
DEPEND=" test? ( x11-libs/cairo )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/test_cflags/aomit "Fragile on Gentoo"' -i test/test-pkg-config.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib test/test-pkg-config.rb || die
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
https://bugs.gentoo.org/921145
|
||||
https://github.com/ruby-gnome/ruby-gnome/commit/c196bf19a5d6a395011a90c3d1cb8f039d15824d
|
||||
|
||||
From c196bf19a5d6a395011a90c3d1cb8f039d15824d Mon Sep 17 00:00:00 2001
|
||||
From: Sutou Kouhei <kou@clear-code.com>
|
||||
Date: Sat, 19 Aug 2023 15:45:46 +0900
|
||||
Subject: [PATCH] gtk3: fix a wrong type warning
|
||||
|
||||
compiling rb-gtk3-spin-button.c
|
||||
rb-gtk3-spin-button.c:70:15: warning: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
|
||||
rb_gtk3_spin_button_input_rescue, (VALUE)&input_data);
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
/Users/runner/hostedtoolcache/Ruby/3.2.2/x64/include/ruby-3.2.0/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here
|
||||
VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2);
|
||||
^
|
||||
|
||||
Reported by MATSUMOTO Katsuyoshi. Thanks!!!
|
||||
--- a/ext/gtk3/rb-gtk3-spin-button.c
|
||||
+++ b/ext/gtk3/rb-gtk3-spin-button.c
|
||||
@@ -46,7 +46,7 @@ rb_gtk3_spin_button_input_body(VALUE user_data)
|
||||
}
|
||||
|
||||
static VALUE
|
||||
-rb_gtk3_spin_button_input_rescue(VALUE user_data)
|
||||
+rb_gtk3_spin_button_input_rescue(VALUE user_data, VALUE error)
|
||||
{
|
||||
InputData *input_data = (InputData *)user_data;
|
||||
g_value_set_int(input_data->data->return_value, GTK_INPUT_ERROR);
|
||||
|
||||
@ -16,7 +16,7 @@ SRC_URI="https://github.com/ruby/stringio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
|
||||
|
||||
@ -1,43 +0,0 @@
|
||||
https://github.com/socketry/sus-fixtures-async/pull/2
|
||||
|
||||
From 3d3a1016c1718a8a5eca6ee76cd65d88a66e2481 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Mon, 3 Apr 2023 00:36:26 +0100
|
||||
Subject: [PATCH] test: Fix version require
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
When running e.g. 'ruby32 -S sus', I had:
|
||||
```
|
||||
🔥 Errored assertions:
|
||||
file test/sus/fixtures/async.rb:8
|
||||
⚠ NameError: uninitialized constant Sus::Fixtures::Async::VERSION
|
||||
test/sus/fixtures/async.rb:8 block in <top (required)>
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/file.rb:10 class_eval
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/file.rb:10 block in <top (required)>
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/file.rb:39 build
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/file.rb:105 file
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/registry.rb:50 load_file
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/registry.rb:45 load
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/config.rb:95 block in load_registry
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/config.rb:94 each
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/config.rb:94 load_registry
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/lib/sus/config.rb:82 registry
|
||||
/usr/lib64/ruby/gems/3.2.0/gems/sus-0.20.3/bin/sus:10 <top (required)>
|
||||
/usr/bin/sus:9 load
|
||||
/usr/bin/sus:9 <main>
|
||||
```
|
||||
|
||||
It turns out we're missing a direct require, so chuck it in.
|
||||
--- a/test/sus/fixtures/async.rb
|
||||
+++ b/test/sus/fixtures/async.rb
|
||||
@@ -4,6 +4,7 @@
|
||||
# Copyright, 2022, by Samuel Williams.
|
||||
|
||||
require 'sus/fixtures/async'
|
||||
+require 'sus/fixtures/async/version'
|
||||
|
||||
describe Sus::Fixtures::Async::VERSION do
|
||||
it 'is a version string' do
|
||||
|
||||
@ -1,259 +0,0 @@
|
||||
https://github.com/socketry/timers/issues/82
|
||||
https://github.com/socketry/timers/commit/039bbd2750d5e50721789ef5d3404b18c36517bc
|
||||
|
||||
From 039bbd2750d5e50721789ef5d3404b18c36517bc Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Williams <samuel.williams@oriontransfer.co.nz>
|
||||
Date: Wed, 12 Apr 2023 17:25:59 +1200
|
||||
Subject: [PATCH] Modernize gem (#83)
|
||||
|
||||
* Improve robustness of `Timer#inspect`.
|
||||
|
||||
* 100% test coverage.
|
||||
--- a/fixtures/timer_quantum.rb
|
||||
+++ b/fixtures/timer_quantum.rb
|
||||
@@ -1,3 +1,5 @@
|
||||
+# frozen_string_literal: true
|
||||
+
|
||||
# Released under the MIT License.
|
||||
# Copyright, 2022, by Samuel Williams.
|
||||
|
||||
--- a/lib/timers/group.rb
|
||||
+++ b/lib/timers/group.rb
|
||||
@@ -92,8 +92,9 @@ def wait
|
||||
# - 0: timers ready to fire
|
||||
# - +ve: timers waiting to fire
|
||||
def wait_interval(offset = current_offset)
|
||||
- handle = @events.first
|
||||
- handle.time - Float(offset) if handle
|
||||
+ if handle = @events.first
|
||||
+ handle.time - Float(offset)
|
||||
+ end
|
||||
end
|
||||
|
||||
# Fire all timers that are ready.
|
||||
--- a/lib/timers/priority_heap.rb
|
||||
+++ b/lib/timers/priority_heap.rb
|
||||
@@ -84,9 +84,10 @@ def valid?
|
||||
|
||||
private
|
||||
|
||||
- def swap(i, j)
|
||||
- @contents[i], @contents[j] = @contents[j], @contents[i]
|
||||
- end
|
||||
+ # Left here for reference, but unused.
|
||||
+ # def swap(i, j)
|
||||
+ # @contents[i], @contents[j] = @contents[j], @contents[i]
|
||||
+ # end
|
||||
|
||||
def bubble_up(index)
|
||||
parent_index = (index - 1) / 2 # watch out, integer division!
|
||||
--- a/lib/timers/timer.rb
|
||||
+++ b/lib/timers/timer.rb
|
||||
@@ -23,12 +23,11 @@ def initialize(group, interval, recurring = false, offset = nil, &block)
|
||||
@interval = interval
|
||||
@recurring = recurring
|
||||
@block = block
|
||||
- @offset = offset
|
||||
-
|
||||
+ @offset = nil
|
||||
@handle = nil
|
||||
|
||||
# If a start offset was supplied, use that, otherwise use the current timers offset.
|
||||
- reset(@offset || @group.current_offset)
|
||||
+ reset(offset || @group.current_offset)
|
||||
end
|
||||
|
||||
def paused?
|
||||
@@ -73,7 +72,7 @@ def cancel
|
||||
@handle = nil
|
||||
|
||||
# This timer is no longer valid:
|
||||
- @group.timers.delete self if @group
|
||||
+ @group.timers.delete(self) if @group
|
||||
end
|
||||
|
||||
# Reset this timer. Do not call while paused.
|
||||
@@ -117,18 +116,18 @@ def fires_in
|
||||
|
||||
# Inspect a timer
|
||||
def inspect
|
||||
- buffer = "#{to_s[0..-2]} ".dup
|
||||
+ buffer = to_s[0..-2]
|
||||
|
||||
if @offset
|
||||
- if fires_in >= 0
|
||||
- buffer << "fires in #{fires_in} seconds"
|
||||
+ delta_offset = @offset - @group.current_offset
|
||||
+
|
||||
+ if delta_offset > 0
|
||||
+ buffer << " fires in #{delta_offset} seconds"
|
||||
else
|
||||
- buffer << "fired #{fires_in.abs} seconds ago"
|
||||
+ buffer << " fired #{delta_offset.abs} seconds ago"
|
||||
end
|
||||
|
||||
buffer << ", recurs every #{interval}" if recurring
|
||||
- else
|
||||
- buffer << "dead"
|
||||
end
|
||||
|
||||
buffer << ">"
|
||||
--- a/lib/timers/wait.rb
|
||||
+++ b/lib/timers/wait.rb
|
||||
@@ -17,6 +17,7 @@ def self.for(duration, &block)
|
||||
|
||||
timeout.while_time_remaining(&block)
|
||||
else
|
||||
+ # If there is no "duration" to wait for, we wait forever.
|
||||
loop do
|
||||
yield(nil)
|
||||
end
|
||||
--- a/license.md
|
||||
+++ b/license.md
|
||||
@@ -28,6 +28,7 @@ Copyright, 2017-2020, by Olle Jonsson.
|
||||
Copyright, 2020, by Tim Smith.
|
||||
Copyright, 2021, by Wander Hillen.
|
||||
Copyright, 2022, by Yoshiki Takagi.
|
||||
+Copyright, 2023, by Peter Goldstein.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
--- a/test/timers/group.rb
|
||||
+++ b/test/timers/group.rb
|
||||
@@ -36,18 +36,31 @@
|
||||
expect(called).to be == true
|
||||
expect(fired).to be == true
|
||||
end
|
||||
+
|
||||
+ it "repeatedly calls the wait block if it sleeps less than the interval" do
|
||||
+ called = 0
|
||||
+ fired = false
|
||||
+
|
||||
+ group.after(0.1) { fired = true }
|
||||
+
|
||||
+ group.wait do |interval|
|
||||
+ called += 1
|
||||
+ sleep(0.01)
|
||||
+ end
|
||||
+
|
||||
+ expect(called).to be > 1
|
||||
+ expect(fired).to be == true
|
||||
+ end
|
||||
end
|
||||
|
||||
it "sleeps until the next timer" do
|
||||
interval = 0.1
|
||||
- started_at = Time.now
|
||||
|
||||
fired = false
|
||||
group.after(interval) {fired = true}
|
||||
group.wait
|
||||
|
||||
expect(fired).to be == true
|
||||
- expect(Time.now - started_at).to be_within(TIMER_QUANTUM).of(interval)
|
||||
end
|
||||
|
||||
it "fires instantly when next timer is in the past" do
|
||||
@@ -88,6 +101,26 @@
|
||||
end.to raise_exception(TypeError)
|
||||
end
|
||||
|
||||
+ with "#now_and_after" do
|
||||
+ it "fires the timer immediately" do
|
||||
+ result = []
|
||||
+
|
||||
+ group.now_and_after(TIMER_QUANTUM * 2) { result << :foo }
|
||||
+
|
||||
+ expect(result).to be == [:foo]
|
||||
+ end
|
||||
+
|
||||
+ it "fires the timer at the correct time" do
|
||||
+ result = []
|
||||
+
|
||||
+ group.now_and_after(TIMER_QUANTUM * 2) { result << :foo }
|
||||
+
|
||||
+ group.wait
|
||||
+
|
||||
+ expect(result).to be == [:foo, :foo]
|
||||
+ end
|
||||
+ end
|
||||
+
|
||||
with "recurring timers" do
|
||||
it "continues to fire the timers at each interval" do
|
||||
result = []
|
||||
--- a/test/timers/group/cancel.rb
|
||||
+++ b/test/timers/group/cancel.rb
|
||||
@@ -10,6 +10,17 @@
|
||||
describe Timers::Group do
|
||||
let(:group) {subject.new}
|
||||
|
||||
+ it "can cancel a timer" do
|
||||
+ fired = false
|
||||
+
|
||||
+ timer = group.after(0.1) { fired = true }
|
||||
+ timer.cancel
|
||||
+
|
||||
+ group.wait
|
||||
+
|
||||
+ expect(fired).to be == false
|
||||
+ end
|
||||
+
|
||||
it "should be able to cancel twice" do
|
||||
fired = false
|
||||
|
||||
@@ -51,4 +62,18 @@
|
||||
expect(group.timers).to be(:empty?)
|
||||
expect(x).to be == 0
|
||||
end
|
||||
+
|
||||
+ with "#cancel" do
|
||||
+ it "should cancel all timers" do
|
||||
+ timers = 3.times.map do
|
||||
+ group.every(0.1) {}
|
||||
+ end
|
||||
+
|
||||
+ expect(group.timers).not.to be(:empty?)
|
||||
+
|
||||
+ group.cancel
|
||||
+
|
||||
+ expect(group.timers).to be(:empty?)
|
||||
+ end
|
||||
+ end
|
||||
end
|
||||
--- a/test/timers/wait.rb
|
||||
+++ b/test/timers/wait.rb
|
||||
@@ -14,9 +14,14 @@
|
||||
it "repeats until timeout expired" do
|
||||
timeout = Timers::Wait.new(interval*repeats)
|
||||
count = 0
|
||||
+ previous_remaining = nil
|
||||
|
||||
timeout.while_time_remaining do |remaining|
|
||||
- expect(remaining).to be_within(TIMER_QUANTUM).of(timeout.duration - (count * interval))
|
||||
+ if previous_remaining
|
||||
+ expect(remaining).to be_within(TIMER_QUANTUM).of(previous_remaining - interval)
|
||||
+ end
|
||||
+
|
||||
+ previous_remaining = remaining
|
||||
|
||||
count += 1
|
||||
sleep(interval)
|
||||
@@ -34,4 +39,18 @@
|
||||
|
||||
expect(result).to be == :done
|
||||
end
|
||||
+
|
||||
+ with "#for" do
|
||||
+ with "no duration" do
|
||||
+ it "waits forever" do
|
||||
+ count = 0
|
||||
+ Timers::Wait.for(nil) do
|
||||
+ count += 1
|
||||
+ break if count > 10
|
||||
+ end
|
||||
+
|
||||
+ expect(count).to be > 10
|
||||
+ end
|
||||
+ end
|
||||
+ end
|
||||
end
|
||||
@ -1 +1 @@
|
||||
DIST android-studio-2025.2.1.8-linux.tar.gz 1473966792 BLAKE2B a9bfa54f7c8b01423195dcb98345a991f1839eb9fceef79cd6b122afef1a9aa0ad1c4cd723b4e32ade760e9cbc0de8a155277a35f653c6f760b29ab848d2b444 SHA512 cac12e7c964ca94197f001e9b5de8a758eb411c9d54d484d189b8387a2c196a57939279612da19b37940dc956c306739bda3e70734138c79b40acd7f31159dbb
|
||||
DIST android-studio-2025.2.2.7-linux.tar.gz 1479280731 BLAKE2B 3abeac581c59fab394b113640b4e6f2b956876f2ba71178e7c1fa02afa669e843f9c4dd84d87ae291dde14b85a88174fb7711cd60574e0439f524e25af974c41 SHA512 02914dcf45849254c877cc6900b7ea5375000dd2d7202647aac979f174f5ad53d799bd1aaa2060f0c9f8058e269aa4c5189e5378729986f467f8b737e4be5d1a
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
DIST CLion-2024.3.5.tar.gz 1577257365 BLAKE2B 922e082321e112e8cc7cdf17c4395464b85247e45094d37219585a0322b0fb39c27f4fcff3d370aa65588a04204850f470dbc9eef01a86cfdd030bb245a2bee9 SHA512 042112ab0927bfdf03a38685bc48770fdbe14ef0bfed4d23e33fb92daf52524b572735d872f38edd2236fabd34f72c950827271e9a85e67e5686827416ab98cd
|
||||
DIST CLion-2025.1.4-aarch64.tar.gz 1563056200 BLAKE2B 6b018b5a3a4327c54733d875b10db7ae35afbdbced920423575e0179b3d5cc722714a2362e0a40078097439296b1ecbf22f743d589196815631de3ad5185d3fc SHA512 7167a5cfba44d87a47bbaa9c6b268878a151fdcfb96cb6f64189f8c8f4fbcf3e793f072a9237893523fb55bda15b37d3cba0fd5f12b2eef5dd6ef80aeb61f365
|
||||
DIST CLion-2025.1.4.tar.gz 1572762665 BLAKE2B d8f909e3a79b4be1980c8eb19f19b8e39bb26abdecc97ea4e8ed64c6ea7fc5b796f3d275977dbaea5aa22b07ed381544ea3ae7d484dfd3c8b9034e6c90976b38 SHA512 c22e6f9a1fe8c3a92853e6e4130723c073aa50241abd2ae27085bb4465c03cab4c33312bea140bcd1e5675a8963fdc4f8d85e52a648d1bdc1ecb35e6fd14ed42
|
||||
DIST CLion-2025.2.2-aarch64.tar.gz 2123225482 BLAKE2B 1bf457dfe3b7aab8a12fd17f826c76e63dfbf8fa09ab62ac3d0c66773fc920e968852b80147c4422d9e794860ba62cd5b7690a29912e671e2207eba4aa1e401d SHA512 08d3aeee85a8c4f24a1c813e4f2de664f19fead8bc66bde26be68fc19b181eec494b48635c58334f59b72cf473f2f47a78c759f2f988d1dea82ab6d289c1856c
|
||||
DIST CLion-2025.2.2.tar.gz 2126755834 BLAKE2B 91be60b87317cc419a8fa0cbb1fb0f3da414e9f7fc88e480cc44784620680a6a6f937dbfc487ba4b648af9c76786a06cb7d0724eab6997843c8a1ffc9ddc47fc SHA512 35651c01adf1316ea588639dadf118e7b55d1acc4ce47b0a87f8df274fe4a87e2cfc7bc1ab63ec62fe3ac938aaaacc2553eeee033745e1688b060f3915c603fc
|
||||
DIST CLion-2025.2.4-aarch64.tar.gz 2130557409 BLAKE2B 2ec8ddf403ef9224f23205d51fde6416f3c7e11835fa02c55ac5ab9022c24744eade73eadfd9b797d6d729dcf6c3f9ee9dfa9e7f6080c0e219fd0e2a5b9bd83a SHA512 44c1a66aa03033a1ace60d6acf14c236ec5c40499df3f2465c7b39fc690b01a624c7cf6eea477b465a1c9009d0e4dca2b4aadf3d695d337e5643aa2f48d82079
|
||||
DIST CLion-2025.2.4.tar.gz 2134909533 BLAKE2B a2286643152830ea2482bb53f86e61fe8f16df3bbe340a85dff25937c4f3f279a717a49f8d888fcdd7f47c11f0daa414c90a20aaca333239953c37e79f5d8a48 SHA512 78caf659188274a95f05607f27867d507471b2f269995428651a3f1d92c7981437245b9a770f44903832358be2a13f2130d0a55d86b4aff38570571702f3523c
|
||||
DIST CLion-2025.2.5-aarch64.tar.gz 2119377468 BLAKE2B 1f3c2bababe738fe6a2072f946ea9cabdc4616a97a023f50a922327146ad64d2ee1d33596f77ccf217dfbbd8a734005c792d514e6b8a6c976ec77bf5e2025d6a SHA512 4a1d5b6182569376d1a2f8f3a8ca1bb99b8370b02c912711b0c617f3907af2b87b632ce21b5a19aca7e46bbf697a1afe6ab7460e9fbe7405fac37897db8eb70c
|
||||
DIST CLion-2025.2.5.tar.gz 2123684601 BLAKE2B 8c1519143b7e2f58b6a8dcd06b5e66146714cc727fa1566fd3982ac0df60e47c084f22dee51b4f800633d235da51b08c0e64759995d768c6876511a01c9ecbf9 SHA512 af08a509c8a53b8a432cc3a3ef9fc81af09aef41515b8e44e47f0325ee6eb51b928354eb55f5aac0b67ead1a55efe9c6e337861d56f37c5012df72ff099bf641
|
||||
|
||||
@ -45,7 +45,6 @@ RDEPEND="
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
virtual/zlib:=
|
||||
x11-libs/cairo
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
@ -61,7 +60,9 @@ RDEPEND="
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango"
|
||||
x11-libs/pango
|
||||
virtual/zlib:=
|
||||
"
|
||||
|
||||
QA_PREBUILT="opt/${PN}/*"
|
||||
|
||||
@ -5,8 +5,8 @@ DIST goland-2025.1.2.tar.gz 1123057926 BLAKE2B edd64f21897c40da5ee7c53a53d24dcd0
|
||||
DIST goland-2025.1.4-aarch64.tar.gz 1084290498 BLAKE2B 5e8050a4186ac20db75b8d570fd7809a57cf6647f9530d2b38fcf7b4afd84e7331469f45fe2c8b342c2139571bb467805f968358d9361fcbed5521c7610faecc SHA512 45b569de9640c500792290fb61966d22c1d2ec8c52ac45da7a9f424bea263d89810a6f572b8b8384c965fe2c0a173e3ea6fa613bde20230419274c70f91d4658
|
||||
DIST goland-2025.1.4.tar.gz 1087590072 BLAKE2B 93911accf03b5bf9768c60455ca7157b11f8fd394400fde9a943c77f95ad85cf2fe667674b7bde10811e72157a5349845605f632e875102b8deae94e0fff6f0c SHA512 6fd045f57b5f478cbf2ac46fef91ce4f083d1a4cbd5034b59d4626ff57272b23d009353333dbde24d53de61b04421b09d4d33d20b639ea3946b847415e6eeb6a
|
||||
DIST goland-2025.2-aarch64.tar.gz 1183128280 BLAKE2B 276cbe4f078b1e7883c97e47a2d39767f6a0c496fb5d059ae277628c63bee62fb1812ce58a6d24fdad93c7ac504ed0f9774b04d639b06341b4bc6a854ffc7603 SHA512 00c1d9fc28d92cf8dd41aa195129cdb92230a71e7292f72b311a7200677ec5464faf3cad8ff8b98cd1952a230c4d3a088480ac9b34d843697a1692f8a37c79c0
|
||||
DIST goland-2025.2.2-aarch64.tar.gz 1187509033 BLAKE2B 634e4e8185f42736f779dde3d71be1dd663679ac9e30f8311b7a2c800e1217a60b3f6be6ea73f910880dfcf7ae5acac728f51a40abb56dafbc34d3aedb3241f3 SHA512 68bf436eee1bfa177abc4a648e6f5465483a350f7834cdd7dbc1496b8fd966bbb1b09bf71ca12e3814984b436a65b4c8c2b199b7471e5d6d72bf9b81862abce8
|
||||
DIST goland-2025.2.2.tar.gz 1190288046 BLAKE2B 791599964dc262987c134c3f0b7248c7b43a1676ba898e4176cc6af6446d2cfa4085332be9b90c89e05c2d59dd98230e07d795c0e38d7196a1159c8b81a78bd5 SHA512 f79ceef5e354a3a385b433405874dcc7a427d5d70bf05221b0288ef2b9d1e1c1cb22a52f9e360505633701ae23d7fb862aa0144ad9d6ed93a5342a41bae7c1be
|
||||
DIST goland-2025.2.4-aarch64.tar.gz 1233161679 BLAKE2B 59dae1f921ae069bd97b9433d9260fc8edbee2b92e157b30aad2c2d47557c5c3e78e99d66ed7feee9989e68f8b234f08d8bfff9d4e9312e5112913bc59dae2ea SHA512 e040d16e483d3207dd72d1667c320f1fc5175570897802927715333deab031c5da1358335177db9f73eae90eb9bd04eead254bcd045c31517479e61bfe1dde9e
|
||||
DIST goland-2025.2.4.tar.gz 1235922025 BLAKE2B 176dfaa24cb5f50c6dabdb0a1fb3ff71ee0664dac0af460515f925ee24cb45d53052bed08497b025f4a31a58ff8735c07650910c38c6b99764684d0b30b16572 SHA512 e47ac5010b7c96b55a2992a0c678d490054b8d633d132bd738d7d64e38624734deb5c6ce773c58dab3f2458e6b1f150ef376eb61250ba277771f95a43b0b3252
|
||||
DIST goland-2025.2.5-aarch64.tar.gz 1221837969 BLAKE2B fc2b81352b8f58a00bcdd177c010695720bbd32dbc7a4dc1fb67e79ed3053a7e382d941e2229f225a487042e9dc61d1355367a5a7bc337b349f95bd470990dbe SHA512 da64ed010841b7a830d0fb7cd99f2c905b7572432b8b8b1b2ffd0dc1b9d395cd452b7ca855ea817634eef36109415090d94b600f261aeb971bce4c936531b68e
|
||||
DIST goland-2025.2.5.tar.gz 1224607298 BLAKE2B b4dfa69e65ad3dd8fdf339bd3395d99a04749e7f57067317334e1dbb1a0eeb21805c8fb6594f2788c4363101644eb9c016cfddcef30b389316f654c68bfe8fbe SHA512 a71b9883d1c7ce4bced151945b670f5453c81039dcdf32764c8e525f6360d8a39070300bf1ed5bc656885c912dc3734aa1405eb7dc79661347ecbf59bf10de81
|
||||
DIST goland-2025.2.tar.gz 1185708177 BLAKE2B 75f22876b373ba81255f943abcf4e3e15b27a4af6fb202554974fad18568e541e54768949192cff4190c95e176fbd6ec71543482f34a11102b79ebefe779fe68 SHA512 cc7636e6ec0473becfbde731fcba2b6eb3fcf37ecc90798dd5816db1893fb5d22dec461241d87f258cafee8d1a564d08823fd4aba23b47bcc72bac6e1c4aea81
|
||||
|
||||
@ -41,11 +41,11 @@ BDEPEND="
|
||||
dev-util/patchelf
|
||||
"
|
||||
RDEPEND="
|
||||
>=virtual/jre-17:*
|
||||
dev-lang/go
|
||||
dev-libs/wayland
|
||||
sys-libs/pam
|
||||
sys-process/audit
|
||||
>=virtual/jre-17:*
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
@ -40,7 +40,7 @@ LICENSE="
|
||||
ZPL BSD BSD-2 ISC LGPL-2+ LGPL-2.1+ MIT public-domain
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="+abi_x86_32 +bin-symlinks custom-cflags +strip"
|
||||
|
||||
RDEPEND="
|
||||
|
||||
@ -8,9 +8,7 @@ DIST pycharm-community-2025.1-aarch64.tar.gz 857339099 BLAKE2B 15f1427b1be575279
|
||||
DIST pycharm-community-2025.1.3-aarch64.tar.gz 874537235 BLAKE2B 96f646e67288153e913d48341787ee3cf1196ac8a4a117ef5b9e33a4b64eaeed00269b2cfa34ad99383cd52e499e4b902a76cd3031614f6118148c3bc299ec4e SHA512 0a8562877e78654698b5a6a83619132ea4567b68ba14b2beb59a55786b492ce6ede2a5110d6895b0222abd40a9d2f226e83d5f88c7ed3533c1ba54be2b8bef15
|
||||
DIST pycharm-community-2025.1.3.tar.gz 875126228 BLAKE2B a52427b6a84f6f67dede3cc6e6ab3f7b08d5bc7f000a6dc3fa506994b377fac7f8e348a2f1d50b4877efeaf118d25f08e9abfe1345c2abaecf496ec6bd83b324 SHA512 e0f957764d4609d24928e22b855e3206a5755cf289226c35317f36212ed14832109ca1b6822d97022a7f8e19c47e3b1f7a26b2c8bf04cf9a2a8c197555e4f12a
|
||||
DIST pycharm-community-2025.1.tar.gz 859398876 BLAKE2B 29d30532e66e5156705e8b74df21d11e2fa94ccba4b77f7b47636298cb4366d55273c14e52e2fb63b0850bf06d972ddb7daa10397bedcded36985046c58d6340 SHA512 5cd08c23c0db612dd02ef0e79039085bec642a668b373360ca4d9f9e5bd06ba419b8e6d0d242f9b6941c49498944b6601eae59c286deb2e8137399f1606408e9
|
||||
DIST pycharm-community-2025.2.1-aarch64.tar.gz 918328791 BLAKE2B 87ba5bfc57e260fe76b3e2bb212cecd32b2b5fdc0a3255c29c1be65065a047c8e5499e2a18e39073b9687e3651f7069183b979266e7b7772609186974a942b32 SHA512 ecb5a474995a7384a74c78fb1c93c88a736b61be6ccf690ab5d393d2a19b7794a50465322dda07b97a0afecfbda39a64b7c62221dc2275efd23c9eacb1a7b548
|
||||
DIST pycharm-community-2025.2.1.tar.gz 920368668 BLAKE2B 0a8b4f48e460838e3aed0a6efe8f456f208a25b801b9f55929afb70d12ac4277ca72d9846c21a58448c175139bd6f4a367645853e7097d3446988bf43a700284 SHA512 37de67c049e8cb261401a4088c45d3ef05b819849f07133bfbc22aa954480d19cc23f0ff7ba5cc795714abc8bd51eabbeaac7007dd8273988a2a8acb5212b80a
|
||||
DIST pycharm-community-2025.2.3-aarch64.tar.gz 918497362 BLAKE2B 4b5f4680cd06c8cf057b3d772f72676576003b10a5c7ee22c6d894d8760bc38750b4b7d1ccaad96ac8edb6a86d1b209b0b438d83cb3440cf2888a75dc896f680 SHA512 ee786af108bbf43a663f10dd466863712e8bfeafd6ddc5efbf657cbcbb6dec15ff8e983e2792d330c2bc38700417dff0f75e80ab2becdf525b4fcad886032c60
|
||||
DIST pycharm-community-2025.2.3.tar.gz 920703371 BLAKE2B c439383948698ac1664819c5348780ce867fb0da0e403e52b3ddc056c2c2395cc3971409a40c1627cf68eb0241babb5764d94c99df5f813fda17c3e041c00bb3 SHA512 5a446d24d9e5a1283001c1e766d8dce98991830e44ed6da70015efbbe7edce9cb1825e175be1766dce67061fc0f9deef3916f2d19a96d67966caa62226a95516
|
||||
DIST pycharm-community-2025.2.4-aarch64.tar.gz 930440107 BLAKE2B 4576ae371686dc2d7fa88bf7a675577ca94d2c2f68aa3d3f5e5dd3bdc599c7c93ac21f66c572c9eeae40dd24b1fd74d28bf8ce985f07cb99711d1801754bc9a8 SHA512 55a7f8871beba5c89d29d86cea88037540cc304ff312dc4ce1264de0f2c29543ca2a39a89b583647c70d3d366b06fab498dabe14c31e35d036f885b743b452cd
|
||||
DIST pycharm-community-2025.2.4.tar.gz 932611177 BLAKE2B 983e22bf171ea7a40df2b662ccb15ff4120d36a2aa054bb9c78ae103e9af4621317cb9635c8a712fc8a320bf5bbee69045cd1a5a54fc8d8d2cb8e4b3bef9e2b0 SHA512 4e33a14d2eb720c6efdf3cfbbf20fb26aaa64b97fe63c9dd22965329558f28bf76995022591a54c795dc9471a4647a1b5f0c24d0abc374f96933cf4ebe654972
|
||||
DIST pycharm-community-2025.2.5-aarch64.tar.gz 919409169 BLAKE2B 247c193584d31b768c6650468b868871e3fa68f7386407ed688e1673d3702b04935783c644d86597b935e5ec9a418c653be1d73996d23acc156803e53b0cd4e5 SHA512 548a169a9a3251be52ebea413e6a769a95458c5cd2fc0d51ff47bf956f0880b613f4434fd5cfd1b26f5b9303699671e6c9eb210bc718106ffe8967fccb171ae8
|
||||
DIST pycharm-community-2025.2.5.tar.gz 921590103 BLAKE2B b17da5a44c22ebff0ceadf06cf145da83f119f4aeae082d63764233c3d076e4a1cfba872dbac4feadd41f1a02d9a659787964da9e85e907c4ac1c102f93fba18 SHA512 deff8a6bb0962571991730febc0890cb64e36a26dd9886af33da903cedc4dea32dad9dcde393102dec362521dca820f8d6ecbf028da8909127069f20acfcbf75
|
||||
|
||||
@ -8,9 +8,7 @@ DIST pycharm-professional-2025.1.3.tar.gz 1187171716 BLAKE2B ad4922f29767c4a7d6d
|
||||
DIST pycharm-professional-2025.1.4-aarch64.tar.gz 1139873701 BLAKE2B be709ab1875eab62bd514a4ee1bf81f8960e13dd60ec0e670b7a29cad299858429cc7cb27a62be8c89234c49bb5f5c05b81dd71e7769070dc3adde084215cfd7 SHA512 7d711d23a26ded3171f832c3011bdb6351937307cb55cb5dbcb2649fc472139d40b3179ab6eda79f569d80072b4cfb017ac35fa813f7d45fe9258432b99d6c5f
|
||||
DIST pycharm-professional-2025.1.4.tar.gz 1143326572 BLAKE2B 4d8245eab117c619be71d066f1277eea8bc832477fc8422cfed542d46b7a46aac7335d879f8e8e085df01061ba87ce8aa14999505f9d16c1748149ea9ce6d2fa SHA512 b8db410e115e971f22be353568d224fab9b4d01d27631adb84c046edf972665a99f8c06c6789cf617b2421033ce3f176c9ec94681bbb1dccf2faa30a76de4da8
|
||||
DIST pycharm-professional-2025.1.tar.gz 1173493461 BLAKE2B 58212877389b3f598c1a8dfbe3c3ecec886a6b71abc330daf5af451f7cf25c2f4c890f21ab45eea04b9b0451448a1ef3a09fed40b8736bc519cfdbd17f94fbb9 SHA512 48f14a139dab48e13d68034044e813742692ddbc2697bf1c8399d799f7ece120f4ce4e0ebffc3d1aeade28bd8d853ac45552ced46aa6b3b44dde7f969bb9e824
|
||||
DIST pycharm-professional-2025.2.1-aarch64.tar.gz 1257361125 BLAKE2B 644b13d6eaee5da2ab52080981c2cc5f8a6bf6b9d4f74f91665da3be221a60d6cdc35965185c6ef9fb5189020d671c5c3ef6dc088dd32b9f92fc2b270005af38 SHA512 84b763794ce7bf34b7a20e70bb5d080606b988dcc19d16280d0a4f62effecf163839b670d16f567c0f7fbc22931d3745d513526ca6048de9cdabf56c519452b5
|
||||
DIST pycharm-professional-2025.2.1.tar.gz 1259978568 BLAKE2B 783e9999084d685ac6616cc58c3c20c5223af5702a069ebbe42092a73b6666e4073987721d3d301ac9a97d2a5111c42249e74d9cb5dfdf961b82bb01c958b2dc SHA512 12ef7ee047128d03d7e718f26727c5367d1fe6e52ea4468e5499ff6297fb4c399495f20c2ecac1ed5c586fbb152166b6269f2e226fdb7715d96305b0468573b0
|
||||
DIST pycharm-professional-2025.2.3-aarch64.tar.gz 1255246218 BLAKE2B 36dee263b8403d468b93f3609061f107a9b5f33dd9fdca96f7ec51b0745965aa876dcf8069aaa2a547810fd7e063030566004e2b78bb0f952df9e0bbdb06a386 SHA512 0169060a686a8bad5cbf3971e62f31f95b4de3ee081fbfb633de94d96d88325c670091be251c5ce2fbdd6329b2bb11a968d7e73869d38de4bdfa6fa69e03e2a4
|
||||
DIST pycharm-professional-2025.2.3.tar.gz 1257991131 BLAKE2B b16359ad024b9c83755250747ff4dd96371a1edcb811cab9c3547c6b43c03a43344d8a4e89e34996120b34f874a02d622ed5a230d526070be95cd0353504ace0 SHA512 b18e5e1d82618d40ea53d80551248e2742f59e5c8b714c1acb6ecdae661c33278b993e41113d6b4104a1a11ee953d4a78160c869251fe58fbbfa11da9bf939b1
|
||||
DIST pycharm-professional-2025.2.4-aarch64.tar.gz 1267172547 BLAKE2B 180fe517e0675934cacf86609bb5ee9b665cb5320a8b79316473dad8634cb4d7f5b4897c9bb8247e71cca00be5bbf00697c82ce8b9a64198aa70e464b8c64044 SHA512 7d2fbd8130eee9b37b50d68abf1ce8314072c2497199dd69d20e740e2276de93fdeb2d95d807f34e4b84e3a799dec6732a5f06cecfaca52d161f9f66647b2a11
|
||||
DIST pycharm-professional-2025.2.4.tar.gz 1269933539 BLAKE2B a419e41ff9dab414f889306c40812ec9824a2cc3108d7b8c96f713f481ef0f43218ebe5c40ad07f52de6827cbcd758ee9281ca0b97737c9fae1cbb2614bfe18a SHA512 10329f1759ae21bcf9e9eaea14775fd7d85b77e27794d44ae23e9ff81ba2c701ea8618f93125dcd3f65ae6b659adfb2b2355f5e00677fe5aa8e75902cdf6ce7a
|
||||
DIST pycharm-professional-2025.2.5-aarch64.tar.gz 1256102942 BLAKE2B 4e75ec24b4ab937d0bfbcbdad53c7f289b5c76df85e745675d2244eda84790a879bce911987252c38103d08af673e7ec76330fb62b71804be9036bb205a6a4fd SHA512 8aa7789841cabecb23f6d8f5b2107962dca33c2ce1a2b067e6957521b392da0e572f9f61c7b8a846e254e7036a568082be8cc37a0bfa944cc842b38f84a4d413
|
||||
DIST pycharm-professional-2025.2.5.tar.gz 1258847526 BLAKE2B 6c08fc1f999118d8206a60305f3f861311d023bd65cc743ad155b169401929772868a148a27f8164738949da98011701686e23bc74cdaae258400492d7e89607 SHA512 c5b2cb3b40ad00c3217a6556c71765b1d22ff9cf942e2b0000e5013b70be5ddb0232d2e245ca9e2a793f307461b61be8330001508e8cb3f8d25cdfe44eefa53f
|
||||
|
||||
@ -1,232 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop readme.gentoo-r1 toolchain-funcs wrapper xdg
|
||||
|
||||
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
|
||||
|
||||
# NOTE upstream release info
|
||||
# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release
|
||||
# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release&fields=name,releases
|
||||
|
||||
HOMEPAGE="https://www.jetbrains.com/pycharm/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://download.jetbrains.com/python/${P}.tar.gz
|
||||
)
|
||||
arm64? (
|
||||
https://download.jetbrains.com/python/${P}-aarch64.tar.gz
|
||||
)
|
||||
x86? (
|
||||
https://download.jetbrains.com/python/${P}.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
S="${WORKDIR}/${PN/%-professional/}-${PV}"
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CC-BY-4.0 CPL-1.0 CDDL CDDL-1.1 EPL-1.0 EPL-2.0
|
||||
GPL-2 GPL-2-with-classpath-exception ISC JDOM LGPL-2.1 LGPL-3 MIT MPL-1.1 MPL-2.0 OFL-1.1
|
||||
PYTHON Unicode-DFS-2016 Unlicense UPL-1.0 ZLIB"
|
||||
else
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CPL-1.0 CDDL-1.1 EPL-1.0 GPL-2
|
||||
GPL-2-with-classpath-exception ISC JDOM JSON LGPL-2+ LGPL-2.1 LGPL-3 MIT MPL-1.1 MPL-2.0
|
||||
OFL-1.1 UPL-1.0 ZLIB"
|
||||
fi
|
||||
|
||||
SLOT="0/2025"
|
||||
KEYWORDS="-* ~amd64 ~arm64 ~x86"
|
||||
IUSE="+bundled-jdk"
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
IUSE+=" +bundled-xvfb"
|
||||
fi
|
||||
|
||||
BDEPEND="dev-util/debugedit
|
||||
dev-util/patchelf
|
||||
"
|
||||
|
||||
# NOTE
|
||||
# The remote-dev-server present in pycharm-professional contains most of the
|
||||
# libraries need for the bundled jdk. These are not in the RUNPATH of the jdk.
|
||||
# So the dependencies are actually needed.
|
||||
RDEPEND="
|
||||
!bundled-jdk? (
|
||||
>=virtual/jre-17:*
|
||||
)
|
||||
bundled-jdk? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
media-libs/alsa-lib
|
||||
media-libs/freetype
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
virtual/zlib:=
|
||||
x11-libs/cairo
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
RDEPEND+="
|
||||
bundled-xvfb? (
|
||||
dev-libs/libpcre2
|
||||
sys-libs/pam
|
||||
sys-process/audit
|
||||
)
|
||||
!bundled-xvfb? (
|
||||
x11-base/xorg-server[xvfb]
|
||||
)
|
||||
"
|
||||
fi
|
||||
|
||||
QA_PREBUILT="opt/${PN}/*"
|
||||
|
||||
src_prepare() {
|
||||
tc-export OBJCOPY
|
||||
default
|
||||
|
||||
rm -v "${S}"/help/ReferenceCardForMac.pdf || die
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/_pydevd_{bundle,frame_eval}/*{darwin,win32}* || die
|
||||
|
||||
if ! use amd64; then
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so || die
|
||||
if [[ -d "${S}"/lib/async-profiler/ ]]; then
|
||||
rm -v "${S}"/lib/async-profiler/amd64/libasyncProfiler.so || die
|
||||
fi
|
||||
fi
|
||||
if ! use arm64; then
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so || die
|
||||
if [[ -d "${S}"/lib/async-profiler/ ]]; then
|
||||
rm -v "${S}"/lib/async-profiler/aarch64/libasyncProfiler.so || die
|
||||
fi
|
||||
fi
|
||||
if ! use x86; then
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so || die
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "\$a\\\\" \
|
||||
-e "\$a#-----------------------------------------------------------------------" \
|
||||
-e "\$a# Disable automatic updates as these are handled through Gentoo's" \
|
||||
-e "\$a# package manager. See bug #704494" \
|
||||
-e "\$a#-----------------------------------------------------------------------" \
|
||||
-e "\$aide.no.platform.update=Gentoo" bin/idea.properties
|
||||
|
||||
# excepting files from different architectures that should be kept for remote plugins
|
||||
if ! use arm64; then
|
||||
local skip_remote_files=(
|
||||
"plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-arm64/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-arm/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-arm/jb_zip_unarchiver"
|
||||
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64"
|
||||
)
|
||||
elif ! use amd64 ; then
|
||||
local skip_remote_files=(
|
||||
"plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-x64/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-x86/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-x86/jb_zip_unarchiver"
|
||||
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-x64"
|
||||
)
|
||||
fi
|
||||
# removing debug symbols and relocating debug files as per #876295
|
||||
# we're escaping all the files that contain $() in their name
|
||||
# as they should not be executed
|
||||
find . -type f ! -name '*$(*)*' -print0 | while IFS= read -r -d '' file; do
|
||||
for skip in "${skip_remote_files[@]}"; do
|
||||
[[ ${file} == "./${skip}" ]] && continue 2
|
||||
done
|
||||
if file "${file}" | grep -qE "ELF (32|64)-bit"; then
|
||||
${OBJCOPY} --remove-section .note.gnu.build-id "${file}" || die
|
||||
debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "${file}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
if use bundled-jdk; then
|
||||
patchelf --set-rpath '$ORIGIN/../lib' "jbr/bin/"* || die
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/"{libjcef.so,jcef_helper} || die
|
||||
patchelf --set-rpath '$ORIGIN:$ORIGIN/server' jbr/lib/lib*.so* || die
|
||||
else
|
||||
rm -r "jbr" || die
|
||||
fi
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
if use bundled-xvfb; then
|
||||
patchelf --set-rpath '$ORIGIN/../lib' "${S}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp} || die
|
||||
patchelf --set-rpath '$ORIGIN' "${S}"/plugins/remote-dev-server/selfcontained/lib/lib*.so* || die
|
||||
else
|
||||
rm -vr "${S}"/plugins/remote-dev-server/selfcontained || die
|
||||
sed '/export REMOTE_DEV_SERVER_IS_NATIVE_LAUNCHER/a export REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1' \
|
||||
-i bin/remote-dev-server.sh || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DIR="/opt/${PN}"
|
||||
local JRE_DIR="jbr"
|
||||
|
||||
insinto "${DIR}"
|
||||
doins -r ./*
|
||||
|
||||
fperms 755 "${DIR}"/bin/{format.sh,fsnotifier,inspect.sh,jetbrains_client.sh,ltedit.sh,pycharm,pycharm.sh,restarter}
|
||||
|
||||
if use bundled-jdk; then
|
||||
fperms 755 "${DIR}/${JRE_DIR}"/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
|
||||
fperms 755 "${DIR}"/"${JRE_DIR}"/lib/{cef_server,chrome-sandbox,jcef_helper,jexec,jspawnhelper}
|
||||
fi
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
if use bundled-xvfb; then
|
||||
fperms 755 "${DIR}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp}
|
||||
fi
|
||||
fperms 755 "${DIR}" "${DIR}"/bin/remote-dev-server{,.sh}
|
||||
fi
|
||||
|
||||
# we have to strip files that are not related to the current architecture
|
||||
dostrip -x "${skip_remote_files[@]/#//opt/${PN}/}"
|
||||
|
||||
make_wrapper "${PN}" "${DIR}/bin/pycharm"
|
||||
newicon "bin/${PN/%-*/}.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "${PN}" "${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
|
||||
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||
dodir /usr/lib/sysctl.d
|
||||
cat > "${ED}/usr/lib/sysctl.d/30-${PN}-inotify-watches.conf" <<-EOF || die
|
||||
fs.inotify.max_user_watches = 524288
|
||||
EOF
|
||||
}
|
||||
@ -1,232 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop readme.gentoo-r1 toolchain-funcs wrapper xdg
|
||||
|
||||
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
|
||||
|
||||
# NOTE upstream release info
|
||||
# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release
|
||||
# https://data.services.jetbrains.com/products?code=PCP,PCC&release.type=release&fields=name,releases
|
||||
|
||||
HOMEPAGE="https://www.jetbrains.com/pycharm/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://download.jetbrains.com/python/${P}.tar.gz
|
||||
)
|
||||
arm64? (
|
||||
https://download.jetbrains.com/python/${P}-aarch64.tar.gz
|
||||
)
|
||||
x86? (
|
||||
https://download.jetbrains.com/python/${P}.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
S="${WORKDIR}/${PN/%-professional/}-${PV}"
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CC-BY-4.0 CPL-1.0 CDDL CDDL-1.1 EPL-1.0 EPL-2.0
|
||||
GPL-2 GPL-2-with-classpath-exception ISC JDOM LGPL-2.1 LGPL-3 MIT MPL-1.1 MPL-2.0 OFL-1.1
|
||||
PYTHON Unicode-DFS-2016 Unlicense UPL-1.0 ZLIB"
|
||||
else
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CPL-1.0 CDDL-1.1 EPL-1.0 GPL-2
|
||||
GPL-2-with-classpath-exception ISC JDOM JSON LGPL-2+ LGPL-2.1 LGPL-3 MIT MPL-1.1 MPL-2.0
|
||||
OFL-1.1 UPL-1.0 ZLIB"
|
||||
fi
|
||||
|
||||
SLOT="0/2025"
|
||||
KEYWORDS="-* ~amd64 ~arm64 ~x86"
|
||||
IUSE="+bundled-jdk"
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
IUSE+=" +bundled-xvfb"
|
||||
fi
|
||||
|
||||
BDEPEND="dev-util/debugedit
|
||||
dev-util/patchelf
|
||||
"
|
||||
|
||||
# NOTE
|
||||
# The remote-dev-server present in pycharm-professional contains most of the
|
||||
# libraries need for the bundled jdk. These are not in the RUNPATH of the jdk.
|
||||
# So the dependencies are actually needed.
|
||||
RDEPEND="
|
||||
!bundled-jdk? (
|
||||
>=virtual/jre-17:*
|
||||
)
|
||||
bundled-jdk? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
media-libs/alsa-lib
|
||||
media-libs/freetype
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
virtual/zlib:=
|
||||
x11-libs/cairo
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
RDEPEND+="
|
||||
bundled-xvfb? (
|
||||
dev-libs/libpcre2
|
||||
sys-libs/pam
|
||||
sys-process/audit
|
||||
)
|
||||
!bundled-xvfb? (
|
||||
x11-base/xorg-server[xvfb]
|
||||
)
|
||||
"
|
||||
fi
|
||||
|
||||
QA_PREBUILT="opt/${PN}/*"
|
||||
|
||||
src_prepare() {
|
||||
tc-export OBJCOPY
|
||||
default
|
||||
|
||||
rm -v "${S}"/help/ReferenceCardForMac.pdf || die
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/_pydevd_{bundle,frame_eval}/*{darwin,win32}* || die
|
||||
|
||||
if ! use amd64; then
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so || die
|
||||
if [[ -d "${S}"/lib/async-profiler/ ]]; then
|
||||
rm -v "${S}"/lib/async-profiler/amd64/libasyncProfiler.so || die
|
||||
fi
|
||||
fi
|
||||
if ! use arm64; then
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_aarch64.so || die
|
||||
if [[ -d "${S}"/lib/async-profiler/ ]]; then
|
||||
rm -v "${S}"/lib/async-profiler/aarch64/libasyncProfiler.so || die
|
||||
fi
|
||||
fi
|
||||
if ! use x86; then
|
||||
rm -v "${S}"/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so || die
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "\$a\\\\" \
|
||||
-e "\$a#-----------------------------------------------------------------------" \
|
||||
-e "\$a# Disable automatic updates as these are handled through Gentoo's" \
|
||||
-e "\$a# package manager. See bug #704494" \
|
||||
-e "\$a#-----------------------------------------------------------------------" \
|
||||
-e "\$aide.no.platform.update=Gentoo" bin/idea.properties
|
||||
|
||||
# excepting files from different architectures that should be kept for remote plugins
|
||||
if ! use arm64; then
|
||||
local skip_remote_files=(
|
||||
"plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-arm64/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-arm/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-arm/jb_zip_unarchiver"
|
||||
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64"
|
||||
)
|
||||
elif ! use amd64 ; then
|
||||
local skip_remote_files=(
|
||||
"plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-x64/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-x86/jb_zip_unarchiver"
|
||||
"plugins/clion-radler/DotFiles/linux-musl-x86/jb_zip_unarchiver"
|
||||
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-x64"
|
||||
)
|
||||
fi
|
||||
# removing debug symbols and relocating debug files as per #876295
|
||||
# we're escaping all the files that contain $() in their name
|
||||
# as they should not be executed
|
||||
find . -type f ! -name '*$(*)*' -print0 | while IFS= read -r -d '' file; do
|
||||
for skip in "${skip_remote_files[@]}"; do
|
||||
[[ ${file} == "./${skip}" ]] && continue 2
|
||||
done
|
||||
if file "${file}" | grep -qE "ELF (32|64)-bit"; then
|
||||
${OBJCOPY} --remove-section .note.gnu.build-id "${file}" || die
|
||||
debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "${file}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
if use bundled-jdk; then
|
||||
patchelf --set-rpath '$ORIGIN/../lib' "jbr/bin/"* || die
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/"{libjcef.so,jcef_helper} || die
|
||||
patchelf --set-rpath '$ORIGIN:$ORIGIN/server' jbr/lib/lib*.so* || die
|
||||
else
|
||||
rm -r "jbr" || die
|
||||
fi
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
if use bundled-xvfb; then
|
||||
patchelf --set-rpath '$ORIGIN/../lib' "${S}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp} || die
|
||||
patchelf --set-rpath '$ORIGIN' "${S}"/plugins/remote-dev-server/selfcontained/lib/lib*.so* || die
|
||||
else
|
||||
rm -vr "${S}"/plugins/remote-dev-server/selfcontained || die
|
||||
sed '/export REMOTE_DEV_SERVER_IS_NATIVE_LAUNCHER/a export REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1' \
|
||||
-i bin/remote-dev-server.sh || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DIR="/opt/${PN}"
|
||||
local JRE_DIR="jbr"
|
||||
|
||||
insinto "${DIR}"
|
||||
doins -r ./*
|
||||
|
||||
fperms 755 "${DIR}"/bin/{format.sh,fsnotifier,inspect.sh,jetbrains_client.sh,ltedit.sh,pycharm,pycharm.sh,restarter}
|
||||
|
||||
if use bundled-jdk; then
|
||||
fperms 755 "${DIR}/${JRE_DIR}"/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
|
||||
fperms 755 "${DIR}"/"${JRE_DIR}"/lib/{cef_server,chrome-sandbox,jcef_helper,jexec,jspawnhelper}
|
||||
fi
|
||||
|
||||
if [[ ${PN} == *-professional ]]; then
|
||||
if use bundled-xvfb; then
|
||||
fperms 755 "${DIR}"/plugins/remote-dev-server/selfcontained/bin/{Xvfb,xkbcomp}
|
||||
fi
|
||||
fperms 755 "${DIR}" "${DIR}"/bin/remote-dev-server{,.sh}
|
||||
fi
|
||||
|
||||
# we have to strip files that are not related to the current architecture
|
||||
dostrip -x "${skip_remote_files[@]/#//opt/${PN}/}"
|
||||
|
||||
make_wrapper "${PN}" "${DIR}/bin/pycharm"
|
||||
newicon "bin/${PN/%-*/}.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "${PN}" "${PN}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
|
||||
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||
dodir /usr/lib/sysctl.d
|
||||
cat > "${ED}/usr/lib/sysctl.d/30-${PN}-inotify-watches.conf" <<-EOF || die
|
||||
fs.inotify.max_user_watches = 524288
|
||||
EOF
|
||||
}
|
||||
@ -72,7 +72,7 @@ DEPEND=">=dev-games/physfs-3[hog,mvl,zip]
|
||||
# For each flag, depend on freedata using the same flag. If none of the
|
||||
# flags are set, freedata is not needed.
|
||||
DXX_RDEPEND_USE_FREEDATA_FRAGMENT='
|
||||
${USE}? ( games-action/descent${ENGINE}-freedata[${USE}] )
|
||||
${TEMPLATE_USE}? ( games-action/descent${ENGINE}-freedata[${TEMPLATE_USE}] )
|
||||
'
|
||||
# Block <0.59.100 due to file collision.
|
||||
#
|
||||
@ -95,9 +95,9 @@ DXX_RDEPEND_ENGINE_FRAGMENT='
|
||||
)
|
||||
)
|
||||
'"
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{USE\}/l10n_de}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{USE\}/opl3-musicpack}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{USE\}/sc55-musicpack}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{TEMPLATE_USE\}/l10n_de}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{TEMPLATE_USE\}/opl3-musicpack}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{TEMPLATE_USE\}/sc55-musicpack}
|
||||
"'
|
||||
)
|
||||
'
|
||||
|
||||
@ -72,7 +72,7 @@ DEPEND=">=dev-games/physfs-3[hog,mvl,zip]
|
||||
# For each flag, depend on freedata using the same flag. If none of the
|
||||
# flags are set, freedata is not needed.
|
||||
DXX_RDEPEND_USE_FREEDATA_FRAGMENT='
|
||||
${USE}? ( games-action/descent${ENGINE}-freedata[${USE}] )
|
||||
${TEMPLATE_USE}? ( games-action/descent${ENGINE}-freedata[${TEMPLATE_USE}] )
|
||||
'
|
||||
# Block <0.59.100 due to file collision.
|
||||
#
|
||||
@ -95,9 +95,9 @@ DXX_RDEPEND_ENGINE_FRAGMENT='
|
||||
)
|
||||
)
|
||||
'"
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{USE\}/l10n_de}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{USE\}/opl3-musicpack}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{USE\}/sc55-musicpack}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{TEMPLATE_USE\}/l10n_de}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{TEMPLATE_USE\}/opl3-musicpack}
|
||||
${DXX_RDEPEND_USE_FREEDATA_FRAGMENT//\$\{TEMPLATE_USE\}/sc55-musicpack}
|
||||
"'
|
||||
)
|
||||
'
|
||||
|
||||
@ -12,7 +12,7 @@ S=${WORKDIR}/KDDockWidgets-${PV}
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) BSD MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="amd64"
|
||||
KEYWORDS="amd64 ~arm64 ~x86"
|
||||
IUSE="qml"
|
||||
# building tests require developer mode which is messy to enable here
|
||||
RESTRICT="test"
|
||||
|
||||
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