From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/
Date: Sat, 25 Apr 2020 12:37:49 +0000 (UTC) [thread overview]
Message-ID: <1587818261.381d06c87ed0cae4d3ad12073331eb0d940a0190.asturm@gentoo> (raw)
commit: 381d06c87ed0cae4d3ad12073331eb0d940a0190
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 25 11:41:20 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 12:37:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=381d06c8
media-libs/lensfun: EAPI-7 bump, use cmake.eclass, python3_8
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/lensfun/lensfun-0.3.2-r1.ebuild | 38 +++++++++++++++++-------------
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
index be3d497432b..528d11db736 100644
--- a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
+++ b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit python-single-r1 cmake-utils
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-single-r1 cmake
DESCRIPTION="Library for rectifying and simulating photographic lens distortions"
HOMEPAGE="https://lensfun.github.io"
@@ -15,26 +14,29 @@ LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning.
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
RESTRICT="!test? ( test )"
-RDEPEND="${PYTHON_DEPS}
- >=dev-libs/glib-2.40
- media-libs/libpng:0=
- sys-libs/zlib:="
-DEPEND="${RDEPEND}
+BDEPEND="
doc? (
app-doc/doxygen
dev-python/docutils
- )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+ )
+"
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/glib-2.40
+ media-libs/libpng:0=
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
DOCS=( README.md docs/mounts.txt ChangeLog )
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
- -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)
-DSETUP_PY_INSTALL_PREFIX="${ED}"/usr
-DBUILD_LENSTOOL=ON
-DBUILD_STATIC=OFF
@@ -43,13 +45,17 @@ src_configure() {
-DBUILD_FOR_SSE2=$(usex cpu_flags_x86_sse2)
-DBUILD_TESTS=$(usex test)
)
-
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
mkdir -p "${T}/db/lensfun" || die
cp data/db/* "${T}/db/lensfun/" || die
- XDG_DATA_HOME="${T}/db" cmake-utils_src_test
+ XDG_DATA_HOME="${T}/db" cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+ python_optimize
}
next reply other threads:[~2020-04-25 12:37 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-25 12:37 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-10 23:46 [gentoo-commits] repo/gentoo:master commit in: media-libs/lensfun/ Sam James
2024-05-28 13:19 Sam James
2024-05-28 13:19 Sam James
2024-04-21 6:04 Markus Meier
2023-04-29 20:31 Sam James
2023-04-29 20:25 Sam James
2023-04-29 20:25 Sam James
2023-04-29 20:25 Sam James
2023-04-29 20:20 Sam James
2023-04-29 18:16 Arthur Zamarin
2023-04-29 18:04 Arthur Zamarin
2023-02-07 18:01 Andreas Sturmlechner
2022-12-22 20:05 Andreas Sturmlechner
2022-12-21 0:19 Sam James
2022-12-20 23:57 Sam James
2022-12-20 23:57 Sam James
2022-12-20 23:29 Sam James
2022-12-20 23:29 Sam James
2022-12-20 23:28 Sam James
2022-12-20 23:28 Sam James
2022-12-01 3:21 WANG Xuerui
2022-03-05 22:39 Andreas K. Hüttel
2022-02-28 23:17 Andreas K. Hüttel
2021-02-27 21:12 Andreas K. Hüttel
2020-06-18 17:54 Markus Meier
2020-06-06 23:18 Andreas K. Hüttel
2019-10-06 13:27 Alexey Shvetsov
2019-05-21 6:31 Aaron Bauman
2018-05-20 19:10 Andreas Sturmlechner
2018-04-15 17:15 Andreas Sturmlechner
2018-04-07 12:05 Sergei Trofimovich
2018-04-02 8:33 Markus Meier
2018-04-01 11:08 Sergei Trofimovich
2018-03-31 10:58 Sergei Trofimovich
2018-03-05 10:36 Tobias Klausmann
2018-03-02 14:15 Jason Zaman
2018-02-27 16:48 Markus Meier
2018-02-24 9:41 Sergei Trofimovich
2017-12-25 23:14 Andreas Sturmlechner
2017-06-18 9:51 Alexis Ballier
2017-05-28 9:26 Markus Meier
2016-01-11 9:07 Agostino Sarubbo
2016-01-09 6:43 Agostino Sarubbo
2015-12-07 11:40 Agostino Sarubbo
2015-12-05 10:12 Jeroen Roovers
2015-12-05 10:12 Jeroen Roovers
2015-12-03 13:28 Agostino Sarubbo
2015-11-29 19:08 Markus Meier
2015-11-23 9:25 Agostino Sarubbo
2015-11-23 8:50 Agostino Sarubbo
2015-11-21 14:34 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587818261.381d06c87ed0cae4d3ad12073331eb0d940a0190.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox