diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-02-03 10:55:05 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-02-03 18:11:02 +0100 |
commit | 5ac388937da6e3075f3e39c9cc22df361fc32b3a (patch) | |
tree | 54c2dbd762848e1638befdcadcd5b19dfdb3a4e1 /dev-libs/kopeninghours | |
parent | net-p2p/ktorrent: 21.12.2 version bump (diff) | |
download | gentoo-5ac388937da6e3075f3e39c9cc22df361fc32b3a.tar.gz gentoo-5ac388937da6e3075f3e39c9cc22df361fc32b3a.tar.bz2 gentoo-5ac388937da6e3075f3e39c9cc22df361fc32b3a.zip |
dev-libs/kopeninghours: 21.12.2 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-21.12.2.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 31ebec20b179..07038c130dd9 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,2 +1,3 @@ DIST kopeninghours-21.08.3.tar.xz 65904 BLAKE2B 88169a5881a49fbb6728d706585d2e2d4c88d2eb66360917c1d0cef0cb7239de378d69afc1970f038e9c52756fe6097d5e423577a29e77c071e0b5ad54b7c6c2 SHA512 9fe8181b4c4e9427a6eba133a51b119e86378933ebf5bdbfe5a78c711837ccdbaa8baa04cb10e234febe7596c7e7e515dda8e09f8568bd785b0a3e061f6d8bcf DIST kopeninghours-21.12.1.tar.xz 68732 BLAKE2B a6de2313bf75d1067fb69830e185f975723b9ee314f2bd8e502f28f8a39f4878202b9f9c7a11164dbe9b05b5696f8876fe156b8218ce20808a52991a135ac360 SHA512 8970816f0f679a4d7a0f756e6dea08605d142c5590b9178d6e8468c377b8bb71f39786d3cf7db71b7a2ff0bfe4d3e042722bde41ae09395beb9b45225cc9cb8f +DIST kopeninghours-21.12.2.tar.xz 68732 BLAKE2B 22407bd9c1f0e6bc3c875537b7326df65864fc1071ba87ea0d1a37165b5179d49bbfe579197c11ae7b61067b3a7f173f75c829dcf58a3cdb761878179049fd3d SHA512 1b70ee85588bbbd90643571db2df4eda46977b784ab69ac1a6fea870a4e6869d674587c9e738e7ade709c7795b92e8704c8a0ed22392e68ad49946ebb0888fbe diff --git a/dev-libs/kopeninghours/kopeninghours-21.12.2.ebuild b/dev-libs/kopeninghours/kopeninghours-21.12.2.ebuild new file mode 100644 index 000000000000..5d70c6f06c47 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-21.12.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="true" +ECM_TEST="true" +KDE_GEAR="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.88.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 +} |