diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-09 10:58:54 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-11-09 14:06:21 +0100 |
commit | ded34fd51f099295f749fa2fd66f75e9cef0fdf1 (patch) | |
tree | b3a4cb17132364c944da5f0807ce1c44ee5bdca7 /dev-libs/kopeninghours | |
parent | app-office/merkuro: 23.08.3 version bump (diff) | |
download | gentoo-ded34fd51f099295f749fa2fd66f75e9cef0fdf1.tar.gz gentoo-ded34fd51f099295f749fa2fd66f75e9cef0fdf1.tar.bz2 gentoo-ded34fd51f099295f749fa2fd66f75e9cef0fdf1.zip |
dev-libs/kopeninghours: 23.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-23.08.3.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 2f87951bd4a3..548d00e8736b 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,2 +1,3 @@ DIST kopeninghours-23.04.3.tar.xz 71808 BLAKE2B 734d938145fd386b6314f0e861a1b148e4a5dfac83f8b0263f8840e07f629c528f4945be16e3c6d8240b72b2be442a28071dc86982ee42b6faa60780ae15c0ee SHA512 6faddbf3da09fb4d3616abbc230c269f0ccb827f081ca3b2bf40874d7878efe69ea197ccf54f1b4db0e997eee11cca41891d64196b77062763d62e286ce4aa4c DIST kopeninghours-23.08.2.tar.xz 71928 BLAKE2B 422ecce42a8ab37698af4905caf7aa23a0864e0557e07253ed49cfd698d3273679fe6c0ffea4145fc860f28228623de84273e7ae4dd3eda3ae95f9eead85d27b SHA512 5a4eedb72a60a261616a321fee117e035cce796c76b053b71ab1265ea5cd26754bf577bfc99233a040fe105ea3bad21670d682ec3bbaa45db2a17dc07038b516 +DIST kopeninghours-23.08.3.tar.xz 71932 BLAKE2B 368f75ef0884a909b916497d9e5578a19288cebb1d12bf073938633a37a53a00c7f34256ee03a8ca2bd73759f72a16aa1b677c8a75305865446c2e5d935026a1 SHA512 e62794d4405321ef7c81b3981e2610e3a5f91a0a65a1899fd1e24681f4bb6296e8ad26532bb039e0fa3f47a0c33269a8c46c87658e407c87b77619ea0a09f155 diff --git a/dev-libs/kopeninghours/kopeninghours-23.08.3.ebuild b/dev-libs/kopeninghours/kopeninghours-23.08.3.ebuild new file mode 100644 index 000000000000..14890beac8eb --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-23.08.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 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=5.106.0 +QTMIN=5.15.9 +PYTHON_COMPAT=( python3_{10..11} ) +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="5" +KEYWORDS="~amd64" +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + >=dev-libs/kpublictransport-${PVCUT}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=kde-frameworks/kholidays-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + sys-libs/zlib + python? ( + $(python_gen_cond_dep ' + >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +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 +} |