diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-22 09:51:21 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-22 10:56:10 +0100 |
| commit | 3052e0a4e7fd37d4144aaf0d023f77b786e959e5 (patch) | |
| tree | 93cffbb7cad4d4d4057ef5ccda26072282366e7c /dev-libs | |
| parent | 25a23536a2468c9e72c20b663cd5acbc01e185ab (diff) | |
| download | kde-3052e0a4e7fd37d4144aaf0d023f77b786e959e5.tar.gz kde-3052e0a4e7fd37d4144aaf0d023f77b786e959e5.tar.bz2 kde-3052e0a4e7fd37d4144aaf0d023f77b786e959e5.zip | |
dev-libs/kopeninghours: 24.02.0 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-24.02.0.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index c37fa449041..af56f3ec80c 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1 +1,2 @@ DIST kopeninghours-24.01.95.tar.xz 72700 BLAKE2B 90de4258b2be2790bcf4bbbd38b4afa81cc4090d1806f733f6af68a3ae231469bd6cb3c9e8d61460c446e973f325675c5e27646aa62dccb4bf1200b15a90d6a2 SHA512 f33bc44ca60f84ffde3ddfc9506ce4a37f6c211168d2a640e791e74f3336813c59d663781a78ebc04fb47c7d8cb7058416b8b1c267415cb3473eb7bb72f18423 +DIST kopeninghours-24.02.0.tar.xz 72732 BLAKE2B 8669a7c0e8c6a44899ed5a0f2d50d023813a5756483b8c43caf2c9218a89f46d56e7b3bcb480c8be42510bf85722364067448ead546ceeae7fc18deaef7f2874 SHA512 9a445f00b75afb91aad28e50106ded63fe92a258be8722514c22f562a49a539242f8f30f053689d91928ff0b9cef4fee00df3efb67e65ce48226ec3e6983b359 diff --git a/dev-libs/kopeninghours/kopeninghours-24.02.0.ebuild b/dev-libs/kopeninghours/kopeninghours-24.02.0.ebuild new file mode 100644 index 00000000000..b4546e75918 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-24.02.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 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.113.0 +QTMIN=5.15.9 +PYTHON_COMPAT=( python3_{10..12} ) +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=" + app-alternatives/lex + app-alternatives/yacc +" + +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 +} |
