diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-07 12:15:10 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-07 14:50:19 +0100 |
commit | 2b2a8b1788651242abc4d7e1a9d23f888e20cb7f (patch) | |
tree | 207d773ae68f827b8d35b81a12679c35eeae08c3 /dev-libs | |
parent | net-p2p/ktorrent: 21.12.1 version bump (diff) | |
download | gentoo-2b2a8b1788651242abc4d7e1a9d23f888e20cb7f.tar.gz gentoo-2b2a8b1788651242abc4d7e1a9d23f888e20cb7f.tar.bz2 gentoo-2b2a8b1788651242abc4d7e1a9d23f888e20cb7f.zip |
dev-libs/kopeninghours: 21.12.1 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.12.1.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 1103c6c98a0b..5890a449cb21 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.0.tar.xz 67300 BLAKE2B 975955c4004d9bde614facfa2673175134b75273fd2a590fb73c854c51a133b407dea4e9700e0b14bc4f509997de9ba293dcd5ff95ffc675effd7bb7c5727438 SHA512 c250371832a771b94cc785c03a0fbf8565fd578c862f9f251fbc616d283d6a7940183dd329976cb90da8d0a565f564626a5beb05c22badfbef824d0167b5dd5e +DIST kopeninghours-21.12.1.tar.xz 68732 BLAKE2B a6de2313bf75d1067fb69830e185f975723b9ee314f2bd8e502f28f8a39f4878202b9f9c7a11164dbe9b05b5696f8876fe156b8218ce20808a52991a135ac360 SHA512 8970816f0f679a4d7a0f756e6dea08605d142c5590b9178d6e8468c377b8bb71f39786d3cf7db71b7a2ff0bfe4d3e042722bde41ae09395beb9b45225cc9cb8f diff --git a/dev-libs/kopeninghours/kopeninghours-21.12.1.ebuild b/dev-libs/kopeninghours/kopeninghours-21.12.1.ebuild new file mode 100644 index 000000000000..5d70c6f06c47 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-21.12.1.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 +} |