diff options
author | David Seifert <soap@gentoo.org> | 2023-03-09 13:07:12 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-09 13:07:12 +0100 |
commit | 40ce8e3b759c4e81f09010d53cab60767a9b0e56 (patch) | |
tree | a2a6939eebe256274fb82eaa47376d7d07d7153d /sys-cluster/galera | |
parent | sys-cluster/galera: drop 26.4.10-r1 (diff) | |
download | gentoo-40ce8e3b759c4e81f09010d53cab60767a9b0e56.tar.gz gentoo-40ce8e3b759c4e81f09010d53cab60767a9b0e56.tar.bz2 gentoo-40ce8e3b759c4e81f09010d53cab60767a9b0e56.zip |
sys-cluster/galera: add python 3.11
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-cluster/galera')
-rw-r--r-- | sys-cluster/galera/galera-26.4.13-r1.ebuild (renamed from sys-cluster/galera/galera-26.4.13.ebuild) | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/sys-cluster/galera/galera-26.4.13.ebuild b/sys-cluster/galera/galera-26.4.13-r1.ebuild index 8225925b67b1..2df9c574f02d 100644 --- a/sys-cluster/galera/galera-26.4.13.ebuild +++ b/sys-cluster/galera/galera-26.4.13-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-any-r1 scons-utils toolchain-funcs @@ -13,51 +13,46 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API" HOMEPAGE="https://galeracluster.com" SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2 BSD" +S="${WORKDIR}/${MY_P}" +LICENSE="GPL-2 BSD" SLOT="0" - KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 x86" IUSE="cpu_flags_x86_sse4_2 garbd test" - RESTRICT="!test? ( test )" -COMMON_DEPEND=" - dev-libs/openssl:0= - >=dev-libs/boost-1.41:0= +RDEPEND=" + dev-libs/openssl:= + dev-libs/boost:= " - DEPEND=" - ${COMMON_DEPEND} + ${RDEPEND} dev-libs/check >=dev-cpp/asio-1.22 " -#Run time only -RDEPEND="${COMMON_DEPEND}" - -# Respect {C,LD}FLAGS. PATCHES=( - "${FILESDIR}/${PN}"-26.4.6-strip-extra-cflags.patch - "${FILESDIR}/${PN}"-26.4.8-respect-toolchain.patch - "${FILESDIR}/${PN}"-26.4.13-asio.patch - "${FILESDIR}/${PN}"-26.4.13-tests.patch + "${FILESDIR}"/${PN}-26.4.6-strip-extra-cflags.patch + "${FILESDIR}"/${PN}-26.4.8-respect-toolchain.patch + "${FILESDIR}"/${PN}-26.4.13-asio.patch + "${FILESDIR}"/${PN}-26.4.13-tests.patch ) -S="${WORKDIR}/${MY_P}" - src_prepare() { default + # Remove bundled dev-cpp/asio - rm -r "${S}/asio" || die "Failed to remove bundled asio" - #Remove optional garbd daemon + rm -r asio || die "Failed to remove bundled asio" + + # Remove optional garbd daemon if ! use garbd ; then - rm -r "${S}/garb" || die "Failed to remove garbd daemon" + rm -r garb || die "Failed to remove garbd daemon" fi } src_configure() { tc-export AR CC CXX OBJDUMP + # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++, # and -Wold-style-cast MYSCONS=( @@ -74,12 +69,14 @@ src_compile() { src_install() { dodoc scripts/packages/README scripts/packages/README-MySQL + if use garbd ; then dobin garb/garbd - newconfd "${FILESDIR}/garb.cnf" garbd - newinitd "${FILESDIR}/garb.init" garbd + newconfd "${FILESDIR}"/garb.cnf garbd + newinitd "${FILESDIR}"/garb.init garbd doman man/garbd.8 fi - exeinto /usr/$(get_libdir)/"${PN}" + + exeinto /usr/$(get_libdir)/galera doexe libgalera_smm.so } |