diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-04 13:24:32 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-04 14:20:53 +0100 |
commit | 3421cb08b2b90407ee6ad0935520c7ccf8cd4cb2 (patch) | |
tree | 2298efeb29eececdc20c41dc8a7510076df2c408 /dev-libs | |
parent | net-p2p/ktorrent: 21.08.3 version bump (diff) | |
download | gentoo-3421cb08b2b90407ee6ad0935520c7ccf8cd4cb2.tar.gz gentoo-3421cb08b2b90407ee6ad0935520c7ccf8cd4cb2.tar.bz2 gentoo-3421cb08b2b90407ee6ad0935520c7ccf8cd4cb2.zip |
dev-libs/kopeninghours: 21.08.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/kopeninghours/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/kopeninghours/kopeninghours-21.08.3.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 77462f7a1f75..99e0d0a2a6ca 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,2 +1,3 @@ DIST kopeninghours-21.04.3.tar.xz 63212 BLAKE2B 8f16566559b529ca44aaa0cb6b8267cc4d253c82e336d210cd240191ea5b60e029d6acd914053707c010bf94628cfb43e9fa0cc5625f275808426f75ecaf8e6a SHA512 d368cdbfe9dfcd82a847b932ddd244bdabfabdf1d44dbf6fb371f3af294f538d77d9f955fdbf1d9a34a2f18e84e649ac32e4b6e296cd7a8cc84d0238ca89bd6d DIST kopeninghours-21.08.2.tar.xz 65788 BLAKE2B 0bd45fdde7a21addcc2ed4bf8c372c09365842ac00eaeb08eb145f5e1bf403d2171049edfde81500a51d309e873a813123c688f3563fe0fa73ec9a125e1fb33f SHA512 14ae0fca1bc55fa89b2cb1b78eb5e3026268c5c090141c8dccc19f684a9d9d2fa41e8d09f54cbe4e7aab5a1c72ac0b02fa7e73ffe11722df3b895d5774eedc3b +DIST kopeninghours-21.08.3.tar.xz 65904 BLAKE2B 88169a5881a49fbb6728d706585d2e2d4c88d2eb66360917c1d0cef0cb7239de378d69afc1970f038e9c52756fe6097d5e423577a29e77c071e0b5ad54b7c6c2 SHA512 9fe8181b4c4e9427a6eba133a51b119e86378933ebf5bdbfe5a78c711837ccdbaa8baa04cb10e234febe7596c7e7e515dda8e09f8568bd785b0a3e061f6d8bcf diff --git a/dev-libs/kopeninghours/kopeninghours-21.08.3.ebuild b/dev-libs/kopeninghours/kopeninghours-21.08.3.ebuild new file mode 100644 index 000000000000..bd46d6ad91b3 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-21.08.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KDE_GEAR="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.84.0 +QTMIN=5.15.2 +PYTHON_COMPAT=( python3_{8..10} ) +inherit ecm 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}-21.03.90-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 +} |