diff options
author | 2024-11-07 17:13:22 +0100 | |
---|---|---|
committer | 2024-11-07 20:06:14 +0100 | |
commit | b3a3849d702fd74f2601846832e7e095d198754a (patch) | |
tree | 6cff3654af2a055f7bc5f26a166c3ef1557d14a4 /dev-libs/kopeninghours | |
parent | app-office/merkuro: 24.08.3 version bump (diff) | |
download | gentoo-b3a3849d702fd74f2601846832e7e095d198754a.tar.gz gentoo-b3a3849d702fd74f2601846832e7e095d198754a.tar.bz2 gentoo-b3a3849d702fd74f2601846832e7e095d198754a.zip |
dev-libs/kopeninghours: 24.08.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/kopeninghours')
-rw-r--r-- | dev-libs/kopeninghours/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/kopeninghours/kopeninghours-24.08.3.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 074ffc806559..02dacb09c471 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,2 +1,3 @@ DIST kopeninghours-24.08.1.tar.xz 74616 BLAKE2B de96e19675b4c29eb388b3a120e97c1435b1fa7652b7b86d8adcaca8a5afb167481fd444a429a03f6fd285bf4623e5cb3af5e3952788300918a9281d5d2a091c SHA512 b219bf9c7d3a302112e84d9022f9ff37c7153870099972d7ad2c5154c391462ef7397df0bc09cb956a5e6cc2ee6d22ed53fc84d9efb07c03a8df17db5e9b8594 DIST kopeninghours-24.08.2.tar.xz 74584 BLAKE2B d0f0a9e8941d54cd9bad4c998045861c2e065f8618e46575e5bc66423cb538b79c53e1d768a0905ffd5ca10e98511ff1b4779e06e01b934df400551bb23b3556 SHA512 97992f3b19aedc90b4eb68e8316064272d09360357c948663974609ca03f20791f3e6d40378fcc4caa812929dee8174549335714065871ca9c217001012e603d +DIST kopeninghours-24.08.3.tar.xz 74616 BLAKE2B 083dfdda40b2d7084cb4dccf253d911ad4a2228dc4b88ff9386be7b95a9d44ee93a54a185b2ab7892c2f37f50480305876016bade7cad04b64bcd3073323ccb5 SHA512 fe953735989f4da3e3e0c652f8df4a5a96762c7bfad23e88d2472f8004f4eec550589328e7a45edace37acf9129fe4f397e54bce4c72b124fa1fe20536f1248e diff --git a/dev-libs/kopeninghours/kopeninghours-24.08.3.ebuild b/dev-libs/kopeninghours/kopeninghours-24.08.3.ebuild new file mode 100644 index 000000000000..1084d8654d19 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-24.08.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="true" +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=6.5.0 +QTMIN=6.7.2 +PYTHON_COMPAT=( python3_{10..12} ) +inherit ecm gear.kde.org python-single-r1 + +DESCRIPTION="Library for parsing and evaluating OSM opening hours expressions" +HOMEPAGE="https://api.kde.org/kopeninghours/html/index.html +https://invent.kde.org/libraries/kopeninghours" + +LICENSE="LGPL-2+" +SLOT="6" +KEYWORDS="~amd64 ~arm64" +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + >=dev-libs/kpublictransport-${PVCUT}:6 + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=kde-frameworks/kholidays-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + sys-libs/zlib + python? ( + $(python_gen_cond_dep ' + >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc +" + +PATCHES=( "${FILESDIR}"/${PN}-22.04.0-boostpython.patch ) + +pkg_setup() { + ecm_pkg_setup + python_setup +} + +src_configure() { + local mycmakeargs=( + -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON} + $(cmake_use_find_package python Boost) + ) + ecm_src_configure +} + +src_install() { + ecm_src_install + python_optimize +} |