Sync with portage [Fri May 10 18:37:55 MSK 2024].

This commit is contained in:
root 2024-05-10 18:37:55 +03:00
parent 2df90be904
commit 767bd26a94
376 changed files with 5771 additions and 1210 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1,4 +1,5 @@
DIST mongo-tools-100.4.1.tar.gz 3793073 BLAKE2B 0a5dbd7a638035e7e54922c46be4473f154f79cb6370ca72f87dfee49ea1353ebf60ccf4d324b0bc6f5388b8c095f68f423aafdf83358ac41ad59d1215dce69c SHA512 a6560f8ce2a86c1ae4400f3ef182f448991a238ef657bcd5eb6f98de0adb2cbd660a81ce00f3ca051f2db6d22a492158da9254b264424506669bf771d7a40fe6
DIST mongo-tools-100.5.1.tar.gz 3796549 BLAKE2B 6f95e1eb9f9c6c07725269f99dee0d940ffc5145e95b17b3e0a87f4cd60b1b0589a99a813c359f0b670bc34274fbd1f5b9c561caf07840bd85633174232a48ed SHA512 a488b15a6862cacaccaeb57698d423e4ee710d395b1280a66382e140cb71fec84aa738f3819a87b4a71faecd9c9da7bd92780a19d6d11fdebaf5142e594b2028
DIST mongo-tools-100.9.4.tar.gz 4742913 BLAKE2B 12cb5b7e6c0164f5c026410a3143cd383b18ffc3498026bc568b888039980090289fc5e7ed48be292d33f3ecad38ce781fccc8db2aca6c913f567bce74de3be9 SHA512 3c857da4587d4c473b495d5bf9b5ce2e64b7fd8c831baa89b462e93f1090d297069e6be18514412c233f2dab6ed024c7db5523c1e623513734cdd0d8d6f7167f
DIST mongo-tools-4.2.15.tar.gz 15028734 BLAKE2B 7479c5d0d9b6051f51e563f53a5c704a69dc3719d9417b216bcc1a65220d0ab2c9441fd24d8ac8e5b1600766797ef102df07ebfd946ee60949d3287673dfbaaf SHA512 f613ab61a4cf029548aa0e5623fef3798642ced791bf52f229e7d14d31de9472bfc3c8bfb3fa7b4542555a17c79ff9a514480c674cb3e45fb99c4f1745fdb9f0
DIST mongo-tools-4.2.17.tar.gz 15028859 BLAKE2B dfd9165bd83571cb3ae134f13072e8a06707d714f28107a70e41e8bf507f87bb44ef32a27c15c188e6b831e8c33907f201cb7a3f217868e0a88e6c31efce0f79 SHA512 e59df0593caf93b44fe5694e07e37e49e9d4237007ae33f0156f773987cbaeb59c7b3da8012f9a9b07f4eb146f8392b2d2bbcad97309284b0d67238a69af2663

View file

@ -0,0 +1,67 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="https://www.mongodb.com"
SRC_URI="https://github.com/mongodb/mongo-tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
IUSE="kerberos sasl ssl"
DEPEND="dev-lang/go:=
kerberos? ( app-crypt/mit-krb5 )
sasl? ( dev-libs/cyrus-sasl )
ssl? ( dev-libs/openssl:0= )
"
BDEPEND="dev-lang/go:="
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
EGO_PN="github.com/mongodb/mongo-tools"
S="${WORKDIR}/src/${EGO_PN}"
src_unpack() {
mkdir -p "${S%/*}" || die
default
mv ${P} "${S}" || die
}
src_compile() {
local myconf=()
if use kerberos; then
myconf+=(gssapi)
fi
if use sasl; then
myconf+=(sasl)
fi
if use ssl; then
myconf+=(ssl)
fi
# build pie to avoid text relocations wrt #582854
local buildmode="pie"
# skip on ppc64 wrt #610984
if use ppc64; then
buildmode="default"
fi
mkdir -p bin || die
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
echo "Building $i"
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" -x --tags "${myconf[*]}" "$i/main/$i.go" || die
done
}
src_install() {
dobin bin/*
}

Binary file not shown.

View file

@ -27,6 +27,7 @@ DEPEND="
sys-kernel/linux-headers
caps? ( sys-libs/libcap )
criu? ( >=sys-process/criu-3.15 )
elibc_musl? ( sys-libs/argp-standalone[static-libs] )
seccomp? ( sys-libs/libseccomp )
systemd? ( sys-apps/systemd:= )
"

Binary file not shown.

View file

@ -0,0 +1,24 @@
diff --git a/src/swtpm_localca/Makefile.am b/src/swtpm_localca/Makefile.am
index 74532a8..41b61ec 100644
--- a/src/swtpm_localca/Makefile.am
+++ b/src/swtpm_localca/Makefile.am
@@ -30,7 +30,6 @@ swtpm_localca_LDADD = \
$(top_builddir)/src/utils/libswtpm_utils.la
swtpm_localca_LDFLAGS = \
- -L$(top_builddir)/src/utils -lswtpm_utils \
$(MY_LDFLAGS) \
$(GLIB_LIBS) \
$(GMP_LIBS) \
diff --git a/src/swtpm_setup/Makefile.am b/src/swtpm_setup/Makefile.am
index c0f916b..61188c9 100644
--- a/src/swtpm_setup/Makefile.am
+++ b/src/swtpm_setup/Makefile.am
@@ -32,7 +32,6 @@ swtpm_setup_LDADD = \
$(top_builddir)/src/utils/libswtpm_utils.la
swtpm_setup_LDFLAGS = \
- -L$(top_builddir)/src/utils -lswtpm_utils \
$(MY_LDFLAGS) \
$(HARDENING_LDFLAGS) \
$(GLIB_LIBS) \

View file

@ -46,6 +46,7 @@ BDEPEND="${PYTHON_DEPS}"
PATCHES=(
"${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch"
"${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch"
"${FILESDIR}/${PN}-0.8.2-slibtool.patch"
)
src_prepare() {

View file

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite"
inherit autotools python-single-r1

View file

@ -1,61 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="sqlite"
inherit python-single-r1
DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
HOMEPAGE="https://tpm2-software.github.io/"
SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="fapi test"
REQUIRED_USE="( ${PYTHON_REQUIRED_USE} )"
# Units tests only for now
RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
app-crypt/p11-kit
app-crypt/tpm2-abrmd
app-crypt/tpm2-tools[fapi?]
!fapi? ( app-crypt/tpm2-tss:= )
fapi? ( >=app-crypt/tpm2-tss-3.0.1:=[fapi] )
dev-db/sqlite:3
dev-libs/libyaml
dev-libs/openssl:=
$(python_gen_cond_dep '
dev-python/bcrypt[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pyasn1[${PYTHON_USEDEP}]
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/tpm2-pytss[${PYTHON_USEDEP}]
')
"
DEPEND="test? ( dev-util/cmocka )
${RDEPEND}"
BDEPEND="${PYTHON_DEPS}
dev-build/autoconf-archive
virtual/pkgconfig"
src_configure() {
econf \
$(use_enable fapi) \
$(use_enable test unit)
}
src_install() {
default
python_domodule tools/tpm2_pkcs11
python_newscript tools/tpm2_ptool.py tpm2_ptool
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,28 @@
From 03726ba7684d672201dd773a49b7bec86ca877f5 Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Tue, 7 May 2024 20:37:14 +0200
Subject: [PATCH] Remove bash syntax
* `==` is bash and not POSIX
Bug: https://bugs.gentoo.org/931239
Signed-off-by: David Seifert <soap@gentoo.org>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index a763b683..eb6051ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,7 +652,7 @@ AS_IF([test "x$enable_self_generated_certificate" = xyes],
[AC_DEFINE([SELF_GENERATED_CERTIFICATE], [1], [Allow usage of self generated root certificate])],
[AS_IF([test "x$integration_tcti" != "xdevice"], [AC_DEFINE([FAPI_TEST_EK_CERT_LESS], [1], [Perform integration tests without EK certificate verification])])])
-AM_CONDITIONAL([INIT_CA], [test "x$enable_self_generated_certificate" == xyes])
+AM_CONDITIONAL([INIT_CA], [test "x$enable_self_generated_certificate" = xyes])
AS_IF([test "x$enable_integration" = "xyes" && test "x$enable_self_generated_certificate" != "xyes" && test "x$integration_tcti" != "xdevice"],
[AC_MSG_WARN([Running integration tests without EK certificate verification, use --enable-self-generated-certificate for full test coverage])])
--
2.43.2

View file

@ -0,0 +1,32 @@
From ce2ca92af5f215e9c3fa262ea40de0c1d2ff71a3 Mon Sep 17 00:00:00 2001
From: Christopher Byrne <salah.coronya@gmail.com>
Date: Fri, 3 May 2024 10:30:34 -0500
Subject: [PATCH] int-log-compiler-common.sh: Remove dependency on which
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
---
script/int-log-compiler-common.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/script/int-log-compiler-common.sh b/script/int-log-compiler-common.sh
index 5d0b3b95..5dddd77a 100755
--- a/script/int-log-compiler-common.sh
+++ b/script/int-log-compiler-common.sh
@@ -55,12 +55,12 @@ sanity_test ()
exit 1
fi
- if [ -z "$(which ${sock_tool})" ]; then
+ if [ -z "$(command -v ${sock_tool})" ]; then
echo "ss not on PATH; exiting"
exit 1
fi
- if [[ ! -z ${simulator_bin} && -z "$(which ${simulator_bin})" ]]; then
+ if [[ ! -z ${simulator_bin} && -z "$(command -v ${simulator_bin})" ]]; then
echo "${simulator_bin} not on PATH; exiting"
exit 1
fi
--
2.43.2

View file

@ -0,0 +1,112 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0/4"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="doc +fapi +openssl mbedtls +policy static-libs test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
^^ ( mbedtls openssl )
fapi? ( openssl !mbedtls )
policy? ( openssl !mbedtls )
"
RDEPEND="
acct-group/tss
acct-user/tss
sys-apps/util-linux:=[${MULTILIB_USEDEP}]
fapi? (
dev-libs/json-c:=[${MULTILIB_USEDEP}]
>=net-misc/curl-7.80.0[${MULTILIB_USEDEP}]
)
mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] )
openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )
"
DEPEND="
${RDEPEND}
test? ( app-crypt/swtpm
dev-libs/uthash
dev-util/cmocka
fapi? ( >=net-misc/curl-7.80.0 ) )
"
BDEPEND="
sys-apps/acl
virtual/pkgconfig
doc? ( app-text/doxygen )
"
PATCHES=(
"${FILESDIR}/${PN}-4.0.2-Dont-install-files-into-run.patch"
"${FILESDIR}/${PN}-4.1.1-int-log-compiler-common.sh-Remove-dependency-on-whic.patch"
"${FILESDIR}/${PN}-4.1.1-Remove-bash-syntax.patch"
)
pkg_setup() {
local CONFIG_CHECK="~TCG_TPM"
linux-info_pkg_setup
kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
}
src_prepare() {
default
eautoreconf
}
multilib_src_configure() {
# Fails with inlining
filter-flags -fno-semantic-interposition
# tests fail with LTO enabbled. See bug 865275 and 865279
filter-lto
local myconf=(
--localstatedir=/var
$(multilib_native_use_enable doc doxygen-doc)
$(use_enable fapi)
$(use_enable policy)
$(use_enable static-libs static)
$(multilib_native_use_enable test unit)
$(multilib_native_use_enable test integration)
$(multilib_native_use_enable test self-generated-certificate)
--disable-tcti-libtpms
--disable-tcti-spi-ltt2go
--disable-tcti-spi-ftdi
--disable-tcti-i2c-ftdi
--disable-defaultflags
--disable-weakcrypto
--with-crypto="$(usex mbedtls mbed ossl)"
--with-runstatedir=/run
--with-udevrulesdir="$(get_udevdir)/rules.d"
--with-udevrulesprefix=60-
--without-sysusersdir
--with-tmpfilesdir="/usr/lib/tmpfiles.d"
)
ECONF_SOURCE=${S} econf "${myconf[@]}"
}
multilib_src_install() {
default
keepdir /var/lib/tpm2-tss/system/keystore
find "${ED}" -name '*.la' -delete || die
}
pkg_postinst() {
tmpfiles_process tpm2-tss-fapi.conf
udev_reload
}
pkg_postrm() {
udev_reload
}

Binary file not shown.

View file

@ -1,2 +1 @@
DIST cantera-docs-2.6.0.tar.xz 5561604 BLAKE2B 3fab71497584e7be6b025daaedb9cdf87c837a2476206882016894e9af9dc719dc99f5b428beb836df1b83c1db6c8bffad6abf480a4e71e3756985c70f4362d6 SHA512 d9273396cbc7638ed2ab9ce754fe75cd7993a00884c3c988fa007527842913696a97b796cc5dd57f5657813c339ad61ad1ffcdaf7384a667eee97d70cae441bc
DIST cantera-docs-3.0.0.tar.xz 6397512 BLAKE2B 086c81acf7a26c6ef429c37873b176cfb73168e03bb445120184008b9a92eeaf1eeb7bfbea7acce8c9741e5eababf7e10ed7cb0d2f239f4a73a77f52a8488b7a SHA512 57870ff1adf433c83f713541321b9742bb9881d5dbb3429c161ed7cf84bad9ccf9ec8ed725c6672dc449e4041144a82dc3ae443f757bcdbd14b297801e9fe5b9

View file

@ -1,24 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Documentation API reference for Cantera package libraries"
HOMEPAGE="https://cantera.org"
SRC_URI="https://github.com/band-a-prend/gentoo-overlay/releases/download/ct-docs-${PV}/${P}_modified_menu.tar.xz -> ${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~riscv ~x86"
S="${WORKDIR}/"
src_install() {
insinto /usr/share/cantera/doc/
doins -r "${S}/."
make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/doxygen/html/index.html" "Cantera Doxygen Documentation" "text-html" "Development"
make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/sphinx/html/index.html" "Cantera Sphinx Documentation" "text-html" "Development"
}

View file

@ -8,13 +8,12 @@ inherit desktop xdg
DESCRIPTION="Documentation API reference for Cantera package libraries"
HOMEPAGE="https://cantera.org"
SRC_URI="https://github.com/band-a-prend/gentoo-overlay/releases/download/ct-docs-${PV}/${P}_modified_menu.tar.xz -> ${P}.tar.xz"
S="${WORKDIR}/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~riscv ~x86"
S="${WORKDIR}/"
src_install() {
insinto /usr/share/cantera/doc/
doins -r "${S}/."

Binary file not shown.

View file

@ -1,6 +1,6 @@
DIST vscode-1.88.1-amd64.tar.gz 142835966 BLAKE2B f78ed2a0a68d9c632ac1b8c811647696da2f9d86d1c171fdc1a0ea75f77872bb5e9a860020a49c0e3a3cfcafd85f9cf9da3300326b1e08077bc6f1eeb1c53f64 SHA512 5730981a13d72a317c180b566ec0d3408e75bb80eb37dd7de58e2beb4492ab59df9009cff92b3ac1cb4283f66868d793bdffc0689248fb3630e9cf55bfcc7bab
DIST vscode-1.88.1-arm.tar.gz 128139341 BLAKE2B 36da83b891554c2e4090e70635f7c241e20dd5be0beddcf15df32563ef47e20e5de3f4cef874b2b0ebf49702582cb604e7a4e2355d5a46ecc8f934de42b49c1e SHA512 79e181b0c8603c06605eaa1901527bb5da593c40ce2a830b36f80911648736125c5f12ec98fe9ca61edeea051f5ab8cd172983a0228800b32a718ef4a00ef089
DIST vscode-1.88.1-arm64.tar.gz 139073832 BLAKE2B 884231acc011963151ca6121243c459415b261158ee01056cbc7316f4ac7f05fe65583500d6f2cc9967975fd5ff063b02c2b7bd85aa2e2614d844f72385cb672 SHA512 af02536c815e78c12ffeb5f472e63f7390cb619e772256d00cf130898fb836a853fe9fd6362540d1dd1384949e13ca261a98da6abdf8781e62e981ab47847eaf
DIST vscode-1.89.0-amd64.tar.gz 143134909 BLAKE2B 93fffeb6d1d13d5f1b553bb16816a6b9b6ff1979a5ae4c3e3f294ce911875f5b1ebdf0888c4fcba5a47cad3229ff5b88bb938c0d180f84a22f060fd53c878d8b SHA512 7509c6c073fd8e23eb1c989e67085b4f9f9686d26c33d6dd915b1836fd8501b59b261b142590cf00cecf62cbccc30f2c620ebfef6af2173b0f41fa59160e4428
DIST vscode-1.89.0-arm.tar.gz 128531766 BLAKE2B 12920281d644fcd2582ffe32b15328888a3acd5341578f6548f48c976c41c330fb33ea30d0933742f1978423afae42d187d5a6feea2bb96837da4fb0067352e2 SHA512 25ac38362cfbdbbb51fe278ba641323ecefe3281b731d22d6ca3b57e125eb12bd6c9cccb68d69cd1c50dc4a399606e5c7ae19dafef8ae6b113658d975ed56560
DIST vscode-1.89.0-arm64.tar.gz 139462657 BLAKE2B b0873b26f8d49d5c1be9cc0d71e7f88c1154faf3e8660ecd1ea8f79932b9399ec70d468035bdc7a067970e6c315ae3b92658239e2278b0cd5cdd16bebd637007 SHA512 156cf694f9c7a0acff313108e49e0d0a300bf6e5a4aef410056c4f874b6c054d5718542213da6edae42d3ba738a0b8fbd537f7c725d7352a2fd5e8129fc6d22c
DIST vscode-1.89.1-amd64.tar.gz 143147679 BLAKE2B 1b6e33d02e6b65ac91710276d0ffcffb636f645c9a21bad2057c20855dd621702d5cebaabfcf7be02632d41d1bbaa89fe5270326be4237d7d69de04a343bc655 SHA512 09ff935fbb56a8c63d6a18a2cae482dc45e1f34f524260591f4e5859f6a6297a789291b856e3c644af9255a64a92815b0217f8dda237fc00e445f822e1adf531
DIST vscode-1.89.1-arm.tar.gz 128552384 BLAKE2B 3f26d82a44d7a68588205c2ee2b7523ffd992860deaa7863322e8dbfbc886062ee3fa4530a647d655c4eaf8b1b22c5b981436fd658c9005e9fcfd7aacc159b6b SHA512 fe63cf0315e382b80367bfd8bdc8fc75f11f734b38f8413fa3ad2da25e9402fd52fb1f48cf2faa13d702bb6d8ea8e82e5ca5dbb4aaf8819d35d6a442c8e01d0f
DIST vscode-1.89.1-arm64.tar.gz 139443388 BLAKE2B 4a88f080b631688a969160b002d47b1846d2bd6d80360f6f3bbbf3d6c2620abd29aa431ba15e4414beb009445f9342f2d6f57c39678490b362b68c53a793f8fc SHA512 ebd1176aea7cb5ecf260324c40353b4af274c19c4b09f665fe7eec7e83bf163609503d986f75f50681ecb2ef2996c41988a794b2c526a1f865ef87c1313bab30

View file

@ -1,6 +1,3 @@
DIST vscodium-1.88.1.24102-amd64.tar.gz 129277427 BLAKE2B 5b1584a4b1707e4616515cf242d097a09b83fde6326d2d6ca43bf4f321b299d930e0d3744603ee1a1b6affa72aeecb7a231423116a631aa10b2660efc1f72638 SHA512 e30b983f11ed7567c4e3f21fa9d3574cb60675ac0c1a1b4764c4eea8baa40099d54377a398ad13972f77aab72880789deefbf9f559a8773c62be4fafe954ae48
DIST vscodium-1.88.1.24102-arm.tar.gz 118175032 BLAKE2B e1d53eecbfed89f48cbc65674261bb76470dbcac2c4a4a2e5a554beae42643d9a3b4a629872d9f220db0ac0fe7115385ce56663ef86b2d25d940b5ec000c8c21 SHA512 52ea09c2d761860febc1aa7bbb5edc0c6b6a2b8225e49d1c863de774bb6600cecc90bcdad25489d9eb99d4e2cf94f638d4482d539631126603ef5ffa8af1548d
DIST vscodium-1.88.1.24102-arm64.tar.gz 128995378 BLAKE2B 1a44737c071687a8126789caae088230c593a39bd49d915fc5b65431a36ccb7685c2f0ddeab8cc7a090acb6264c2b7fac0d6b8fcd270f4ba2ddfd0e3f3c1e02d SHA512 7c9d4f2acf07474fff03d129a8c63a9e663cb0ad0dc9a88020ea04c616f0bbd50586d690e2f7b4ebce6e0dcb5fdae8d620ef566abb5af14e1f7d0b6cc30968b1
DIST vscodium-1.88.1.24104-amd64.tar.gz 129280084 BLAKE2B 2d08d9008ef1c0f5890ddce171823cb6dd91b6b5cfdc4136783b8b97a50e7826e95b947b67bcdffb5900dea8718d20ccde6f46d73de295e48444790582ee7805 SHA512 0f7bfb93dabe29ae008d6bc8c571fa3fc7bc97b68eb5725a485dca283c019a7b9dd9ded5c55a9ce7e6ca58f48de1390a542068734acca1060b481cb1e3cb553c
DIST vscodium-1.88.1.24104-arm.tar.gz 118167766 BLAKE2B 3b992242adbb8271f7b647ebe2f36c3e3fb30539e69b921cbe981fe92c345f272b465123c4eb789e9e830b2517759deefa8d0bf0cd6ec75a72664a67c4499c53 SHA512 d8a63d8c78931937f487f35f3e4f56405b32d2813855c9752478639cb9abea374749cb22cad54bc5c395c6841032b4b42ce26b754161f91de9b1711ef1fdf1f1
DIST vscodium-1.88.1.24104-arm64.tar.gz 128990828 BLAKE2B 4cc567c7c6923a171a133a3176a24855cf5162a35f7d4160812f403fc66367950ee5dad58c08ae3028038dec850af9f42ef542e8698e0bb38b9c45873b3bec74 SHA512 d1e59e057d8882878260630bbf8373445c7c2812068af501a4f883d521f6868866d78a87423f96e51273f8c3f76169dbc4ed408c4c9cf085768e74a0c2d9d092
DIST vscodium-1.89.0.24127-amd64.tar.gz 129588745 BLAKE2B 2a372e364921e8e0376b21c04613b8db8bd58deb92382a27bf77e160ec981681774d922c40b64356ac49069cd51f8f02472539f5b94f1d67172f1b7da076796f SHA512 e271cfa60971d19ef7925a3cf398a515cf8a57dbafbd91f67278b0e80dc28a7289424af6aaa91f5cffa813c1efa5c823d907ee7834059d3cd30c667208a68fbd
DIST vscodium-1.89.0.24127-arm.tar.gz 118486655 BLAKE2B c1d00399e9b2625ca6b388d4eba4e75359d94e2241d89170f4a20a8e823a3397c62f352171197e97b6cf7d266c39472117522d813f9eee566731167f9279900a SHA512 e74ae9b9ca35635fb87b470cf87793964384431b58c6748104eb4d483e39ba4c990547feb30acaf65ed05ac63d5f8cc9df197bb274e1042cbc92b16e3d0b9a40
DIST vscodium-1.89.0.24127-arm64.tar.gz 129311961 BLAKE2B 0669a35ca2b8e3e2295f11834b88e13cafe68ef067d2740cca763fe9b801265cb2c8ebe9485c2bca9240d219e4dacb0d426ea4fbb5ed4bb8ecb8ab3a7b13bf37 SHA512 a731be7cb5ee77300e0c0cdbedbbb4dbf5bc381f87853b6e7929465abbbae397fbacb9fb71e2d411606cf690bf704598aff09d94f2592aefef6da6be9a109ee4

View file

@ -1,129 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop pax-utils xdg optfeature
# Usage: arch_src_uri <gentoo arch> <upstream arch>
arch_src_uri() {
echo "${1}? (
https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz
-> ${P}-${1}.tar.gz
)"
}
DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
HOMEPAGE="https://vscodium.com/"
SRC_URI="
$(arch_src_uri amd64 x64)
$(arch_src_uri arm armhf)
$(arch_src_uri arm64 arm64)
"
S="${WORKDIR}"
LICENSE="
Apache-2.0
BSD
BSD-1
BSD-2
BSD-4
CC-BY-4.0
ISC
LGPL-2.1+
MIT
MPL-2.0
openssl
PYTHON
TextMate-bundle
Unlicense
UoI-NCSA
W3C
"
SLOT="0"
KEYWORDS="-* amd64 ~arm ~arm64"
IUSE="egl kerberos wayland"
RESTRICT="strip bindist"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
app-crypt/libsecret[crypt]
app-misc/ca-certificates
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/libcanberra[gtk3]
media-libs/libglvnd
media-libs/mesa
net-misc/curl
net-print/cups
sys-apps/dbus
sys-libs/zlib
sys-process/lsof
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libxkbfile
x11-libs/libXrandr
x11-libs/libXScrnSaver
x11-libs/pango
x11-misc/xdg-utils
kerberos? ( app-crypt/mit-krb5 )
"
QA_PREBUILT="*"
src_install() {
# Cleanup license file - it exists only in amd64 tarball
rm -f "${S}/resources/app/LICENSE.txt" || die
if ! use kerberos; then
rm -rf "${S}/resources/app/node_modules.asar.unpacked/kerberos" || die
fi
# Install
pax-mark m codium
mkdir -p "${ED}/opt/${PN}" || die
cp -r . "${ED}/opt/${PN}" || die
fperms 4711 /opt/${PN}/chrome-sandbox
dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium"
dosym -r "/opt/${PN}/bin/codium" "usr/bin/codium"
local EXEC_EXTRA_FLAGS=()
if use wayland; then
EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" )
fi
if use egl; then
EXEC_EXTRA_FLAGS+=( "--use-gl=egl" )
fi
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
"${FILESDIR}/vscodium-url-handler.desktop" \
> "${T}/vscodium-url-handler.desktop" || die
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
"${FILESDIR}/vscodium.desktop" \
> "${T}/vscodium.desktop" || die
domenu "${T}/vscodium.desktop"
domenu "${T}/vscodium-url-handler.desktop"
newicon "resources/app/resources/linux/code.png" "vscodium.png"
}
pkg_postinst() {
xdg_pkg_postinst
elog "When compared to the regular VSCode, VSCodium has a few quirks"
elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md"
optfeature "desktop notifications" x11-libs/libnotify
optfeature "keyring support inside vscode" "virtual/secret-service"
}

Binary file not shown.

View file

@ -1,4 +1,4 @@
DIST org-mode-release_9.6.23.tar.gz 2212912 BLAKE2B 50f387e72650561c0d76068d4c98c406560f3523e9680b4eebc8a2baa0c445a64eeb3934062f721325afe02ab0ec46d7cdff7bdf2f4f19740c130beee496d26f SHA512 60e9abdaa195a21707dbcb44cf0a30f330307455ecf63ea67db09e19efc171bb670dc31c70baca191c2a35890004871f6513fbeeff890bb18cf92b251dae8ec1
DIST org-mode-release_9.6.24.tar.gz 2212983 BLAKE2B 3b780973b68853738b6d74162c100eff4ddb7777c13e9c2a927edbeabebf7763c6a32abc43f7e38fae986a9cbc20926d4b40b54131f0e4acd1fc16f5d62b4b5c SHA512 85696fb49a9764d8163316ae03db02a3324ac828fd11cfda509aaef4ff3af6c7c4aaad0857d225216bc7dd672cf89817b007b63ea78092804abf93475e56e171
DIST org-mode-release_9.6.26.tar.gz 2213217 BLAKE2B a4972b4c9647fc816506cc8aebab8d21e0ef461dbf8a0dcaed789c6451ee54464eaa99f59581bc39256b68c8d66c133c60c3c523ac4a31725e7002ccdc6e51b5 SHA512 3b612b3af272c0633d8e11ed210c16218250c3f5b6be7f800659a767ebfc77ebb01bdaf649045ac9ab7edf1bb8a9c7386a8c04eaafe12d943bf48989670ca20d
DIST org-mode-release_9.6.28.tar.gz 2213979 BLAKE2B a0dec5afe4c234d895e459abb1d30e4b7dc8b0c7ff918b8444adb7324bf77975acafe2ab1dcc7ea1ef3340471cf0508896609ca5ce4f8384777b72ce0fb0bcb8 SHA512 7e4944277ff52d3740d341e059eab00316f0baf3bf6e0f9c1b3c35577530feb0a516f1b081902e0e45b0138d1903d0bb7d96342a3fb5524bb6a066713a6c044b
DIST org-mode-release_9.6.29.tar.gz 2213955 BLAKE2B 6941618cae31ce7ff93789d926ff340609136bbfab2f1ee96d33622e0ad8c86193948999f25cfe3ca935e6938c57f805e3423e0ac434f80f31a52639e4b65380 SHA512 3b1ab2a70b4407b84cd7103c789b12285b774f873a488c9c92cb11c1f9c08b9f85b1ee05d9f69c7e6333d9b7085ac804f50aa7a97c2123f8f72db2160aa4e7f3

View file

@ -5,15 +5,15 @@ EAPI=8
inherit elisp readme.gentoo-r1
MY_P="${PN}-release_${PV}"
DESCRIPTION="An Emacs mode for notes and project planning"
HOMEPAGE="https://www.orgmode.org/"
MY_P="${PN}-release_${PV}"
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
SLOT="0"
KEYWORDS="amd64 ppc x86"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc odt-schema"
RESTRICT="test"

Binary file not shown.

View file

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
MULTILIB_ABIS="amd64 x86" # allow usage on /no-multilib/
MULTILIB_COMPAT=( abi_x86_{32,64} )
inherit flag-o-matic meson-multilib python-any-r1

View file

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
MULTILIB_ABIS="amd64 x86" # allow usage on /no-multilib/
MULTILIB_COMPAT=( abi_x86_{32,64} )
inherit flag-o-matic meson-multilib python-any-r1

View file

@ -0,0 +1,84 @@
From cab1e71f0161fd24c5d6ff4c379d3a242ea8c2d9 Mon Sep 17 00:00:00 2001
Message-ID: <cab1e71f0161fd24c5d6ff4c379d3a242ea8c2d9.1714995961.git.mprivozn@redhat.com>
From: Michal Privoznik <mprivozn@redhat.com>
Date: Sat, 4 May 2024 05:12:54 +0200
Subject: [PATCH] vsh: Don't init history in cmdComplete()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Recent rework of virshtest uncovered a subtle bug that was
dormant in now vsh but before that even in monolithic virsh.
In vsh.c there's this vshReadlineInit() function that's supposed
to initialize readline library, i.e. set those global rl_*
pointers. But it also initializes history library. Then, when
virsh/virt-admin quits, vshReadlineDeinit() is called which
writes history into a file (ensuring the parent directory
exists). So far no problem.
Problem arises when cmdComplete() is called (from a bash
completer, for instance). It does not guard call to
vshReadlineInit() with check for interactive shell (and it should
not), but it sets ctl->historyfile which signals to
vshReadlineDeinit() the history should be written.
Now, no real history is written, because nothing was entered on
the stdin, but the parent directory is created nevertheless. With
recent movement in virshtest.c this means some test cases might
create virsh history file which breaks our promise of not
touching user's data in test suite.
Resolves: https://bugs.gentoo.org/931109
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
---
tools/vsh.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/tools/vsh.c b/tools/vsh.c
index 58855f63ba..e74045c24e 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -2973,7 +2973,7 @@ vshReadlineInit(vshControl *ctl)
const char *quote_characters = "\"'";
/* initialize readline stuff only once */
- if (ctl->historydir)
+ if (autoCompleteOpaque)
return 0;
/* Opaque data for autocomplete callbacks. */
@@ -2989,6 +2989,11 @@ vshReadlineInit(vshControl *ctl)
rl_completer_quote_characters = quote_characters;
rl_char_is_quoted_p = vshReadlineCharIsQuoted;
+ /* Stuff below is needed only for interactive mode. */
+ if (!ctl->imode) {
+ return 0;
+ }
+
histsize_env = g_strdup_printf("%s_HISTSIZE", ctl->env_prefix);
/* Limit the total size of the history buffer */
@@ -3149,7 +3154,7 @@ vshInit(vshControl *ctl, const vshCmdGrp *groups)
cmdGroups = groups;
if (vshInitDebug(ctl) < 0 ||
- (ctl->imode && vshReadlineInit(ctl) < 0))
+ vshReadlineInit(ctl) < 0)
return false;
return true;
@@ -3168,7 +3173,7 @@ vshInitReload(vshControl *ctl)
if (ctl->imode)
vshReadlineDeinit(ctl);
- if (ctl->imode && vshReadlineInit(ctl) < 0)
+ if (vshReadlineInit(ctl) < 0)
return false;
return true;
--
2.43.2

View file

@ -147,6 +147,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-9.4.0-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-9.9.0-do-not-use-sysconfig.patch
"${FILESDIR}"/${PN}-9.6.0-fix-paths-for-apparmor.patch
"${FILESDIR}"/${PN}-10.3.0-vsh-Don-t-init-history-in-cmdComplete.patch
)
pkg_setup() {

View file

@ -12,7 +12,7 @@ SRC_URI="https://github.com/vmware/open-vm-tools/releases/download/stable-${PV}/
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="X +deploypkg +dnet doc +fuse gtkmm +icu multimon pam +resolutionkms +ssl +vgauth"
REQUIRED_USE="
multimon? ( X )

View file

@ -4,7 +4,7 @@
EAPI=8
MULTILIB_COMPAT=( abi_x86_{32,64} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit autotools flag-o-matic multilib multilib-build prefix
inherit python-any-r1 readme.gentoo-r1 toolchain-funcs wrapper

View file

@ -4,7 +4,7 @@
EAPI=8
MULTILIB_COMPAT=( abi_x86_{32,64} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit autotools flag-o-matic multilib multilib-build prefix
inherit python-any-r1 readme.gentoo-r1 toolchain-funcs wrapper

View file

@ -4,7 +4,7 @@
EAPI=8
MULTILIB_COMPAT=( abi_x86_{32,64} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit autotools flag-o-matic multilib multilib-build prefix
inherit python-any-r1 readme.gentoo-r1 toolchain-funcs wrapper

View file

@ -4,7 +4,7 @@
EAPI=8
MULTILIB_COMPAT=( abi_x86_{32,64} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit autotools flag-o-matic multilib multilib-build prefix
inherit python-any-r1 readme.gentoo-r1 toolchain-funcs wrapper

Binary file not shown.

View file

@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="ncurses"
inherit distutils-r1 xdg

Binary file not shown.

View file

@ -1,3 +1,4 @@
DIST bash-completion-2.11.tar.xz 311004 BLAKE2B 98e3ab6669bd70b49b238a597f1bc1309dc7ddd51c5b17c5e054f9161115d75d26e85d547471bc087e070d10554448b790a6dfb557abc413b70079ecc94acce3 SHA512 41585f730b5114d397831ba36d10d05643c6a6179e746ddc49aa1cbef61ea5525fd2f09b2e474adee14e647f99df8d5983ee48e29a59d8a30e1daf7fb1837e06
DIST bash-completion-2.13.0.tar.xz 424956 BLAKE2B 5055118378f99ea679cc9e6e2c12a2c82b3428bae3f87b2b73df448ce31c68567fc18423332fccd6f3c0c7ceb3ae8d0f0a84eec7ddbd8c2b7868061a03c4a8a5 SHA512 7c65fea599a25c2c9d6ef300a9cc2d5fbabd0bcc9e09fe32bb706d3398936f40501171f03280f042465bc0d9aca4b1b53c2c13a99bbdfb6fe916767a267158af
DIST bash-completion-2.14.0.tar.xz 428980 BLAKE2B c28ec0cd348a3954461f7a865823a358e47c4b479c7812baa6d54aef856c958510967806550e62784955f9daf233a0b01edade19884e534df857472a3196e63e SHA512 2e12d2e57c932b931a6cfe59234f9d33d715538d6ea4eb72ed4ed3d8d2cf2cedaf08fcb6abaf3117e06115d892283e38a07b3abe5c91c026d2c06a0f64e347bd
DIST bashcomp-2.0.3.tar.gz 3539 BLAKE2B 75304d144792cc7f6ad5455a05a65c33c646d6f7384d020a06a1fcf012cd51625a3dd0750ad539253453b1eede196c340286a1e81737f0835b5091609ba01295 SHA512 b2bd185ccbd4456939ccc731cc1983fcec2b9564a9920642a753fadd5d897fdb96b925ac1524657629d621d45b37d99076c8ae72511a827e96ff6c388d720008

View file

@ -0,0 +1,178 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
BASHCOMP_P=bashcomp-2.0.3
PYTHON_COMPAT=( python3_{10..12} )
inherit python-any-r1
DESCRIPTION="Programmable Completion for bash"
HOMEPAGE="https://github.com/scop/bash-completion"
SRC_URI="
https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
eselect? (
https://github.com/projg2/bashcomp2/releases/download/v${BASHCOMP_P#*-}/${BASHCOMP_P}.tar.gz
)
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="+eselect test"
RESTRICT="!test? ( test )"
# completion collision with net-fs/mc
RDEPEND="
>=app-shells/bash-4.3_p30-r1:0
sys-apps/miscfiles
!<app-text/tree-2.1.1-r1
!!net-fs/mc
"
BDEPEND="
test? (
${RDEPEND}
$(python_gen_any_dep '
dev-python/pexpect[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
')
)
"
PDEPEND="
>=app-shells/gentoo-bashcomp-20140911
"
PATCHES=(
"${FILESDIR}"/${PN}-2.14.0-optimize-kernel-modules.patch
)
strip_completions() {
# Remove unwanted completions.
local strip_completions=(
# Slackware package stuff, quite generic names cause collisions
# (e.g. with sys-apps/pacman)
explodepkg installpkg makepkg pkgtool removepkg upgradepkg
# Debian/Red Hat network stuff
ifdown ifup ifquery ifstatus
# Installed in app-editors/vim-core
xxd
# Now-dead symlinks to deprecated completions
hd ncal
# FreeBSD
freebsd-update kldload kldunload portinstall portsnap
pkg_deinstall pkg_delete pkg_info
)
local file
for file in "${strip_completions[@]}"; do
rm "${ED}"/usr/share/bash-completion/completions/${file} ||
die "stripping ${file} failed"
done
# remove deprecated completions (moved to other packages)
rm "${ED}"/usr/share/bash-completion/completions/_* || die
}
python_check_deps() {
python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"
}
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_prepare() {
if use eselect; then
eapply "${WORKDIR}/${BASHCOMP_P}/bash-completion-blacklist-support.patch"
fi
default
}
src_test() {
local EPYTEST_DESELECT=(
# redhat-specific, we strip these completions
test/t/test_if{down,up}.py
# not available for icedtea
test/t/test_javaws.py
# TODO
test/t/test_vi.py::TestVi::test_2
test/t/test_xmlwf.py::TestXmlwf::test_2 #bug 886159
test/t/test_xrandr.py::TestXrandr::test_output_filter
)
local EPYTEST_IGNORE=(
# stupid test that async tests work
test/fixtures/pytest/test_async.py
)
local EPYTEST_XDIST=1
# portage's HOME override breaks tests
local -x HOME=$(unset HOME; echo ~)
addpredict "${HOME}"
# used in pytest tests
local -x NETWORK=none
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=xdist.plugin
emake -C completions check
epytest
}
src_install() {
# work-around race conditions, bug #526996
mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
strip_completions
dodoc AUTHORS CHANGELOG.md CONTRIBUTING.md README.md
# install the python completions for all targets, bug #622892
local TARGET
for TARGET in "${PYTHON_COMPAT[@]}"; do
if [[ ! -e "${ED}"/usr/share/bash-completion/completions/${TARGET/_/.} ]]; then
dosym python "${ED}"/usr/share/bash-completion/completions/${TARGET/_/.}
fi
done
# install the eselect module
if use eselect; then
insinto /usr/share/eselect/modules
doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
fi
}
pkg_postinst() {
local v
for v in ${REPLACING_VERSIONS}; do
if ver_test "${v}" -lt 2.1-r90; then
ewarn "For bash-completion autoloader to work, all completions need to"
ewarn "be installed in /usr/share/bash-completion/completions. You may"
ewarn "need to rebuild packages that installed completions in the old"
ewarn "location. You can do this using:"
ewarn
ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
ewarn
ewarn "After the rebuild, you should remove the old setup symlinks:"
ewarn
ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
fi
done
if has_version 'app-shells/zsh'; then
elog
elog "If you are interested in using the provided bash completion functions with"
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
elog
fi
}

View file

@ -0,0 +1,13 @@
https://bugs.gentoo.org/669128#c3
--- a/bash_completion
+++ b/bash_completion
@@ -2037,7 +2037,7 @@ _comp__init_set_up_service_completions
_comp_compgen_kernel_modules()
{
local _modpath=/lib/modules/$1
- _comp_compgen_split -- "$(command ls -RL "$_modpath" 2>/dev/null |
+ _comp_compgen_split -- "$(command ls -RL "$_modpath"/!(source|build) 2>/dev/null |
command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\)\{0,1\}$/\1/p' \
-e 's/^\(.*\)\.ko\.zst$/\1/p')"
}

Binary file not shown.

View file

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite,ssl"
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg

View file

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite,ssl"
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
@ -35,7 +35,7 @@ LICENSE="
OFL-1.1
PSF-2
"
KEYWORDS="~amd64"
KEYWORDS="amd64"
SLOT="0"
IUSE="+font-subsetting ios speech +system-mathjax test +udisks unrar"

View file

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite,ssl"
inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg

Binary file not shown.

View file

@ -1,2 +1,4 @@
DIST mongodb-4.4.29.gh.tar.gz 51651007 BLAKE2B 9e9bd08ce87659fcf788964ec1bff80baef5bb9c2f5bd4968588511d289b9baf9fc68812f72ee89f90fb557dcc8d2ecbb3f607ca8e31c2212ec9633c0b99da37 SHA512 3c32a918c8b5587b04ee9263788c250a9bbd64f34ed2c19939e78607456215697966e596c2cfd160604b629188e4bdf3fff071db268bb3c25de3077a7c2ef335
DIST mongodb-5.0.26.gh.tar.gz 57252091 BLAKE2B a4663a4dbac90118b56646816b178680a6bd99be6abb582fdfdb662c8ddf14eb9db18ed97260a37b2d04bf11715e6cfaa34bb12c4f4b08426e3afa90908f0b3c SHA512 efd56649006bb61070a2f255e8d843e4ddab33562ec9454afe55848dcc3ce8ee90431f70c9362b14e52c4a49a162ea3075a869a6fd71f63efdd5f4358703fea4
DIST mongodb-src-r4.4.20.tar.gz 50883098 BLAKE2B 3ef2fddc4d926e372033449a14b0a71c606b6f8a9bb6767ff32c8da5a9287bf2972fae9dd83eab3ad934b1341c3edeed7708afd46f9a096819e9eca48aca40f5 SHA512 70b264b6a6f3ec16c8b0750d47026928f6250cb7a1a64d980c400ffbcc3af1b9c6301fe098d209fb8461cba4534b7c2edffdcdeb0548e627da107cc23d9a6b9c
DIST mongodb-src-r5.0.16.tar.gz 56217257 BLAKE2B d78704c0cff4f8c1da20fdc5e083634c6dbe539136de58410ae6b86c9c5cd8044926425545ae07a7011a5febec5abb6f67773b8e539a4ac16daa1ad0ffc6a070 SHA512 d5fccd6cd3ee3f70457bd96a8eff66ca9872df37e196f1baf26993b6c080297d77504020e5554eaf3a2e92bb2730a467226b4bef47ab7fdc4de247d91c0143eb

View file

@ -0,0 +1,24 @@
buildscripts/moduleconfig.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/buildscripts/moduleconfig.py b/buildscripts/moduleconfig.py
index b4d0bba0490..03541fab940 100644
--- a/buildscripts/moduleconfig.py
+++ b/buildscripts/moduleconfig.py
@@ -27,7 +27,6 @@ MongoDB SConscript files do.
__all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
'register_module_test') # pylint: disable=undefined-all-variable
-import imp
import inspect
import os
@@ -71,8 +70,6 @@ def discover_modules(module_root, allowed_modules):
print("adding module: %s" % (name))
fp = open(build_py, "r")
try:
- module = imp.load_module("module_" + name, fp, build_py,
- (".py", "r", imp.PY_SOURCE))
if getattr(module, "name", None) is None:
module.name = name
found_modules.append(module)

View file

@ -17,4 +17,7 @@
<flag name="mongosh">Install the MongoDB shell from <pkg>app-admin/mongosh-bin</pkg></flag>
<flag name="tools">Install the MongoDB tools (mongoimport, mongodump...) from <pkg>app-admin/mongo-tools</pkg></flag>
</use>
<upstream>
<remote-id type="github">mongodb/mongo</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,188 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
SCONS_MIN_VERSION="3.3.1"
CHECKREQS_DISK_BUILD="2400M"
CHECKREQS_DISK_USR="512M"
CHECKREQS_MEMORY="1024M"
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
MY_PV=r${PV/_rc/-rc}
MY_P=mongo-${MY_PV}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="https://www.mongodb.com"
SRC_URI="https://github.com/mongodb/mongo/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 -riscv"
IUSE="debug kerberos ssl test +tools"
RESTRICT="!test? ( test )"
RDEPEND="acct-group/mongodb
acct-user/mongodb
>=app-arch/snappy-1.1.3:=
>=dev-cpp/yaml-cpp-0.6.2:=
dev-libs/boost:=[nls]
>=dev-libs/libpcre-8.42[cxx]
app-arch/zstd:=
dev-libs/snowball-stemmer:=
net-misc/curl
>=sys-libs/zlib-1.2.11:=
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
ssl? (
>=dev-libs/openssl-1.0.1g:0=
)"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
sys-libs/ncurses:0=
sys-libs/readline:0=
debug? ( dev-debug/valgrind )"
BDEPEND="
$(python_gen_any_dep '
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
dev-python/cheetah3[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
')
"
PDEPEND="tools? ( >=app-admin/mongo-tools-100 )"
PATCHES=(
"${FILESDIR}/${PN}-4.4.1-fix-scons.patch"
"${FILESDIR}/${PN}-4.4.8-no-compass.patch"
"${FILESDIR}/${PN}-4.4.1-boost.patch"
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
"${FILESDIR}/${PN}-4.4.10-boost-1.79.patch"
"${FILESDIR}/${PN}-4.4.10-no-force-lld.patch"
"${FILESDIR}/${PN}-4.4.10-boost-1.81.patch"
"${FILESDIR}/${P}-no-enterprise.patch"
)
python_check_deps() {
if use test; then
python_has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
python_has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
fi
python_has_version -b ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]"
}
pkg_pretend() {
if [[ -n ${REPLACING_VERSIONS} ]]; then
if ver_test "$REPLACING_VERSIONS" -lt 4.2; then
ewarn "To upgrade from a version earlier than the 4.2-series, you must"
ewarn "successively upgrade major releases until you have upgraded"
ewarn "to 4.2-series. Then upgrade to 4.4 series."
else
ewarn "Be sure to set featureCompatibilityVersion to 4.2 before upgrading."
fi
fi
}
src_prepare() {
default
# remove bundled libs
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*} || die
# remove compass
rm -r src/mongo/installer/compass || die
}
src_configure() {
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
# --use-system-icu fails tests
# --use-system-tcmalloc is strongly NOT recommended:
# for MONGO_GIT_HASH use GitOrigin-RevId from the commit of the tag
scons_opts=(
AR="$(tc-getAR)"
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
CCFLAGS="${CXXFLAGS}"
VERBOSE=1
VARIANT_DIR=gentoo
MONGO_VERSION="${PV}"
MONGO_GIT_HASH="f4dda329a99811c707eb06d05ad023599f9be263"
--disable-warnings-as-errors
--use-system-boost
--use-system-pcre
--use-system-snappy
--use-system-stemmer
--use-system-yaml
--use-system-zlib
--use-system-zstd
)
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
use debug && scons_opts+=( --dbg=on )
use kerberos && scons_opts+=( --use-sasl-client )
use ssl && scons_opts+=( --ssl )
# Needed to avoid forcing FORTIFY_SOURCE
# Gentoo's toolchain applies these anyway
scons_opts+=( --runtime-hardening=off )
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then
filter-flags '-m*'
filter-flags '-O?'
fi
default
}
src_compile() {
PREFIX="${EPREFIX}/usr" escons "${scons_opts[@]}" --nostrip install-core
}
# FEATURES="test -usersandbox" emerge dev-db/mongodb
src_test() {
ewarn "Tests may hang with FEATURES=usersandbox"
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
}
src_install() {
dobin build/install/bin/{mongo,mongod,mongos}
doman debian/mongo*.1
dodoc README docs/building.md
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
newinitd "${FILESDIR}/mongos.initd-r3" mongos
newconfd "${FILESDIR}/mongos.confd-r3" mongos
insinto /etc
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
insinto /etc/logrotate.d/
newins "${FILESDIR}/${PN}.logrotate" ${PN}
# see bug #526114
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
diropts -m0750 -o mongodb -g mongodb
keepdir /var/log/${PN}
}
pkg_postinst() {
ewarn "Make sure to read the release notes and follow the upgrade process:"
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
}

View file

@ -0,0 +1,205 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
SCONS_MIN_VERSION="3.3.1"
CHECKREQS_DISK_BUILD="2400M"
CHECKREQS_DISK_USR="512M"
CHECKREQS_MEMORY="1024M"
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
MY_PV=r${PV/_rc/-rc}
MY_P=mongo-${MY_PV}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="https://www.mongodb.com"
SRC_URI="https://github.com/mongodb/mongo/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0 SSPL-1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 -riscv"
CPU_FLAGS="cpu_flags_x86_avx"
IUSE="debug kerberos mongosh ssl +tools ${CPU_FLAGS}"
# https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server
# resmoke needs python packages not yet present in Gentoo
RESTRICT="test"
RDEPEND="acct-group/mongodb
acct-user/mongodb
>=app-arch/snappy-1.1.7:=
>=dev-cpp/yaml-cpp-0.6.2:=
dev-libs/boost:=[nls]
>=dev-libs/libpcre-8.42[cxx]
app-arch/zstd:=
dev-libs/snowball-stemmer:=
>=sys-libs/zlib-1.2.12:=
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
ssl? (
>=dev-libs/openssl-1.0.1g:0=
)"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
sys-libs/ncurses:0=
sys-libs/readline:0=
debug? ( dev-debug/valgrind )"
BDEPEND="
$(python_gen_any_dep '
>=dev-build/scons-3.1.1[${PYTHON_USEDEP}]
dev-python/cheetah3[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
')
"
PDEPEND="
mongosh? ( app-admin/mongosh-bin )
tools? ( >=app-admin/mongo-tools-100 )
"
PATCHES=(
"${FILESDIR}/${PN}-4.4.1-boost.patch"
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
"${FILESDIR}/${PN}-5.0.2-fix-scons.patch"
"${FILESDIR}/${PN}-5.0.2-no-compass.patch"
"${FILESDIR}/${PN}-5.0.2-skip-no-exceptions.patch"
"${FILESDIR}/${PN}-5.0.2-skip-reqs-check.patch"
"${FILESDIR}/${PN}-5.0.2-boost-1.79.patch"
"${FILESDIR}/${PN}-5.0.5-no-force-lld.patch"
"${FILESDIR}/${PN}-4.4.10-boost-1.81.patch"
"${FILESDIR}/${PN}-5.0.5-boost-1.81-extra.patch"
"${FILESDIR}/${PN}-4.4.29-no-enterprise.patch"
)
python_check_deps() {
python_has_version -b ">=dev-build/scons-3.1.1[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/psutil[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]"
}
pkg_pretend() {
# Bug 809692 + 890294
if use amd64 && ! use cpu_flags_x86_avx; then
ewarn "MongoDB 5.0 requires use of the AVX instruction set."
ewarn "This ebuild will use --experimental-optimization=-sandybridge which"
ewarn "will result in an experimental build of MongoDB as per upstream."
ewarn "https://docs.mongodb.com/v5.0/administration/production-notes/"
fi
if [[ -n ${REPLACING_VERSIONS} ]]; then
if ver_test "$REPLACING_VERSIONS" -lt 4.4; then
ewarn "To upgrade from a version earlier than the 4.4-series, you must"
ewarn "successively upgrade major releases until you have upgraded"
ewarn "to 4.4-series. Then upgrade to 5.0 series."
else
ewarn "Be sure to set featureCompatibilityVersion to 4.4 before upgrading."
fi
fi
}
src_prepare() {
default
# remove bundled libs
rm -r src/third_party/{boost,pcre-*,snappy-*,yaml-cpp,zlib-*} || die
# remove compass
rm -r src/mongo/installer/compass || die
}
src_configure() {
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
# --use-system-icu fails tests
# --use-system-tcmalloc is strongly NOT recommended:
# for MONGO_GIT_HASH use GitOrigin-RevId from the commit of the tag
scons_opts=(
AR="$(tc-getAR)"
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
CCFLAGS="${CXXFLAGS}"
VERBOSE=1
VARIANT_DIR=gentoo
MONGO_VERSION="${PV}"
MONGO_GIT_HASH="0b4f1ea980b5380a66425a90b414106a191365f4"
--disable-warnings-as-errors
--jobs="$(makeopts_jobs)"
--use-system-boost
--use-system-pcre
--use-system-snappy
--use-system-stemmer
--use-system-yaml
--use-system-zlib
--use-system-zstd
)
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
use amd64 && scons_opts+=( --experimental-optimization=-sandybridge ) # Bug 890294
use debug && scons_opts+=( --dbg=on )
use kerberos && scons_opts+=( --use-sasl-client )
scons_opts+=( --ssl=$(usex ssl on off) )
# Needed to avoid forcing FORTIFY_SOURCE
# Gentoo's toolchain applies these anyway
scons_opts+=( --runtime-hardening=off )
# gold is an option here but we don't really do that anymore
if tc-ld-is-lld; then
scons_opts+=( --linker=lld )
else
scons_opts+=( --linker=bfd )
fi
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then
filter-flags '-m*'
filter-flags '-O?'
fi
default
}
src_compile() {
PREFIX="${EPREFIX}/usr" ./buildscripts/scons.py "${scons_opts[@]}" install-core || die
}
src_install() {
dobin build/install/bin/{mongo,mongod,mongos}
doman debian/mongo*.1
dodoc README docs/building.md
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
newinitd "${FILESDIR}/mongos.initd-r3" mongos
newconfd "${FILESDIR}/mongos.confd-r3" mongos
insinto /etc
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
insinto /etc/logrotate.d/
newins "${FILESDIR}/${PN}.logrotate" ${PN}
# see bug #526114
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
diropts -m0750 -o mongodb -g mongodb
keepdir /var/log/${PN}
}
pkg_postinst() {
ewarn "Make sure to read the release notes and follow the upgrade process:"
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
}

View file

@ -1,5 +1,3 @@
DIST pgpool-II-4.3.2.tar.gz 5846769 BLAKE2B 82cfe7095ad303ac3a910c533d6e57edb4e3d5b28a9a9bffb2df473dd3087ec329d3a77f9490d9bb738d5d1a443020d96d0e9a1b1d6adecc04cce5d1caa04e7d SHA512 771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c
DIST pgpool-II-4.3.7.tar.gz 4901679 BLAKE2B 40c280a9d399246da77661a856d64691c213361193ba6af46a70c03c9193021a9f44dd9bfdfc7335c269675d04e9469d033ce55757799a7009d35d1493c50d6e SHA512 dd84b94a60fb1e75de2c14f83b3637491a4673b15dc7c23dbb8e26e69d32f617a85159f7c276a88a62d741b7758d84e94949ea6aa8f505be0960d8fffdaa10b6
DIST pgpool-II-4.3.8.tar.gz 4939785 BLAKE2B fbccfa89311c85394d48c9ff25ce68baea15a80bb87efdf9c7d06280f0a532b8bf656f7ad144b9f813293bf6bd43a7d0cead78fff422eef55598ee2a7cd6380e SHA512 93f623900f24454a1913dcf29be508a47ae3c5f7fd360d3546f48b88b93dcc66886de01a5d9b0f53fb955d1eeded1e5329c3ca1fbca4c3f16aabea79e869d9a3
DIST pgpool-II-4.4.4.tar.gz 4973024 BLAKE2B 2fa41442bc9bf677a17d98388f9977b97fb609cdd6f1494d9f4de2356b04de5a3725478381d67cc04a01f3ff964bd3dfe159d9c41c13980e477a5f0c4c198413 SHA512 fb80df3df2894e7f2cf820a2b32e04ef6447a8137341db65c3a141679ea0fcbae7d5824c1904cb19aae7b05ef9fe641ac294dbc58cdbc6231444f0c4e508e7dc
DIST pgpool-II-4.4.5.tar.gz 4992570 BLAKE2B 638812144e8ac58e56e0b9dbe6aadfa90140c05ed46da1d795d0e22515dacd3a126afa6082881ca84c031693a205c895ea69d01fc7a14f870344bae9b454c57f SHA512 cd2fb2f715aed70d67522ab1852fa7df059d5379f9d4860be82a3d32d78701c5bce75e3e1304eda6a67670475aa367a2631cce517a4d2e4eb6b07c1e74901dd9

View file

@ -1,91 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
POSTGRES_COMPAT=( 9.6 {10..15} )
inherit autotools postgres-multi
MY_P="${PN/2/-II}-${PV}"
DESCRIPTION="Connection pool server for PostgreSQL"
HOMEPAGE="https://www.pgpool.net/"
SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc memcached pam ssl static-libs"
RDEPEND="
${POSTGRES_DEP}
acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}
sys-devel/bison
virtual/pkgconfig
"
S=${WORKDIR}/${MY_P}
src_prepare() {
eapply \
"${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
"${FILESDIR}/pgpool-configure-pam.patch" \
"${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
"${FILESDIR}/pgpool-4.3.1-run_paths.patch"
eautoreconf
postgres-multi_src_prepare
}
src_configure() {
postgres-multi_foreach econf \
--disable-rpath \
--sysconfdir="${EPREFIX}/etc/${PN}" \
--with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
$(use_enable static-libs static) \
$(use_with memcached) \
$(use_with pam) \
$(use_with ssl openssl)
}
src_compile() {
# Even though we're only going to do an install for the best slot
# available, the extension bits in src/sql need some things outside
# of that directory built, too.
postgres-multi_foreach emake
postgres-multi_foreach emake -C src/sql
}
src_install() {
# We only need the best stuff installed
postgres-multi_forbest emake DESTDIR="${D}" install
# Except for the extension and .so files that each PostgreSQL slot needs
postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
# Documentation!
dodoc NEWS TODO
doman doc/src/sgml/man{1,8}/*
use doc && dodoc -r doc/src/sgml/html
# mv some files that get installed to /usr/share/pgpool-II so that
# they all wind up in the same place
mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
# One more thing: Evil la files!
find "${ED}" -name '*.la' -exec rm -f {} +
}

View file

@ -1,91 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
POSTGRES_COMPAT=( 9.6 {10..15} )
inherit autotools postgres-multi
MY_P="${PN/2/-II}-${PV}"
DESCRIPTION="Connection pool server for PostgreSQL"
HOMEPAGE="https://www.pgpool.net/"
SRC_URI="https://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc memcached pam ssl static-libs"
RDEPEND="
${POSTGRES_DEP}
acct-user/pgpool
net-libs/libnsl:0=
virtual/libcrypt:=
memcached? ( dev-libs/libmemcached )
pam? ( sys-auth/pambase )
ssl? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}
sys-devel/bison
virtual/pkgconfig
"
S=${WORKDIR}/${MY_P}
src_prepare() {
eapply \
"${FILESDIR}/pgpool-4.2.0-configure-memcached.patch" \
"${FILESDIR}/pgpool-configure-pam.patch" \
"${FILESDIR}/pgpool-4.2.0-configure-pthread.patch" \
"${FILESDIR}/pgpool-4.3.1-run_paths.patch"
eautoreconf
postgres-multi_src_prepare
}
src_configure() {
postgres-multi_foreach econf \
--disable-rpath \
--sysconfdir="${EPREFIX}/etc/${PN}" \
--with-pgsql-includedir='/usr/include/postgresql-@PG_SLOT@' \
--with-pgsql-libdir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/$(get_libdir)" \
$(use_enable static-libs static) \
$(use_with memcached) \
$(use_with pam) \
$(use_with ssl openssl)
}
src_compile() {
# Even though we're only going to do an install for the best slot
# available, the extension bits in src/sql need some things outside
# of that directory built, too.
postgres-multi_foreach emake
postgres-multi_foreach emake -C src/sql
}
src_install() {
# We only need the best stuff installed
postgres-multi_forbest emake DESTDIR="${D}" install
# Except for the extension and .so files that each PostgreSQL slot needs
postgres-multi_foreach emake DESTDIR="${D}" -C src/sql install
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
# Documentation!
dodoc NEWS TODO
doman doc/src/sgml/man{1,8}/*
use doc && dodoc -r doc/src/sgml/html
# mv some files that get installed to /usr/share/pgpool-II so that
# they all wind up in the same place
mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
# One more thing: Evil la files!
find "${ED}" -name '*.la' -exec rm -f {} +
}

Binary file not shown.

View file

@ -7,7 +7,7 @@ PATCH_GCC_VER=10.3.0
PATCH_VER="4"
TOOLCHAIN_GCC_PV=10.3.1
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_{10..12} )
REL=10
MYP=gcc-${REL}-${PV}-20210519-19A74-src

View file

@ -31,7 +31,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="PSF-2"
SLOT="${PYVER}"
KEYWORDS="~amd64"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="
bluetooth build debug +ensurepip examples gdbm jit libedit
+ncurses pgo +readline +sqlite +ssl test tk valgrind

Binary file not shown.

View file

@ -1,3 +1,4 @@
DIST igraph-0.10.10.tar.gz 4336247 BLAKE2B cef87afe544d09446c999894c44e1d56120cac74b6af5d749835fbf60e5ae0f1676d6754e084f167d23718c6ce9f7b8cee159d3d670d1d5f1f495775c7b0d2f0 SHA512 d4b8d29f9c39f8390c442877183e64c442fccbc6a02b3aed5c1d8871ca5998d1a168f392f8dde26a8c3593ed6c09a66a200ac1155fbde87d368b101011bb122c
DIST igraph-0.10.11.tar.gz 4349830 BLAKE2B 3aae088115148d1f965a52f01c950000097520fb0a150d2ad1fabb96cff434a9b548a6c17a10b9e0ebad3a577c2423ac5260cd28223147d3dc71b0d4fe139a95 SHA512 d6978589f12ed20b87777394b46f47b4ffc045ef693e5b4fc90163b9482361b2bf0ed2bb04aa99bf4a0653f7e4355cd480b0a165213d90ff7188ef6c86147c86
DIST igraph-0.10.12.tar.gz 4373463 BLAKE2B b7fdd7046185bf501c9302721f6606e6affc0d91c16d195c6bd69e0b32f9dca7af701a963fd4a8b8558ac843fe4a5136c7fce2fe5595db469818e514db2325ac SHA512 1a7b055ab2148fdf04187d785895b930ae2a54ae0240ea9656e129a38347b1caeb28dda5a3a7e34282462363150d7afd25acf8cd335577ed441b8a5cecc0dd25
DIST igraph-0.10.4.tar.gz 4279321 BLAKE2B 4e1fc8e8d6dd38cdb24ec564f51f2924e457376c258497b51d7dd4cec88d2226d5b202cdcfa69560e43fdb3cbd49656511178acd2ed705b4af26b1947a92f1ab SHA512 71bcec5f0ba100aae7614753f9232a4221580b822b4dc120e3a80eab59d70c42aedddb00728eb13faf7e522332c514c2e030314c416ded8a70e5de990ea8039b

View file

@ -9,7 +9,7 @@ DESCRIPTION="Creating and manipulating undirected and directed graphs"
HOMEPAGE="https://igraph.org/"
SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0/0"
KEYWORDS="~amd64 ~x86"
@ -43,6 +43,7 @@ src_configure() {
-DIGRAPH_USE_INTERNAL_LAPACK=OFF
-DIGRAPH_USE_INTERNAL_PLFIT=OFF
-DIGRAPH_ENABLE_TLS=$(usex threads)
-DIGRAPH_WARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure

View file

@ -9,9 +9,9 @@ DESCRIPTION="Creating and manipulating undirected and directed graphs"
HOMEPAGE="https://igraph.org/"
SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0/0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="debug test threads"
RESTRICT="!test? ( test )"
@ -38,6 +38,7 @@ src_configure() {
-DIGRAPH_USE_INTERNAL_LAPACK=OFF
-DIGRAPH_USE_INTERNAL_PLFIT=OFF
-DIGRAPH_ENABLE_TLS=$(usex threads)
-DIGRAPH_WARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure

View file

@ -0,0 +1,49 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Creating and manipulating undirected and directed graphs"
HOMEPAGE="https://igraph.org/"
SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0/0"
KEYWORDS="~amd64 ~x86"
IUSE="debug test threads"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/gmp:0=
dev-libs/libxml2
sci-libs/arpack
sci-mathematics/glpk:=
sci-mathematics/plfit
virtual/blas
virtual/lapack"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DUSE_CCACHE=OFF
-DIGRAPH_GLPK_SUPPORT=ON
-DIGRAPH_GRAPHML_SUPPORT=ON
-DIGRAPH_USE_INTERNAL_ARPACK=OFF
-DIGRAPH_USE_INTERNAL_BLAS=OFF
-DIGRAPH_USE_INTERNAL_GLPK=OFF
-DIGRAPH_USE_INTERNAL_GMP=OFF
-DIGRAPH_USE_INTERNAL_LAPACK=OFF
-DIGRAPH_USE_INTERNAL_PLFIT=OFF
-DIGRAPH_ENABLE_TLS=$(usex threads)
-DIGRAPH_WARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
src_test() {
cmake_build check
}

View file

@ -9,7 +9,7 @@ DESCRIPTION="Creating and manipulating undirected and directed graphs"
HOMEPAGE="https://igraph.org/"
SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0/0"
KEYWORDS="amd64 x86"
@ -44,6 +44,7 @@ src_configure() {
-DIGRAPH_USE_INTERNAL_LAPACK=OFF
-DIGRAPH_USE_INTERNAL_PLFIT=OFF
-DIGRAPH_ENABLE_TLS=$(usex threads)
-DIGRAPH_WARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure

View file

@ -1,3 +1,2 @@
DIST poco-1.11.2.tar.gz 10935312 BLAKE2B 66b4cdb6cb4b5dd4f5f0eee744e1d147d66e98561ec4286ed09693b638d565fbf084c3e40eff3f6a9a88cff167b1d774da08e8c8424986aefe13d029a540afe2 SHA512 3f9e46dbfb0a85f19389b269725cb6272172d993d8239f13da8110c0c6ce9ed2b6595708d5dba91a027292c74358c87da988e22587a74011e84707816a6a277c
DIST poco-1.12.2.tar.gz 11268579 BLAKE2B fe23216884d1effb7e93072c5e90d5eabf813c6cf0326af5c4b6d3646d54e5411966485e97d50960df97cd545b3a265eb4b43c1cb041ff97b4457f53f6bd06bc SHA512 86b6b106e9a677397c73139e949a65925e78611cad478fc4206a6a7365613307fc1549b1160faf6ca8f02fb7f7ae58858c3913cb701111b7cbb5ffcbe5363bb3
DIST poco-1.12.4.tar.gz 11296139 BLAKE2B 45e1214616e78041d5ca512cee46621c006fe21f51231f3261dc40ca4941eb3cd4e52db493aa826779784f9d3f35cfd08e3e9d08fb35ebec2d610fb6528c635a SHA512 730700a24b5a00d44aa85914e7d3c9eff76969a123a67315ba5e9b2d18c0ace70d2664d8a611496851f497aa4985d36685a67813a95e814461ae0fffdb460d91
DIST poco-1.13.3.tar.gz 11332562 BLAKE2B 04380cae92bbd2427873f0ea1a3fcade244ee5168390e26081983ded9faaf22e456bdd4ae87f9c77bafc92155f860ea9f56678ec2204bcd7c51a871e7f00d759 SHA512 084064fb462c9e7993d069ebdf395802af900ed92c5b294465a2c246162bb86caa3505985de329e8110d3e9fb3bc39ae9536d523843729d4ed5ce00c35289d92

View file

@ -33,7 +33,6 @@ done quickly and working on the features that make their application unique.
<flag name="7z">Add Support for the 7z archive format</flag>
<flag name="activerecord">Add ActiveRecord support</flag>
<flag name="cppparser">Build and install a minimal C++ parser</flag>
<flag name="crypto" restrict="&lt;=dev-libs/poco-1.12.2-r1">Encryption and digital signing classes</flag>
<flag name="data">Database abstraction layer to easily send/retrieve data to/from various databases</flag>
<flag name="file2pagecompiler">Utility to convert ordinary files to Page Compiler source files</flag>
<flag name="json">Add JSON support</flag>
@ -44,6 +43,7 @@ done quickly and working on the features that make their application unique.
<flag name="pagecompiler">Simple compiler translating HTML pages containing embedded C++ code into HTTPRequestHandler classes</flag>
<flag name="pocodoc">POCO documentation generator</flag>
<flag name="prometheus">Add prometheus monitoring system support</flag>
<flag name="ssl">Encryption and digital signing classes</flag>
<flag name="util">Several utility classes (like logger, timer, config file parser)</flag>
<flag name="zip">Add support for the zip &amp; gz archive formats</flag>
</use>

View file

@ -1,141 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++ libraries for building network-based applications"
HOMEPAGE="https://pocoproject.org/"
SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${P}-release"
LICENSE="Boost-1.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc64 x86"
IUSE="7z activerecord cppparser +crypto +data examples +file2pagecompiler iodbc +json mariadb +mongodb mysql +net odbc +pagecompiler pdf pocodoc sqlite +ssl test +util +xml +zip"
RESTRICT="!test? ( test )"
REQUIRED_USE="
7z? ( xml )
file2pagecompiler? ( pagecompiler )
iodbc? ( odbc )
mongodb? ( data )
mysql? ( data )
odbc? ( data )
pagecompiler? ( json net util xml )
pocodoc? ( cppparser util xml )
sqlite? ( data )
ssl? ( util )
test? ( data? ( sqlite ) json util xml )
"
BDEPEND="virtual/pkgconfig"
RDEPEND="
>=dev-libs/libpcre-8.42
activerecord? ( !app-arch/arc )
mysql? ( !mariadb? ( dev-db/mysql-connector-c:0= )
mariadb? ( dev-db/mariadb-connector-c:0= ) )
odbc? (
iodbc? ( dev-db/libiodbc )
!iodbc? ( dev-db/unixODBC )
)
sqlite? ( dev-db/sqlite:3 )
ssl? (
dev-libs/openssl:0=
)
xml? ( dev-libs/expat )
zip? ( sys-libs/zlib )
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-1.10.1-iodbc-incdir.patch" )
src_prepare() {
cmake_src_prepare
if use test ; then
# ignore missing tests on experimental library
# and tests requiring running DB-servers, internet connections, etc.
sed -i -e '/testsuite/d' \
{Data/{MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,PDF,Redis}/CMakeLists.txt || die
# Poco expands ~ using passwd, which does not match $HOME in the build environment
sed -i -e '/CppUnit_addTest.*testExpand/d' \
Foundation/testsuite/src/PathTest.cpp || die
# ignore failing Crypto test since upstream does not seem to care,
# see https://github.com/pocoproject/poco/issues/1209
sed -i -e '/RSATest, testRSACipherLarge/d' \
Crypto/testsuite/src/RSATest.cpp || die
fi
if use mariadb ; then
# Fix MariaDB detection
sed -i -e 's~/usr/include/mysql~~' \
-e 's/STATUS "Couldn/FATAL_ERROR "Couldn/' \
cmake/FindMySQL.cmake || die
else
# Fix MySQL detection
sed -i -e 's/mysqlclient_r/mysqlclient/' \
-e 's/STATUS "Couldn/FATAL_ERROR "Couldn/' \
cmake/FindMySQL.cmake || die
fi
# Add missing directory that breaks the build
mkdir -p Encodings/testsuite/data || die
if ! use iodbc ; then
sed -i -e 's|iodbc||' cmake/FindODBC.cmake || die
fi
}
src_configure() {
# apache support is dead and buggy, https://github.com/pocoproject/poco/issues/1764
local mycmakeargs=(
-DPOCO_UNBUNDLED=ON
-DENABLE_APACHECONNECTOR=OFF
-DENABLE_ACTIVERECORD="$(usex activerecord)"
-DENABLE_ACTIVERECORD_COMPILER="$(usex activerecord)"
-DENABLE_CPPPARSER="$(usex cppparser)"
-DENABLE_CRYPTO="$(usex ssl)"
-DENABLE_DATA="$(usex data)"
-DENABLE_DATA_MYSQL="$(usex mysql)"
-DENABLE_DATA_ODBC="$(usex odbc)"
-DENABLE_DATA_SQLITE="$(usex sqlite)"
-DENABLE_DATA_POSTGRESQL=OFF
-DENABLE_JSON="$(usex util)"
-DENABLE_MONGODB="$(usex mongodb)"
-DENABLE_NET="$(usex net)"
-DENABLE_NETSSL="$(usex ssl)"
-DENABLE_NETSSL_WIN=OFF
-DENABLE_PAGECOMPILER="$(usex pagecompiler)"
-DENABLE_PAGECOMPILER_FILE2PAGE="$(usex file2pagecompiler)"
-DENABLE_PDF="$(usex pdf)"
-DENABLE_POCODOC="$(usex pocodoc)"
-DENABLE_SEVENZIP="$(usex 7z)"
-DENABLE_TESTS="$(usex test)"
-DENABLE_UTIL="$(usex util)"
-DENABLE_XML="$(usex xml)"
-DENABLE_ZIP="$(usex zip)"
)
cmake_src_configure
}
src_test() {
POCO_BASE="${S}" cmake_src_test
}
src_install() {
cmake_src_install
if use examples ; then
for sd in */samples ; do
docinto examples/${sd%/samples}
dodoc -r ${sd}
done
find "${D}/usr/share/doc/${PF}/examples" \
-iname "*.sln" -or -iname "*.vcproj" -or \
-iname "*.vmsbuild" -or -iname "*.properties" \
| xargs rm -v || die
fi
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -11,11 +11,13 @@ SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P
S="${WORKDIR}/${PN}-${P}-release"
LICENSE="Boost-1.0"
SLOT="0"
# SHARED_LIBRARY_VERSION -> "${S}"/libversion
SLOT="0/103"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="7z activerecord cppparser +data examples +file2pagecompiler iodbc +json jwt mariadb +mongodb mysql +net odbc +pagecompiler pdf pocodoc postgres prometheus sqlite +ssl test +util +xml +zip"
RESTRICT="!test? ( test )"
REQUIRED_USE="
activerecord? ( util xml )
7z? ( xml )
file2pagecompiler? ( pagecompiler )
iodbc? ( odbc )
@ -28,15 +30,19 @@ REQUIRED_USE="
pocodoc? ( cppparser util xml )
sqlite? ( data )
ssl? ( util )
test? ( data? ( sqlite ) json util xml )
test? ( data? ( sqlite ) activerecord json jwt pdf util xml )
"
BDEPEND="
test? ( dev-util/cppunit )
virtual/pkgconfig
"
BDEPEND="virtual/pkgconfig"
RDEPEND="
>=dev-libs/libpcre2-10.40
activerecord? ( !app-arch/arc )
mysql? ( dev-db/mysql-connector-c:0= )
mariadb? ( dev-db/mariadb-connector-c:0= )
mysql? ( dev-db/mysql-connector-c:= )
mariadb? ( dev-db/mariadb-connector-c:= )
postgres? ( dev-db/postgresql:= )
odbc? (
iodbc? ( dev-db/libiodbc )
@ -44,30 +50,29 @@ RDEPEND="
)
sqlite? ( dev-db/sqlite:3 )
ssl? (
dev-libs/openssl:0=
dev-libs/openssl:=
)
xml? ( dev-libs/expat )
zip? ( sys-libs/zlib:= )
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-1.10.1-iodbc-incdir.patch" )
src_prepare() {
cmake_src_prepare
if [[ ${SLOT} != 0/$(< "${S}"/libversion) ]] ; then
die "Please update subslot in ebuild to the version in ${S}/libversion!"
fi
if use test ; then
# ignore missing tests on experimental library
# and tests requiring running DB-servers, internet connections, etc.
sed -i -e '/testsuite/d' \
{Data/{MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,PDF,Redis}/CMakeLists.txt || die
{Data/{MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,Redis}/CMakeLists.txt || die
# Poco expands ~ using passwd, which does not match $HOME in the build environment
sed -i -e '/CppUnit_addTest.*testExpand/d' \
Foundation/testsuite/src/PathTest.cpp || die
# ignore failing Crypto test since upstream does not seem to care,
# see https://github.com/pocoproject/poco/issues/1209
sed -i -e '/RSATest, testRSACipherLarge/d' \
Crypto/testsuite/src/RSATest.cpp || die
fi
# Fix MariaDB and MySQL detection
@ -76,9 +81,6 @@ src_prepare() {
-e 's/STATUS "Couldn/FATAL_ERROR "Couldn/' \
cmake/FindMySQL.cmake || die
# Add missing directory that breaks the build
mkdir -p Encodings/testsuite/data || die
if ! use iodbc ; then
sed -i -e 's|iodbc||' cmake/FindODBC.cmake || die
fi

View file

@ -1,5 +1,6 @@
DIST xmlsec1-1.2.37.tar.gz 2009175 BLAKE2B 19f43ba6bf6eb49428b9c5563baecbab21476f326cceee13785ae16769afa258f100732831c0f3f7d160543bd075cdcfdc5cbf11b7406637ee6c2f0e27c07f30 SHA512 99220cb28a346ffac0023f9f177d6a7be3ddcea04bea434b7dc926c1f0aaa5564d75f74f92896ac100179c04d77e001f688ddf46fed4e0a0b4f20b7b87c24900
DIST xmlsec1-1.2.38.tar.gz 2036578 BLAKE2B 03f7e1b5e659793bf1984c5a59582d9459089ce913620d5cc1e5a5d0eb65557580cd23fa190db277298fd7cc55bd41563b93cf61a37c8b7521a4690cd2ca3489 SHA512 724089777caae95db27e67f24381c066eaae23a9d64819a18bb04837c1ab1b380d19be2c7ee25659ca481d9eab96fcbe8027a430a0ac1630ad3b073cddd20fac
DIST xmlsec1-1.2.39.tar.gz 2036905 BLAKE2B c1844f2068f6afe8dff3bf3fcf45a7180f09cae3418812b49b5c86b5387c795900a9ebd2077691d51d778c081f4282a54fdc11e7a54e6b8d969ef2871c2f5bb8 SHA512 bc8457bca8ada87c12d3be685bf8ad805f102b4ac1265e257ba12137e0430783973f27d22bfcb7559be5e89cb4c01b3556488fa641fc7c9d8f403972fdc8f2f7
DIST xmlsec1-1.3.1.tar.gz 2432943 BLAKE2B 1dafdffd959579add5c579e3fa9c9f9ddc73ce4aadc6fc2139506e6e64ffcd1bbe7298786e414900eb9f33f93b0a47da64e686c499e48d4c80d81b256db6692e SHA512 7f30c15c3edcafe70fa5febaa0ba39f73f8d30525ee102b5961a658dd2842fbc58e63f7595f15b150d71bf735bfa7688c3694a191b0d475776ca26902d90d25f
DIST xmlsec1-1.3.2.tar.gz 2437263 BLAKE2B d11953c6e2a263a6742ef62309c2f29e2ba5761d58bee5f8cc761965d0e16fea148811ac3d8036d271400840a62ff2a7fff947bb5331170d3bcc598c558b2a95 SHA512 328f3d27cc1dadee27e5ee4649f6c5a094203cc27f42f1fe98fd429f7dd5630eaadff0e8bf14616016fc3530482ed8bcee4870289a41a083f6dd9bd603782a92
DIST xmlsec1-1.3.3.tar.gz 2435741 BLAKE2B 1b0e44a8a5185d67b8f97ec72cd8e215fe79a988eb7ade0d2890be662b693d511857b24670ec692f9452bf95ad8c53ff80c250ecbcd167742477a83e0b72fda0 SHA512 1535b6f878259914ab9574892d05c927fbcd548986cf7bcf91e435acb2cb74eb11e58163f797038ee13a11444882814b2b4318cd677053fbe52557a2e4acf68a
DIST xmlsec1-1.3.4.tar.gz 2435656 BLAKE2B b398f970e5b201971419b537125e9a7430c8d7c1c57e193b2592ee3f01ce797993607a210e87ad44e99bc0ef49ac4c350492268a3ac3bedbb81d937d99837468 SHA512 959a97ed7d7cbdc3e5ef037b2cb4f05bda299274c09ed3dfe24f7203d97e3dfc13bf480e15a2d15bcc7893569d341204884de58cc9b462b6c29306b67672e9c7

View file

@ -3,34 +3,34 @@
EAPI=8
inherit autotools
DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML"
HOMEPAGE="https://www.aleksey.com/xmlsec"
SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz"
S="${WORKDIR}/${PN}1-${PV}"
LICENSE="MIT"
# Upstream consider major version bumps to be changes in either X or Y in X.Y.Z
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
IUSE="doc gcrypt gnutls http nss +openssl static-libs test"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="doc gcrypt gnutls nss +openssl static-libs test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
|| ( gnutls nss openssl )
|| ( gcrypt gnutls nss openssl )
gnutls? ( gcrypt )
"
RDEPEND="
>=dev-libs/libxml2-2.7.4
>=dev-libs/libxml2-2.7.4[ftp(+)]
>=dev-libs/libxslt-1.0.20
dev-libs/libltdl
gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= )
gnutls? ( >=net-libs/gnutls-3.6.13:= )
gnutls? ( >=net-libs/gnutls-2.8.0:= )
nss? (
>=dev-libs/nspr-4.4.1
>=dev-libs/nss-3.9
)
openssl? ( dev-libs/openssl:= )
openssl? (
dev-libs/openssl:=
)
"
DEPEND="${RDEPEND}"
BDEPEND="
@ -43,43 +43,21 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.0-optimisation.patch
"${FILESDIR}"/${P}-libxml2-2.12.0-includes.patch
"${FILESDIR}"/${PN}-1.2.37-libressl.patch # bug #903001
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable doc docs)
$(use_enable static-libs static)
$(use_with gcrypt)
$(use_with gnutls)
$(use_with nss nspr)
$(use_with nss)
$(use_with openssl)
--disable-werror
--enable-mans
--enable-pkgconfig
--enable-concatkdf
--enable-pbkdf2
--enable-ec
--enable-dh
--enable-sha3
--enable-files
$(use_enable http)
--disable-ftp
)
# Bash because of bug #721128
CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
CONFIG_SHELL="${BROOT}"/bin/bash econf \
$(use_enable doc docs) \
$(use_enable static-libs static) \
$(use_with gcrypt) \
$(use_with gnutls) \
$(use_with nss nspr) \
$(use_with nss) \
$(use_with openssl) \
--enable-mans \
--enable-pkgconfig
}
src_test() {

Binary file not shown.

View file

@ -1,2 +1,3 @@
DIST ecl-21.2.1.tgz 7875088 BLAKE2B b8c05fab8ce5892ad9df830e3ad230e1c646bd30bc35243703ace18f1bf963057b132d980c74b364ff30a5b776a8f161e71bfd69d7908970811ab3dddbab1aac SHA512 0849bebe1a8073ea8027cfb172c1d7781d43adb6a8b80585bd08d5674b80422d1648b6fbf718cc17a51c5de6c696514523b4d13a82e8113bf9365c95d3c28648
DIST ecl-23.9.9.tgz 8129105 BLAKE2B 883454e1b5459b348a2184727dc9d512988f3b8218370cbe01045e5bc401a6785cb736a16592d20ad9fe19e6518056ece5b809323fa7697304f39d31d60021fc SHA512 c8f1dcf2bffad7358c3d4e5bb0924cbb69afaf79871e6444bd780a594e1e96e6c547346b7c9c5184a6b12ce920a6a959334cf2a85c3f3ea0e0c8f22f72fb84df
DIST ecl-24.5.10.tgz 8130112 BLAKE2B 76ee9b4dca68543151e8f8474651e3f2b540017b62ab2ba6e00d64002362045ccf0aad16d0f82d7fd9a7511423aa90f9ddce912bf4b314c7905f6e404b850d1a SHA512 46e6da0f319573e412e54573b3c029179ba9debf48f73828ad5dd0a99c4a0b4ef21f99b411fdab3dc5429242c917553eb3e9794eeac7ec44667cd26fc0dd927e

View file

@ -0,0 +1,87 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit readme.gentoo-r1
DESCRIPTION="ECL is an embeddable Common Lisp implementation"
HOMEPAGE="https://common-lisp.net/project/ecl/"
SRC_URI="https://common-lisp.net/project/ecl/static/files/release/${P}.tgz"
LICENSE="BSD-2 LGPL-2.1+"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
IUSE="cxx debug emacs gengc precisegc cpu_flags_x86_sse +threads +unicode X"
# test phase only works if ecl already installed #516876
RESTRICT="test"
RDEPEND="dev-libs/gmp:0=
dev-libs/libffi:=
dev-libs/libatomic_ops
>=dev-libs/boehm-gc-7.1[threads?]
>=dev-lisp/asdf-2.33-r3:="
DEPEND="${RDEPEND}
app-text/texi2html
emacs? ( >=app-editors/emacs-23.1:* >=app-eselect/eselect-emacs-1.12 )"
DOCS=( README.md CHANGELOG )
PATCHES=(
"${FILESDIR}/${PN}-16.1.3-headers-gentoo.patch"
"${FILESDIR}/${PN}-16.1.3-build.patch"
"${FILESDIR}/${PN}-21.2.1-donotcompressinfo.patch"
)
src_prepare() {
default
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
}
src_configure() {
econf \
--enable-gmp=system \
--enable-boehm=system \
--with-dffi \
--enable-libatomic=system \
--with-defsystem \
$(use_with cxx) \
$(use_enable gengc) \
$(use_enable precisegc) \
$(use_with debug debug-cflags) \
$(use_with cpu_flags_x86_sse sse) \
$(use_enable threads) \
$(use_enable unicode) \
$(use_with X x)
}
src_compile() {
if use emacs; then
local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}')
[[ -n ${ETAGS} ]] || die "No etags implementation found"
pushd build > /dev/null || die
emake ETAGS=${ETAGS} TAGS
popd > /dev/null || die
else
touch build/TAGS
fi
## for /proc/self/clear_refs (see #867052)
addpredict /proc
emake
}
src_install() {
default
readme.gentoo_create_doc
pushd build/doc > /dev/null || die
newman ecl.man ecl.1
newman ecl-config.man ecl-config.1
popd > /dev/null || die
}
pkg_postinst() {
readme.gentoo_print_elog
}

View file

@ -14,6 +14,7 @@
<use>
<flag name="gengc">Use generational garbage collection (experimental)</flag>
<flag name="precisegc">Use type information during garbage collection (experimental)</flag>
<flag name="unicode">Make the produced lisp support unicode</flag>
</use>
<upstream>
<remote-id type="gitlab">embeddable-common-lisp/ecl</remote-id>

View file

@ -0,0 +1,37 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=BRIANDFOY
DIST_VERSION=20240509.001
inherit perl-module
DESCRIPTION="Data pack for Business::ISBN"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
RDEPEND="
virtual/perl-Carp
virtual/perl-File-Spec
"
BDEPEND="
${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.640.0
test? (
>=virtual/perl-Test-Simple-1
)
"
PERL_RM_FILES=(
"make_data.pl"
"t/pod.t"
"t/pod_coverage.t"
)
src_prepare() {
sed -r -i '/^pod(|_coverage)\.t$/d' "${S}/t/test_manifest" || die
perl-module_src_prepare
}

View file

@ -1,2 +1,3 @@
DIST Business-ISBN-Data-20231110.001.tar.gz 31977 BLAKE2B 330eb93c47f985c06e0dc274692ade00a7b557079d3bb7d3d45b9ebd0a475b5769abf06d842b818d3e88de70146de90577538fee670958d1bbe04837ee84225c SHA512 a5db5d94694d060032c497452eb70b8fa6008802b038ab4faab651498b6b0cfbd38ac2a9e03804ec8ea33c4bd85fc0d49a2477088615689eea1afe2bab87198b
DIST Business-ISBN-Data-20240426.001.tar.gz 34170 BLAKE2B 70ee2ab4473ad29f3cdc0e006cdc94f72e81601e439e97dc1856df49ac1ceffec73bb48a56d44c9553df9d778b6030808091b98b4ccbaff4c555dc660ed4a7bd SHA512 7543e0ab8d3fb54f1143af7ab2fd6aba14dee7389ea3d172a62ef6eeda11567d8476db0ed084d7e325d6ca36b0d0d59da1cd754ab5d7971d00c5d1c5cfd269be
DIST Business-ISBN-Data-20240509.001.tar.gz 34204 BLAKE2B 4b6830ca917654cb24d3ac27cbd87357d28faec44cc16af467dbfc90c004d953329b5fb36161b1ab4d6931aa9f39013c552c6758b3e4e0c92886ea579ea90a02 SHA512 64158b148729ef6201984aee178fd102abbe65df5b11f638ec2a52f0bf927db929670124e4bfc2175062b0fecfe9c9056e8a90e41408d91a27c9ef07c0b18705

View file

@ -0,0 +1,35 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=MLEHMANN
DIST_VERSION=4.81
DIST_WIKI="tests"
inherit perl-module
DESCRIPTION="Asynchronous Input/Output"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
RDEPEND="
dev-perl/common-sense
"
BDEPEND="
${RDEPEND}
>=dev-perl/Canary-Stability-2001
>=virtual/perl-ExtUtils-MakeMaker-6.520.0
"
QA_CONFIG_IMPL_DECL_SKIP=(
posix_close # not (currently) a thing
)
src_test() {
if [[ "${IO_AIO_SANDBOX_TESTS:-0}" == 0 ]]; then
# Tests trigger stack overflow in sandbox code, see bug #553918
perl_rm_files t/01_stat.t t/02_read.t t/05_readdir.t t/03_errors.t
fi
perl-module_src_test
}

View file

@ -1 +1,2 @@
DIST IO-AIO-4.8.tar.gz 189363 BLAKE2B 94c141a1bd2c38557f93e04138fbabe49bf347a7465e82af7354a696877a0b08f5b3b9acbb261cdab2d5136c578f1cd50d046250e3d286e44ec5c0df17e409c5 SHA512 b06e20a75b86ab83cf95121d491c54e10f530d006ed0618b95e9d2c63f1974479bcf41e94e0592c62294ffa8860fac0a0fb471dab0437f9dfef75b980ec8966e
DIST IO-AIO-4.81.tar.gz 189526 BLAKE2B 8090f780ebfc6457f869614aba923023160d06f571cd945a9fb0342aa117878cf9a990b09ddc7c8c25500110c9ee9c75a3410916dd557d2d24df9b1a88291b55 SHA512 b0e779f8a0a4b8d1d317535030ea7b82d60c06caa7be2afdb5d922f6c3211590e6579d84f7fe2c9cdf808731cb92f501ccab05f4a5fc2f650c6286218e21a92d

Binary file not shown.

Binary file not shown.

View file

@ -1 +1,2 @@
DIST babelfish-0.6.0.gh.tar.gz 90886 BLAKE2B deee75aef23cbcb7c64f385c303310e5ce1ef0a3180729e47e59b8e85015ff36360a4be74ef32869421c6d90cf185ad427a7d55b9ef3cf20f551233dae3d425f SHA512 9d3309e67815c301578533fdaf8baae946ba87148b458f7b01315203d2d4356dd770c1a0b7a0ffbba14036b77f1463d67e3b5732efa6682cb6afdae1a8fd0a4b
DIST babelfish-0.6.1.gh.tar.gz 93127 BLAKE2B 6c1f56432671c0ad7b18401e78637acf8488fa2aa924a4df961403e570f1adbff6d868d6e8e3797e4b26a790b65b2aad8600fc7feb665bb3a73a6a5d4664865f SHA512 e5936b08f7ecf38beea3a2da2ee32cfd93f312548459c18370326a72011aed5ed8a1908b13a091979c3fe83a984b99f299ed6c3d39a47784b4d5c48145796d04

View file

@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
DESCRIPTION="Python library to work with countries and languages"
HOMEPAGE="
https://github.com/Diaoul/babelfish/
https://pypi.org/project/babelfish/
"
SRC_URI="
https://github.com/Diaoul/babelfish/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
distutils_enable_tests pytest

View file

@ -4,6 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
# py3.13: https://github.com/mahmoud/boltons/issues/365
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi

View file

@ -1,2 +1,3 @@
DIST cfn_lint-0.86.4.tar.gz 3911739 BLAKE2B ea2d58abb78b466371b5a65cda2f5fd06f31eb16eece4d5bb3741f166e0bfb54d35c5d6605f5d9b333876fa1a85916f0aaecab5f0b0bd6b29841a2b5e813ed09 SHA512 71b50058ccdbcccedc92b70ca1af4c5163feb26415a97afad6e39761645423259b4dcdb6a24b517ba494e7474b31909d44399461c6d19834791d5057b14ef886
DIST cfn_lint-0.87.1.tar.gz 3997592 BLAKE2B 058de8badb0b37bda16e5239a2d9aa3727804bc9bd1b308cf9225c4b650eb6d0ad184025eee9e32ac9909db429641a8c928695be9c1a0cf587cffbf4f50dcba2 SHA512 3143d23738de9435c63b1f7f6f8abcea9fa235e45c885f15869a18a67089421094f77b5f4dd472f354f2901595bf1d0c2ef66f5605ff5ebc1ebbdbdca181d6bf
DIST cfn_lint-0.87.2.tar.gz 3963369 BLAKE2B e1238db45fa2856ed1becdbaeccd2bd7aab3c0c3f54e3bd13cdad27d20c0c9e0c85a232121f63b152554f95066cf24119b9e2c02d0402d673ed5d7eefc8565ed SHA512 b0503138d7ca939003b472ce0e35ae0f0c3aa9550cc889e28a709856051d059c619c2ac5d47735ce0702cb975949d6ea64aff6c2b5168738ccf8afbcf950801d

View file

@ -0,0 +1,64 @@
# 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 pypi
DESCRIPTION="CloudFormation Linter"
HOMEPAGE="
https://github.com/aws-cloudformation/cfn-lint/
https://pypi.org/project/cfn-lint/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
RDEPEND="
>=dev-python/aws-sam-translator-1.87.0[${PYTHON_USEDEP}]
dev-python/jsonpatch[${PYTHON_USEDEP}]
>=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}]
<dev-python/jsonschema-5[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
dev-python/junit-xml[${PYTHON_USEDEP}]
<dev-python/networkx-4[${PYTHON_USEDEP}]
>dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
>=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
>=dev-python/regex-2021.7.1[${PYTHON_USEDEP}]
>=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
>=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
# unpin the deps
sed -e 's:~=[0-9.]*::' -i setup.py || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# TODO
test/unit/module/test_template.py::TestTemplate::test_build_graph
# requires git repo
test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs
# Internet
test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter
test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3
# TODO: it looks as if AWS_DEFAULT_REGION didn't work
test/unit/module/core/test_run_cli.py::TestCli::test_bad_config
test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters
test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters
test/unit/module/core/test_run_cli.py::TestCli::test_template_config
)
# from tox.ini
local -x AWS_DEFAULT_REGION=us-east-1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

View file

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Parse strings using a specification based on the Python format() syntax"

View file

@ -1,10 +1,10 @@
# Copyright 2021-2023 Gentoo Authors
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Extension to the parse module"
@ -16,7 +16,8 @@ KEYWORDS="amd64 arm64 ~x86"
RDEPEND="
dev-python/parse[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
dev-python/six[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View file

@ -1 +1,2 @@
DIST pygraphviz-1.12.tar.gz 104941 BLAKE2B 5c2d119c66837d13511ef4756093b159f45ccb2888eb2b86c1d016837059ed34bdc5cb7e69eeff013642d92ec0c2b4a1149316b0baaa742c49a34945fd2563e0 SHA512 2407fdd7de3b2f7f1d9f9e3e3fe0f19c4faad4a72db33a0b4341a01f98eecd4d240079f2d0ea5cf68a5e10236f11fd84e55fd44518611efde2fab7590e3aae90
DIST pygraphviz-1.13.tar.gz 104642 BLAKE2B 6111c1b811d5359da673f9c43719d21e86e93e7e82e5819872fed6f87ebb74efb87dba40b5dac737b93bffcd51683f143528a135a76e3d6f62615593fdc22b88 SHA512 3159fd9fb1226974c3a6289ebc437eed394021a7fc41669e29879fa6fd5e5cb809c808a4016cfb1afaf30dc10e467e8b0fe5c3b71fb9a1f889efcf5ae6ff3597

View file

@ -0,0 +1,50 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper for the Graphviz Agraph data structure"
HOMEPAGE="
https://pygraphviz.github.io/
https://github.com/pygraphviz/pygraphviz/
https://pypi.org/project/pygraphviz/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x86-linux ~ppc-macos ~x64-macos"
# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary.
DEPEND="
media-gfx/graphviz
"
RDEPEND="
${DEPEND}
"
BDEPEND="
dev-lang/swig:0
"
distutils_enable_tests pytest
src_configure() {
swig -python pygraphviz/graphviz.i || die
}
python_test() {
cd "${BUILD_DIR}"/install || die
epytest
}
python_install_all() {
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
distutils-r1_python_install_all
}

View file

@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]

View file

@ -21,7 +21,7 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"

View file

@ -21,6 +21,7 @@ DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb9
DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d
DIST sqlglot-23.13.7.tar.gz 13093895 BLAKE2B 3d6311e81030f01675251380c7883ef4d2151e00438b3767bf7da57bdfc5818054ed33ef4517836d178028d8984ff206256aa48138020c0acce1cb0c27709322 SHA512 dbf53572ce8fd5e1bc694e275356740997aa0a87885d8c5991bac45084a301e52474c9e6193f36346c4cf429ec953fcb276e66861ce7a1e0e7909600dee57528
DIST sqlglot-23.14.0.tar.gz 13092216 BLAKE2B d0ea74b6c29162553e48d75c021951b377661ed0080954202967b88c8908068439982a7ac34974d96a3ba910ca3f604d0ba5aedd79fbb9ca9090be9db5e2acd4 SHA512 f5af3ec913197fbd5c2bc5cd3338b23eee526a51441fc9d5a608d8435ea717faa74cc0d60ca056f043858b38b1ba1859a49ed5909639ef61b088dd3b0b06bf60
DIST sqlglot-23.15.0.tar.gz 13095809 BLAKE2B c8a7f63cfc1014f43a14ba655551948ab3e8c98b89a1458b3f44fd26a0b36c9219610d0f7078da4632c8e7a87111c13b05f52a4b368d900ae7a03af90c7eca40 SHA512 e04aea350d702c0def2b57024ec959fa4f5128cda71b610da1d919db5ac1f415e3e53e0aae5f2a9de37fca120f44a64c8d8d41f136ab446d4df80b6cf6fef6b0
DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a
DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca
DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920

View file

@ -0,0 +1,121 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
CARGO_OPTIONAL=1
CRATES="
autocfg@1.1.0
bitflags@1.3.2
cfg-if@1.0.0
heck@0.4.1
indoc@2.0.4
libc@0.2.150
lock_api@0.4.11
memoffset@0.9.0
once_cell@1.19.0
parking_lot@0.12.1
parking_lot_core@0.9.9
proc-macro2@1.0.70
pyo3-build-config@0.20.0
pyo3-ffi@0.20.0
pyo3-macros-backend@0.20.0
pyo3-macros@0.20.0
pyo3@0.20.0
quote@1.0.33
redox_syscall@0.4.1
scopeguard@1.2.0
smallvec@1.11.2
syn@2.0.41
target-lexicon@0.12.12
unicode-ident@1.0.12
unindent@0.2.3
windows-targets@0.48.5
windows_aarch64_gnullvm@0.48.5
windows_aarch64_msvc@0.48.5
windows_i686_gnu@0.48.5
windows_i686_msvc@0.48.5
windows_x86_64_gnu@0.48.5
windows_x86_64_gnullvm@0.48.5
windows_x86_64_msvc@0.48.5
"
inherit cargo 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/
"
SRC_URI+="
native-extensions? (
${CARGO_CRATE_URIS}
)
"
LICENSE="MIT"
LICENSE+=" native-extensions? ("
# Dependent crate licenses
LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016"
LICENSE+=" )"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="+native-extensions"
BDEPEND="
native-extensions? (
${RUST_DEPEND}
dev-util/maturin[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so"
src_unpack() {
cargo_src_unpack
}
src_prepare() {
# remove fragile timing check
sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die
distutils-r1_src_prepare
}
python_compile() {
distutils-r1_python_compile
if use native-extensions; then
local DISTUTILS_USE_PEP517=maturin
cd sqlglotrs || die
distutils-r1_python_compile
cd - >/dev/null || die
fi
}
python_test() {
local 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"
)
# make sure not to use an earlier installed version
local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0)
rm -rf sqlglotrs || die
epytest
}
pkg_postinst() {
optfeature "simplifying timedelta expressions" dev-python/python-dateutil
}

View file

@ -1,3 +1,4 @@
DIST stripe-9.3.0.tar.gz 1257309 BLAKE2B 819f2ece26282020383953b2f9436023796897b7928ac9f07c753a56a79aa8b80cadad9b1f8b1021224f6a4f704a3c2a92aa807d60a6bc769992d7fc6793aecb SHA512 708ffe2b36946de7e5780f582bc0db6a7b3dc82c163a0839491060944e882fa1f7679900d398b87fd2dc336d2e74eccc0f4f821095ce0465affd49b813d2b4fa
DIST stripe-9.4.0.tar.gz 1260466 BLAKE2B 77bcca5fa3e514733f3812b738ae1590da641b24e58de4d6e2eb49d45512e6eecc6025912d03e73344645bd86ea14db2673f9fe9c34519520284bdf965c98eae SHA512 6d290c0c0e86c9eac5862bea8918c7f4508049b0f87fca7e087d05678a35eec28acd1304a8a6f32265856baa8992f364c4cb98b85727862989990024a240ba49
DIST stripe-9.5.0.tar.gz 1262346 BLAKE2B 45ba78fac985352f1857b7f6e5e4907afc9ff45815419671b9ee6476f04a7bf216fa49eb0008b8804d0a9763885ee5a8d09431ba6c26cca5e2091787353ae688 SHA512 2a530fe88d56a4753a5f497547aaf51ae770c1c616677eaad65d820eef638f5dd35d78486a3105caf97b2986f3940019a7cc0e7f89fe1c4ae83195bccd1ce000
DIST stripe-9.6.0.tar.gz 1265189 BLAKE2B d5b37cc8c7ee8597b80f9920e782e6eda5ff6905f8b303c4344b345c73c80a37eb1cd8dc9cc30d7321c58070cc5b0180144964d5f285edcff031cb0655b41409 SHA512 d93349c85791abec7d691c2aa726996e3110117dfda5608aa63e39463399200a4f8427dc609fc2a32c7eea005e4a79fd93cffa76762e0914efcd89b83baa58c2

View file

@ -0,0 +1,88 @@
# 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} 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 ~arm64 ~x86"
IUSE="telemetry"
RDEPEND="
>=dev-python/requests-2.20[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
"
# please bump dev-util/stripe-mock dep to the latest version on every bump
BDEPEND="
test? (
>=dev-util/stripe-mock-0.185.0
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/anyio[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
net-misc/curl
)
"
distutils_enable_tests pytest
DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
src_prepare() {
if ! use telemetry; then
sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die
fi
# https://github.com/stripe/stripe-python/pull/1297
sed -e 's:from mock:from unittest.mock:' \
-i tests/test_http_client.py || die
distutils-r1_src_prepare
}
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests -p anyio -p pytest_mock
}
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"
}

View file

@ -1 +1,2 @@
DIST sybil-6.1.0.gh.tar.gz 70823 BLAKE2B dfdd931f1f2bb7944a97ceb92425e55accc8d7587c829b65be9b6b65007f8a32b076938e1114bbee76d0a9592ba29335cf88e982aa00d1a3ad17c8523f162548 SHA512 2048073c8ef8a9c0f71dabe39ada1404eef3d83509fe3f3e0a7e6b5d1f65a24242c8faf14aaac9ea12b21ab5908dee9bae9d03d9907f09a830d73a3b6e52f8d3
DIST sybil-6.1.1.gh.tar.gz 71447 BLAKE2B 44ced68adfae094454c9dc4ae55b7327fc9d149728ec9f2faafc42057bc9e99572289100e310f16afdde7741841964a365c008fc9a16092d270ce88dfb0d89be SHA512 f14bb09b8886bd17ccd3a56d3dfc8e2ff510ad04f7b9c8deadff826571e36547934af6855e0a6cbed43e0c0767a0f0af8f80afcecf4a8db74b041fae9d84bd5a

View file

@ -0,0 +1,39 @@
# Copyright 2019-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="Automated testing for the examples in your documentation"
HOMEPAGE="
https://github.com/simplistix/sybil/
https://pypi.org/project/sybil/
"
# tests are missing in sdist, as of 5.0.1
SRC_URI="
https://github.com/simplistix/sybil/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
BDEPEND="
test? (
dev-python/myst-parser[${PYTHON_USEDEP}]
dev-python/seedir[${PYTHON_USEDEP}]
dev-python/testfixtures[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}

View file

@ -0,0 +1,83 @@
From a04715c5ef5bc3d6b30b1354d64db1762bc42b9c Mon Sep 17 00:00:00 2001
From: Erik Larsson <who+github@cnackers.org>
Date: Fri, 12 Apr 2024 19:49:52 +0200
Subject: [PATCH 1/2] Revert "test: skip some FAPI tests if testing agains
tpm2-tss master branch."
This reverts commit 9e948984676b38f71e923a6e167340dc99554ac0.
Fixed in tpm2-tss master branch, so remove the temporary fixes.
Signed-off-by: Erik Larsson <who+github@cnackers.org>
---
test/test_fapi.py | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/test/test_fapi.py b/test/test_fapi.py
index f702fc9..6b77c66 100644
--- a/test/test_fapi.py
+++ b/test/test_fapi.py
@@ -13,7 +13,7 @@ from cryptography.hazmat.primitives.asymmetric.padding import PSS
from tpm2_pytss import *
-from tpm2_pytss.internal.utils import is_bug_fixed, _lib_version_atleast
+from tpm2_pytss.internal.utils import is_bug_fixed
from .TSS2_BaseTest import TpmSimulator
from tpm2_pytss.TSS2_Exception import TSS2_Exception
@@ -614,8 +614,7 @@ class Common:
self.fapi.sign(key_path, b"\x22" * 32)
@pytest.mark.skipif(
- _lib_version_atleast("tss2-fapi", "4.0.1-170")
- or not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]),
+ not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]),
reason="tpm2-tss bug, see #2084",
)
def test_write_authorize_nv(self, esys):
@@ -662,8 +661,7 @@ class Common:
self.fapi.quote(path=key_path, pcrs=[7, 9])
@pytest.mark.skipif(
- _lib_version_atleast("tss2-fapi", "4.0.1-170")
- or not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]),
+ not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]),
reason="tpm2-tss bug, see #2084",
)
def test_authorize_policy(self, sign_key):
@@ -728,9 +726,7 @@ class Common:
self.fapi.quote(path=key_path, pcrs=[7, 9])
@pytest.mark.skipif(
- _lib_version_atleast("tss2-fapi", "4.0.1-170")
- or not is_bug_fixed(fixed_in="3.2"),
- reason="tpm2-tss bug, see #2080",
+ not is_bug_fixed(fixed_in="3.2"), reason="tpm2-tss bug, see #2080"
)
def test_policy_signed(self, cryptography_key):
# create external signing key used by the signing authority external to the TPM
@@ -792,10 +788,6 @@ class Common:
with pytest.raises(TSS2_Exception):
self.fapi.sign(path=key_path, digest=b"\x11" * 32)
- @pytest.mark.skipif(
- _lib_version_atleast("tss2-fapi", "4.0.1-170"),
- reason="issue on master branch.",
- )
def test_policy_branched(self):
pcr_index = 15
pcr_data = b"ABCDEF"
@@ -913,8 +905,7 @@ class Common:
self.fapi.delete(path=nv_path)
@pytest.mark.skipif(
- _lib_version_atleast("tss2-fapi", "4.0.1-170")
- or not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]),
+ not is_bug_fixed(fixed_in="3.2", backports=["2.4.7", "3.0.5", "3.1.1"]),
reason="tpm2-tss bug, see #2089",
)
def test_policy_action(self):
--
2.43.2

Some files were not shown because too many files have changed in this diff Show more