diff options
Diffstat (limited to 'dev-libs/kopeninghours')
-rw-r--r-- | dev-libs/kopeninghours/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/kopeninghours/kopeninghours-23.08.4.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index dda0ef5adbca..19c4a3ccce9d 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,6 +1,8 @@ AUX kopeninghours-22.04.0-boostpython.patch 3555 BLAKE2B 1d22b48e5574ffada0b89a0828bf5258321b57161061534939e95256ab3501a887a026231568e09b1d20499238284107c34c6835d33853096be62e1345356cde SHA512 562b30fe66a9e8904e79c95496c4b06e50dbbb8d328db93a655ffa7f8829ff70bc8a6b0ee7beb7840e7046b74d4d858265ec67703c6317c3fe4c87b54b40a349 DIST kopeninghours-23.04.3.tar.xz 71808 BLAKE2B 734d938145fd386b6314f0e861a1b148e4a5dfac83f8b0263f8840e07f629c528f4945be16e3c6d8240b72b2be442a28071dc86982ee42b6faa60780ae15c0ee SHA512 6faddbf3da09fb4d3616abbc230c269f0ccb827f081ca3b2bf40874d7878efe69ea197ccf54f1b4db0e997eee11cca41891d64196b77062763d62e286ce4aa4c DIST kopeninghours-23.08.3.tar.xz 71932 BLAKE2B 368f75ef0884a909b916497d9e5578a19288cebb1d12bf073938633a37a53a00c7f34256ee03a8ca2bd73759f72a16aa1b677c8a75305865446c2e5d935026a1 SHA512 e62794d4405321ef7c81b3981e2610e3a5f91a0a65a1899fd1e24681f4bb6296e8ad26532bb039e0fa3f47a0c33269a8c46c87658e407c87b77619ea0a09f155 +DIST kopeninghours-23.08.4.tar.xz 72316 BLAKE2B 041df496387bf6e128419decc6529c380c4ddee8bc22f6f052c8e621aac644442f739ecc563ed4e18fadcb05ebbd275f58a13e8418ec6cb4f18b1e260c2bcfd7 SHA512 76b4b46fc9bc0541636bf53aefc85bd24ecdbd243baafafc13da847281293a780410e1000930d805b710b3828234ab35b91369c5b70f86e7bdc21dff7d8c70d7 EBUILD kopeninghours-23.04.3.ebuild 1274 BLAKE2B 946d5a0102f8b7f8f93f1e92a10e5e10dd16f24d4f14ca2eccb98bbc636781bd6eac121cc7b27f5a488d31be829e3c34fc8cfb8f6d57aa50de519aff8b2054e6 SHA512 6edc20035b149f9ed309acadb03a3cefc5f0495c775c662fc6d7dbaa8a830fd1df117402e4d99e507102e67462268bb8f705622c9a6fb54dd1faa5c44d29c7ac EBUILD kopeninghours-23.08.3.ebuild 1274 BLAKE2B 946d5a0102f8b7f8f93f1e92a10e5e10dd16f24d4f14ca2eccb98bbc636781bd6eac121cc7b27f5a488d31be829e3c34fc8cfb8f6d57aa50de519aff8b2054e6 SHA512 6edc20035b149f9ed309acadb03a3cefc5f0495c775c662fc6d7dbaa8a830fd1df117402e4d99e507102e67462268bb8f705622c9a6fb54dd1faa5c44d29c7ac +EBUILD kopeninghours-23.08.4.ebuild 1274 BLAKE2B 946d5a0102f8b7f8f93f1e92a10e5e10dd16f24d4f14ca2eccb98bbc636781bd6eac121cc7b27f5a488d31be829e3c34fc8cfb8f6d57aa50de519aff8b2054e6 SHA512 6edc20035b149f9ed309acadb03a3cefc5f0495c775c662fc6d7dbaa8a830fd1df117402e4d99e507102e67462268bb8f705622c9a6fb54dd1faa5c44d29c7ac MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-libs/kopeninghours/kopeninghours-23.08.4.ebuild b/dev-libs/kopeninghours/kopeninghours-23.08.4.ebuild new file mode 100644 index 000000000000..14890beac8eb --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-23.08.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 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.106.0 +QTMIN=5.15.9 +PYTHON_COMPAT=( python3_{10..11} ) +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=" + sys-devel/bison + sys-devel/flex +" + +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 +} |