parent
21bd30cd24
commit
5100638bbf
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29283 BLAKE2B 3ccf2608ec32a019ab74c8264116a49441f3b440153d0ecdaf0936914e4e9aaff54f13137001b0c8044b90d9abf12f7697180028a7c5e6a444dacf621b64a45a SHA512 f5115b5bd5afc7292f036afc89e5239aa8d9899a9a522533bfdbfc0814a76517dfe1787a926b54493ae5a89f87441f64aaa77780e4053e53ac73244dc26d229f
|
||||
TIMESTAMP 2023-10-05T19:40:16Z
|
||||
MANIFEST Manifest.files.gz 29292 BLAKE2B 3a931d0278a0bfdc7feca5fc8681aaf47e575ebce1a84c4f6f1b97b51c816fa57f86be9abeed7a46b1aeda5dc103ec54af5dc252ba31f4b09a2f4667e2385e2c SHA512 c4c4a30888b2da3184ab762f2b8bf8eba6e7e29ccfdb71d81f67cec59982ac083408e1fd6abc4f18aea80e26fd685df05a820d27af68930d7cf081ff3897c614
|
||||
TIMESTAMP 2023-10-06T10:10:18Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmUfESBfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmUf3QpfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAuMA/+PeaNyllIenosv2E5j7oRBoQpd5G2HfUxN6h6mR6McUG28T/Y0YkZVROd
|
||||
J1IVs12ZuM5OeLTmuR740XELr2E06o/nTKPCZDtxpPgIFQ9V2sVPmLjFS8UmIimG
|
||||
QEPk7aUFBvgOJMts/N8gch+v032BNbmlC2es520hm2QeSmTTF0K6FTf2njKLhVYy
|
||||
pg9TdKnn1Tw0kyLpRV0gVJJRYwjB16tSYDznrdI1mU/PfWrBqJ0ao1aAtiGPcmnY
|
||||
48MXf0RvGt9s4PCExcOXdAnbO9AU4bl9DsYqTmSKlbTZHG227adqa1BRhGNYdhdR
|
||||
0kKnuU91YNwUK0ejVGIe+IFbBbvl/mhfXB+oROVp3x+RQfmfKINVPFqc0zOS4R/F
|
||||
t3Jv8WtFQY9+yQjVuCN5E3g1xannmN1XyHXjpV4tZ6S01OLM+3zdqaJ7+5SAJa89
|
||||
uox2KVWGSXF11oHgaoQprhzNxVFrvYFw8a7qE78UF/jCzhHA42R7aN7/eRZCtBEf
|
||||
zq4N/vA7Uurh35o7VGXlu1RcLsH09XR2EGvuR4jjOebWKAKAxGJn4a6u0699XRhd
|
||||
NcfaXJ3u+j6MpY7MlYYonqCY95WGIoFWZjTZwX75uoslFivGaV/xF9VwXrw6ZY9d
|
||||
Aj3Bbjn71ybJKofzcgCENOhneQ36aAUEe2neBr+xzvIw8XBWRcY=
|
||||
=r+3F
|
||||
klCjYg//eRjXpSIxcey4dI/BbB1df1kQV/NySlxTMO/VpneL+A9YItdvYink3fu4
|
||||
mMpPBtGWGSk+I1Zpp7hshw/2+eAFKtRglieefgiLGXwdjAH0YtvC1iqTQYj3F7mR
|
||||
/fRSTHkWybnSfwN51VHQFMr/pzVkddYmqjDuqDEQOIuaYA9qUR3gJ3nHPDMjQR58
|
||||
6Led6cvBLwKer9sHhils8ByLwVbrbfRABD8hL6yc9VcsV5Zbda54urAJhd+56qzf
|
||||
RlMWPmTlV3xsljg2KBSGR+iVbwE/w7Br2Bqq+dl8lAETpEtRLeHqTx8584l7S+E8
|
||||
DRfTj2HRhyF+HKGz5g/Y1boI5aQkwUloz7/+EpgmDhOwAarD8lTc4/vZg3jbzgxN
|
||||
MvEhSn3SBbzVhys8Yzn5/AhOS1b6fLN9vgzfd4KoSfhWqULA8u/ph3pM5Ev8Nclp
|
||||
yarzOIeqw7Kajn62WAbqxZHm3T3TFxrmMB4an5UKEpnfkbyopaYM3PrN3fiw9Z2W
|
||||
aJ8ZU49pjV+Wf6MDTHScBh1Nkh+HULzV+68a8rcvAOYCCIAtvfdvzqttNwUp6yNW
|
||||
vy9y6XxWvl5b5OTMSkVwCNFCdHl3yfI/r32d+FN5dEdUtHaIufcLhWll+rQcD/IF
|
||||
EhK9lYk6owcNok3sQxY40XrlFjTq2eU42UySUmYf/z9k59MCvhw=
|
||||
=RXht
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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 EPYTEST_DESELECT=(
|
||||
# broken xdist (signal() works only in main thread)
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_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/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins 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
|
||||
}
|
Binary file not shown.
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module tmpfiles linux-info
|
||||
|
||||
DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI"
|
||||
HOMEPAGE="https://github.com/containers/podman/ https://podman.io/"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/containers/podman.git"
|
||||
else
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor btrfs cgroup-hybrid wrapper +fuse +init +rootless +seccomp selinux systemd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
>=app-containers/containers-common-0.56.0
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
sys-apps/shadow:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
wrapper? ( !app-containers/docker-cli )
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
seccomp? ( sys-libs/libseccomp:= )
|
||||
selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-go/go-md2man
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/seccomp-toggle-4.7.0.patch"
|
||||
)
|
||||
|
||||
CONFIG_CHECK="
|
||||
~USER_NS
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
local file
|
||||
for file in apparmor_tag btrfs_installed_tag btrfs_tag systemd_tag; do
|
||||
[[ -f hack/"${file}".sh ]] || die
|
||||
done
|
||||
|
||||
local feature
|
||||
for feature in apparmor systemd; do
|
||||
cat <<-EOF > hack/"${feature}"_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex ${feature} "echo ${feature}" echo)
|
||||
EOF
|
||||
done
|
||||
|
||||
echo -e "#!/usr/bin/env bash\n echo" > hack/btrfs_installed_tag.sh || die
|
||||
cat <<-EOF > hack/btrfs_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export PREFIX="${EPREFIX}/usr"
|
||||
emake BUILDFLAGS="-v -work -x" GOMD2MAN="go-md2man" BUILD_SECCOMP="$(usex seccomp)" all $(usev wrapper docker-docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.completions $(usev wrapper install.docker-full)
|
||||
|
||||
insinto /etc/cni/net.d
|
||||
doins cni/87-podman-bridge.conflist
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf $(usev wrapper podman-docker.conf)
|
||||
|
||||
local want_newline=false
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,90 @@
|
||||
Avoid nettle-sys failure with either new pkgconf or >=nettle-3.9.0?
|
||||
|
||||
https://bugs.gentoo.org/913729
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -131,9 +131,9 @@ checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
|
||||
|
||||
[[package]]
|
||||
name = "bindgen"
|
||||
-version = "0.57.0"
|
||||
+version = "0.63.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "fd4865004a46a0aafb2a0a5eb19d3c9fc46ee5f063a6cfc605c69ac9ecf5263d"
|
||||
+checksum = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885"
|
||||
dependencies = [
|
||||
"bitflags 1.3.2",
|
||||
"cexpr",
|
||||
@@ -146,6 +146,7 @@ dependencies = [
|
||||
"regex",
|
||||
"rustc-hash",
|
||||
"shlex",
|
||||
+ "syn 1.0.105",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -303,9 +304,9 @@ checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d"
|
||||
|
||||
[[package]]
|
||||
name = "cexpr"
|
||||
-version = "0.4.0"
|
||||
+version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27"
|
||||
+checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
||||
dependencies = [
|
||||
"nom",
|
||||
]
|
||||
@@ -1642,6 +1643,12 @@ version = "0.3.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
|
||||
|
||||
+[[package]]
|
||||
+name = "minimal-lexical"
|
||||
+version = "0.2.1"
|
||||
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
||||
+
|
||||
[[package]]
|
||||
name = "miniz_oxide"
|
||||
version = "0.6.2"
|
||||
@@ -1695,9 +1702,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nettle-sys"
|
||||
-version = "2.1.0"
|
||||
+version = "2.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "b13b685c7883e3a32196ccf3ce594947ec37ace43d74e157de7ca03d3fe62d17"
|
||||
+checksum = "b5e81c347b9002da0b6b0c4060993c280e99eb14b42ecf65a2fefcd6eb3d8a73"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cc",
|
||||
@@ -1736,12 +1743,12 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nom"
|
||||
-version = "5.1.2"
|
||||
+version = "7.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
|
||||
+checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
- "version_check",
|
||||
+ "minimal-lexical",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2697,9 +2704,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "shlex"
|
||||
-version = "0.1.1"
|
||||
+version = "1.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
|
||||
+checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380"
|
||||
|
||||
[[package]]
|
||||
name = "signature"
|
@ -0,0 +1,427 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.6.2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
addr2line@0.19.0
|
||||
adler@1.0.2
|
||||
aead@0.5.2
|
||||
ahash@0.8.3
|
||||
aho-corasick@0.7.20
|
||||
android_system_properties@0.1.5
|
||||
anyhow@1.0.66
|
||||
ascii-canvas@3.0.0
|
||||
async-trait@0.1.63
|
||||
atty@0.2.14
|
||||
autocfg@1.1.0
|
||||
backtrace@0.3.67
|
||||
base64@0.13.1
|
||||
base64@0.21.0
|
||||
bindgen@0.63.0
|
||||
bit-set@0.5.3
|
||||
bit-vec@0.6.3
|
||||
bitflags@1.3.2
|
||||
bitflags@2.3.2
|
||||
block-buffer@0.10.4
|
||||
block-buffer@0.9.0
|
||||
block-padding@0.3.3
|
||||
botan-sys@0.10.1
|
||||
botan@0.10.1
|
||||
buffered-reader@1.2.0
|
||||
bumpalo@3.11.1
|
||||
byteorder@1.4.3
|
||||
bytes@1.3.0
|
||||
bzip2-sys@0.1.11+1.0.8
|
||||
bzip2@0.4.3
|
||||
capnp-futures@0.14.2
|
||||
capnp-rpc@0.14.1
|
||||
capnp@0.14.11
|
||||
cc@1.0.78
|
||||
cexpr@0.6.0
|
||||
cfg-if@0.1.10
|
||||
cfg-if@1.0.0
|
||||
chrono@0.4.23
|
||||
cipher@0.2.5
|
||||
cipher@0.4.4
|
||||
clang-sys@1.4.0
|
||||
clap@4.0.32
|
||||
clap_complete@4.0.7
|
||||
clap_derive@4.0.21
|
||||
clap_lex@0.3.0
|
||||
clap_mangen@0.2.6
|
||||
cmac@0.7.2
|
||||
codespan-reporting@0.11.1
|
||||
core-foundation-sys@0.8.3
|
||||
core-foundation@0.9.3
|
||||
cpufeatures@0.2.5
|
||||
crc32fast@1.3.2
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-deque@0.8.2
|
||||
crossbeam-epoch@0.9.13
|
||||
crossbeam-queue@0.3.8
|
||||
crossbeam-utils@0.8.14
|
||||
crossbeam@0.8.2
|
||||
crunchy@0.2.2
|
||||
crypto-common@0.1.6
|
||||
ctor@0.1.26
|
||||
ctr@0.9.2
|
||||
curve25519-dalek@3.2.1
|
||||
cxx-build@1.0.83
|
||||
cxx@1.0.83
|
||||
cxxbridge-flags@1.0.83
|
||||
cxxbridge-macro@1.0.83
|
||||
daemonize@0.5.0
|
||||
darling@0.20.1
|
||||
darling_core@0.20.1
|
||||
darling_macro@0.20.1
|
||||
data-encoding@2.3.3
|
||||
dbl@0.3.2
|
||||
diff@0.1.13
|
||||
digest@0.10.7
|
||||
digest@0.9.0
|
||||
dirs-next@2.0.0
|
||||
dirs-sys-next@0.1.2
|
||||
dirs-sys@0.3.7
|
||||
dirs-sys@0.4.1
|
||||
dirs@4.0.0
|
||||
dirs@5.0.1
|
||||
doc-comment@0.3.3
|
||||
dot-writer@0.1.3
|
||||
dyn-clone@1.0.9
|
||||
eax@0.5.0
|
||||
ed25519-dalek@1.0.1
|
||||
ed25519@1.5.3
|
||||
edit-distance@2.1.0
|
||||
either@1.8.0
|
||||
ena@0.14.0
|
||||
encoding_rs@0.8.32
|
||||
endian-type@0.1.2
|
||||
enum-as-inner@0.5.1
|
||||
enumber@0.3.0
|
||||
errno-dragonfly@0.1.2
|
||||
errno@0.2.8
|
||||
fallible-iterator@0.2.0
|
||||
fallible-streaming-iterator@0.1.9
|
||||
fastrand@1.8.0
|
||||
fd-lock@3.0.8
|
||||
filetime@0.2.19
|
||||
fixedbitset@0.4.2
|
||||
flate2@1.0.25
|
||||
fnv@1.0.7
|
||||
foreign-types-shared@0.1.1
|
||||
foreign-types@0.3.2
|
||||
form_urlencoded@1.1.0
|
||||
fs2@0.4.3
|
||||
futures-channel@0.3.25
|
||||
futures-core@0.3.25
|
||||
futures-executor@0.3.25
|
||||
futures-io@0.3.25
|
||||
futures-macro@0.3.25
|
||||
futures-sink@0.3.25
|
||||
futures-task@0.3.25
|
||||
futures-util@0.3.25
|
||||
futures@0.3.25
|
||||
generic-array@0.14.6
|
||||
getrandom@0.1.16
|
||||
getrandom@0.2.8
|
||||
gimli@0.27.0
|
||||
glob@0.3.0
|
||||
h2@0.3.15
|
||||
hashbrown@0.12.3
|
||||
hashbrown@0.13.2
|
||||
hashlink@0.8.2
|
||||
heck@0.4.0
|
||||
hermit-abi@0.1.19
|
||||
hermit-abi@0.2.6
|
||||
hex@0.4.3
|
||||
home-dir@0.1.0
|
||||
hostname@0.3.1
|
||||
http-body@0.4.5
|
||||
http@0.2.8
|
||||
httparse@1.8.0
|
||||
httpdate@1.0.2
|
||||
hyper-tls@0.5.0
|
||||
hyper@0.14.23
|
||||
iana-time-zone-haiku@0.1.1
|
||||
iana-time-zone@0.1.53
|
||||
ident_case@1.0.1
|
||||
idna@0.2.3
|
||||
idna@0.3.0
|
||||
indexmap@1.9.2
|
||||
inout@0.1.3
|
||||
instant@0.1.12
|
||||
interprocess@1.2.1
|
||||
io-lifetimes@1.0.3
|
||||
ipconfig@0.3.1
|
||||
ipnet@2.7.1
|
||||
is-terminal@0.4.2
|
||||
itertools@0.10.5
|
||||
itoa@1.0.5
|
||||
js-sys@0.3.60
|
||||
lalrpop-util@0.19.8
|
||||
lalrpop@0.19.8
|
||||
lazy_static@1.4.0
|
||||
lazycell@1.3.0
|
||||
libc@0.2.138
|
||||
libloading@0.7.4
|
||||
libm@0.2.6
|
||||
libsqlite3-sys@0.26.0
|
||||
link-cplusplus@1.0.7
|
||||
linked-hash-map@0.5.6
|
||||
linux-raw-sys@0.1.4
|
||||
lock_api@0.4.9
|
||||
log@0.4.17
|
||||
lru-cache@0.1.2
|
||||
match_cfg@0.1.0
|
||||
matches@0.1.10
|
||||
memchr@2.5.0
|
||||
memoffset@0.7.1
|
||||
memsec@0.6.2
|
||||
mime@0.3.16
|
||||
minimal-lexical@0.2.1
|
||||
miniz_oxide@0.6.2
|
||||
mio@0.8.5
|
||||
native-tls@0.2.11
|
||||
nettle-sys@2.2.0
|
||||
nettle@7.2.2
|
||||
new_debug_unreachable@1.0.4
|
||||
nibble_vec@0.1.0
|
||||
nix@0.18.0
|
||||
nom@7.1.3
|
||||
ntest@0.9.0
|
||||
ntest_test_cases@0.9.0
|
||||
ntest_timeout@0.9.0
|
||||
num-bigint-dig@0.8.2
|
||||
num-integer@0.1.45
|
||||
num-iter@0.1.43
|
||||
num-traits@0.2.15
|
||||
num_cpus@1.14.0
|
||||
object@0.30.0
|
||||
once_cell@1.17.0
|
||||
opaque-debug@0.3.0
|
||||
openpgp-cert-d@0.1.0
|
||||
openssl-macros@0.1.0
|
||||
openssl-probe@0.1.5
|
||||
openssl-sys@0.9.83
|
||||
openssl@0.10.48
|
||||
option-ext@0.2.0
|
||||
os_str_bytes@6.4.1
|
||||
parking_lot@0.12.1
|
||||
parking_lot_core@0.9.5
|
||||
peeking_take_while@0.1.2
|
||||
percent-encoding@2.2.0
|
||||
petgraph@0.6.2
|
||||
phf_shared@0.10.0
|
||||
pin-project-lite@0.2.9
|
||||
pin-utils@0.1.0
|
||||
pkg-config@0.3.26
|
||||
ppv-lite86@0.2.17
|
||||
precomputed-hash@0.1.1
|
||||
proc-macro-crate@1.3.1
|
||||
proc-macro-error-attr@1.0.4
|
||||
proc-macro-error@1.0.4
|
||||
proc-macro2@1.0.60
|
||||
quick-error@1.2.3
|
||||
quote@1.0.28
|
||||
radix_trie@0.2.1
|
||||
rand@0.7.3
|
||||
rand@0.8.5
|
||||
rand_chacha@0.2.2
|
||||
rand_chacha@0.3.1
|
||||
rand_core@0.5.1
|
||||
rand_core@0.6.4
|
||||
rand_distr@0.4.3
|
||||
rand_hc@0.2.0
|
||||
rayon-core@1.10.2
|
||||
rayon@1.6.1
|
||||
redox_syscall@0.2.16
|
||||
redox_users@0.4.3
|
||||
regex-syntax@0.6.28
|
||||
regex@1.7.0
|
||||
remove_dir_all@0.5.3
|
||||
reqwest@0.11.14
|
||||
resolv-conf@0.7.0
|
||||
roff@0.2.1
|
||||
rusqlite@0.29.0
|
||||
rustc-demangle@0.1.21
|
||||
rustc-hash@1.1.0
|
||||
rustc_version@0.4.0
|
||||
rustix@0.36.5
|
||||
rustversion@1.0.9
|
||||
ryu@1.0.12
|
||||
schannel@0.1.21
|
||||
scopeguard@1.1.0
|
||||
scratch@1.0.2
|
||||
security-framework-sys@2.8.0
|
||||
security-framework@2.8.1
|
||||
semver@1.0.17
|
||||
sequoia-cert-store@0.3.2
|
||||
sequoia-ipc@0.30.1
|
||||
sequoia-net@0.27.0
|
||||
sequoia-openpgp-mt@0.1.0
|
||||
sequoia-openpgp@1.16.0
|
||||
sequoia-policy-config@0.6.0
|
||||
sequoia-wot@0.8.1
|
||||
serde@1.0.164
|
||||
serde_derive@1.0.164
|
||||
serde_json@1.0.91
|
||||
serde_urlencoded@0.7.1
|
||||
serde_with@3.0.0
|
||||
serde_with_macros@3.0.0
|
||||
sha1collisiondetection@0.2.7
|
||||
sha2@0.9.9
|
||||
shlex@1.2.0
|
||||
signature@1.6.4
|
||||
siphasher@0.3.10
|
||||
slab@0.4.7
|
||||
smallvec@1.10.0
|
||||
socket2@0.4.7
|
||||
spin@0.5.2
|
||||
stfu8@0.2.6
|
||||
string_cache@0.8.4
|
||||
strsim@0.10.0
|
||||
subtle@2.4.1
|
||||
syn@1.0.105
|
||||
syn@2.0.18
|
||||
synstructure@0.12.6
|
||||
tempfile@3.3.0
|
||||
term@0.7.0
|
||||
termcolor@1.1.3
|
||||
terminal_size@0.2.3
|
||||
thiserror-impl@1.0.37
|
||||
thiserror@1.0.37
|
||||
time-core@0.1.0
|
||||
time-macros@0.2.6
|
||||
time@0.1.45
|
||||
time@0.3.17
|
||||
tiny-keccak@2.0.2
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.0
|
||||
to_method@1.1.0
|
||||
tokio-macros@1.8.2
|
||||
tokio-native-tls@0.3.0
|
||||
tokio-socks@0.5.1
|
||||
tokio-util@0.7.4
|
||||
tokio@1.23.0
|
||||
toml@0.5.11
|
||||
toml_datetime@0.6.1
|
||||
toml_edit@0.19.4
|
||||
tower-service@0.3.2
|
||||
tracing-attributes@0.1.23
|
||||
tracing-core@0.1.30
|
||||
tracing@0.1.37
|
||||
trust-dns-client@0.22.0
|
||||
trust-dns-proto@0.22.0
|
||||
trust-dns-resolver@0.22.0
|
||||
try-lock@0.2.4
|
||||
typenum@1.16.0
|
||||
unicode-bidi@0.3.8
|
||||
unicode-ident@1.0.5
|
||||
unicode-normalization@0.1.22
|
||||
unicode-width@0.1.10
|
||||
unicode-xid@0.2.4
|
||||
url@2.3.1
|
||||
vcpkg@0.2.15
|
||||
version_check@0.9.4
|
||||
want@0.3.0
|
||||
wasi@0.10.0+wasi-snapshot-preview1
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasi@0.9.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-backend@0.2.83
|
||||
wasm-bindgen-futures@0.4.33
|
||||
wasm-bindgen-macro-support@0.2.83
|
||||
wasm-bindgen-macro@0.2.83
|
||||
wasm-bindgen-shared@0.2.83
|
||||
wasm-bindgen@0.2.83
|
||||
web-sys@0.3.60
|
||||
widestring@0.5.1
|
||||
win-crypto-ng@0.4.0
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.5
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
windows-sys@0.42.0
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.48.0
|
||||
windows_aarch64_gnullvm@0.42.0
|
||||
windows_aarch64_gnullvm@0.48.0
|
||||
windows_aarch64_msvc@0.42.0
|
||||
windows_aarch64_msvc@0.48.0
|
||||
windows_i686_gnu@0.42.0
|
||||
windows_i686_gnu@0.48.0
|
||||
windows_i686_msvc@0.42.0
|
||||
windows_i686_msvc@0.48.0
|
||||
windows_x86_64_gnu@0.42.0
|
||||
windows_x86_64_gnu@0.48.0
|
||||
windows_x86_64_gnullvm@0.42.0
|
||||
windows_x86_64_gnullvm@0.48.0
|
||||
windows_x86_64_msvc@0.42.0
|
||||
windows_x86_64_msvc@0.48.0
|
||||
winnow@0.3.5
|
||||
winreg@0.10.1
|
||||
xxhash-rust@0.8.6
|
||||
zbase32@0.1.2
|
||||
zeroize@1.3.0
|
||||
zeroize_derive@1.3.3
|
||||
"
|
||||
|
||||
LLVM_MAX_SLOT=15
|
||||
inherit cargo llvm xdg-utils
|
||||
|
||||
DESCRIPTION="Sequoia's reimplementation of the GnuPG interface"
|
||||
HOMEPAGE="https://sequoia-pgp.org/"
|
||||
SRC_URI="
|
||||
https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/archive/v${PV}/${P}-v${PV}.tar.bz2
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
S="${WORKDIR}"/${PN}-v${PV}-0052b89698af9ef6e1915ce12db119f399f3cea9
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ LGPL-3+ MIT MPL-2.0
|
||||
Unicode-DFS-2016
|
||||
|| ( GPL-2 GPL-3 LGPL-3 )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
# See e.g. https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/issues/8
|
||||
# Even though that's fixed as of >0.2.0, tests still completely fail inside
|
||||
# Portage. Not yet sure why/how. They do better outside, although some fail
|
||||
# still then.
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/gmp:=
|
||||
dev-libs/nettle:=
|
||||
dev-libs/openssl:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
# Needed for bindgen
|
||||
BDEPEND="<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/gpg-sq usr/bin/gpgv-sq"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.2-bump-crates.patch
|
||||
)
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version -b "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export GNUPGHOME="${T}"/.gnupg
|
||||
export REAL_GPG_BIN="${BROOT}"/usr/bin/gpg
|
||||
export REAL_GPGV_BIN="${BROOT}"/usr/bin/gpgv
|
||||
|
||||
mkdir "${GNUPGHOME}" || die
|
||||
chmod 700 "${GNUPGHOME}" || die
|
||||
|
||||
xdg_environment_reset
|
||||
RUST_BACKTRACE=full cargo_src_test -vv
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,365 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools flag-o-matic multilib multilib-build prefix
|
||||
inherit python-any-r1 readme.gentoo-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=8.0.1
|
||||
WINE_PV=$(ver_rs 2 -)
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ValveSoftware/wine.git"
|
||||
EGIT_BRANCH="experimental_$(ver_cut 1-2)"
|
||||
else
|
||||
SRC_URI="https://github.com/ValveSoftware/wine/archive/refs/tags/proton-wine-${WINE_PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-wine-${WINE_PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Valve Software's fork of Wine"
|
||||
HOMEPAGE="https://github.com/ValveSoftware/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+abi_x86_32 +abi_x86_64 +alsa crossdev-mingw custom-cflags
|
||||
+fontconfig +gecko +gstreamer llvm-libunwind +mono nls osmesa
|
||||
perl pulseaudio +sdl selinux +ssl +strip udev udisks +unwind
|
||||
usb v4l +xcomposite xinerama"
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
dev-libs/libgcrypt:=[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype[${MULTILIB_USEDEP}]
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
dev-libs/gmp:=[${MULTILIB_USEDEP}]
|
||||
net-libs/gnutls:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )"
|
||||
# gcc: for -latomic with clang
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
sys-devel/gcc:*
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[opengl,${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900332)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0.4-musl.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-restore-menubuilder.patch
|
||||
"${FILESDIR}"/${PN}-8.0.1c-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
eerror "--> Note that mingw builds are default for ${PN} even without this USE."
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if tc-is-clang; then
|
||||
# -mabi=ms was ignored by <clang:16 then turned error in :17
|
||||
# and it still gets used in install phase despite --with-mingw,
|
||||
# drop as a quick fix for now which hopefully should be safe
|
||||
sed -i '/MSVCRTFLAGS=/s/-mabi=ms//' configure.ac || die
|
||||
|
||||
# needed by Valve's fsync patches if using clang (undef atomic_load_8)
|
||||
sed -i '/^UNIX_LIBS.*=/s/$/ -latomic/' dlls/ntdll/Makefile.in || die
|
||||
fi
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# similarly to staging, append to `wine --version` for identification
|
||||
sed -i "s/wine_build[^1]*1/& (Proton-${WINE_PV})/" configure.ac || die
|
||||
|
||||
# datadir is not where wine-mono is installed, so prefixy alternate paths
|
||||
hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
dlls/winevulkan/make_vulkan -x vk.xml || die # python, needed for proton's
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
|
||||
# upstream (Valve) doesn't really support misc configurations (e.g.
|
||||
# adds vulkan code not always guarded by --with-vulkan), so force
|
||||
# some major options that are typically needed by games either way
|
||||
# TODO?: --without-mingw could make sense *if* using clang, assuming
|
||||
# bug #912237 is resolved (consider when do USE=wow64 in proton-9)
|
||||
--with-freetype
|
||||
--with-mingw # needed by many, notably Blizzard titles
|
||||
--with-opengl
|
||||
--with-vulkan
|
||||
--with-x
|
||||
|
||||
# ...and disable most options unimportant for games and unused by
|
||||
# Proton rather than expose as volatile USEs with little support
|
||||
--without-capi
|
||||
--without-cups
|
||||
--without-gphoto
|
||||
--without-gssapi
|
||||
--without-krb5
|
||||
--without-netapi
|
||||
--without-opencl
|
||||
--without-pcap
|
||||
--without-sane
|
||||
ac_cv_lib_soname_odbc=
|
||||
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with alsa)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gstreamer)
|
||||
$(use_with nls gettext)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 <8.10's configure.ac does not pass -fno-strict when
|
||||
# it should (can be removed when proton is rebased on >=8.10)
|
||||
append-cflags -fno-strict-aliasing
|
||||
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx #912268
|
||||
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
|
||||
if use strip; then
|
||||
ebegin "Stripping Windows (PE) binaries"
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} +
|
||||
eend ${?} || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN} && WINE_HAD_ANY_SLOT=
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -v WINE_HAD_ANY_SLOT ]] || readme.gentoo_print_elog
|
||||
|
||||
if use abi_x86_32 && has_version 'x11-drivers/nvidia-drivers[-abi_x86_32]'
|
||||
then
|
||||
ewarn "x11-drivers/nvidia-drivers is installed but is built without"
|
||||
ewarn "USE=abi_x86_32 (ABI_X86=32), hardware acceleration with 32bit"
|
||||
ewarn "applications under ${PN} will likely not be usable."
|
||||
fi
|
||||
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,7 @@
|
||||
AUX htp-1.19-fix-perl-5.26.patch 245 BLAKE2B 62f2b7a3ea607f00c07ef286dadf276c816663be65a82d3a879b33c7a556f6b788df491f63d5cae3c1472c5e03e143796bfb069071731f7d58a9ee9b28e2fbe0 SHA512 95195c71eb3b2897798f49c6da1b797c54eb2da4f5cd3235879203ea1cdf00bc863014a9cd88f7994786c0abce6dff77ee0169e9b433df5e0a81cef243375d02
|
||||
AUX htp-1.19-no-prestrip.patch 238 BLAKE2B 02d28ba9bda2264de0edd0a0179c04bafc90b35a14fc7cbd54a97ee21005a77b4b1c9bca00d7e3641831f26949c159d60ee3c48e26c2b5f9dc544cc727e38074 SHA512 6a673c84b97255b22e7bcbf19c5bfaa48f886de99652ac88310b253682df0bd412468300087e82c226e5272279459b05d33f5088f29e8d1b56dc4b9412064fd9
|
||||
AUX htp-1.19-parallel-make.patch 758 BLAKE2B d3f106b9951386c2485b95773b455a925196c0a1b9e051306a7724d07672096046c2317af4c7559e104fc27799aa94d96a91f7f3913d5ab50c25470b1ffca9c7 SHA512 3946a7ac4dd37dbd768389c4761cf7a4187cdefb315a4581438be83ebf8355805f7d6f4d168d1940e9d73c4dc6c125e0e9c158ed577e61c4d257267894d6df3f
|
||||
DIST htp-1.19.tar.gz 208683 BLAKE2B 86837290a2f14b8a0337d9eb6a0fa4ad553c5c51074d5df903ee19aa7ba441898199f0649b39b93c35fa3707e4084a284e02d8802c014bf5c0277e3f18d02c98 SHA512 32d82bb42ef877bd815fe45fa81599a1428ad6d3269cbe53a4e686bcfe6d1c12ac2af280462768d488b1983ca67cc521da4ed78cc82d904575ffeff08c7eec1d
|
||||
EBUILD htp-1.19-r1.ebuild 845 BLAKE2B dbf5370dacd12249e84be567512a7451ee06ef3ffa6b8f88002608fc22602c9b77ccb57108c6cd1aaf07be4e435a02a5dd8fb5570fbccd3135ab09e18b37c8d4 SHA512 4eba9d70b0b98ff199029e6472cfb30a489da7f6c37858964c48364c54d10323a53d8411acb442ff56b912be6db88471ab8c3e0d3dcbb8542eb97689f897db5b
|
||||
EBUILD htp-1.19.ebuild 688 BLAKE2B 260c735a88959148e91d0987c1310459003284e82dd1de4d9565ef744a48ae6c640f5d8585b304fd07ecc057ba4a87312bea49bbb7127db85558538d4d2aa898 SHA512 b29c85c8f3c7a513d790182fb45f84e27fd7474b8207cab1d13f35d7c8d09175d31ec2742306c08ad15723ecbcc4469bb80ff2b367397e6baffc674a4bd5d8bd
|
||||
MISC metadata.xml 324 BLAKE2B f50c674c3b49fdf33568893e52cdc07346930fc63577ae3a06d88b4458da04fcce805f1ad65cacab300ad0ed1ce499d554fad0643494d018ba4ab479cc11e954 SHA512 840a52457ca080294d6dadcb72b32da6a22e5c51565e53894383f46d369edafaf949fe4fc147986c559609a75a6a56582d253e79e29a7daf4cebcffe74b01cb4
|
||||
|
@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/668250
|
||||
--- a/homepage/ref/pphtp.pl
|
||||
+++ b/homepage/ref/pphtp.pl
|
||||
@@ -6,7 +6,7 @@
|
||||
# -n include line numbers
|
||||
# -s include EBNF like syntax
|
||||
|
||||
-require "hlhtp.pl";
|
||||
+require "./hlhtp.pl";
|
||||
|
||||
|
||||
while ($ARGV[0] =~ /^-(.*)/) {
|
@ -0,0 +1,11 @@
|
||||
--- a/src/Makefile.sub
|
||||
+++ b/src/Makefile.sub
|
||||
@@ -46,7 +46,7 @@ install: install-bin
|
||||
|
||||
install-bin: $(HTP)
|
||||
mkdir -p $(bindir)
|
||||
- $(INSTALL) -s $(HTP) $(bindir)
|
||||
+ $(INSTALL) $(HTP) $(bindir)
|
||||
|
||||
#
|
||||
# explicit dependency: final executable
|
@ -0,0 +1,27 @@
|
||||
https://bugs.gentoo.org/827173
|
||||
https://sources.debian.org/patches/htp/1.19-8/0004-Parallel-ftbfs.patch/
|
||||
|
||||
Description: Fix occasional parallel FTBFS
|
||||
Various source files indirectly include $(d)/version.inc,
|
||||
don't regenerate it in the middle of the build.
|
||||
Author: Adrian Bunk <bunk@debian.org>
|
||||
|
||||
--- htp-1.19.orig/src/Makefile.sub
|
||||
+++ htp-1.19/src/Makefile.sub
|
||||
@@ -57,14 +57,12 @@ $(HTP) : $(OBJ$(d))
|
||||
#
|
||||
# implicit dependencies for source code
|
||||
#
|
||||
-$(OBJ$(d)) : %.$(OBJEXT) : %.c
|
||||
+$(OBJ$(d)) : %.$(OBJEXT) : %.c $(d)/version.inc
|
||||
ifdef WIN32DMC
|
||||
cd $(dir $<); $(CC) $(CCOPT) $(DEFINES) $(notdir $<)
|
||||
else
|
||||
$(CC) $(CCOPT) $(DEFINES) -o $*.$(OBJEXT) $<
|
||||
endif
|
||||
|
||||
-$(d)/htp.$(OBJEXT) $(d)/ver.$(OBJEXT): $(d)/version.inc
|
||||
-
|
||||
# restore parent dir
|
||||
d := $(p$(d))
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="An HTML preprocessor"
|
||||
HOMEPAGE="http://htp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Clarified-Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.19-no-prestrip.patch
|
||||
"${FILESDIR}"/${PN}-1.19-parallel-make.patch
|
||||
"${FILESDIR}"/${PN}-1.19-fix-perl-5.26.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
# TOOD: Tests are always run by the Makefile right now
|
||||
emake \
|
||||
CCOPT="-c ${CFLAGS} ${CPPFLAGS} -DHAVE_SNPRINTF -DHAVE_VASPRINTF -DHAVE_ASPRINTF" \
|
||||
CC="$(tc-getCC)" \
|
||||
LINK='$(CC) $(LDFLAGS)'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix='$(DESTDIR)/usr' \
|
||||
pkgdocdir='$(DESTDIR)/usr/share/doc/${PF}/html' \
|
||||
install
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST lesspipe-2.06.tar.gz 168100 BLAKE2B a7447efa85cd422343f9dbb06001e85fa7b33c92db752f8248e4b4a0d9ecce4ef0241240d6993c5a71157c44da2f4ffc3efd41ac5e0a31e89ed5b80ac99f71fe SHA512 b2411c5e6b287fb67e1ea9b6d10377fe19b58e8c0f54587f825d1ee4c1a85f9a8ed3244a7cf339bcba960094e95821d9a56929951d862eb697f1d12fe55ef20d
|
||||
DIST lesspipe-2.07.tar.gz 168973 BLAKE2B b9be5968d808dc57caa00551cdf663be75dff1c9662b585ddd2e1891f6f66fce0b71a468d9b9172af2833bd6ee255ad9b5fb917dac527eeb8b57427c568cd620 SHA512 6fa5debfa5b72fa5826294eca158a935a0b49dc431bd27eb7dc598315592d575ad302bb94fcdb86409dce1cb7055242ff10eb09cbf3708e472b8dbe8286d5511
|
||||
DIST lesspipe-2.08.tar.gz 169527 BLAKE2B c1b1e4b9d3b24f7a9547f25a276bdee7aebf35777401441bb9bbefef3f3ff319ca8ef330c76e969811cbb2047a539aa4d2dbea5059c5ed06a69bea43d54f94a9 SHA512 309f69240308eab082ed9bff1bda1785eb8394022e576ff49656816cf793e0f3bb26bb0f41eff4c1437ed7719cbd810a83d75d8a1a08a11a8cf378c1741397bd
|
||||
DIST lesspipe-2.10.tar.gz 170918 BLAKE2B 156fe53975252ac6c59a637ffe0ee9862be0699f325a0b328e5c0f2cb5e6f7d8324481f3d3211cbb15a585a5dabde45adf87ac4e0af91cd34540359331684264 SHA512 3fe122cf0adf8dd3e0782ae65132c58d76f7131a2e8c30d9a10eb426c6f63e50b4b5e02b6792524a37b27ca572bd3e2661a6c82118e9c4ed5ecbccaf2c5a42e2
|
||||
EBUILD lesspipe-2.06.ebuild 1271 BLAKE2B 058b3721627c8b4e0054f709207a89956d3121fdb337d66872bbfaee860811a75b807cac6a72c1058d9737be43df4f3f7a685036341028f5edd6112156aa1773 SHA512 ea3033cc6e826f33d57156d04fd70b625dd2c42d2eaedc6719661f25788a22cd4d3f468603a50cc1e85bcf82c56b1a7ba698fdd37d4c032a7017a2f1be7c7583
|
||||
EBUILD lesspipe-2.07.ebuild 1308 BLAKE2B e0e051c4fcc0a97d365d9a00c26e77a8953d0c832a83c56700f5aa502bae169840ab3abcab5bfc9de4d8e9700a11634337df2813350141024f2f5f5180970502 SHA512 a8f6b914053eaaa48faeadf9730f7fbbdba2be47c82cf935144857b2d75d069bdfc0e48e67c03b148264dbcc9a4c308d658d40c826aa746d77fce39ae880ef17
|
||||
EBUILD lesspipe-2.08.ebuild 1306 BLAKE2B de9328c85649a107f7b0290d6d6b3b6e03c31825988fbf278c48aebe2af988992fe43c8e999483162f3c61f8ea1dd8a4a37aa36087e7e3d6ed22c19124dd2bd1 SHA512 c2214069bb84cf5d30e129f629ca0ef4d0e0e6c8d1bf50e0d9a102b3a81ee47e51c62cbf60fe3c7479a04271af0b35c680ef1921a790c562d2907675302821b9
|
||||
EBUILD lesspipe-2.10.ebuild 1308 BLAKE2B d6ac7a3ba1ba1b4671813a476d02861d3dd9bbbbeb1253bc059ad1032bb0c268c7201dacd5d0d2035afa24900f74a39429a4cee29924fc07d14778d6cc9f4648 SHA512 0b84f99b8deebccfa8207064992de827dfc585168b4f20be28f66b1fab33ba577544b859c454be6165867af957c9b14fad4c12d7b098e6c075eb7aafb0c8142c
|
||||
MISC metadata.xml 304 BLAKE2B bb5be96b5fd22ce82d800f6bd5ed3ceb04b955182eaadc1f34b6f4b633c21efd6148013fc29b5567f7ada4da5de6efd7e0e420fa63a2976a5cf6bcf719c34f2e SHA512 2c217e67c6c487f7f7f98588a50086daf434bc25ad229b68d37bc12f7ecc4f904b5bc4a3b7b6db4a1daa0267c7e13fde8538de1c16d11e95be6b8071ee675105
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo bash-completion-r1
|
||||
|
||||
DESCRIPTION="Preprocessor for less"
|
||||
HOMEPAGE="https://github.com/wofr06/lesspipe"
|
||||
SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
# Please check again on bumps!
|
||||
# bug #734896
|
||||
RESTRICT="!test? ( test ) test"
|
||||
|
||||
RDEPEND="dev-lang/perl"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( app-editors/vim )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# Not an autoconf script.
|
||||
edo ./configure --prefix="${EPREFIX}"/usr
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Nothing to build (avoids the "all" target)
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
|
||||
rm "${ED}"/usr/share/bash-completion/less_completion || die
|
||||
newbashcomp less_completion less
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
|
||||
elog "The latter is the Gentoo-specific version. Make sure to update your"
|
||||
elog "LESSOPEN environment variable if you wish to use this copy."
|
||||
fi
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
AUX liblangtag-0.6.3-fix-for-gtk-doc-1.32.patch 996 BLAKE2B 56b386faba4b93ca2f8c97f8684a0f76a55e1179aa32011e7f943f95165f19a3878f44b995e1195139660102d2500619d32ba61a5854e8ea2b8494e2bbc312bc SHA512 721e99788d25183015a881cf060c78bbeaab4036abcb37a0390cad78f261ac5bdea79fa538738ac3d0e93a3f146b7022a72e9539e0011a8d34969b3afd166b1b
|
||||
DIST liblangtag-0.6.3.tar.bz2 755492 BLAKE2B fb7b3cf5a4e6c3fabdce110ab208fa9e3537d8144839f2fc9779ff9de928afa416838c5c3c5317438ae0421806eb6ffb2207f6ad3dc02bcbf9123668187d22d2 SHA512 3dcfc20704dfaff05aeecdeef74fa81639fb70f930ebc0895fe4707ecd1d5b6221fe889449772811924d0c38329977c9d5fc751c3accbc272834b29c461f1fcf
|
||||
DIST liblangtag-0.6.4.tar.bz2 764946 BLAKE2B 1d94f341359f880acb8a0a0526da625cb39d85b33665b861c0fbd94064228a3d5328f3a3b7d62bffd29c6ff8161fa499b6565010ba3065c90f87b5902969e81f SHA512 6c6dd3e6b0fc8d6f10cafd74112cbaf2a2342a88a908ad2f7ae759b3f5fb0cf6d788504c1de072e9ef019f2f5a284daeb2d2393036b6b402c5bc87f32b55f271
|
||||
EBUILD liblangtag-0.6.3.ebuild 1315 BLAKE2B 526234354069a2c2be9b5821bbf1c8292a843cded06509c7b98f51b57653c555768222e9948a6e904d93b31bbf29127e60049fd639c5abd8b75c47b8b490d3b3 SHA512 c1c33c0fa91c687c57ddf402ecf9ec69ad9a5b90f8942c0677eaef4becca6cfd654de0f0d0689d4c1e427efeb096763e402a932f36f4a86b91ec2f07ad71b5ec
|
||||
EBUILD liblangtag-0.6.4.ebuild 1212 BLAKE2B 58564877ed3282481b754e3c78a038240a8419ded43fa5712069af1e175e11f2af147ec6751608bd452ab74cdf7ea2374c8b1cd07d5f8c21f41874b66f8569ef SHA512 08bc3693a8545a584f902a7d003b2cabb5d1df466b5d48df9d157b36e9436bb5f7faa9cceda523743f3de4184c305e486ead5c5bb80c9df8f673f0ec9e175298
|
||||
MISC metadata.xml 350 BLAKE2B f19f3d513d8042e89c3df800d2002cd445b1eed875dd8ffe31318645f10a300f2010cf8f5a2f4daccd38d875f340e1e48bd2b35e67892596416e492053fef8ed SHA512 8abd30360e1b305313f36724f3e3d638122c3aeb37dfb27f46940b155855a7515a8fe1a0b2128de7b0649d477c9d74fd44a02f7e7535ff103700dac7448dfe85
|
||||
|
@ -1,28 +0,0 @@
|
||||
Fix build with gtk-doc-1.32
|
||||
|
||||
This bug was reported here:
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939956
|
||||
|
||||
The issue is that gtk-doc-1.32 no longer generates empty tree_index
|
||||
files. The recommendation is that liblangtag be modified to no longer
|
||||
reference what used to be an empty tree_index, but is now a missing
|
||||
file. The same bug report contained the patch implemented here, which
|
||||
removes the reference to a now-missing tree_index file.
|
||||
|
||||
The fix should already be provided in newer versions of liblangtag.
|
||||
|
||||
diff --git a/docs/liblangtag-docs.sgml b/docs/liblangtag-docs.sgml
|
||||
index 1234567..1234567 100644
|
||||
--- a/docs/liblangtag-docs.sgml
|
||||
+++ b/docs/liblangtag-docs.sgml
|
||||
@@ -58,10 +58,6 @@
|
||||
</section>
|
||||
|
||||
</chapter>
|
||||
- <chapter id="object-tree">
|
||||
- <title>Object Hierarchy</title>
|
||||
- <xi:include href="xml/tree_index.sgml"/>
|
||||
- </chapter>
|
||||
<index id="api-index-full">
|
||||
<title>API Index</title>
|
||||
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit xdg-utils
|
||||
|
||||
DESCRIPTION="An interface library to access tags for identifying languages"
|
||||
HOMEPAGE="https://bitbucket.org/tagoh/liblangtag/wiki/Home"
|
||||
SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86"
|
||||
IUSE="debug doc introspection static-libs test"
|
||||
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
sys-devel/libtool
|
||||
doc? ( dev-util/gtk-doc )
|
||||
introspection? ( dev-libs/gobject-introspection-common )
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/libxml2
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )
|
||||
"
|
||||
|
||||
# Upstream expect liblangtag to be installed when one runs tests...
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-for-gtk-doc-1.32.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
xdg_environment_reset
|
||||
if [[ -d docs/html ]]; then
|
||||
rm -r docs/html || die "Failed to remove existing gtk-doc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
$(use_enable doc gtk-doc)
|
||||
$(use_enable introspection)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST mythes-1.2.4.tar.gz 4910303 BLAKE2B aa091344aebd117618d90aa574ec5e68594782511e1aa85a2d46740ecc4ff2cdf1d9f9f6de9dfd454cc0056076bdb9a21ad14d2935e39e4fdbd7753930fda605 SHA512 a04da39812bcfb1391a2cba7de73e955eafe141679ec03ed6657d03bebf360b432480d0037dff9ed72a1dfda5a70d77d44ac2bb14cdb109fd8e2a38376feee21
|
||||
DIST mythes-1.2.5.tar.xz 2891852 BLAKE2B e292e49187a9b225fdcfccb467afed0b8ce90769bbefe331d7d7f026f2dd6686543b14f3666af5b1693198467206c53da0bbd030420d87c94315f9da769f45a6 SHA512 304fd05619e0ae02c9c29d92a6ada8f4a85f41f331b87b8820728c1919f3dd9c5cd951dbef9a27e649466f94dc5daa19350c9fd09c90d49b198b73b1f9eb770e
|
||||
EBUILD mythes-1.2.4-r1.ebuild 576 BLAKE2B 7a09e21daea240a26729d9bb44d060ed3ac1b6f04facbabfdf5b27153d948143db79fa363058757b9f711912d29eefdb011b532b4f6425af1d2a8b2971859076 SHA512 12521d07ce02e0604b14d3064a41a19e80f798b40dd9de999615db4bdb4ebfbdd89e3bedec0fec3588b3a5a497ec2fddcad56005f20198cbfce98352a641b414
|
||||
EBUILD mythes-1.2.5.ebuild 643 BLAKE2B 207ce155ee246947d07a76710d752f7c1a179a31facf59cf2e7b5f85ab599ee05a5e5846bf1df8390c7e10694349aa627be52694a3f46b0e796c122527f8ba5b SHA512 680f7c217289fc861d64ee4cfa35862d562651ff7e617ea466bc696624044c20c068552a19f0c8ab531776e5ed58723c612393c5f9c2ef09e8e107ec47be18a7
|
||||
MISC metadata.xml 334 BLAKE2B 3a21f7641aa43f9511100ee4a5e64ebd87a30146c27c5b60dc0dd12c3f3fc609a32b5c57f1efcd724731b5ac86a38ffff20f323bfbbcf4793c1586e8e5b9943a SHA512 ef0d056d5b5840698bda3ad0ebc3cc5aa74b51b726c838a3720db45bba8efdd78ef3c0d46d3f6b929390a3204de566d3beed15aa1c32566b75866b338ba50ccb
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A simple thesaurus for Libreoffice"
|
||||
HOMEPAGE="http://hunspell.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/hunspell/MyThes/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/hunspell"
|
||||
DEPEND="${DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
Binary file not shown.
@ -0,0 +1,459 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
# Patch version
|
||||
FIREFOX_PATCHSET="firefox-115esr-patches-06.tar.xz"
|
||||
SPIDERMONKEY_PATCHSET="spidermonkey-115-patches-01.tar.xz"
|
||||
|
||||
LLVM_MAX_SLOT=16
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="ncurses,ssl,xml(+)"
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
|
||||
MY_MAJOR=$(ver_cut 1)
|
||||
|
||||
MOZ_ESR=yes
|
||||
|
||||
MOZ_PV=${PV}
|
||||
MOZ_PV_SUFFIX=
|
||||
if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
|
||||
MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
|
||||
|
||||
# Convert the ebuild version to the upstream Mozilla version
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZ_ESR} ]] ; then
|
||||
# ESR releases have slightly different version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_PN="firefox"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
||||
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
||||
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||
fi
|
||||
|
||||
PATCH_URIS=(
|
||||
https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||
https://dev.gentoo.org/~juippis/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||
)
|
||||
|
||||
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||
HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html "
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
SLOT="$(ver_cut 1)"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE="clang cpu_flags_arm_neon debug +jit lto test"
|
||||
|
||||
#RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
(
|
||||
sys-devel/llvm:16
|
||||
clang? (
|
||||
sys-devel/lld:16
|
||||
sys-devel/clang:16
|
||||
virtual/rust:0/llvm-16
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:15
|
||||
clang? (
|
||||
sys-devel/lld:15
|
||||
sys-devel/clang:15
|
||||
virtual/rust:0/llvm-15
|
||||
)
|
||||
)
|
||||
)
|
||||
!clang? ( virtual/rust )
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND=">=dev-libs/icu-73.1:=
|
||||
dev-libs/nspr
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use clang ; then
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
|
||||
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! tc-ld-is-mold ; then
|
||||
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
python_has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
}
|
||||
|
||||
# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
|
||||
# placed here until toolchain-funcs.eclass gets an official support for mold linker.
|
||||
# Please see:
|
||||
# https://github.com/gentoo/gentoo/pull/28366 ||
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
tc-ld-is-mold() {
|
||||
local out
|
||||
|
||||
# Ensure ld output is in English.
|
||||
local -x LC_ALL=C
|
||||
|
||||
# First check the linker directly.
|
||||
out=$($(tc-getLD "$@") --version 2>&1)
|
||||
if [[ ${out} == *"mold"* ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Then see if they're selecting mold via compiler flags.
|
||||
# Note: We're assuming they're using LDFLAGS to hold the
|
||||
# options and not CFLAGS/CXXFLAGS.
|
||||
local base="${T}/test-tc-linker"
|
||||
cat <<-EOF > "${base}.c"
|
||||
int main() { return 0; }
|
||||
EOF
|
||||
out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
|
||||
rm -f "${base}"*
|
||||
if [[ ${out} == *"mold"* ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# No mold here!
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_setup
|
||||
|
||||
llvm_pkg_setup
|
||||
|
||||
if use clang && use lto && tc-ld-is-lld ; then
|
||||
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
|
||||
[[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
|
||||
[[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
|
||||
|
||||
local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
|
||||
[[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
|
||||
[[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
|
||||
|
||||
if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
|
||||
eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
|
||||
eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
|
||||
eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
|
||||
eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
|
||||
eerror " - Build ${CATEGORY}/${PN} without USE=lto"
|
||||
eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
|
||||
eerror " llvm/clang/lld/rust chain depending on your @world updates)"
|
||||
die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Build system is using /proc/self/oom_score_adj, bug #604394
|
||||
addpredict /proc/self/oom_score_adj
|
||||
|
||||
if ! mountpoint -q /dev/shm ; then
|
||||
# If /dev/shm is not available, configure is known to fail with
|
||||
# a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
|
||||
ewarn "/dev/shm is not mounted -- expect build failures!"
|
||||
fi
|
||||
|
||||
# Ensure we use C locale when building, bug #746215
|
||||
export LC_ALL=C
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd ../.. &>/dev/null || die
|
||||
|
||||
use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
|
||||
|
||||
if ! use ppc64; then
|
||||
rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
|
||||
fi
|
||||
|
||||
eapply "${WORKDIR}"/firefox-patches
|
||||
eapply "${WORKDIR}"/spidermonkey-patches
|
||||
|
||||
default
|
||||
|
||||
# Make cargo respect MAKEOPTS
|
||||
export CARGO_BUILD_JOBS="$(makeopts_jobs)"
|
||||
|
||||
# sed-in toolchain prefix
|
||||
sed -i \
|
||||
-e "s/objdump/${CHOST}-objdump/" \
|
||||
python/mozbuild/mozbuild/configure/check_debug_ranges.py \
|
||||
|| die "sed failed to set toolchain prefix"
|
||||
|
||||
# use prefix shell in wrapper linker scripts, bug #789660
|
||||
hprefixify "${S}"/../../build/cargo-{,host-}linker
|
||||
|
||||
einfo "Removing pre-built binaries ..."
|
||||
find third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
|
||||
|
||||
MOZJS_BUILDDIR="${WORKDIR}/build"
|
||||
mkdir "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Show flags set at the beginning
|
||||
einfo "Current CFLAGS: ${CFLAGS}"
|
||||
einfo "Current CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Current LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
|
||||
local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
|
||||
[[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
|
||||
[[ -z ${version_clang} ]] && die "Failed to read clang version!"
|
||||
|
||||
if tc-is-gcc; then
|
||||
have_switched_compiler=yes
|
||||
fi
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang-${version_clang}
|
||||
CXX=${CHOST}-clang++-${version_clang}
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
|
||||
elif ! use clang && ! tc-is-gcc ; then
|
||||
# Force gcc
|
||||
have_switched_compiler=yes
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if [[ -n "${have_switched_compiler}" ]] ; then
|
||||
# Because we switched active compiler we have to ensure
|
||||
# that no unsupported flags are set
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
# Ensure we use correct toolchain,
|
||||
# AS is used in a non-standard way by upstream, #bmo1654031
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
export AS="$(tc-getCC) -c"
|
||||
tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
# ../python/mach/mach/mixin/process.py fails to detect SHELL
|
||||
export SHELL="${EPREFIX}/bin/bash"
|
||||
|
||||
local -a myeconfargs=(
|
||||
--host="${CBUILD:-${CHOST}}"
|
||||
--target="${CHOST}"
|
||||
|
||||
--disable-ctype
|
||||
--disable-jemalloc
|
||||
--disable-smoosh
|
||||
--disable-strip
|
||||
|
||||
--enable-project=js
|
||||
--enable-readline
|
||||
--enable-release
|
||||
--enable-shared-js
|
||||
|
||||
--with-intl-api
|
||||
--with-system-icu
|
||||
--with-system-nspr
|
||||
--with-system-zlib
|
||||
--with-toolchain-prefix="${CHOST}-"
|
||||
|
||||
$(use_enable debug)
|
||||
$(use_enable jit)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
if use debug; then
|
||||
myeconfargs+=( --disable-optimize )
|
||||
myeconfargs+=( --enable-debug-symbols )
|
||||
myeconfargs+=( --enable-real-time-tracing )
|
||||
else
|
||||
myeconfargs+=( --enable-optimize )
|
||||
myeconfargs+=( --disable-debug-symbols )
|
||||
myeconfargs+=( --disable-real-time-tracing )
|
||||
fi
|
||||
|
||||
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
||||
myeconfargs+=( --enable-rust-simd )
|
||||
fi
|
||||
|
||||
# Modifications to better support ARM, bug 717344
|
||||
if use cpu_flags_arm_neon ; then
|
||||
myeconfargs+=( --with-fpu=neon )
|
||||
|
||||
if ! tc-is-clang ; then
|
||||
# thumb options aren't supported when using clang, bug 666966
|
||||
myeconfargs+=( --with-thumb=yes )
|
||||
myeconfargs+=( --with-thumb-interwork=no )
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tell build system that we want to use LTO
|
||||
if use lto ; then
|
||||
if use clang ; then
|
||||
if tc-ld-is-mold ; then
|
||||
myeconfargs+=( --enable-linker=mold )
|
||||
else
|
||||
myeconfargs+=( --enable-linker=lld )
|
||||
fi
|
||||
myeconfargs+=( --enable-lto=cross )
|
||||
|
||||
else
|
||||
myeconfargs+=( --enable-linker=bfd )
|
||||
myeconfargs+=( --enable-lto=full )
|
||||
fi
|
||||
fi
|
||||
|
||||
# LTO flag was handled via configure
|
||||
filter-lto
|
||||
|
||||
# Use system's Python environment
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
|
||||
export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
|
||||
|
||||
# Show flags we will use
|
||||
einfo "Build CFLAGS: ${CFLAGS}"
|
||||
einfo "Build CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Build LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
# Forcing system-icu allows us to skip patching bundled ICU for PPC
|
||||
# and other minor arches
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
${myeconfargs[@]} \
|
||||
XARGS="${EPREFIX}/usr/bin/xargs"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if "${MOZJS_BUILDDIR}/js/src/js" -e 'print("Hello world!")'; then
|
||||
einfo "Smoke-test successful, continuing with full test suite"
|
||||
else
|
||||
die "Smoke-test failed: did interpreter initialization fail?"
|
||||
fi
|
||||
|
||||
cp "${FILESDIR}"/spidermonkey-${SLOT}-known-test-failures.txt "${T}"/known_failures.list || die
|
||||
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js \
|
||||
|| die
|
||||
|
||||
if use jit ; then
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js basic \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
|
||||
# fix soname links
|
||||
pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die
|
||||
mv lib${MY_PN}-${MY_MAJOR}.so lib${MY_PN}-${MY_MAJOR}.so.0.0.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0.0.0 lib${MY_PN}-${MY_MAJOR}.so.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0 lib${MY_PN}-${MY_MAJOR}.so || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# remove unneeded files
|
||||
rm \
|
||||
"${ED}"/usr/bin/js${MY_MAJOR}-config \
|
||||
"${ED}"/usr/$(get_libdir)/libjs_static.ajs \
|
||||
|| die
|
||||
|
||||
# fix permissions
|
||||
chmod -x \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/*.pc \
|
||||
"${ED}"/usr/include/mozjs-${MY_MAJOR}/js-config.h \
|
||||
|| die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Blocking, shuffling and lossless compression library"
|
||||
HOMEPAGE="
|
||||
https://www.blosc.org/c-blosc2/c-blosc2.html
|
||||
https://github.com/Blosc/c-blosc2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test +zlib +zstd"
|
||||
REQUIRED_USE="test? ( zlib zstd )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/lz4-1.7.5:=
|
||||
zlib? ( sys-libs/zlib:= )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.9.3-no-unaligned.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# remove bundled libs (just in case)
|
||||
rm -rf internal-complibs || die
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC=OFF
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_FUZZERS=OFF
|
||||
-DDEACTIVATE_ZLIB=$(usex !zlib)
|
||||
-DDEACTIVATE_ZSTD=$(usex !zstd)
|
||||
-DPREFER_EXTERNAL_LZ4=ON
|
||||
-DPREFER_EXTERNAL_ZLIB=ON
|
||||
-DPREFER_EXTERNAL_ZSTD=ON
|
||||
|
||||
# force regular zlib, at least for the time being
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_ZLIB_NG=ON
|
||||
|
||||
# upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} defaults
|
||||
# from applying, https://github.com/Blosc/c-blosc2/issues/433
|
||||
-DCMAKE_C_FLAGS="${CFLAGS}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432
|
||||
MAKEOPTS=-j1 cmake_src_test
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: Keep version bumps in sync with sys-devel/gettext.
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P="gettext-${PV}"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc
|
||||
inherit multilib-minimal libtool usr-ldscript verify-sig
|
||||
|
||||
DESCRIPTION="the GNU international library (split out of gettext)"
|
||||
HOMEPAGE="https://www.gnu.org/software/gettext/"
|
||||
SRC_URI="
|
||||
mirror://gnu/gettext/${MY_P}.tar.xz
|
||||
verify-sig? ( mirror://gnu/gettext/${MY_P}.tar.xz.sig )
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}/gettext-runtime"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="static-libs +threads"
|
||||
|
||||
DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]"
|
||||
# Block C libraries known to provide libintl.
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!sys-libs/glibc
|
||||
!sys-libs/musl
|
||||
!<sys-devel/gettext-0.19.6-r1
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gettext )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cd "${WORKDIR}/${MY_P}" || die
|
||||
|
||||
# gettext-0.21.1-java-autoconf.patch changes
|
||||
# gettext-{runtime,tools}/configure.ac and the corresponding
|
||||
# configure scripts. Avoid regenerating other autotools output.
|
||||
#touch -c gettext-{runtime,tools}/{aclocal.m4,Makefile.in,config.h.in,configure} || die
|
||||
# Makefile.am adds a dependency on gettext-{runtime,tools}/configure.ac
|
||||
#touch -c configure || die
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
# The libtool files are stored higher up, so make sure we run in the
|
||||
# whole tree and not just the subdir we build.
|
||||
elibtoolize "${WORKDIR}"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--cache-file="${BUILD_DIR}"/config.cache
|
||||
|
||||
# Emacs support is now in a separate package.
|
||||
--without-emacs
|
||||
--without-lispdir
|
||||
# Normally this controls nls behavior in general, but the libintl
|
||||
# subdir is skipped unless this is explicitly set. ugh.
|
||||
--enable-nls
|
||||
# This magic flag enables libintl.
|
||||
--with-included-gettext
|
||||
# The gettext package provides this library.
|
||||
--disable-c++
|
||||
--disable-libasprintf
|
||||
# No Java until someone cares.
|
||||
--disable-java
|
||||
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable threads)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# We only need things in the intl/ subdir.
|
||||
emake -C intl
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# We only need things in the intl/ subdir.
|
||||
emake DESTDIR="${D}" install -C intl
|
||||
|
||||
gen_usr_ldscript -a intl
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/share/locale || die
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
}
|
Binary file not shown.
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest tests/{functional,unit} \
|
||||
-p xdist -n "$(makeopts_jobs)" --dist=worksteal
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_TESTED=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 multiprocessing toolchain-funcs
|
||||
|
||||
MY_P=${P/_rc/rc}
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="
|
||||
https://cython.org/
|
||||
https://github.com/cython/cython/
|
||||
https://pypi.org/project/Cython/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch"
|
||||
"${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch"
|
||||
"${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/jinja \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/sphinx-tabs
|
||||
|
||||
python_compile() {
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local -x PYTHONPATH=
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
|
||||
einfo "Skipping tests on ${EPYTHON} (xfail)"
|
||||
return
|
||||
fi
|
||||
|
||||
# Needed to avoid confusing cache tests
|
||||
unset CYTHON_FORCE_REGEN
|
||||
|
||||
tc-export CC
|
||||
# https://github.com/cython/cython/issues/1911
|
||||
local -x CFLAGS="${CFLAGS} -fno-strict-overflow"
|
||||
"${PYTHON}" runtests.py \
|
||||
-vv \
|
||||
-j "$(makeopts_jobs)" \
|
||||
--work-dir "${BUILD_DIR}"/tests \
|
||||
--no-examples \
|
||||
--no-code-style \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST django_otp-1.2.2.tar.gz 66391 BLAKE2B f66472ec2e3842ebc634edd8f689d1de51738381fd86c4af0859dee2f1bcf407b1c952c795203f9c742a95633ee14ce9253dcc1ffd7988c960e26b23a1ec5dfe SHA512 e8608f0a3b0aeaa82e509f034f69131eb1015124ecf84b734a5be58f62c309eee506b12fffe2aeb4b707e70c612413d1458bc64533102508c55255035432eb1f
|
||||
DIST django_otp-1.2.3.tar.gz 66417 BLAKE2B 30fa8efe11b061fc6332de18f4e86181c180123c7c46ae4f9102e59a587ec39f9922db7e8c7f1c3b7a19817a336969b4aa82e2dca64447736ec244ec0098f505 SHA512 fd881cc7b44350bcfa95d243dab08465b0251b5d45fde0766532b281fce676d0afbfb35b671c1a787579374049d43e44091af77bfbb7ac6da29713dcc3cfc98f
|
||||
DIST django_otp-1.2.4.tar.gz 66836 BLAKE2B 83b30002b84d967c601f4cc13ea68c6b53284dd84f7ce38bbbc7d56caae75f9c584a87958617c6c0b0064616fb6f7f8f1071191a63001a0584ef62993f93cd29 SHA512 46a7f3d3b010fef7b88f3096c2f3861010361a78d78a9414be43b9f10339d7e2a641d4ab8c29b489f21708edb9bc7aefb8cfbca1ce6b93b524fc5f3a8d70befb
|
||||
EBUILD django-otp-1.2.2.ebuild 955 BLAKE2B df0c1b4d78c0377b6062bb8a72ea0173d583dcdae11890ccbf776fb2ed38dd1795074d3b66b7a67601e508f7e8dd4ad90799402fc3ea4349ab7d4a20ba1bc6e3 SHA512 29a16deec317c7808f619ed7b4d9799dd008f806bf26d63f7232fcb6cad9347f58fe8b1217fac34795d3cd549b1964d688f86156742a381f4ec1cef039495d13
|
||||
EBUILD django-otp-1.2.3.ebuild 955 BLAKE2B df0c1b4d78c0377b6062bb8a72ea0173d583dcdae11890ccbf776fb2ed38dd1795074d3b66b7a67601e508f7e8dd4ad90799402fc3ea4349ab7d4a20ba1bc6e3 SHA512 29a16deec317c7808f619ed7b4d9799dd008f806bf26d63f7232fcb6cad9347f58fe8b1217fac34795d3cd549b1964d688f86156742a381f4ec1cef039495d13
|
||||
EBUILD django-otp-1.2.4.ebuild 955 BLAKE2B df0c1b4d78c0377b6062bb8a72ea0173d583dcdae11890ccbf776fb2ed38dd1795074d3b66b7a67601e508f7e8dd4ad90799402fc3ea4349ab7d4a20ba1bc6e3 SHA512 29a16deec317c7808f619ed7b4d9799dd008f806bf26d63f7232fcb6cad9347f58fe8b1217fac34795d3cd549b1964d688f86156742a381f4ec1cef039495d13
|
||||
MISC metadata.xml 387 BLAKE2B f1be13d8af9a4926d7c82442cb939f1030a8234d4f18917cf8b2b8b204d763974b5f08f8597334238733d6446fc1165ba19d454e13105dc16afacf1fa3a98ea0 SHA512 d85060b9982c55057128a0c7b7fd1537e3eb613f9d44e6c40438283d76f6d65c92db78815005ce44b4096d57c62584659d5997491f003ca1ed8c36f88db8623c
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
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-3.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/qrcode[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
' 3.9 3.10)
|
||||
${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}"
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="
|
||||
dev-python/mkdocs-material-extensions
|
||||
dev-python/mkdocs-minify-plugin
|
||||
dev-python/mkdocs-redirects
|
||||
"
|
||||
|
||||
inherit distutils-r1 docs
|
||||
|
||||
DESCRIPTION="A Material Design theme for MkDocs"
|
||||
HOMEPAGE="
|
||||
https://github.com/squidfunk/mkdocs-material/
|
||||
https://pypi.org/project/mkdocs-material/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="social"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/paginate-0.5.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/readtime-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/regex-2022.4.24[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.26[${PYTHON_USEDEP}]
|
||||
social? (
|
||||
>=dev-python/pillow-9.0[${PYTHON_USEDEP}]
|
||||
>=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# mkdocs-material-extensions depends on mkdocs-material creating a circular dep
|
||||
PDEPEND="
|
||||
>=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# simplify pyproject to remove extra deps for metadata
|
||||
"${FILESDIR}/${PN}-8.5.7-simplify-build.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
echo "__version__ = '${PV}'" > gentoo_version.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST mkdocs_pymdownx_material_extras-2.5.1.tar.gz 24771 BLAKE2B 2bee64966601503fd6c11d8256ca73210923cf59df41a319b45c2db2435b205a860cbbfc04e5ddffceb05d6371c95dda6ceab88c4c8d3fdaa583dacd64a832ca SHA512 f50a40c55e72fcbe2d51777c434cc1fb841645456efb3b60fd8f6412b9008467e191e0cb072692e3552c7f28e678b503642845b787c66f56b9f9e4b2504bb68d
|
||||
DIST mkdocs_pymdownx_material_extras-2.5.4.tar.gz 22567 BLAKE2B f1b666deae52802d81320b06c6f193ae7204dd631551a83717f5c01ceff7bb46779a9c5b0743d23913577b127510a1ac0d9de9a6ff3b7e567c8a7263b38b6077 SHA512 6c41ca67a1f41d6ff3bcee7f1c48fb51cf94ef275eacda2588dd976c94bef310d2679d83fd93363642f191a402b34a159d65024ba983c7bdf21c6c688c340a4f
|
||||
EBUILD mkdocs-pymdownx-material-extras-2.5.1.ebuild 547 BLAKE2B a1691c7bfcb20ac9ae1e85de0f0f0a9a8ef05025e809af8f7c03fda32380760fc0e4265f8453e71b69af34108deda1b68a3b8e76caab2af1ebf73a7bd75bd986 SHA512 c7b346059470e61f1f9c8ab801ed2f2bd18fcf188085dce71330c078252059d5dd1b2eafff11f7dbac475e1d084929fdd2a77242c05e10c883affee05b59f794
|
||||
EBUILD mkdocs-pymdownx-material-extras-2.5.4.ebuild 548 BLAKE2B ab8223c1ec5f0ea0ac569723bd23f43238de6fff4ddd64d719cfbabf86d372fa2f6a9b74c0920c60e2b8b1b379686d458c248111e53ff341edf1fa4c8bcc89a5 SHA512 b6c55a3cffe60293dd9f2782e25ec6e4ce69d2ba189b6579181a3f66d34007f896bf642c2854f4652d3d93f4fc59cc98c20208f979fe8f78b293684b44f285d4
|
||||
MISC metadata.xml 1167 BLAKE2B a4efd99b0128f99bb7a8da17fde37695cff1f9e50ddec9d3b71e5eae4a09b8ba6646259c724220ee5905faa420efcdaf4be1d0828c8cc4d9e7040ebf1398bd0e SHA512 37d5b8e942796e54f31d0a2d592157d7a50d8fe5bdedf6f0e57305d60b4d7fd99f649e2604bb53cba5cf457227c3c1debfd607b3f5b97fcaee7e8209fbc900ec
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Custom alterations based on Mkdocs-Material"
|
||||
HOMEPAGE="
|
||||
https://github.com/facelessuser/mkdocs_pymdownx_material_extras/
|
||||
https://pypi.org/project/mkdocs-pymdownx-material-extras/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/mkdocs-material-8.3.3[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,3 +1,3 @@
|
||||
DIST mypy-1.5.1.gh.tar.gz 2901212 BLAKE2B b136cf061162bc50a48f1556763d7a1258b5a29b63a77db9190f89c56d3e85375a2b0e826d75472a0dc37df4d3391f2d85bb5f1f29c2907055a978e3c8d75906 SHA512 2c81322c0e7d9621e6d189f4d9d25d77c5fd6decbb563c8d0015e0f94ff1ff8206e5b7a38884edd3eedb99e839c03283ebfa7d86577c9f8e0d707c0cc4eb8fed
|
||||
EBUILD mypy-1.5.1.ebuild 1676 BLAKE2B 3c67fde5252f68056f1b2700e4992e7c29430b264c3a2a15444fbe2f25822df2a4a133e5ec7496a040e7b1926707415febe782ec93a507fc2f79670b40d7425c SHA512 43208c8a1b83b54f8957488518066266bf676b47de3ff7d6e954d88f8f7ff03255ba3b1f96dbb3636b2bb20d1d411c8bb3b5b607c1f36e75f29f9d9d4bee1842
|
||||
EBUILD mypy-1.5.1.ebuild 1548 BLAKE2B a8aedcd6bbb5efe0cdebd4451ea3b0ef2eba9d66c89802d73fea4785c97fb75f748267431686325e22217321b5d8d3f3789b83a0b349b4b159ed0bd87e5c3f9c SHA512 a1d829e224dc3b12d0ae50fa8774c5414cbd5c13106a8d29004a525295ef11cbede074052b4fd71af2cbcb69c9bf330c7d8cba487b8ec00e9d1de8d3915557b4
|
||||
MISC metadata.xml 515 BLAKE2B 75827bbbeb70fd4b9295ab4689068d2d4b686b32d4059acde94fb0d08048e9e56ecaf3eec39dc5567b2753e2552353e273cdf2f4e27d077cc9b03320ee09c64b SHA512 c1c3c7a3651e61e0b63ab4462f0370cce9cbdce33e64c5e7a1fbefe8116d5d3d3b35bc4095d8a5ce28caf69b0644af3f13c9a27b683f2f981e52f8bfe4ac8615
|
||||
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/_beta/b}
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pylint/
|
||||
https://github.com/pylint-dev/pylint/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps
|
||||
# Adjust dep bounds!
|
||||
RDEPEND="
|
||||
<dev-python/astroid-3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/astroid-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dill-0.3.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
|
||||
<dev-python/isort-6[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/GitPython-3[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
'tests/test_functional.py::test_functional[dataclass_with_field]'
|
||||
|
||||
# incompatible versions of numpy/scikit-learn?
|
||||
'tests/test_functional.py::test_functional[no_name_in_module]'
|
||||
'tests/test_functional.py::test_functional[shadowed_import]'
|
||||
)
|
||||
local EPYTEST_IGNORE=(
|
||||
# No need to run the benchmarks
|
||||
tests/benchmark/test_baseline_benchmarks.py
|
||||
)
|
||||
|
||||
rm -rf pylint || die
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p timeout
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples ; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
AUX pyside6-6.3.1-fix-designer-plugin-install-location.patch 685 BLAKE2B 2f3b3873f4f1f46b737ae85467798b25fd1634a15a391cd7fa04a1c391a56cd57a68ec4f98b51460cd805fc75cc0ee50b9addc4a757520429f6b7e66101ed609 SHA512 76ca097b42b47d3b290966fe805b1b4f58e04ab05d8e5420dfa1014e3399452a0326d964d2304068c78a6a82bcea2883d5c9e6a51b383a7f96a7520cfebdfcad
|
||||
AUX pyside6-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236ebdbfb653c3877316cd0b95c30c2f7288b1c81c6a90a3e4228536da4aa63552991fefa952f450b0b852b3e2aed94a SHA512 2920075a26fc059bdebc8eb5fa7c15de74729b7f8d1eb59197f7426afa7a65f1f78a8ebb76e946b2dfaf5817dbf090744bafaed2f2156f2d1548c2932a7ce61a
|
||||
DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21 SHA512 ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403
|
||||
EBUILD pyside6-6.5.2-r2.ebuild 9153 BLAKE2B 88cd300638d7cd02bea5bcccd674871fcc4a5c77cea93b8c78a25ce1e5f98b5b34c3db2d05f86360aeedacea2c4e2372c619bc3d8ae83fdd013b74d345e8cc4b SHA512 ba6ca1aef3aa44f6bcd40f53e0b3f2788905d85bcb067b2cdc46eedfdfacd40aea34e02581c86d38a7176ee1d36b8b140fb158523a1f76fe6257f85cf896cf99
|
||||
EBUILD pyside6-6.5.2-r3.ebuild 9222 BLAKE2B d25102cfaa39004455472d64873f8ff55494ed97fd5f9d34bef2da67eadddfb2b78f827f7b6babfc819deee0b1ce570f1202a3299812b2fe1701f05c02c23a71 SHA512 14a6ff64be79c6519167fd803d7d9a3fc195a871d807d1c27a0d072c4295f94e5debb894164d02df827c18bd3f3b9f0aa55c4d304e732de46208c00bdc34bcda
|
||||
MISC metadata.xml 1830 BLAKE2B fe8b0657824ef49182b8a5ac334539e10ff88d56f1d0ff517ce9247f0ec1c8b82158688fefde8e01c99fadcb0268e6e0109fef49830ffdec821e803e2ad23517 SHA512 4b49ec54b699673da2c9173f849f70e2a42321608c2893fa9d161a2ff51a917864042b3c0421c3723b98bcbde0d53e78e8c832f25a689dc7e3499d05446a014b
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST pytest-xdist-3.3.1.tar.gz 77751 BLAKE2B 483774b3fefefb513cc3021c49fd816089869a885ba098588e503530ff3b2dfb77612aff80a7147ff33fd8c1fe69c4fda40133de94007e41c699ad763d112e92 SHA512 f439ff1acf65a8df025fec847602ebdc5355b2099501845f8cde3c5287299a9c3102fa6dd6fc82a30bc016893556a24b0b5409323f5db4015e77c711a7b5c59f
|
||||
EBUILD pytest-xdist-3.3.1-r1.ebuild 1061 BLAKE2B 3cc707cfa3d284e4b0dbea9cd28220c6b60bdacbd79ac7d54f6f46c44f392e2d6819d306bc6515f5f78e230cec51dc8947516431abbaf4660e53844216b1d907 SHA512 7948f46c67b08e478b40a0abf482b89339bc3dd3e2cd647c3a823856e7e3febf2808e1ea8649929edbbfff94ea372672c88e6e47c7a63092abc92190c2295f34
|
||||
EBUILD pytest-xdist-3.3.1.ebuild 1097 BLAKE2B d3edfdae4b57a6dcb23427285e21a266ca52f5b7e8a0b8f75a8b63e22c43ae62acfa7f802a7b31fdc31223742ddbd9dd1f1a5223e8573ab780156c34624cef72 SHA512 f125820c3bbd2f50359e3dbfc70e101c59048f7d4d4e9d41c25f1b8c5b9a29e8160985644f0ac72c83bbef30486761d58db970d5197e2a811d1d4070aad21626
|
||||
MISC metadata.xml 403 BLAKE2B 0aef0787ad01d8e5e5a0588b95740ca54527c1f425d17cc6655308ca478597ebdbfc35165e88864163929104aba9820848b63c17c3d77b238c4f0e17d9b98261 SHA512 c12b3e2a13b6497f748b373753410df996955ddcb9631b310104f2ae31a1427d983462c242692c1b6f9a9b9cd36b7f4aaef58e408543572c040e3dbeb38848fe
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Distributed testing and loop-on-failing modes"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pytest-xdist/
|
||||
https://github.com/pytest-dev/pytest-xdist/
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/execnet[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-6.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# disable autoloading plugins in nested pytest calls
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# since we disabled autoloading, force loading necessary plugins
|
||||
local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked
|
||||
|
||||
epytest
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST python-lsp-server-1.7.4.tar.gz 97864 BLAKE2B 9832298391d72bf2f035f388694a7879d66546ead5a36837220cb3af5d8181eba198c04dd82747cba75f0478d256b001476c24b02bc679fc07cb41c7aedb0e66 SHA512 7aa96de6e51548e2854b55690698fe6c7bda60103c11ad5982df611c65569cec1ab13691727c92ec47d9ac44c34f233f872211a41041ea0969223e10e87d7e08
|
||||
DIST python-lsp-server-1.8.0.tar.gz 105548 BLAKE2B aa7f714bbc7e88d68224f9a51c3c811168ade36afce02fcdf95d3ffef55f7efc964aea6fb3c26bc88c3439744928f70914c136987c89a8bd146a2f54df579ead SHA512 b8050037e313261b653f0df170762126886ceef780d7ca35651c79967270d78d9930e464ccecc71a40ceee10b0265fd262d200e1e38c50ce04490ab364bc8389
|
||||
DIST python-lsp-server-1.8.1.tar.gz 106979 BLAKE2B 3d71de40b4fff5a0e50d1e16fb1aab330c90ddc68d255f212c8ec9a1c2cc5afcbafaa9d288f938d22b824852f6ca231d48f031df3dcc7e9d97699767b3548788 SHA512 f26e836013df9ddee05f17e7629bf7abfab96aae6fc4eba9d565203b324f6e3ac3e02cbcc1bd1b9ad8a4e0628d58476797bd55564e0307a53946df7a934df11b
|
||||
EBUILD python-lsp-server-1.7.4.ebuild 2926 BLAKE2B 3f7e5f4f6225f660e373754725b7a26f49a8f7e31b5726fed0e80178c11f67a52ef7f57eb0b6247c6813f0aff56ba6369e4a6c9e38d37aea1a26e3d5bfb61622 SHA512 30973ec2c9f0f0788000159ff40ab2152f1dcb37b3af9f02911ac0d4336fcf0542f6b86ffe82d9f057d63ba130f67f3b34ddada07259dd833f4b4a78d4fc0bd8
|
||||
EBUILD python-lsp-server-1.8.0-r1.ebuild 3057 BLAKE2B 9ffa856cdae89cbd7edd322779bd36526351b4f4effe5fbe627d26e8ba031b7e76e59ac5186128d4c76ce364ec4bfeda551c48b7588ae92799dfb0dbd50a4e11 SHA512 add354d00079b5cd1dbca1e5119eec3679fae8df56bbbf1b9f40becf941e868cb2c2f29cd889fed8e0c5e343bb726fd583b994c644ae1ed670aa72eddfd91cbb
|
||||
EBUILD python-lsp-server-1.8.1.ebuild 3057 BLAKE2B ee4e0df9aecf8e8f4447c2092e6f742c1a7b34d6f33935f409658ee23e53256e675db444ad2ee1033c7c7d96836ded62088c58892c7d105777b97bc0a9858fd3 SHA512 b1a766df62b9ae219b55eb0e0f2578ca07daca9e0dec438686d7a2518a198e705de9a0202550efbd8ae63c7d6a6846927386bd46065ccb43cbe21c68163f22a6
|
||||
MISC metadata.xml 610 BLAKE2B e111007adc2612409df72955babe0c4725fd5726449435988cf13c1142049d78089d38e54783712e2c70c74437157ffb2049bd9d63322cec084204eb5038e724 SHA512 5e1e4b43a5bfacb6a2fcae57413ebf79c6aed917b00022140d855acd773d82e56b2d73ae8270d42675a34d9f37f9ad53c8f61930c3f447d8a9e45a521a20e9bb
|
||||
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Python Language Server for the Language Server Protocol"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-lsp/python-lsp-server/
|
||||
https://pypi.org/project/python-lsp-server/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="all-plugins"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docstring-to-markdown[${PYTHON_USEDEP}]
|
||||
>=dev-python/jedi-0.17.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-lsp-jsonrpc-1.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||
all-plugins? (
|
||||
>=dev-python/autopep8-2.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydocstyle-6.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pydocstyle-6.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yapf-0.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-5.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydocstyle-6.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pydocstyle-6.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]
|
||||
>=dev-python/rope-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yapf-0.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# remove pytest-cov dep
|
||||
sed -i -e '/addopts =/d' pyproject.toml || die
|
||||
# unpin all the deps
|
||||
sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken by presence of pathlib2
|
||||
'test/plugins/test_autoimport.py'
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8
|
||||
optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8
|
||||
optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe
|
||||
optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle
|
||||
optfeature "Python docstring style checker" dev-python/pydocstyle
|
||||
optfeature "Passive checker for Python programs" dev-python/pyflakes
|
||||
optfeature "Python code static checker" dev-python/pylint
|
||||
optfeature "Python refactoring library" dev-python/rope
|
||||
optfeature "A formatter for Python files" dev-python/yapf
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX shiboken6-6.3.1-no-strip.patch 1001 BLAKE2B c486f9423d4934c2305e8f3109f017dbebd568573469a2fced8da895fbc61ef07a80e0d1c846e7a57988801d6ec4be05b86b46a8039e6702d667129a899fc137 SHA512 1f3e5b082a978e3ab8d8f4d9a5a0a661b8c063e2ece0221440abe342fbd45d566a384d588dbf00a1e469687f82da3728cd53e35d02077ce6a748d3747de3cec2
|
||||
DIST pyside-setup-everywhere-src-6.5.2.tar.xz 13576204 BLAKE2B 3e1d62e6d877140137896552184c8fe56fd62056a1ea506ab474256ee0e2f16d3e10ddb84965602650bb466f3563555c3c344698b6877a45f9130d1e919aba21 SHA512 ca677645579fc6b82285dd6c294909ca5e91a8c8efbc53bd103aff64e3ef89eff67820bfc9100cf50f043015d41c49d4ff86b3008f02505941a09bd54621f403
|
||||
EBUILD shiboken6-6.5.2-r1.ebuild 6472 BLAKE2B 941e5fbbe728e590719d65618586650fe201a7b02ebda541b7fea81112507a49949af580211055d6b72be368ff927c3fc5de0cd861b9091a62be5e1199ac4942 SHA512 c96c683e68499bc1795589fdc816fbef0feeaa9ec05b12861edf4dfb010420ab101ee6c64f1ba63be6a1eda8b4d25e1ffcd56a46c76bc6b25db989518f2e5cbf
|
||||
EBUILD shiboken6-6.5.2-r2.ebuild 6656 BLAKE2B 39c4dfb74d1dd5bc30f0aa0505bbfced3a828d0a41a42e10f08e472d5496447a9e7d9abcd19fa6d61f14bd79c671511d473f1495cad6409b63ab25b07ada157a SHA512 7876f161a7ac5f8982dafc554e03b3e62e1c6a5feb439900b68e7f9254e33cc64cbd6ef00b31e9e1f8ceedb8ab7e9d8959c16bf3628e7eca9468f10d5f7f3bcb
|
||||
MISC metadata.xml 730 BLAKE2B 33e7e589d02ec0517e134aa50407ecb97c6800be3ab7b69174d65776f62c1f25c2b2209d51299d9e0110b5f5e9322ee2c0b43dc89e6b12c40ea322ca9bc8eb3f SHA512 cc4ecdd9bc86ce59c2027c6f87307d32bd76d5d2cd8c07edb6c60cc5317ea52a96136c7597a179d75f1632db2999300d8b8f0567679ba3fc562804774fcdcc98
|
||||
|
@ -1,11 +1,13 @@
|
||||
DIST sqlglot-18.10.1.tar.gz 8803525 BLAKE2B 4e500eb9239fc5a3169a8f00aa022ff579f750c5c4c13e0906a4a6749216051a8b1f69d83b1d5f1ab118abb20f79b83f7881c5cef74d8d8a1066be1fcc1e588f SHA512 09ae7bb28cedd6d9c267694dbc38dcea75a860fb54e60d412f78a36629abba70e1be42683b220eec918f9f59782ce014625e1e7b15d17bc57dcf3658d49b95b7
|
||||
DIST sqlglot-18.11.2.tar.gz 8833005 BLAKE2B eee98c392bd40cc552cdb09a6d4e60ff21d0f75c59d2961994409de7ac44d702c28aa01472e4406dbb6c8ac4d3496e71fc4ac2bea5e82c48d47cdd98111d5e79 SHA512 855686bd8bdaba68f564dbff0005c0362c83b146fd5d6da3a3d948657384201d2fe825a758f960650f540dcaef5c073197fdfb34fe788331d20bcaf44f03a10a
|
||||
DIST sqlglot-18.11.3.tar.gz 8835268 BLAKE2B 040cd5cc449ff57e6107cf23a4973df622754300e4a8010f43e85de0394dc79c4d5c12c80304f9ac3519515702d8c753e59449fd2f96d9cab9e10d926b9f9980 SHA512 948bea3055e05e843aa9b8c9ea83c8435256bd645e02ae3fc0a3de987852c6e96fadf0e5b914ddac10d12ece3b7dc982ef9467564666eac14b07baf53838339a
|
||||
DIST sqlglot-18.11.4.tar.gz 8842825 BLAKE2B ce41cc8b15af33b2af18d91b55d778503d4534959a82c6af00402e39e71585578c60a967e217f1e3dbb8ede0bc650c4afdeced6aacf77699a963441716a85f60 SHA512 a6b8674573421852966751b07da847e68e20310c0ca90d6f5a0d31a74927a68b9b6381a47924080915330aa0e08afe3515263ea552c5c338b5369d7a17b87ece
|
||||
DIST sqlglot-18.8.0.tar.gz 8764753 BLAKE2B f1a01a1dc939a53476d396c66e74b1ec0550f557ef2eac1bec5001229964e2838655d361612b20527fae0f8112ccc940295cd0d92e83d5ba1f272f4d9372374b SHA512 3e98ff8ad4e6061c41d90b33c7982b46b8e06680d14e989923077d61ac93d390df64df6ff182a1c87911979dd84ac493275bbc091bcdcc9a1dfce2a4091c7fa7
|
||||
DIST sqlglot-18.9.0.tar.gz 8790638 BLAKE2B c951ee964b888dadaa3fd974bad89a689e9be9e5d17f42e5387c8c97152604205df7871294cb249ce9a0f6ed6a66fb41aba0f6596851e96252444c06908b91f1 SHA512 1e24d7936e94ced97ccc290634392434c064732017fa012b270632336663faa2315658e3dfc9d3bbd94648220f412c91cb9d0d4b97b3f26a21fa2129f4fce84a
|
||||
EBUILD sqlglot-18.10.1.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9
|
||||
EBUILD sqlglot-18.11.2.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9
|
||||
EBUILD sqlglot-18.11.3.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9
|
||||
EBUILD sqlglot-18.11.4.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9
|
||||
EBUILD sqlglot-18.8.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9
|
||||
EBUILD sqlglot-18.9.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9
|
||||
MISC metadata.xml 635 BLAKE2B fb154da2feeea6d590b4f3edb8d8d90d316feee1b8faababc022db026254bd24674d8419b74074b089d4d8930bab642cdc5fa7694bfa9e033cb5ef4ad4988562 SHA512 dd5ed7212dc2eac6a4d84bb2e3639db1ffe163598d911073d7100a8ebfeceb85842ea2e6a597d1036d5b1388d18954b95a782af7b3a84479bf3b59ef9e9b6bf8
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi optfeature
|
||||
|
||||
DESCRIPTION="An easily customizable SQL parser and transpiler"
|
||||
HOMEPAGE="
|
||||
https://sqlglot.com/
|
||||
https://github.com/tobymao/sqlglot/
|
||||
https://pypi.org/project/sqlglot/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# Tests require pyspark or duckdb which aren't in the tree.
|
||||
# Pandas would be a requirement normally, but it gets ignored by proxy.
|
||||
"tests/dataframe/integration/test_dataframe.py"
|
||||
"tests/dataframe/integration/test_grouped_data.py"
|
||||
"tests/dataframe/integration/test_session.py"
|
||||
"tests/test_executor.py"
|
||||
"tests/test_optimizer.py"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "simplifying timedelta expressions" dev-python/python-dateutil
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST stripe-6.3.0.tar.gz 276422 BLAKE2B 2fa438593bdec94f5c8306ee180921c2920e8995036d3ec53794dcba89f4f97c257bfe13561d1fd993c49247d0423ca4d7f4e994c1b4b8386ebaddf47f9063de SHA512 900a85bd8a44404dcc8ed4e057db64087b7a6f05d8e01183c22fc5dd7da815298e23b386d2d41dee6ea3925e92653858cc945e163757870fe04c543def017424
|
||||
DIST stripe-6.5.0.tar.gz 290534 BLAKE2B 40672358ae9b962f14cb3dad669e7857bf52981b1801325f92193b2cd42e42a7ad14dcd25272ec36589c103c28b10c8eaae0fe6175eb10b00a6a0f278dee5312 SHA512 920bb7e0a0e1cbd4b5e085928f28c12ab793bfc1e1aa29aa58f4cbf11f1bfdfeadac84d2be1fc9e14e70ce9a2f9e4900112cf982b6bab220e1cc09569d7db2f4
|
||||
DIST stripe-6.6.0.tar.gz 291636 BLAKE2B 33a565de61e2a371d2ad0cf523385b113e3164a4c972ba77383ba7dbc77aea9d755cc74f3ed15e5abb6f6d2f4c51f4c5859107c74950ca2831e092b4cf3fcc9e SHA512 327df0a8758c96b06f9d0bfd1da5450f328a55becabbae6c04960d4ad2abbac4a71d6c06cfe34c05bf2e87a2d330a9dbb303098165befa797a88d07d18be24c1
|
||||
DIST stripe-6.7.0.tar.gz 293207 BLAKE2B 5c07b6f04aa72045cccb4422b1f163cf6351f100d2245a4f93952d641ed8e4735c964b850179906bc7af13730724f596cd2cfa85c3d8fb8792f6a4e561337b0a SHA512 778c3ffa177e52b62bf4821b2f0aaa5eef01d8690526c42015d192bb06332a2a5fd143c8dab82497803adcfed963b7ccf06dc77908b21a7a7c77f9ef39b39c12
|
||||
EBUILD stripe-6.3.0.ebuild 1911 BLAKE2B 21988e0e69306b15d497cedf794d8d37c28ee2c3d019b0ee4193d56a3996b23790642f39cf055a2aec6bb81fb3d88b1ac023bff4450ccbfb288f0e24fbef3486 SHA512 51cc23575b93f95df2afbbefe76e9728f8817b6fd3484db79a1d37809028385ebbcd81be317f23628f661399d3a517624b41198c477ce8c439dec7b5953a37d3
|
||||
EBUILD stripe-6.5.0.ebuild 1913 BLAKE2B 753b4000d61d14cf30351a941ab4e50fa7c5dffabf9de669e7f41626ff0dcbcb2fe79ab8c4ca9559bf2b6bcab23b34c022cb2b7580b85a02d02faf32fdaac6f9 SHA512 3a49f5049167286f94804f4747cc8c0199f475f9af50ce8a779962d23aa5a85ea93c013410299a04d1acd199b6a53daa5a59d500f7470e5c75e2b83e37a051c7
|
||||
EBUILD stripe-6.6.0.ebuild 1913 BLAKE2B 753b4000d61d14cf30351a941ab4e50fa7c5dffabf9de669e7f41626ff0dcbcb2fe79ab8c4ca9559bf2b6bcab23b34c022cb2b7580b85a02d02faf32fdaac6f9 SHA512 3a49f5049167286f94804f4747cc8c0199f475f9af50ce8a779962d23aa5a85ea93c013410299a04d1acd199b6a53daa5a59d500f7470e5c75e2b83e37a051c7
|
||||
EBUILD stripe-6.7.0.ebuild 1913 BLAKE2B 753b4000d61d14cf30351a941ab4e50fa7c5dffabf9de669e7f41626ff0dcbcb2fe79ab8c4ca9559bf2b6bcab23b34c022cb2b7580b85a02d02faf32fdaac6f9 SHA512 3a49f5049167286f94804f4747cc8c0199f475f9af50ce8a779962d23aa5a85ea93c013410299a04d1acd199b6a53daa5a59d500f7470e5c75e2b83e37a051c7
|
||||
MISC metadata.xml 372 BLAKE2B e6a38fdec6fc016068e7a0522ba15e83bf358ba1475e54a9630b1e86c75bc14b790c59716317bd81438a1c770e4d31afbe04400ddcd5dd272715c251fd6cb1a2 SHA512 2d9672b242f2d38654f7906097e597dfbdf75afa3583ea331f61772db95d19a802e83ed523c67a6cf3da18411036055c0996fd04d99199618d5205be8a61bd77
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Stripe python bindings"
|
||||
HOMEPAGE="
|
||||
https://github.com/stripe/stripe-python/
|
||||
https://pypi.org/project/stripe/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.20[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
# please bump dev-util/stripe-mock dep to the latest version on every bump
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-util/stripe-mock-0.175.0
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
net-misc/curl
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
|
||||
|
||||
python_test() {
|
||||
epytest tests
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local stripe_mock_port=12111
|
||||
local stripe_mock_max_port=12121
|
||||
local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
|
||||
# Try to start stripe-mock until we find a free port
|
||||
while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do
|
||||
ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
|
||||
stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" &
|
||||
local stripe_mock_pid=${!}
|
||||
sleep 2
|
||||
# Did stripe-mock start?
|
||||
curl --fail -u "sk_test_123:" \
|
||||
"http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null
|
||||
eend ${?} "Port ${stripe_mock_port} unavailable"
|
||||
if [[ ${?} -eq 0 ]]; then
|
||||
einfo "stripe-mock running on port ${stripe_mock_port}"
|
||||
break
|
||||
fi
|
||||
(( stripe_mock_port++ ))
|
||||
done
|
||||
if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then
|
||||
eerror "Unable to start stripe-mock for tests"
|
||||
die "Please see the logfile located at: ${stripe_mock_logfile}"
|
||||
fi
|
||||
|
||||
local -x STRIPE_MOCK_PORT=${stripe_mock_port}
|
||||
distutils-r1_src_test
|
||||
|
||||
# Tear down stripe-mock
|
||||
kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
|
||||
HOMEPAGE="
|
||||
https://github.com/python-zeroconf/python-zeroconf/
|
||||
https://pypi.org/project/zeroconf/
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
# the build system uses custom build script that uses distutils to build
|
||||
# C extensions, sigh
|
||||
BDEPEND="
|
||||
>=dev-python/cython-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export REQUIRE_CYTHON=1
|
||||
|
||||
python_test() {
|
||||
local -x SKIP_IPV6=1
|
||||
local EPYTEST_DESELECT=(
|
||||
# network
|
||||
tests/test_core.py::Framework::test_close_multiple_times
|
||||
tests/test_core.py::Framework::test_launch_and_close
|
||||
tests/test_core.py::Framework::test_launch_and_close_context_manager
|
||||
|
||||
# fragile to timeouts (?)
|
||||
tests/services/test_browser.py::test_service_browser_expire_callbacks
|
||||
tests/utils/test_asyncio.py::test_run_coro_with_timeout
|
||||
)
|
||||
|
||||
epytest -o addopts=
|
||||
}
|
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
Patch status: limbo, partially needs upstreaming
|
||||
|
||||
Only manifests as an issue with gcc-13+musl which does not transitively
|
||||
include cstdint / stdint.h for the int32/64_t usage.
|
||||
|
||||
Partially fixed by [1] (>=chromium-110.0.5434.0) given it removes the
|
||||
int64_t usage altogether in seed_response.h.
|
||||
|
||||
See also [2] which fixed this for the 87 branch in Qt5.
|
||||
|
||||
[1] https://crrev.com/01e21a077a0354d85e8359195613c2781f67a3a2
|
||||
[2] https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/489133
|
||||
--- a/src/3rdparty/chromium/components/variations/seed_response.h
|
||||
+++ b/src/3rdparty/chromium/components/variations/seed_response.h
|
||||
@@ -7,2 +7,3 @@
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
--- a/src/3rdparty/chromium/gpu/config/gpu_driver_bug_workarounds.h
|
||||
+++ b/src/3rdparty/chromium/gpu/config/gpu_driver_bug_workarounds.h
|
||||
@@ -7,2 +7,3 @@
|
||||
|
||||
+#include <cstdint>
|
||||
#include <vector>
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/rtc_base/system/file_wrapper.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/rtc_base/system/file_wrapper.h
|
||||
@@ -16,2 +16,3 @@
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
@ -0,0 +1,20 @@
|
||||
Patch status: limbo, needs upstreaming
|
||||
|
||||
Only manifests as an issue with gcc-13+musl which does not transitively
|
||||
include cstdint / stdint.h for the int32/64_t usage.
|
||||
|
||||
See also [1] which fixed this for the 87 branch in Qt5.
|
||||
|
||||
[1] https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/489133
|
||||
--- a/src/3rdparty/chromium/gpu/config/gpu_driver_bug_workarounds.h
|
||||
+++ b/src/3rdparty/chromium/gpu/config/gpu_driver_bug_workarounds.h
|
||||
@@ -7,2 +7,3 @@
|
||||
|
||||
+#include <cstdint>
|
||||
#include <vector>
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/rtc_base/system/file_wrapper.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/rtc_base/system/file_wrapper.h
|
||||
@@ -16,2 +16,3 @@
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
DIST rack-session-1.0.1.tar.gz 3120 BLAKE2B a36fefd25da9bbab26a58419782baf7606171fcdf9d033b3abb52ee225f5bd3f8b52d18c11947cceae8f00f278c832412b3babb8c2d7088f2a6554dcb0293689 SHA512 fa8362689cd49d55e24c82699eca9a45dd408b5e8978f6aee11f3f107e8d0a1f36ad319f4dd92e4fe5fd83e985382a43c41a353e9366d03b41f28e826d65483f
|
||||
DIST rack-session-2.0.0.tar.gz 23964 BLAKE2B 457210c3588c31d2d0d9251e6b12fe1f606545c4593c9be50a42110f99f7d15840553cac7e35653f2ef86d88f881a0a91537948bfca5b34e3d507cef8134c52b SHA512 8975a85845fa4dbdf22c10793fb2bb1a69aed3242c70c45b1d436448243e65ad77ecbfb17c8f2ef6f780b81ef480f8a46c5623e36dacc95401cd59a1510748f8
|
||||
EBUILD rack-session-1.0.1.ebuild 731 BLAKE2B 19af2c5e14cb0c2f0693f668a8ee4c4f54207d80650731be89b99dcd4a4141f1c8d40aa2379ac2d91b7e1f263fab67249a8db1805b2854f810e35a56dc9a9b52 SHA512 97673cc1cdadcf82815e58be80493da4f78a87c700825874559b662b83e6a2dca6551c95dc3109ad777ccfc79c8ac1bb56c16b5c77284acac03defc8bffb6e1f
|
||||
EBUILD rack-session-2.0.0.ebuild 704 BLAKE2B 43da5da5d5b3e6a3f7ab2fd1e600c264a60bfc9e3ac04559b7ed3dcf515a792c79e100d2c382c0e63954c4244c092a6fbca312aebb8f29fad939f1f4a75bec39 SHA512 3b665e7666689ba089094ab1cdd8daa802c5b7dcfb1d3c239f1975601186b116f30bf760248aa0a91c04d9b872dcd6962d413eb089b20b502342242c77f3cb4b
|
||||
MISC metadata.xml 400 BLAKE2B 2e8c3864b3633dcdb9480532aeb823d2ce7a123755547efd45252e3ad3b6e7cdd0cc7ec41ee2fc1c3eeb58c7ce2166063927483c81ebdd1f72241589275cf277 SHA512 facac1460390bf52010f071c70009bb573f2827aab2681103ba0dc140222679590438b34bad710343b7e91fdb7e9857afc2c23769c11ab7a0c1adaa2beae3638
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rack/rack-session</remote-id>
|
||||
<remote-id type="rubygems">rack-session</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="rack-session.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A session implementation for Rack"
|
||||
HOMEPAGE="https://github.com/rack/rack-session"
|
||||
SRC_URI="https://github.com/rack/rack-session/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "<dev-ruby/rack-3"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest:5
|
||||
dev-ruby/minitest-global_expectations
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e 's:_relative ": "./:' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="rack-session.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A session implementation for Rack"
|
||||
HOMEPAGE="https://github.com/rack/rack-session"
|
||||
SRC_URI="https://github.com/rack/rack-session/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rack-3.0.0"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest:5
|
||||
dev-ruby/minitest-global_expectations
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e 's:_relative ": "./:' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
@ -1,11 +1,14 @@
|
||||
AUX selenium-webdriver-4.11.0-selenium-manager.patch 918 BLAKE2B 7c46703f9971d31fa995954b0613af1010a4f98e257ba77392e4a6bf8c3eefad79a0e48b8c28cd7962ef49be906d6179b47e830bbc1f210f4da832593c7399e7 SHA512 a3c68d05aacb818e5a0252400979a67295b49cb90a326b99381fe19268227126bbfa30b8523044920c890876e7b05d5a6c398987dd21db0678b32e3209dd8fdf
|
||||
AUX selenium-webdriver-4.13.1-selenium-manager.patch 695 BLAKE2B b1fef6a118273c8ee032ab4ca0c4229fb857ef30df4ec9d8b8a61b5543e322e37e0a0feaba655a677bfae2355477a13ea804659f9d1b3269980d45394cce824d SHA512 b572fc0e612594d48fcfacc6cc33ebe78484ac4a3aaecfd823d4d80e04767ace728f46e034a61b9e51051fed80e7036be7d27571341271427c242c1cd5ec6933
|
||||
DIST selenium-webdriver-4.1.0.gem 153088 BLAKE2B f437b5e6c19b9a2b7d0393646b11bcaa0808fb9981c847ca0d86bd55ef04fc109d439eb0f41fce543ea121fde096fe3e72c56d1db861b6554f673a3de07bdff8 SHA512 9760c6a96dbef25f558216986a9cedcb00fe19313273ea5c3a4866d5afae327fbe3895e3e2ee405714f8a9410c290b0e51352b68465cb0df9ff31b6d2749b174
|
||||
DIST selenium-webdriver-4.10.0.gem 5803008 BLAKE2B 898e795bbad23aca1343fa49c059963a9c3b0d3ab27b3e9521381cb70259ef76fa81bf9063ad82f7348266f20fed05352be2450be4e4356515b4a05e015c21a7 SHA512 9217022b0af08d5d4b24d412bea4423afd327314e260de0449d723a9232c4f0895a36626da009ce51c304bedc933195b434a9dc620da8daffc736b5fc9842f33
|
||||
DIST selenium-webdriver-4.11.0.gem 6300672 BLAKE2B bedbc18c14ab67c1bde05a35b5b66f1fb6da576d616a40d5293358efc51dfaa00f816d70e92578b1bee82de0a17ee39950eb69542ef2e661bd6a015f5f01032a SHA512 6f24440c44eb9a1276e1d016788b14bdf41fd466ed688ca7dbdc19b0e7163ff2354a508733f0903ede70fc6b49fbd05bd2ec9c5d0e0b70567823c4d07e3d1a9d
|
||||
DIST selenium-webdriver-4.12.0.gem 8457728 BLAKE2B 34e76ce5b17f533bef9c1628f4b2af5982ed8517dcb0e2a642cafdc688c23ece9bcb87272c8561128cd5871af3cb60f3f708169defc85cecc346f2f5f5d56f92 SHA512 0b0407871d679246b50e51a5dd8cff9b0380a19565a5d5d1cd12699099d30c5a460eb9ceda7572cfbbf881aea752af8aa6d0ee9ce488a0276d01637ba5885ace
|
||||
DIST selenium-webdriver-4.13.1.gem 12038656 BLAKE2B 7a50f5515e65312a75b9a2c2d845c7e3f7f27b31eafd5d48419b5b346c59bedd94b3a6e53670a774a27ba0883dff0cdb9b49dd5e947dcfa5095d95d63a458156 SHA512 7d27c86980c3cfde85b4cf9d6db6459c320f85cbd18866c6b0fe53101fc39d467fab7220aa5241ce832496c74dc930f7e2d5a58674e549226b002c78ea4557db
|
||||
EBUILD selenium-webdriver-4.1.0.ebuild 1041 BLAKE2B aa8c88be0487eb7037dec0721f7dff0d0b4aa3347926f41bfa495a6032c182831844bbf72492eebc36132ee61f715aa6f64202315cb07e0e5e4ffaca9d5c93ce SHA512 6873935200590d78a06fc4a0fcfbbf2fa65bfb6e5fe44c611c51bdbd0085e3487faa914aa4b4cc46b00d144f6ce65d40efae63f6e6dfeeb1a67794ad0a5a1f4d
|
||||
EBUILD selenium-webdriver-4.10.0.ebuild 1021 BLAKE2B 56d0c49e3beef8b1e86ae67dd1b19a554f5951eb211690e866f83c2553127bed798b0e3cb7241021dfc534f0cb185e6d8f903811bfb644edcc8fd067a6d27be6 SHA512 6cbe789d3cb9812092892ad9c213351951683f9eee5cb92df75cbd396c03d8406ff54078c6131181fa52320940fb987fbfe5e71f1ada6ae38591e28a684013bc
|
||||
EBUILD selenium-webdriver-4.11.0-r1.ebuild 1179 BLAKE2B de24e0bb4ce855c13e0f2a1cc5837b91e8f18c6e02c3c1b90de71f8cdd8fc459b7daf75601657e5b606fa04f64467aa36bccbbcb9c105b94ffe8f2d1e766c0cf SHA512 371f7d44124e2ea3a75c02522ec066fa5c5e1f30530f85bf7275fc9309b93157a2782bcf7d965a6fc43270380f4ef22d9d8f578764e2558a2dbd2c2894f93cde
|
||||
EBUILD selenium-webdriver-4.11.0.ebuild 1022 BLAKE2B 942c094552c7635b1b071d11d56abd3b09a3d602dc54950bb163da5a05c2f57f62f27edced912ed929010e1da4c15d27ab6edee8477731a3bda382d9fdbf677c SHA512 e3ed111c9c85729f1a73691a89c4e9f1aa1fd92e93124c0067571e13911f2edf13787183ee1c0e5494d7673255a0363258a54a94ced58889fdf7b1774ad23e01
|
||||
EBUILD selenium-webdriver-4.12.0.ebuild 798 BLAKE2B 1e71d26aaab1d5d81fe7c70f494a5fa33f33245ad267ca4f0a9debb9046065f2c6ec50b385c1fb1cfdc5aef8829a946f086afc359cbc047ce96040696d63fe6d SHA512 8edaba24d50decbf11effdb96a591d50b7f7256637bd21351945d22dd4c872ea9d9f98d1708c3f75e765a2da9aa5d64e63c9cd5358ea3b1ced81acbdbb532179
|
||||
EBUILD selenium-webdriver-4.12.0.ebuild 803 BLAKE2B b644619a553709c5627896c432acf39b69e451e92e1fc7e7f736a7d8d98753e430572c9c3d86b8cd9d129227e984a7333888cc70632173bd216f4d223d518d33 SHA512 e1124a0f58ea3d0ac1ef61412b791e97c3350851906222086727402c0d7569818b65360e12c5944c520a65a9f874bf2476340d76e99aac79ace5e9909b3fa62b
|
||||
EBUILD selenium-webdriver-4.13.1.ebuild 812 BLAKE2B 027ecf6125a0e1e1454ca90bce6da5aaa17bc74d6d0f624507d58c2b51a929e75a6e8a88ae43b289a6d62155da60cd99537ab550fed6e174df0600ffe3def896 SHA512 a6ea8323a04cea9821f5fa3628d18fdd4c6cfd625eb0eeb4b4cd252f5ecd61781ba6870c4c882db6f751a6b5fd4fc08e6a886e58c58f7c2a89d3eae4d7e06c78
|
||||
MISC metadata.xml 336 BLAKE2B 2133927d6a27b7422141ed649e46efc069300160b5fecb9fb5bdbf575461fde2b12411696be46cc673d6996c8711f50a46e92e1cdda5ff1f7c57ae298ff76406 SHA512 d1f80b8bf35f2fd08e4689292ce535ece939a64b94123780206d4ee3ab7a20b6d9c3a2d9f5248eaa2d0d35bb32bc5707e14c09b60881d856a180435b8f656bea
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- a/lib/selenium/webdriver/common/selenium_manager.rb 2023-10-06 08:41:15.713237699 +0200
|
||||
+++ b/lib/selenium/webdriver/common/selenium_manager.rb 2023-10-06 08:42:45.809927730 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
attr_writer :bin_path
|
||||
|
||||
def bin_path
|
||||
- @bin_path ||= '../../../../../bin'
|
||||
+ @bin_path ||= '/usr/bin'
|
||||
end
|
||||
|
||||
# @param [Options] options browser options.
|
||||
@@ -82,7 +82,7 @@
|
||||
elsif Platform.mac?
|
||||
"#{directory}/macos/selenium-manager"
|
||||
elsif Platform.linux?
|
||||
- "#{directory}/linux/selenium-manager"
|
||||
+ "#{directory}/selenium-manager"
|
||||
end
|
||||
end)
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="selenium-webdriver.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="This gem provides Ruby bindings for WebDriver"
|
||||
HOMEPAGE="https://github.com/seleniumhq/selenium"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+=" >=dev-util/selenium-manager-$(ver_cut 1-2)"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/rexml-3.2.5:3
|
||||
>=dev-ruby/rubyzip-1.2.2:*
|
||||
dev-ruby/websocket:0
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-4.13.1-selenium-manager.patch" )
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove the pre-compiled selenium-manager executables
|
||||
rm -fr bin || die
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue