From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C99C1382C5 for ; Tue, 23 Feb 2021 19:53:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DC0DE0877; Tue, 23 Feb 2021 19:53:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 80936E0878 for ; Tue, 23 Feb 2021 19:53:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48C81340E07 for ; Tue, 23 Feb 2021 19:53:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E158456F for ; Tue, 23 Feb 2021 19:53:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1614109951.a37e8f4bc5cc89ff7af836e805a65d319917064b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/routino/routino-3.3.2.ebuild X-VCS-Directories: sci-geosciences/routino/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a37e8f4bc5cc89ff7af836e805a65d319917064b X-VCS-Branch: master Date: Tue, 23 Feb 2021 19:53:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: df6680f7-2618-406f-ac19-9ab279e69751 X-Archives-Hash: fb6a8203ac6fbb6b36f5efb22941e6da commit: a37e8f4bc5cc89ff7af836e805a65d319917064b Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Feb 20 19:18:59 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 23 19:52:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37e8f4b sci-geosciences/routino: python3_9, python optional, tests pass, style Bug: https://bugs.gentoo.org/771345 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-geosciences/routino/routino-3.3.2.ebuild | 31 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/sci-geosciences/routino/routino-3.3.2.ebuild b/sci-geosciences/routino/routino-3.3.2.ebuild index c910d4194d2..0ea8e4a10d4 100644 --- a/sci-geosciences/routino/routino-3.3.2.ebuild +++ b/sci-geosciences/routino/routino-3.3.2.ebuild @@ -1,32 +1,41 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{7,8,9} ) inherit toolchain-funcs distutils-r1 DESCRIPTION="Routing application based on openstreetmap data" -HOMEPAGE="http://www.routino.org/" -SRC_URI="http://www.routino.org/download/${P}.tgz" +HOMEPAGE="https://routino.org/" +SRC_URI="https://routino.org/download/${P}.tgz" + LICENSE="AGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="python test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DEPEND="python? ( ${PYTHON_DEPS} - dev-lang/swig )" + +DEPEND=" + python? ( + ${PYTHON_DEPS} + dev-lang/swig + ) +" RDEPEND="python? ( ${PYTHON_DEPS} )" +PATCHES=( "${FILESDIR}"/${P}.patch ) + src_prepare() { - eapply "${FILESDIR}"/${P}.patch + default sed -i -e "s@libdir=\(.*\)@libdir=\$(prefix)/$(get_libdir)@" \ -e "s@CC=gcc@CC=$(tc-getCC)@" \ -e "s@LD=gcc@LD=$(tc-getCC)@" \ Makefile.conf || die "failed sed" - - eapply_user } src_compile() { @@ -36,7 +45,7 @@ src_compile() { if use python; then pushd python > /dev/null python_compile() { - rm -f build/.timestamp + rm -f build/.timestamp || die emake PYTHON=${EPYTHON} } python_foreach_impl python_compile