diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-04 11:27:36 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-04 12:06:47 +0100 |
| commit | 5f17e62956961f041acf9d3ec56be81562a37c15 (patch) | |
| tree | 68aca35f50e364b3f8ea8434eced4de3fa6e1a00 /dev-libs | |
| parent | c36c39ec6cd92aeb62d5663599454e5bba4675b5 (diff) | |
| download | kde-5f17e62956961f041acf9d3ec56be81562a37c15.tar.gz kde-5f17e62956961f041acf9d3ec56be81562a37c15.tar.bz2 kde-5f17e62956961f041acf9d3ec56be81562a37c15.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 new file mode 100644 index 00000000000..a6a2fcb51a9 --- /dev/null +++ b/dev-libs/kopeninghours/Manifest @@ -0,0 +1 @@ +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 00000000000..63717fe0623 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-21.12.1.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 +} |
