parent
adcb381f2e
commit
997268387f
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST aws-cli-1.32.29.gh.tar.gz 2643387 BLAKE2B 0d07a5478c5a51baf743c97aa613611aee9e84d569af1ae62e0adde56229f2973d17490a9ae287a713c2b8e54149674d416c12b5387f87504d3d1c5133a26789 SHA512 221315ab814691dc7cdcdee3fbe702275ad85dde50313249ccd57904d5bdd3266295eed885c7e80228970e04af240dbdfa7f3303c8a84d39633575cd0a579f81
|
||||
DIST aws-cli-1.32.34.gh.tar.gz 2647696 BLAKE2B e255f5fe68cd9571ea3389f7f9787b95eabd6eab9f9bf196b9e733afecd357e8e68838ae82641c2f41e79595906dda701eaa9f5a109c4a3f86564ec2fb78137b SHA512 9edbde2c2c7aa67d291e3de2046e840b5f90e282e01f8b72412a10ac222e4e916ae384144ddb139b4985d298916507584d60e16cc93df7c927e653423490eb66
|
||||
DIST aws-cli-1.32.39.gh.tar.gz 2649055 BLAKE2B c3fa303dcb3762aced6322643822a09bcbeeb9dd5dac5b9bd1a7a772b413cf021b11831329057d9709c175a9251b11ee62884496ae84d25513aa27ae42d52b21 SHA512 667b61b122d69ceb284c933594508b9b95dfa0924cd771e881d139ddfde74f6fd41b20a8b9aae24cc22c0e9a5b0ec98c9d31a6d7ef125f08cee0b2fcbe41001e
|
||||
DIST aws-cli-1.32.40.gh.tar.gz 2649257 BLAKE2B 59aa48af49e5fc11cc9cfbf07c3a47a8d56efaa7bb312e2a700fde087f514fe61e494c4ddb8993fbdf3d5cf816b6b5921324d414f08c5c4f620c6965015ef5a9 SHA512 eb9866e780a6bd8fc3c9bfc69259531d370d9222dd504362ecba04251d988aedf6c21590325ef8f9356cb6b2091f7c8d75da87c9465e200811fff45984499430
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
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.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1 +1 @@
|
||||
DIST exo-1.75.0.gh.tar.gz 10892978 BLAKE2B 25645735322f64da5aeeb2832ef40b68b0f0c42ca651f630d5a9892846486a1655da21452077998557d56652219bd0516d7d2857e788fea03a0e5401797191fa SHA512 e2661d07bc8117332f3d69213a56ee3e3d1e9fcb2731b5947682c72990b6e5410a406c20856abd4fedbf08970dafd695d006baa94ce5779b4897125899119390
|
||||
DIST exo-1.76.0.gh.tar.gz 10892774 BLAKE2B 836aeb6442e9d30d26d9e4e817de42b01d54e739ec77f90ff683d9a2e33830593ae5c0b828267b52f87b451e8ff7b1a207fa60c89c5443adef3e2efb5f6321ab SHA512 861ac2b2a2bbeb7d0b3cc829d2399be1f57b500656a178692b1d73ff78cdaa784c87c775061eedaf28eace68754935b855c4e927133b298b01f3bf79fa4b6675
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1,2 +1 @@
|
||||
DIST kernel-hardening-checker-0.6.1.gh.tar.gz 2784168 BLAKE2B 44d91e4f851e3df4edda9ccc0066057cb5f0bb96c4ed47aa4db103e11ce6bbd2337625bf7b0cfb28befa01a7bc4ecca8731fa80497f774aec443be49d1ff81ba SHA512 46882340506e9e5278a1cf2963018c1f52d24a4c02c29df3aa548659f1f66785027f6aa6313f687a014d9e380214a834c8c1645e2be8e21f31761d18d6a467e2
|
||||
DIST kernel-hardening-checker-0.6.6.gh.tar.gz 3262987 BLAKE2B b3dd5ab4732755b4ea56a65a89d923e8a70eb7c9446231b30f5ca27753883602dbda2ec64e5cabb00f074e3edad584d7819454d0ad5cd214b5ac0d6856979588 SHA512 1c8b71fe5c3befe3e4a76b3a840fe0c057ff334a74c82648134189d95e54c7b5b36fdfef9689d8fa9d1d5afe6c0e296472d244295f3dd18124d815f8dcd75ef8
|
||||
|
@ -1,17 +0,0 @@
|
||||
# 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
|
||||
|
||||
DESCRIPTION="A tool for checking the security hardening options of the Linux kernel"
|
||||
HOMEPAGE="https://github.com/a13xp0p0v/kernel-hardening-checker"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
SRC_URI="https://github.com/a13xp0p0v/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
KEYWORDS="~amd64"
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,79 @@
|
||||
From fe71f2135bdc3aa6ea28de7ed1ac324f7d689ed6 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Parrott <thomas.parrott@canonical.com>
|
||||
Date: Wed, 7 Feb 2024 16:53:29 +0000
|
||||
Subject: [PATCH 1/2] shared/simplestreams/products: Fix regression in parsing
|
||||
version files
|
||||
|
||||
Don't stop when finding first matching version file because the index is parsed
|
||||
in random order and LXD calls it multiple times when figuring out which image
|
||||
file to download and so stopping early can cause mismatches when trying to match
|
||||
a converted alias to a specific file fingerprint.
|
||||
|
||||
Introduced with 3e9acc4
|
||||
|
||||
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
|
||||
(cherry picked from commit 3681d5e54649fcc2fc9375b6820c1133f140228d)
|
||||
---
|
||||
shared/simplestreams/products.go | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/shared/simplestreams/products.go b/shared/simplestreams/products.go
|
||||
index a07e4d5b1b5b..542051403899 100644
|
||||
--- a/shared/simplestreams/products.go
|
||||
+++ b/shared/simplestreams/products.go
|
||||
@@ -279,8 +279,6 @@ func (s *Products) ToLXD() ([]api.Image, map[string][][]string) {
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
-
|
||||
- break // Stop at first compatible item found.
|
||||
} else if shared.StringInSlice(item.FileType, lxdCompatItems) {
|
||||
// Locate the root files
|
||||
for _, subItem := range version.Items {
|
||||
@@ -291,8 +289,6 @@ func (s *Products) ToLXD() ([]api.Image, map[string][][]string) {
|
||||
}
|
||||
}
|
||||
}
|
||||
-
|
||||
- break // Stop at first compatible item found.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
From d3253e4cbc85b97e3bc6dba9a27fd2ab0c4d8685 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Parrott <thomas.parrott@canonical.com>
|
||||
Date: Wed, 7 Feb 2024 10:28:36 +0000
|
||||
Subject: [PATCH 2/2] shared/simplestreams/simplestreams: Improve error
|
||||
messages
|
||||
|
||||
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
|
||||
(cherry picked from commit 56364f5a97373155d5e6a5a6b10d06d16a25fb3c)
|
||||
---
|
||||
shared/simplestreams/simplestreams.go | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/shared/simplestreams/simplestreams.go b/shared/simplestreams/simplestreams.go
|
||||
index 3f3255cac913..68e1d96278a3 100644
|
||||
--- a/shared/simplestreams/simplestreams.go
|
||||
+++ b/shared/simplestreams/simplestreams.go
|
||||
@@ -377,7 +377,7 @@ func (s *SimpleStreams) GetFiles(fingerprint string) (map[string]DownloadableFil
|
||||
}
|
||||
}
|
||||
|
||||
- return nil, fmt.Errorf("Couldn't find the requested image")
|
||||
+ return nil, fmt.Errorf("Couldn't find the requested image for fingerprint %q", fingerprint)
|
||||
}
|
||||
|
||||
// ListAliases returns a list of image aliases for the provided image fingerprint.
|
||||
@@ -501,9 +501,9 @@ func (s *SimpleStreams) GetImage(fingerprint string) (*api.Image, error) {
|
||||
}
|
||||
|
||||
if len(matches) == 0 {
|
||||
- return nil, fmt.Errorf("The requested image couldn't be found")
|
||||
+ return nil, fmt.Errorf("The requested image couldn't be found for fingerprint %q", fingerprint)
|
||||
} else if len(matches) > 1 {
|
||||
- return nil, fmt.Errorf("More than one match for the provided partial fingerprint")
|
||||
+ return nil, fmt.Errorf("More than one match for the provided partial fingerprint %q", fingerprint)
|
||||
}
|
||||
|
||||
return &matches[0], nil
|
@ -0,0 +1,26 @@
|
||||
From 55bd4024dbfc315c0f57da57f2f9bd9c5c97dad1 Mon Sep 17 00:00:00 2001
|
||||
From: Din Music <din.music@canonical.com>
|
||||
Date: Thu, 18 Jan 2024 17:08:36 +0100
|
||||
Subject: [PATCH] shared/simplestreams/products: Search only for lxd archives
|
||||
|
||||
Signed-off-by: Din Music <din.music@canonical.com>
|
||||
(cherry picked from commit 0c9253da9448475e6de60dd345c67c0179884f13)
|
||||
---
|
||||
shared/simplestreams/products.go | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/shared/simplestreams/products.go b/shared/simplestreams/products.go
|
||||
index 542051403899..d80d8e7be251 100644
|
||||
--- a/shared/simplestreams/products.go
|
||||
+++ b/shared/simplestreams/products.go
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"github.com/canonical/lxd/shared/osarch"
|
||||
)
|
||||
|
||||
-var lxdCompatCombinedItems = []string{"lxd_combined.tar.gz", "incus_combined.tar.gz"}
|
||||
-var lxdCompatItems = []string{"lxd.tar.xz", "incus.tar.xz"}
|
||||
+var lxdCompatCombinedItems = []string{"lxd_combined.tar.gz"}
|
||||
+var lxdCompatItems = []string{"lxd.tar.xz"}
|
||||
|
||||
// Products represents the base of download.json.
|
||||
type Products struct {
|
@ -0,0 +1,216 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://ubuntu.com/lxd https://github.com/canonical/lxd"
|
||||
SRC_URI="https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz
|
||||
verify-sig? ( https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz.asc
|
||||
)"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0/lts"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/lxd
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dqlite-1.13.0:=
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
|| (
|
||||
net-firewall/nftables[json]
|
||||
(
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
)
|
||||
)
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:*
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-canonical )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-migrate
|
||||
/usr/sbin/lxd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/canonical.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/lxd-5.0.3-remove-shellcheck-buildsystem-checks.patch
|
||||
"${FILESDIR}"/lxd-5.0.3-pr-12834-dont-stop-parsing-image-info.patch
|
||||
"${FILESDIR}"/lxd-5.0.3-pr-12847-ignore-incus-archives.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
lxd/apparmor/instance.go \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
lxd/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/lxd.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${S}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 "${S}"/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/lxd-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-migrate lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-5.0.2-r1.initd lxd
|
||||
|
||||
systemd_dounit "${T}"/lxd.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog "For virtual machine support, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/LXD#Virtual_machines"
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full lxd-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the lxd group."
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||
ver_test ${REPLACING_VERSIONS} -lt 5.0.1 &&
|
||||
has_version app-emulation/qemu[spice,usbredir,virtfs]; then
|
||||
ewarn ""
|
||||
ewarn "You're updating from <5.0.1. Due to incompatible API updates in the lxd-agent"
|
||||
ewarn "product, you'll have to restart any running virtual machines before they work"
|
||||
ewarn "properly."
|
||||
ewarn ""
|
||||
ewarn "Run: 'lxc restart your-vm' after the update for your vm's managed by lxd."
|
||||
ewarn ""
|
||||
fi
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||
has_version "sys-apps/openrc"; then
|
||||
elog ""
|
||||
elog "The new init.d script will attempt to mount "
|
||||
elog " /sys/fs/cgroup/systemd"
|
||||
elog "by default, which is needed to run systemd containers with openrc host."
|
||||
elog "See the /etc/init.d/lxd file for requirements."
|
||||
elog ""
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST eid-mw-5.1.13.tar.gz 15369717 BLAKE2B 99c70445abddd85ae7df917380a91d64ccefb7e3b73db4d2a5887a1dfc7d54e575ca0df5cbccdab41ce7ffb0648d6cb6c456da4f65ae2b0f0c4844ed2d5b343e SHA512 b7c024163d1eedb3cf5558be130fbe7fb3045c31bda541ed3402ac11514308c2ed9dd692972c8ddbe81a4923f67fb8205f761a0834abf65927991dade30e4ea4
|
||||
DIST eid-mw-5.1.15.tar.gz 16296281 BLAKE2B 12efbc884ff250d5497ace6b9670e4dac934a8aa87e2e77d4c083d3e0325c7b0a57dd137506f62a6e3ada57459b5b23e7d5e0d86a80616a64e05948560ce265b SHA512 4cf352ba912db6252f864430bacc895d29b478d3ec13ef3716089e5cb6019b2db2de08a99775dcd71a4ac9f13f3e3c6e1013f36bb2d458bbb0e851f7b45451e5
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST fastfetch-2.2.3.tar.gz 901203 BLAKE2B d6d097b72ce2f252e42b3e59cbd26b43a4f17ae974382f986270fbf91b457cf3c49e78a3c775e713d9302d536fb5a363e809005b9174d1a27622e6b6ed666709 SHA512 81e051b7555d56415c723606c0b6dfc3ad7ed91fb2c7b36c07465f4dfbdb91da5c8d216e46df36863888448de0a7bd63e28c6aa701995bf1165e0d7c33c4f724
|
||||
DIST fastfetch-2.7.1.tar.gz 1000565 BLAKE2B 061d2175bdca879bb4ef1a2f29fd73b99a7325fb8de66f05eb1203008c34ef20ff122e57a785ee0a5abb0251004023958abb1d158bc49cd1b34f9e02f3d1c6bc SHA512 55d897af532141d429aa5b58ab1516347f14597bf249b70f0d5ab27d11e235911858143fc32356255bef201cb44cdd7698e8d49094fb7e61c2e425a6c8ac5fa1
|
||||
DIST fastfetch-2.8.2.tar.gz 1006437 BLAKE2B 6d272be459ee111c1a3395343406fc00191e8451feab611bc2f3b44d0602d44dcebfc5964c00d2bca65a1ee7821096f45c7d71dd83c537d60f5cd34119e55a7c SHA512 eaa9a020b39c97b8aceca0c75de1577d09f03a533df14ea680e99aac70fd5d40324f44feecf5c7825e9ab88fc1bf4dcc686fe541af60a670b8ff887f0b5fa79b
|
||||
DIST fastfetch-2.8.3.tar.gz 1007260 BLAKE2B 45b4d41f1b134416cb069e7afd3c526b139c6192b474bd0b47525b4996ef97b7f4540d676b02cd60503a174c2c64eeecaac3ca81d86d5f2bbb564e7989bf7917 SHA512 7a406e25dff943b6977ca519010f8f91d6df622b9bc3f319ddc01dc24f0ee74163d651abafe8010fe7326ae64185a5af1c7561831d148c984e4690ffb4cb4b45
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST homebank-5.6.5.tar.gz 3399365 BLAKE2B 7a50694a3a42f742583d150b785ebb3e30efe4a5571e1076f8181fbd9e8c089b815b1157f98f8db96abae03ff97fdd6415c1d664379bfaa94acf9d0de470b1a0 SHA512 7cbf1f22275d44a5b6811512f76e96ec2946150fd5c7897ec364a597c037175f79ddc846e24d22ed5d81589cb88a918387c17470f6b9406d2a8a164b73f1364b
|
||||
DIST homebank-5.7.3.tar.gz 3663021 BLAKE2B c290e8fb7776975b0cdb63fdba5f1272d36b62e295723d4b129ed39933fb5fd7987de08536abb5ac2ab3ce3f70e66be3a8d159bc0258834fe3be79ad0ba41788 SHA512 516809ae95873f70d44995093ebe981e70cf2111490db19dbac1d4f4df95fec9bd21c56eea3d91bf4c81e58de4277da035297e9eb6a0d1fd4450dbff764c0ba1
|
||||
DIST homebank-5.7.4.tar.gz 3670067 BLAKE2B 3be94dc9e1ec11fc67fb7dab1655c9e2ab8529887cba200331e938b02a97abf810d94823443de0f5faf1b6beda85f9208e26909a876c3828ae2a1aab38890db0 SHA512 d65127b49a7566f5ad88feb8c614883c43e322ea50d915e49691b169771fac222573da4988ab1c54d9f39b9dfdf2d724cba07269e093c67a04900828d0b87093
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit xdg
|
||||
|
||||
DESCRIPTION="Free, easy, personal accounting for everyone"
|
||||
HOMEPAGE="http://homebank.free.fr/index.php"
|
||||
SRC_URI="http://homebank.free.fr/public/sources/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+ofx"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.39:2
|
||||
>=net-libs/libsoup-2.26:2.4
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
x11-libs/pango
|
||||
ofx? ( >=dev-libs/libofx-0.8.3:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND=">=dev-lang/perl-5.8.1
|
||||
dev-perl/XML-Parser
|
||||
>=dev-util/intltool-0.40.5
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ofx)
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg
|
||||
|
||||
DESCRIPTION="Free, easy, personal accounting for everyone"
|
||||
HOMEPAGE="
|
||||
https://www.gethomebank.org/
|
||||
https://launchpad.net/homebank
|
||||
"
|
||||
SRC_URI="https://www.gethomebank.org/public/sources/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+ofx"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.39:2
|
||||
net-libs/libsoup:3.0
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
x11-libs/pango
|
||||
ofx? ( >=dev-libs/libofx-0.8.3:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-perl/XML-Parser
|
||||
>=dev-util/intltool-0.40.5
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ofx)
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="launchpad">homebank</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST elt-patches-20221210.tar.xz 42080 BLAKE2B abcdae6dedac89bd913d6809d335c13cd59b675c4b68198925bf758013e988a9bf82e9f6ccc3a70ac1c49775bb7579addda6c0bb7ea4ceea3c4b8e4acf0d65ea SHA512 3dad3c0be8d69de731bb10d5a6007539c2966f8a370a3dee27faf9655a38e39f272a9059cd98c8b6f32c2495143667f8b28a6a3425f22c0c5421f3969b417cf7
|
||||
DIST elt-patches-20240116.tar.xz 44400 BLAKE2B 0e664bf02180c2d0a5813f25a7661064f6612b71ab4743041a87579bf4fc2af276b2d653cbf75fe412364c2eb0a38dad744cc1eaa1159837239b0b9bbd122c5c SHA512 b014bebf918bb3debb5f38297caa0e250b426bdabfbc3c3e7ae44c1f5cda0d63ae1c0d82c12710a966a615947a5ad823a6e06c2ca485b987a74065dde16216bb
|
||||
DIST elt-patches-20240213.tar.xz 44840 BLAKE2B 00c7c19dd0cd2aacc72e90d98f6b5bf09cfbcc79597b53d1c8095066354de10d3080404f7798463e87c1eef385b26dcbc590d3e6fe6f709ea04eaa82bbb17359 SHA512 d39ba86d4356491246b30b7c87d4fba341ba1539f696ef297c231fee5566a3fbf09891323d1f04fd97b9504c56dbb6f2ac99fa6051bf77a31aab55695c6da24b
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Collection of patches for libtool.eclass"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/elt-patches.git/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
EGIT_REPO_URI="
|
||||
https://anongit.gentoo.org/git/proj/elt-patches.git
|
||||
https://github.com/gentoo/elt-patches
|
||||
"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://dev.gentoo.org/~grobian/distfiles/${P}.tar.xz
|
||||
https://dev.gentoo.org/~vapier/dist/${P}.tar.xz
|
||||
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz
|
||||
"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-linux ~ppc64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# The 'check' target currently wants network access to fetch libtool tarballs.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="sys-apps/gentoo-functions"
|
||||
BDEPEND="app-arch/xz-utils"
|
||||
|
||||
src_compile() {
|
||||
emake rootprefix="${EPREFIX}" libdirname="$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" rootprefix="${EPREFIX}" install
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST crengine-ng-0.9.10.tar.bz2 3416315 BLAKE2B ea1e4aa13c8ab233f26a2878a138cbdf8c371cdcdb86103a91bf09eb3ae3f060da76b5d32fb6d70236b3f9c787876d3f87a4caed353a51942f78b9cd25c11202 SHA512 7cb51ebaf7a62ce996f84deed2d61eef2b5adc76743755aa33e13d53a00409eaba41898f1f613973d3f361529d661952bca690c239f1e7536fcb153d120df83d
|
||||
DIST crengine-ng-0.9.10_p1.tar.bz2 3520115 BLAKE2B cceeba21ccd0c0e4c753c894fe1abf96ce3d972559b6713a20c049e02ca55a1cae7590d55ef28c9219ebd2d845dfd2ffd51580155a37e091c22a0f30298b45ec SHA512 3294483c9b8e8814d6652eff24fbb2e9e74a535734049751c5eaa7efaaff915587a5258aebcb8b6df779d635f0e459cd5ca23c4993f4ecffa6f2036f853b55eb
|
||||
DIST freefont-otf-20120503.tar.gz 4487813 BLAKE2B a280bef885bc71897a8475814602d7537b05d14a70e5857acd1007bc0a074be9db1e08fbd63fcabf3fde7874391bdd319d00b213e29b203d474fb320e91b82a2 SHA512 cee9a573b17ccc689b61f0925fb6624d58e3a3369d996e379e70c3a4cd750429d68c14c85fbcab4381101c8f4bf56730ef40e0045fdd79647019db41b4ec74fd
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Cross-platform library designed to implement e-book readers"
|
||||
HOMEPAGE="https://gitlab.com/coolreader-ng/crengine-ng"
|
||||
SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2
|
||||
test? ( mirror://gnu/freefont/freefont-otf-20120503.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/6-beta1"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="+png +jpeg +gif +svg +chm +harfbuzz +fontconfig +libunibreak +fribidi +zstd +libutf8proc static-libs test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="sys-libs/zlib
|
||||
png? ( media-libs/libpng:0 )
|
||||
jpeg? ( media-libs/libjpeg-turbo )
|
||||
>=media-libs/freetype-2.10.0
|
||||
harfbuzz? ( media-libs/harfbuzz:=[truetype] )
|
||||
libunibreak? ( dev-libs/libunibreak:= )
|
||||
fribidi? ( dev-libs/fribidi )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
libutf8proc? ( dev-libs/libutf8proc:= )
|
||||
fontconfig? ( media-libs/fontconfig )"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-cpp/gtest
|
||||
app-arch/zip )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
if use test; then
|
||||
mkdir -p "${BUILD_DIR}/crengine/tests/fonts/"
|
||||
cp -p "${WORKDIR}/freefont-20120503/"*.otf "${BUILD_DIR}/crengine/tests/fonts/"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
local mycmakeargs=(
|
||||
-DCRE_BUILD_SHARED=ON
|
||||
-DCRE_BUILD_STATIC=$(usex static-libs)
|
||||
-DUSE_COLOR_BACKBUFFER=ON
|
||||
-DWITH_LIBPNG=$(usex png)
|
||||
-DWITH_LIBJPEG=$(usex jpeg)
|
||||
-DWITH_FREETYPE=ON
|
||||
-DWITH_HARFBUZZ=$(usex harfbuzz)
|
||||
-DWITH_LIBUNIBREAK=$(usex libunibreak)
|
||||
-DWITH_FRIBIDI=$(usex fribidi)
|
||||
-DWITH_ZSTD=$(usex zstd)
|
||||
-DWITH_UTF8PROC=$(usex libutf8proc)
|
||||
-DUSE_GIF=$(usex gif)
|
||||
-DUSE_NANOSVG=$(usex svg)
|
||||
-DUSE_CHM=$(usex chm)
|
||||
-DUSE_ANTIWORD=ON
|
||||
-DUSE_FONTCONFIG=$(usex fontconfig)
|
||||
-DUSE_SHASUM=OFF
|
||||
-DUSE_CMARK_GFM=ON
|
||||
-DBUILD_TOOLS=OFF
|
||||
-DENABLE_UNITTESTING=$(usex test)
|
||||
-DOFFLINE_BUILD_MODE=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}/crengine/tests"
|
||||
./unittests
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST crqt-ng-1.0.11.tar.bz2 442916 BLAKE2B 3eb4c73f1c3b3c88d92cb6ed5bf4895329caab1391c7be05dc0ccc1a65546f7761ee7af6246045be70137fd8683e2bfc5fb41df3dad604177ae4c0351f44c74e SHA512 62bb4b8a3dec3dd9fba5e1a2795f384e5310b87800d89e15b7f4fe258eb923481f1264ec23645b09f5ae89822e332d1499aeca0a79efab21124b43deec3ada44
|
||||
DIST crqt-ng-1.0.12.tar.bz2 443646 BLAKE2B 338c96a9c34d6a05ed6fa9cd1d6fe63665518e8c12e835a7fba22b81585116f9e579b326c9fc22a67d7225f0ca4cc15035179be923507b0af7032666f05d972e SHA512 24258c32dac6ba24833d7a6a227cef6dfb39ff415781921c90e57cd9c73ce187255bcffee3b38719b38dde2f6cb8a0569f5b25db88688c105f8b24246676207d
|
||||
DIST crqt-ng-1.0.12_p1.tar.bz2 431000 BLAKE2B dd84ecafc2f3ca866c4462e67937bb82757f45112cc1cfe341df08e354bced64c680b378d5fe1f4ce0ba5db48f16511771c7053119b5abf5916101b999ceb80f SHA512 47e2b2d882ceb81bb68971fcb39dc770bd067f30b86c0e3ac8c3aa4599e1780b4cf595fa1c84f41f9ffa0bbbd9f4136ea974be72dd3b9106856b6c480b7300f7
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PLOCALES="bg cs hu nl ru uk"
|
||||
inherit cmake plocale xdg
|
||||
|
||||
DESCRIPTION="Cross-platform e-book reader"
|
||||
HOMEPAGE="https://gitlab.com/coolreader-ng/crqt-ng"
|
||||
SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc"
|
||||
|
||||
CDEPEND=">=app-text/crengine-ng-0.9.7:0=[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5"
|
||||
RDEPEND="${CDEPEND}"
|
||||
BDEPEND="${CDEPEND}
|
||||
dev-qt/linguist-tools:5"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
xdg_environment_reset
|
||||
|
||||
# locales
|
||||
plocale_find_changes "${S}"/src/i18n 'crqt_' '.ts'
|
||||
sed -e "s|set(LANGUAGES .*)|set(LANGUAGES $(plocale_get_locales))|i" \
|
||||
-i "${S}"/src/CMakeLists.txt \
|
||||
|| die "sed CMakeLists.txt failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CMAKE_USE_DIR="${S}"
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
local mycmakeargs=(-DUSE_QT=QT5)
|
||||
cmake_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST crwx-ng-0.2.0.tar.bz2 364917 BLAKE2B f8d541fa479fe3102d495ba43ce51d256f55b9724844d26b89db8396f2cbf90680dd312ecc0c816ee50fb498c8b69ba69d0db73f9ee5dcefc9991e8077754171 SHA512 0890a6066fca7178b483749e946659a6e4304f13694601024fe500e9b79351f7170403b136407a831abe7a040f775dd34c02d9411814c136da68ee6b69e00a99
|
||||
DIST crwx-ng-0.3.1.tar.bz2 363898 BLAKE2B f44434014ec773c603f2497fd78236897e7988b46dc7697b2aaad7da6eb0a6334723bf6fd73b95960d835b762562fb809bc3aee6aa5ee06557b9fb442ef7aa07 SHA512 7f4c5de17ed32dc18aa7ef58f56090753c6fd4e87d3be6072ecb225f3339f1dacde8b54ec5b79bf031e3082067a00eb66008842248a819fe8c6af9eb6d080662
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
WX_GTK_VER="3.2-gtk3"
|
||||
inherit cmake wxwidgets xdg
|
||||
|
||||
DESCRIPTION="Cross-platform e-book reader"
|
||||
HOMEPAGE="https://gitlab.com/coolreader-ng/crwx-ng"
|
||||
SRC_URI="https://gitlab.com/coolreader-ng/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+gif +svg +chm +harfbuzz +libunibreak +fribidi +zstd +libutf8proc"
|
||||
|
||||
CDEPEND=">=app-text/crengine-ng-0.9.7:0=[png,jpeg,fontconfig,gif=,svg=,chm=,harfbuzz=,fribidi=,zstd=,libutf8proc=]
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]"
|
||||
BDEPEND="${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/ttf-fonts"
|
Binary file not shown.
@ -0,0 +1,130 @@
|
||||
# Copyright 2016-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mesonbuild/meson"
|
||||
inherit git-r3
|
||||
else
|
||||
inherit verify-sig
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
MY_P=${P/_/}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/mesonbuild/meson/releases/download/${MY_PV}/${MY_P}.tar.gz
|
||||
verify-sig? ( https://github.com/mesonbuild/meson/releases/download/${MY_PV}/${MY_P}.tar.gz.asc )
|
||||
"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-jpakkane )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jpakkane.gpg
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
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"
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Open source build system"
|
||||
HOMEPAGE="https://mesonbuild.com/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
app-alternatives/ninja
|
||||
dev-vcs/git
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
virtual/pkgconfig
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.1-python-path.patch
|
||||
|
||||
# backport fix for hiding compiler warnings (such as Modern C) in vala and cython
|
||||
"${FILESDIR}"/0001-ninja-backend-don-t-hide-all-compiler-warnings-for-t.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
local disable_unittests=(
|
||||
# ASAN and sandbox both want control over LD_PRELOAD
|
||||
# https://bugs.gentoo.org/673016
|
||||
-e 's/test_generate_gir_with_address_sanitizer/_&/'
|
||||
|
||||
# ASAN is unsupported on some targets
|
||||
# https://bugs.gentoo.org/692822
|
||||
-e 's/test_pch_with_address_sanitizer/_&/'
|
||||
)
|
||||
|
||||
sed -i "${disable_unittests[@]}" unittests/*.py || die
|
||||
|
||||
# Broken due to python2 script created by python_wrapper_setup
|
||||
rm -r "test cases/frameworks/1 boost" || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
tc-export PKG_CONFIG
|
||||
if ${PKG_CONFIG} --exists Qt5Core && ! ${PKG_CONFIG} --exists Qt5Gui; then
|
||||
ewarn "Found Qt5Core but not Qt5Gui; skipping tests"
|
||||
else
|
||||
distutils-r1_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
(
|
||||
# remove unwanted python_wrapper_setup contents
|
||||
# We actually do want to non-error if python2 is installed and tested.
|
||||
remove="${T}/${EPYTHON}/bin:"
|
||||
PATH=${PATH/${remove}/}
|
||||
|
||||
# test_meson_installed
|
||||
unset PYTHONDONTWRITEBYTECODE
|
||||
|
||||
# https://bugs.gentoo.org/687792
|
||||
unset PKG_CONFIG
|
||||
|
||||
# test_cross_file_system_paths
|
||||
unset XDG_DATA_HOME
|
||||
|
||||
# 'test cases/unit/73 summary' expects 80 columns
|
||||
export COLUMNS=80
|
||||
|
||||
# If JAVA_HOME is not set, meson looks for javac in PATH.
|
||||
# If javac is in /usr/bin, meson assumes /usr/include is a valid
|
||||
# JDK include path. Setting JAVA_HOME works around this broken
|
||||
# autodetection. If no JDK is installed, we should end up with an empty
|
||||
# value in JAVA_HOME, and the tests should get skipped.
|
||||
export JAVA_HOME=$(java-config -O 2>/dev/null)
|
||||
|
||||
${EPYTHON} -u run_tests.py
|
||||
) || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins data/shell-completions/zsh/_meson
|
||||
|
||||
dobashcomp data/shell-completions/bash/meson
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST timescaledb-2.12.2.tar.gz 7521115 BLAKE2B 2bc2d43e3185b95cd0b4bcfc852c0850959ac117e4a30cd3b30157a82e7ad7f8192e80cc9787474e169c5ae5476a146cd2510ab93d25f479dcc7d39fa45ae15c SHA512 cb39f632a8c2e02968045f459edaacc291abbda6e64962bfd05519b9c2c00ccaac5f520f2abf8a0b08f4bb740488df56295585c13bb83b82c0d1842a71ff7224
|
||||
DIST timescaledb-2.13.0.tar.gz 8214444 BLAKE2B a03237608f64ca530fef1c4c667b4d392bf3a9d5811df4225866650d1c0e708355e22570aa512fb23040453d0f1d721c7088e5895e18f4fb3aacbc9c89483027 SHA512 640f969daf330b727f373a252b814288939d7935d03fa54cf24a2b49b9914009e253df6885355cc7e93f4d0eef5028719a98007e4d9a42c14228f922708ce1f7
|
||||
DIST timescaledb-2.13.1.tar.gz 8239930 BLAKE2B 60f56e6df0224aad61ee1468ae8231a2734c3fa84c1112a04cfe9dbc7ee0abb530b03587711ec50b72d9f0f074466c38f08c915b3f3cd7a27406be2727bff620 SHA512 4416d5a3693ebe20af95903abc4fbd54b13651acbb9a3b4a0eb5cbd69d00c54d73f2abcdfe195edd9f6d14a90667121dac5b3adea20b3efbe50e0318c340c8be
|
||||
DIST timescaledb-2.14.0.tar.gz 7316149 BLAKE2B d646e20d56ced87f3b95a7a58ed30bcbeec571b1042b64c2fef4f8521248db2142f54cb45d2afbbeb902e451823615fde1bb0259b421350928c146634db9c4d5 SHA512 75a66a51de313fa1beb4a576181888dbe742ffa0325b5813b5b12749c9fc97705eaa030186e424a360ee20745226768a679632182c079117586c5e4a5c108236
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 13 14 15 )
|
||||
POSTGRES_COMPAT=( 13 14 15 16 )
|
||||
POSTGRES_USEDEP="ssl"
|
||||
|
||||
inherit postgres-multi cmake
|
Binary file not shown.
@ -0,0 +1,51 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Bootstrap package for dev-lang/go"
|
||||
HOMEPAGE="https://golang.org"
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
SRC_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-amd64-bootstrap.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-arm-bootstrap.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-arm64-bootstrap.tbz )
|
||||
loong? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-loong64-bootstrap.tbz )
|
||||
mips? (
|
||||
abi_mips_o32? (
|
||||
big-endian? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-mips-bootstrap.tbz )
|
||||
!big-endian? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-mipsle-bootstrap.tbz )
|
||||
)
|
||||
abi_mips_n64? (
|
||||
big-endian? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-mips64-bootstrap.tbz )
|
||||
!big-endian? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-mips64le-bootstrap.tbz )
|
||||
)
|
||||
)
|
||||
ppc64? (
|
||||
big-endian? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-ppc64-bootstrap.tbz )
|
||||
!big-endian? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-ppc64le-bootstrap.tbz )
|
||||
)
|
||||
riscv? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-riscv64-bootstrap.tbz )
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-s390x-bootstrap.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-${PV}-linux-386-bootstrap.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-${PV}-darwin-amd64-bootstrap.tbz )
|
||||
arm64-macos? ( ${BOOTSTRAP_DIST}/go-${PV}-darwin-arm64-bootstrap.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-${PV}-solaris-amd64-bootstrap.tbz )
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="abi_mips_n64 abi_mips_o32 big-endian"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/lib
|
||||
mv go-*-bootstrap "${ED}/usr/lib/go-bootstrap" || die
|
||||
|
||||
# testdata directories are not needed on the installed system
|
||||
rm -fr $(find "${ED}"/usr/lib/go-bootstrap -iname testdata -type d -print)
|
||||
}
|
@ -0,0 +1,210 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
# See "Bootstrap" in release notes
|
||||
GO_BOOTSTRAP_MIN=1.17.13
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://go.dev"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND="
|
||||
arm? ( sys-devel/binutils[gold] )
|
||||
arm64? ( sys-devel/binutils[gold] )"
|
||||
BDEPEND="|| (
|
||||
>=dev-lang/go-${GO_BOOTSTRAP_MIN}
|
||||
>=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
|
||||
|
||||
# the *.syso files have writable/executable stacks
|
||||
QA_EXECSTACK='*.syso'
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
||||
# https://bugs.gentoo.org/794046
|
||||
QA_PREBUILT='.*'
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
CONTRIBUTING.md
|
||||
PATENTS
|
||||
README.md
|
||||
SECURITY.md
|
||||
)
|
||||
|
||||
go_arch() {
|
||||
# By chance most portage arch names match Go
|
||||
local tc_arch=$(tc-arch $@)
|
||||
case "${tc_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
loong) echo loong64;;
|
||||
mips) if use abi_mips_o32; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips || echo mipsle
|
||||
elif use abi_mips_n64; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips64 || echo mips64le
|
||||
fi ;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
riscv) echo riscv64 ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${tc_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm() {
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os() {
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple() {
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile() {
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/go-never-download-newer-toolchains.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
||||
elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
||||
else
|
||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
||||
die "Should not be here, please report a bug"
|
||||
fi
|
||||
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="${PWD}"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
use arm && export GOARM=$(go_arm)
|
||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
||||
|
||||
cd src
|
||||
bash -x ./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
|
||||
# https://github.com/golang/go/issues/42005
|
||||
rm cmd/link/internal/ld/fallocate_test.go || die
|
||||
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild -k || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/lib/go
|
||||
# The use of cp is deliberate in order to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
einstalldocs
|
||||
|
||||
insinto /usr/lib/go
|
||||
doins go.env VERSION
|
||||
|
||||
# testdata directories are not needed on the installed system
|
||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
||||
|
||||
local bin_path
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
local f x
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
|
||||
# install the @golang-rebuild set for Portage
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
||||
elog "due to the static linking nature of go."
|
||||
elog "If this is not done, the packages compiled with the older"
|
||||
elog "version of the compiler will not be updated until they are"
|
||||
elog "updated individually, which could mean they will have"
|
||||
elog "vulnerabilities."
|
||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
||||
}
|
@ -0,0 +1,213 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
# See "Bootstrap" in release notes
|
||||
GO_BOOTSTRAP_MIN=1.20.14
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
case ${PV} in
|
||||
*9999*)
|
||||
EGIT_REPO_URI="https://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
||||
S="${WORKDIR}"/go
|
||||
case ${PV} in
|
||||
*_beta*|*_rc*) ;;
|
||||
*)
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="https://go.dev"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="abi_mips_o32 abi_mips_n64 cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND="
|
||||
arm? ( sys-devel/binutils[gold] )
|
||||
arm64? ( sys-devel/binutils[gold] )"
|
||||
BDEPEND="|| (
|
||||
>=dev-lang/go-${GO_BOOTSTRAP_MIN}
|
||||
>=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )"
|
||||
|
||||
# the *.syso files have writable/executable stacks
|
||||
QA_EXECSTACK='*.syso'
|
||||
|
||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# This package triggers "unrecognized elf file(s)" notices on riscv.
|
||||
# https://bugs.gentoo.org/794046
|
||||
QA_PREBUILT='.*'
|
||||
|
||||
# Do not strip this package. Stripping is unsupported upstream and may
|
||||
# fail.
|
||||
RESTRICT+=" strip"
|
||||
|
||||
DOCS=(
|
||||
CONTRIBUTING.md
|
||||
PATENTS
|
||||
README.md
|
||||
SECURITY.md
|
||||
)
|
||||
|
||||
go_arch() {
|
||||
# By chance most portage arch names match Go
|
||||
local tc_arch=$(tc-arch $@)
|
||||
case "${tc_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
loong) echo loong64;;
|
||||
mips) if use abi_mips_o32; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips || echo mipsle
|
||||
elif use abi_mips_n64; then
|
||||
[[ $(tc-endian $@) = big ]] && echo mips64 || echo mips64le
|
||||
fi ;;
|
||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
||||
riscv) echo riscv64 ;;
|
||||
s390) echo s390x ;;
|
||||
*) echo "${tc_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm() {
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os() {
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple() {
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile() {
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/go-never-download-newer-toolchains.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
|
||||
elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then
|
||||
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
|
||||
else
|
||||
eerror "Go cannot be built without go or go-bootstrap installed"
|
||||
die "Should not be here, please report a bug"
|
||||
fi
|
||||
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="${PWD}"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
use arm && export GOARM=$(go_arm)
|
||||
use x86 && export GO386=$(usex cpu_flags_x86_sse2 '' 'softfloat')
|
||||
|
||||
cd src
|
||||
bash -x ./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
|
||||
# https://github.com/golang/go/issues/42005
|
||||
rm cmd/link/internal/ld/fallocate_test.go || die
|
||||
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild -k || die "tests failed"
|
||||
cd ..
|
||||
rm -fr pkg/*_race || die
|
||||
rm -fr pkg/obj/go-build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/lib/go
|
||||
# The use of cp is deliberate in order to retain permissions
|
||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
||||
einstalldocs
|
||||
|
||||
insinto /usr/lib/go
|
||||
doins go.env VERSION
|
||||
|
||||
# testdata directories are not needed on the installed system
|
||||
rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
|
||||
|
||||
local bin_path
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
local f x
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
|
||||
# install the @golang-rebuild set for Portage
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins "${FILESDIR}"/go-sets.conf go.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -z ${REPLACING_VERSIONS} ]] && return
|
||||
elog "After ${CATEGORY}/${PN} is updated it is recommended to rebuild"
|
||||
elog "all packages compiled with previous versions of ${CATEGORY}/${PN}"
|
||||
elog "due to the static linking nature of go."
|
||||
elog "If this is not done, the packages compiled with the older"
|
||||
elog "version of the compiler will not be updated until they are"
|
||||
elog "updated individually, which could mean they will have"
|
||||
elog "vulnerabilities."
|
||||
elog "Run 'emerge @golang-rebuild' to rebuild all 'go' packages"
|
||||
elog "See https://bugs.gentoo.org/752153 for more info"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST libei-1.1.0.tar.bz2 169197 BLAKE2B 3f33b21a9876da533a6f52ecc2478065f4f3083f72880cf09f1bbeadcdcaed843e681e5d9fc8692ff667fe7262195caa272712b755997ca74a1b90f24492c08d SHA512 93525215cf896213e5f28581a1701cfccaf1ea07ae85744c01b6152ff29c2c9d6fd3afeeb8de5850cde915b540d3452bfe32c8c56bf780dd401da9947e28044b
|
||||
DIST libei-1.2.0.tar.bz2 174155 BLAKE2B 4b540cb79decd9785f67efa6fa76b984eb7ae2729dd49ac36e240b6a4feb4c54b34626dad93831c873861e3d3fd597c530e7eaaab0150890f0c952a9d75ee178 SHA512 c1d39c2c830df373ff5d7cc3eca330c2d771a26df6f2902d62f639a8a4db9af5370db4b9defe605721dd1f429eae68cbc4249792b3ae26b4c82d269f07a36732
|
||||
DIST libei-1.2.1.tar.bz2 174636 BLAKE2B b718d2287e83adb43a8dee9ae06499d780b2a50231e9ce452b6e7bfa9e89e9599058628614fb4325d0cef842d6b29ca68eb38b3e547790cd5a7a0ac14728f250 SHA512 ac8e32a381b9555a6b9becab9217a323d79aeba4b3f11e1dbba9f876d566f232f41d0f299f8cb8e5de6707d0dd91e93872edd81532c971e35d1cf33f9f9063b4
|
||||
DIST munit-fbbdf1467eb0d04a6ee465def2e529e4c87f2118.tar.gz 27724 BLAKE2B 9670c9b7a0b5d9ee6ec8df2dea9e241b043964ecf1fa3f6060ad1d16c40ab6afe47f53c6d4a791003e101a0b363263b858e6e4e445f868292753dd1ee7f7e3ce SHA512 26b5599fd12be627a692823ebf496fa446be7ed04a1233fb42e0667c05109b0f804f76646e289ac660fc815baf45f77ec8caf0ff2ea7fb0b4f87f0038a2b971c
|
||||
|
@ -0,0 +1,98 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit meson python-any-r1
|
||||
|
||||
DESCRIPTION="Library for Emulated Input, primarily aimed at the Wayland stack"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/libinput/libei"
|
||||
SRC_URI="https://gitlab.freedesktop.org/libinput/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
MUNIT_COMMIT="fbbdf1467eb0d04a6ee465def2e529e4c87f2118"
|
||||
SRC_URI+=" https://github.com/nemequ/munit/archive/${MUNIT_COMMIT}.tar.gz -> munit-${MUNIT_COMMIT}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="elogind systemd test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libevdev-1.9.902
|
||||
|| (
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
sys-libs/basu
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
$(python_gen_any_dep '
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
')
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/python-dbusmock[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/structlog[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
if use test; then
|
||||
python_has_version \
|
||||
"dev-python/pytest[${PYTHON_USEDEP}]" \
|
||||
"dev-python/python-dbusmock[${PYTHON_USEDEP}]" \
|
||||
"dev-python/pyyaml[${PYTHON_USEDEP}]" \
|
||||
"dev-python/structlog[${PYTHON_USEDEP}]" \
|
||||
|| return 1
|
||||
fi
|
||||
python_has_version \
|
||||
"dev-python/attrs[${PYTHON_USEDEP}]" \
|
||||
"dev-python/jinja[${PYTHON_USEDEP}]" \
|
||||
|| return 1
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ -n ${A} ]]; then
|
||||
unpack ${A}
|
||||
mv "${WORKDIR}"/munit-${MUNIT_COMMIT} "${WORKDIR}"/${P}/subprojects/munit || die
|
||||
rm "${WORKDIR}"/${P}/subprojects/munit.wrap || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e 's:^valgrind = .*:valgrind = disabler():g' test/meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddocumentation=""
|
||||
-Dliboeffis=enabled
|
||||
$(meson_feature test tests)
|
||||
)
|
||||
if use systemd; then
|
||||
emesonargs+=(-Dsd-bus-provider=libsystemd)
|
||||
elif use elogind; then
|
||||
emesonargs+=(-Dsd-bus-provider=libelogind)
|
||||
else
|
||||
emesonargs+=(-Dsd-bus-provider=basu)
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# munit subproject is installed but not wanted
|
||||
if use test; then
|
||||
rm "${ED}"/usr/lib*/libmunit.so || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST black-23.12.1.tar.gz 620809 BLAKE2B 8522183d8004dd094f87fc8efcbbbafede9f94ded2f67d4815059534da91c969067c5c508636c2654894109f91d8fb5b26f23351b5ffff451aeac8ed5d146da4 SHA512 1a90eadbb7ccf1dd6c4c7d858b3360b7c62c04bf1826dd4817ddb8d542c3155fc72a80d53aa3be34375bd7006ab65432e006572bc5d1eeb6ff23cfa460072e93
|
||||
DIST black-24.1.0.tar.gz 622911 BLAKE2B 371a334df390f758fe482dac42345ab0cd7058c2dcbb49f5ce4337fedfe5b330308ab2644438a447ae76413fc95b65ba0fb0ab68a3a294e12f2fe147cebdfc25 SHA512 f9d2315743b91dcc563f8e57d4bfb3d80aff2b6a8f426d348c84d23cbcc1fe85107b4b3d78f396959d10240b75586e29bb26d7e767d382cc9d977703f2fa8d09
|
||||
DIST black-24.1.1.tar.gz 623755 BLAKE2B 32e12a3c1b0ad7cb94970b8d887444e0ff05c8044ce7b843710ad4494b6c1d8d4e74a76ce79178bb468fc1ed813bd4e17d3b1ba24f4fe6a6c3aeaf4bf2afe499 SHA512 507555c330a4ef5869b11d9b3ad19b6234c035bb2a28fa497aac911303bbc2d546601c1d587c8a824403c346eb5b940aaec2989c20dffead6fa881e496be5672
|
||||
DIST black-24.2.0.tar.gz 631598 BLAKE2B 4533768f508408dbdcca72db4600ddf244cddadd985e960cd7292809ebc0e2ed7f89aeab1f9af84e17a58d232f19b146980b79804f9cf3036bf757464737022a SHA512 23a40d7b2463d657c849bc54745036a253c67df6c58cef210fa4ee3c820cd83f687e3661f765939a5da23f7b75b10bb59e8b233731f37f21dd0301129e3fb5ea
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="The uncompromising Python code formatter"
|
||||
HOMEPAGE="
|
||||
https://black.readthedocs.io/en/stable/
|
||||
https://github.com/psf/black/
|
||||
https://pypi.org/project/black/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-8.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-2[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
|
||||
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "blackd - HTTP API for black" \
|
||||
"dev-python/aiohttp dev-python/aiohttp-cors"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST boto3-1.34.29.gh.tar.gz 769654 BLAKE2B 3eec92f78f343c1806eb7ad96a31b07592ffb355aed5bca75b9cf9bc32cc240a1c254cd43e618d7cba442dddab31035f43f319aa674b5fd6ee99e93d76514389 SHA512 1dff0825811b346e1300030770f00dfea9694d3f6c4beccddfb2ff00520503271b617321e124a1d922da8e8fb1d2c2beb08a83f23eb5e5754bf1d519ea994cf3
|
||||
DIST boto3-1.34.34.gh.tar.gz 771553 BLAKE2B 52459e1baefd7986256bb6c89074aac365fb14c8fdd1b04a79bc02b6722e1e8e5f0d59b426e519947ab1795d12defbde2768af97dd3a2cdef576fdb535422567 SHA512 d0d9c47550aeb46aa3095d08583931d79fe38da8498a3ece322d7dea07b25c3569f7b44ed2afdb53cae98e4e3c337e8bb91a87c325d88798488e6ba87c73d9cb
|
||||
DIST boto3-1.34.39.gh.tar.gz 773491 BLAKE2B 69256649eb3bc5a856adffe4fb1e0e3f1e14e9a8ff557a9c4a4a8009bc0b8483555e9350f98656d3088c271152db199201c2739e4860fbc0c63810e19a13eca4 SHA512 88fb84a97c072f3e1719116d10dae2a8a840f495aa89f42f13fb105209d0d098390cbdbc443811ae78a684735fa571dbe66bf10c0e53718e783a17de36a18197
|
||||
DIST boto3-1.34.40.gh.tar.gz 773834 BLAKE2B 3622514c5e114a015dc7725bf7415858956e91084715a0e1342a6baacca62a1a2a453dfbe972bdf57438047b30a7729cd98f81afaf554ff8beb89eafd3920bbb SHA512 875afff65371b5991fcc1c832ddcc919dc04306ce03ddba8851e69f4138fc8698f3d21c340bb2936e9022fe0813eb90f2ac084e2531166ee21542a049bb3f1c6
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST botocore-1.34.29.gh.tar.gz 12665018 BLAKE2B 928c27ae62a5e2675dc5476af05a4390cbeaf9d5c64cae6a5af0d5348f703417f48431258fc7c4ad316908fd29f6bfeb5a7c76290ea9622172f3d787f40021c7 SHA512 5314900eecf2d31fe08bcb9efbc1a361467fe034129c85f5cb4a678275115292fc5a6a95fbbe3cc06aa0a1387e14dde0f9115a9aa25ba59dba62a02c3b8db43b
|
||||
DIST botocore-1.34.34.gh.tar.gz 12682925 BLAKE2B 514e6946558d1014371ca7ae4c76614b9714e0444e65f9606abe059cff1e1c467e81d913dad849ed9468a557499daafbdb19bbabef7ef3ed1f45607afa1f545a SHA512 4bc0bc57f4b29c461cade471e18d0f04ecf081a33bf966d80ab09832e0a5af2c08808b9fe72be9ea6a04b37e8207cdf38e43ec588c38ab9546740863e7a206ba
|
||||
DIST botocore-1.34.39.gh.tar.gz 12697404 BLAKE2B d8670c591c06cf5b02562adb234225dde1da6a805d40f314ea7e88b8dc532dc9cb3bff80255aff8798137584a8038b3747e5dc428fd0dc20def923c9a9953a5d SHA512 e5091955cbaa838365664458e71e77ecc4649e12995735a367ea007bdf5e10b41e4009afa8c3832f88a6c49888091b7d668834f1e5edbd64298d88c4eb8f3f1c
|
||||
DIST botocore-1.34.40.gh.tar.gz 12700016 BLAKE2B 95be55cb5c0f1a55846478196c905427d1c45f9fbff6f57506cb4a7ee2112f5034d6e7872bb9d27e89f55dd64e3b2ce33d0a5cea461f9fd1ff5a02a1a60f3748 SHA512 ebf72c591f72286e06d21cd69234b91d681f8b1c9fd2a1bb1c5720b997d2b7f968ab0802bdc01a59eac395fc1822764efb27874edbe273f0747a6f0c8775a540
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# unbundled packages
|
||||
RDEPEND+="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST editorconfig-core-py-0.12.3.tar.gz 19261 BLAKE2B 58cac122cfee19527bc45def7e923da50982de0e2cd443cf67dd824c050fb12352b85a5679815a701bc5b8d88a089a0a98280c364730086d01b80f119ad996a4 SHA512 005d0698c410c8865d177a1e891b5c51b15255f36303b116fddbbbc08e309d1d60ca3003d27e6fd8455e53c5956db0c29e298f22f4b10950e1f7c56c7c6e0ab3
|
||||
DIST editorconfig-core-test-abb579e00f2deeede91cb485e53512efab9c6474.tar.gz 7900 BLAKE2B 9ebdb5e522948bc9e86ea84435ccaa11585a8a12f4cd6fe54c64d78917281c913568351767d8077623b1196d84206d1c2d0126a0510f70df484c1b55d829028b SHA512 ae5424b4926d6cb127cb3da473400ced4f7ccf224f7baa8bc5bde0317cc045bb7b99738a56efe5fd0e5a0fbe39b997b9fb1739d24713e7f83b58e987c5e56a32
|
@ -0,0 +1,4 @@
|
||||
DIST editorconfig-core-py-0.12.3.tar.gz 19261 BLAKE2B 58cac122cfee19527bc45def7e923da50982de0e2cd443cf67dd824c050fb12352b85a5679815a701bc5b8d88a089a0a98280c364730086d01b80f119ad996a4 SHA512 005d0698c410c8865d177a1e891b5c51b15255f36303b116fddbbbc08e309d1d60ca3003d27e6fd8455e53c5956db0c29e298f22f4b10950e1f7c56c7c6e0ab3
|
||||
DIST editorconfig-core-py-0.12.4.gh.tar.gz 19411 BLAKE2B f1cbcce704efb9a185ff25e2fe800156a02288be389a3908579fbf4ec0131f79fc9a453040d4259fc050e1aa94cfc68f557580c86ca8d7fb65582c32d7a1c6af SHA512 12eea18d0af84eea6f71658781c9f9b58e3490db7056ddc5eae3e0ce3413635eac995e0fdef33a7fe6e2d60649e95a67034a53f304faa38f6022d86fee135464
|
||||
DIST editorconfig-core-test-abb579e00f2deeede91cb485e53512efab9c6474.gh.tar.gz 7900 BLAKE2B 9ebdb5e522948bc9e86ea84435ccaa11585a8a12f4cd6fe54c64d78917281c913568351767d8077623b1196d84206d1c2d0126a0510f70df484c1b55d829028b SHA512 ae5424b4926d6cb127cb3da473400ced4f7ccf224f7baa8bc5bde0317cc045bb7b99738a56efe5fd0e5a0fbe39b997b9fb1739d24713e7f83b58e987c5e56a32
|
||||
DIST editorconfig-core-test-abb579e00f2deeede91cb485e53512efab9c6474.tar.gz 7900 BLAKE2B 9ebdb5e522948bc9e86ea84435ccaa11585a8a12f4cd6fe54c64d78917281c913568351767d8077623b1196d84206d1c2d0126a0510f70df484c1b55d829028b SHA512 ae5424b4926d6cb127cb3da473400ced4f7ccf224f7baa8bc5bde0317cc045bb7b99738a56efe5fd0e5a0fbe39b997b9fb1739d24713e7f83b58e987c5e56a32
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake distutils-r1
|
||||
|
||||
MY_P=editorconfig-core-py-${PV}
|
||||
TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"
|
||||
DESCRIPTION="Clone of EditorConfig core written in Python"
|
||||
HOMEPAGE="https://editorconfig.org/"
|
||||
SRC_URI="
|
||||
https://github.com/editorconfig/editorconfig-core-py/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
test? (
|
||||
https://github.com/editorconfig/editorconfig-core-test/archive/${TESTVER}.tar.gz
|
||||
-> editorconfig-core-test-${TESTVER}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="PYTHON BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cli test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
cli? ( !app-text/editorconfig-core-c[cli] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use test; then
|
||||
mv "${WORKDIR}"/editorconfig-core-test-${TESTVER}/* "${S}"/tests || die
|
||||
fi
|
||||
if ! use cli; then
|
||||
sed -i -e '/editorconfig\.__main__/d' setup.py || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cmake_src_configure
|
||||
cmake_src_compile
|
||||
cmake_src_test
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue