From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/
Date: Thu, 16 Feb 2023 13:26:50 +0000 (UTC) [thread overview]
Message-ID: <1676553996.e4ee6e5910b07e91ac01d0d375a1d5ed75b77a0c.grozin@gentoo> (raw)
commit: e4ee6e5910b07e91ac01d0d375a1d5ed75b77a0c
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 13:26:36 2023 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 13:26:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ee6e59
sci-geosciences/routino: add python3_11
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-geosciences/routino/routino-3.3.3-r3.ebuild | 88 +++++++++++++++++++++++++
1 file changed, 88 insertions(+)
diff --git a/sci-geosciences/routino/routino-3.3.3-r3.ebuild b/sci-geosciences/routino/routino-3.3.3-r3.ebuild
new file mode 100644
index 000000000000..bc39cf589cc9
--- /dev/null
+++ b/sci-geosciences/routino/routino-3.3.3-r3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{9..11} )
+inherit toolchain-funcs distutils-r1
+
+DESCRIPTION="Routing application based on openstreetmap data"
+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 )"
+
+BDEPEND="
+ python? (
+ ${PYTHON_DEPS}
+ dev-lang/swig[pcre]
+ )
+"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.3.2.patch )
+
+src_prepare() {
+ 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"
+}
+
+src_compile() {
+ emake -j1
+
+ rm README.txt || die "rm README.txt failed"
+ mv doc/README.txt . || die "mv doc/README.txt . failed"
+
+ if use python; then
+ pushd python > /dev/null || die
+ distutils-r1_src_compile
+ popd > /dev/null || die
+ fi
+}
+
+python_compile() {
+ rm -f build/.timestamp || die
+ emake PYTHON=${EPYTHON}
+}
+
+src_test() {
+ emake test
+
+ # Need to fix import issues with these
+ #if use python; then
+ # pushd python > /dev/null || die
+ # distutils-r1_src_test
+ # popd > /dev/null || die
+ #fi
+}
+
+python_test() {
+ emake PYTHON=${EPYTHON} test
+}
+
+src_install() {
+ default
+
+ if use python; then
+ pushd python > /dev/null || die
+ distutils-r1_src_install
+ newdoc README.txt README_python.txt
+ popd > /dev/null || die
+ fi
+}
+
+python_install() {
+ esetup.py install
+ python_optimize
+}
next reply other threads:[~2023-02-16 13:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-16 13:26 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-28 22:01 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/ Sam James
2024-04-18 12:07 Andrey Grozin
2024-04-18 12:00 Andrey Grozin
2024-02-02 16:27 Arthur Zamarin
2023-07-20 16:07 Andrey Grozin
2023-05-09 5:51 Andrey Grozin
2023-04-19 11:52 Sam James
2023-04-19 11:23 Sam James
2023-02-21 10:39 Andrey Grozin
2023-02-21 10:38 Andrey Grozin
2022-06-16 13:56 Andrey Grozin
2022-06-14 21:17 Jakov Smolić
2022-06-14 21:17 Jakov Smolić
2022-06-12 15:34 Sam James
2022-06-09 7:39 Agostino Sarubbo
2022-06-09 7:34 Agostino Sarubbo
2022-05-24 10:11 Andrey Grozin
2021-11-04 22:04 Sam James
2021-05-27 21:06 David Seifert
2021-05-27 6:57 Agostino Sarubbo
2021-05-27 6:55 Agostino Sarubbo
2021-04-26 14:36 Andrey Grozin
2021-03-08 10:25 Sam James
2021-03-06 15:37 Thomas Deutschmann
2021-02-23 19:53 Andreas Sturmlechner
2018-10-02 15:00 Mikle Kolyada
2018-10-01 21:47 Thomas Deutschmann
2018-09-16 4:23 Andrey Grozin
2016-12-19 19:31 Tobias Klausmann
2016-01-14 15:19 Andrey Grozin
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=1676553996.e4ee6e5910b07e91ac01d0d375a1d5ed75b77a0c.grozin@gentoo \
--to=grozin@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