From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- dev-libs/kopeninghours/Manifest | 2 + .../kopeninghours/kopeninghours-21.12.0.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 dev-libs/kopeninghours/kopeninghours-21.12.0.ebuild (limited to 'dev-libs/kopeninghours') diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index c4a0743e5376..f849d93ac48f 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,4 +1,6 @@ AUX kopeninghours-21.03.90-boostpython.patch 3513 BLAKE2B 165e1bc5770aee4d7990f06da47354104fafdf1993feee4d57f7580450b3d8e367f326555256026ed4859854e3ed4d30634ac07ea48099946693db19d0ca0002 SHA512 5cb98a4ca4dab9a33f63f4b77d391d21e2e017256a1ee011f30e509160288eb9cfb21938617b542e57f210848ebdc31f45d52fe4b6d7667c0c7f72ed889edf68 DIST kopeninghours-21.08.3.tar.xz 65904 BLAKE2B 88169a5881a49fbb6728d706585d2e2d4c88d2eb66360917c1d0cef0cb7239de378d69afc1970f038e9c52756fe6097d5e423577a29e77c071e0b5ad54b7c6c2 SHA512 9fe8181b4c4e9427a6eba133a51b119e86378933ebf5bdbfe5a78c711837ccdbaa8baa04cb10e234febe7596c7e7e515dda8e09f8568bd785b0a3e061f6d8bcf +DIST kopeninghours-21.12.0.tar.xz 67300 BLAKE2B 975955c4004d9bde614facfa2673175134b75273fd2a590fb73c854c51a133b407dea4e9700e0b14bc4f509997de9ba293dcd5ff95ffc675effd7bb7c5727438 SHA512 c250371832a771b94cc785c03a0fbf8565fd578c862f9f251fbc616d283d6a7940183dd329976cb90da8d0a565f564626a5beb05c22badfbef824d0167b5dd5e EBUILD kopeninghours-21.08.3.ebuild 1266 BLAKE2B 2300f8e1734e45840ad781e679fc860071c9f80774c09f0bed04d9a1adc56336252c5bcc18c8940b6532a9599d92cc4acc9bff4b5eaaa1bed0688c29e425002e SHA512 c80bc7a598e6df2ca2053fa9d3fda6fd5e222e1a91e704b1d0156fac6411b11980a0c443ee1c753471229f23e8ae3f9b4e73be1b11d64219c32cbf04d5cc2568 +EBUILD kopeninghours-21.12.0.ebuild 1284 BLAKE2B 5ffb46f2f434e270b079f9bc2810004e149fd33edd8bef969d642cea6bf0736d573affcb12b9c75ce0946278db8f3718da799e8463d36e048d240039c929efdf SHA512 107f68ebfafd524578e7e6debc811899c552cf06436ea42fce349670f8ccc4415abeb42c2bb891546588d38268d90e5739a873ab521c14c01cba202f90562b48 MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-libs/kopeninghours/kopeninghours-21.12.0.ebuild b/dev-libs/kopeninghours/kopeninghours-21.12.0.ebuild new file mode 100644 index 000000000000..63717fe06238 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-21.12.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 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 +} -- cgit v1.2.3