diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-26 22:46:58 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-27 01:45:22 +0100 |
commit | 14d464a385f700d8de3dae54f38adefb1ba5e90d (patch) | |
tree | 0a81c84cddbbdd0c645aff970b684ce264d03e4b /dev-libs | |
parent | dev-util/mdds: Bump 9999 subslot to 3.0 (diff) | |
download | gentoo-14d464a385f700d8de3dae54f38adefb1ba5e90d.tar.gz gentoo-14d464a385f700d8de3dae54f38adefb1ba5e90d.tar.bz2 gentoo-14d464a385f700d8de3dae54f38adefb1ba5e90d.zip |
dev-libs/libixion: 0.19.0 version bump, python3_12
Tests passed.
Bug: https://bugs.gentoo.org/919897
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libixion/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libixion/libixion-0.19.0.ebuild | 57 | ||||
-rw-r--r-- | dev-libs/libixion/libixion-9999.ebuild | 8 |
3 files changed, 62 insertions, 4 deletions
diff --git a/dev-libs/libixion/Manifest b/dev-libs/libixion/Manifest index 5513636ebc08..54257f18acdb 100644 --- a/dev-libs/libixion/Manifest +++ b/dev-libs/libixion/Manifest @@ -1 +1,2 @@ DIST libixion-0.17.0.tar.xz 499836 BLAKE2B c8c31b07ad14dd49be259686af3e39e6f5d4aeeb8680030ea7bd2697c8baa72123f2659b3087f224f956612dc444c97e6a6d331fd3deff780981bab4d5b6ad25 SHA512 0acdb2eae5250236a94b1a3344ca990058ea8db7b1e741545bcb7160f9e28d21a3c2ec336621fd590df10188a4d5feadfbb3a63f57e9bfd2cc1bffc04009ffad +DIST libixion-0.19.0.tar.xz 536540 BLAKE2B 2bd8db83f926d553b1b6c78eb3e735e9911dbdd3cb95105fca04fd560099f38c5e4834d5887b1b0e6d44343e0da9b0fa0264f00c931a6b04b7e4c70996f819b2 SHA512 f06edbcf5ae7459a46e01273952ce6fbc4e8f2b7782c7e07645dc30e102f20f542e449acafc26484765207b10656e0b350f4108cbf1e03947ee7267254cf6f97 diff --git a/dev-libs/libixion/libixion-0.19.0.ebuild b/dev-libs/libixion/libixion-0.19.0.ebuild new file mode 100644 index 000000000000..176977aca8d5 --- /dev/null +++ b/dev-libs/libixion/libixion-0.19.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit python-single-r1 + +DESCRIPTION="General purpose formula parser & interpreter" +HOMEPAGE="https://gitlab.com/ixion/ixion" + +if [[ ${PV} == *9999* ]]; then + MDDS_SLOT="1/2.1" + EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git" + inherit git-r3 autotools +else + MDDS_SLOT="1/2.1" + SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0/0.18" # based on SONAME of libixion.so +IUSE="debug python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-libs/boost:= + dev-util/mdds:${MDDS_SLOT} + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + [[ ${PV} == *9999* ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable debug debug-utils) + $(use_enable debug log-debug) + $(use_enable python) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/dev-libs/libixion/libixion-9999.ebuild b/dev-libs/libixion/libixion-9999.ebuild index 274322f24718..176977aca8d5 100644 --- a/dev-libs/libixion/libixion-9999.ebuild +++ b/dev-libs/libixion/libixion-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-single-r1 DESCRIPTION="General purpose formula parser & interpreter" @@ -14,9 +14,9 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git" inherit git-r3 autotools else - MDDS_SLOT="1/2.0" + MDDS_SLOT="1/2.1" SRC_URI="https://kohei.us/files/ixion/src/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" fi LICENSE="MIT" |