diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-07-06 15:43:01 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-07-06 16:23:10 +0200 |
commit | 9f47c0086ee31bc78edcba67387013e1af801441 (patch) | |
tree | 9b34fc4f4294be3b1466c74259e6fd734f0e9192 /dev-libs/kopeninghours | |
parent | app-office/kalendar: 23.04.3 version bump (diff) | |
download | gentoo-9f47c0086ee31bc78edcba67387013e1af801441.tar.gz gentoo-9f47c0086ee31bc78edcba67387013e1af801441.tar.bz2 gentoo-9f47c0086ee31bc78edcba67387013e1af801441.zip |
dev-libs/kopeninghours: 23.04.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.04.3.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index fc4780def7b6..cd071c5137ca 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,2 +1,3 @@ DIST kopeninghours-22.12.3.tar.xz 71072 BLAKE2B f86ca120035da5eb01736ea6dd5e35ed6f961a0d5cfe7af4b8d13b4a00b80b3252a39996efdb039a10a1e5d44fc33a57133ac5c75444d866e5f8a6c2e778e2ed SHA512 c8f87eb7398f8aff8de74b86dbc33fd50d90485dca4fb1e8bd87d4d697bb9f3670bca7ab11baf47ce5186fcb7067ae74efdbd20896d5a4e0b84c15edafd31dce DIST kopeninghours-23.04.2.tar.xz 71768 BLAKE2B 2ddcead9c00adbb210adea3affd44656b0fe7e0f0b496f78308291530a5fa56a06728b3977a861d4c605cfa1e592038772cb0f3b39b0e8d538aa87549b2ae9d5 SHA512 5378b23c12c9037512153630a643fe3ad0514e4e2113af59495ef1f323e46ba2fee7866f6f4f5325703ab5134c49948ebda46c491a1fbddc7fcb3e1bfd7593e3 +DIST kopeninghours-23.04.3.tar.xz 71808 BLAKE2B 734d938145fd386b6314f0e861a1b148e4a5dfac83f8b0263f8840e07f629c528f4945be16e3c6d8240b72b2be442a28071dc86982ee42b6faa60780ae15c0ee SHA512 6faddbf3da09fb4d3616abbc230c269f0ccb827f081ca3b2bf40874d7878efe69ea197ccf54f1b4db0e997eee11cca41891d64196b77062763d62e286ce4aa4c diff --git a/dev-libs/kopeninghours/kopeninghours-23.04.3.ebuild b/dev-libs/kopeninghours/kopeninghours-23.04.3.ebuild new file mode 100644 index 000000000000..14890beac8eb --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-23.04.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 +} |