public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/
@ 2016-01-04  9:32 Andrey Grozin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Grozin @ 2016-01-04  9:32 UTC (permalink / raw
  To: gentoo-commits

commit:     fe8080a62239979335fd328c29753618eb03b7e9
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  4 09:25:30 2016 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon Jan  4 09:26:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe8080a6

sci-geosciences/routino: initial import 3.0_p1

Package-Manager: portage-2.2.26

 sci-geosciences/routino/Manifest                  |  1 +
 sci-geosciences/routino/files/makefile-conf.patch | 35 +++++++++++++++++++++++
 sci-geosciences/routino/metadata.xml              | 17 +++++++++++
 sci-geosciences/routino/routino-3.0_p1.ebuild     | 23 +++++++++++++++
 4 files changed, 76 insertions(+)

diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest
new file mode 100644
index 0000000..222a9cc
--- /dev/null
+++ b/sci-geosciences/routino/Manifest
@@ -0,0 +1 @@
+DIST routino-3.0_p1.tgz 957022 SHA256 037892a09cf2bb790d895d218a80c221e9595a3943ca35163c71ed93b111431e SHA512 be6275e8fcc0fe535a0940ba26fdf8e8ecfde768e4b2baaabf088a39431dc259933c3aa02ff3e28c5bf145402d18e6369a16d2c7a50fd1b84695dd31c155341f WHIRLPOOL 1e097aaa00437e08b485f4ce9d027cb31f3e320b5f61883a230ad235ccea8ca53c79bf0e428013434b91d0533f1212c43dd8a9f05eec2394cced070f83eb61ef

diff --git a/sci-geosciences/routino/files/makefile-conf.patch b/sci-geosciences/routino/files/makefile-conf.patch
new file mode 100644
index 0000000..ca75131
--- /dev/null
+++ b/sci-geosciences/routino/files/makefile-conf.patch
@@ -0,0 +1,35 @@
+diff -r -U1 routino-3.0.orig/Makefile.conf routino-3.0/Makefile.conf
+--- routino-3.0.orig/Makefile.conf	2015-09-08 00:11:23.000000000 +0600
++++ routino-3.0/Makefile.conf	2016-01-04 13:02:46.557516477 +0600
+@@ -47,3 +47,3 @@
+ ifneq ($(HOST),MINGW)
+-prefix=/usr/local
++prefix=/usr
+ bindir=$(prefix)/bin
+@@ -51,3 +51,3 @@
+ libdir=$(prefix)/lib
+-docdir=$(prefix)/doc/routino
++docdir=$(prefix)/share/doc/$(PF)
+ datadir=$(prefix)/share/routino
+@@ -69,3 +69,3 @@
+ # Language dialect selection
+-CFLAGS=-std=c99
++CFLAGS+=-std=c99
+ 
+@@ -75,3 +75,3 @@
+ # Optimisation options
+-CFLAGS+=-O3
++#CFLAGS+=-O3
+ CFLAGS+=-ffast-math
+@@ -86,3 +86,3 @@
+ # Maths library
+-LDFLAGS=-lm
++LDFLAGS+=-lm
+ 
+@@ -121,4 +121,4 @@
+ # Required for xz support (uncomment these two lines if required)
+-#CFLAGS+=-DUSE_XZ
+-#LDFLAGS+=-llzma
++CFLAGS+=-DUSE_XZ
++LDFLAGS+=-llzma
+ 

diff --git a/sci-geosciences/routino/metadata.xml b/sci-geosciences/routino/metadata.xml
new file mode 100644
index 0000000..577c6e9
--- /dev/null
+++ b/sci-geosciences/routino/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>sci</herd>
+  <maintainer>
+    <email>grozin@gentoo.org</email>
+    <name>Andrey Grozin</name>
+  </maintainer>
+  <longdescription lang="en">
+    An application for finding a route between two points using the dataset
+    of topographical information collected by http://www.OpenStreetMap.org.
+    This router uses a routing algorithm that takes OSM format data as its input
+    and calculates either the shortest or quickest route between two points.
+    To optimise the routing a custom database format is used.
+    This allows the routing to be performed quickly after a modest one-off pre-processing stage. 
+  </longdescription>
+</pkgmetadata>

diff --git a/sci-geosciences/routino/routino-3.0_p1.ebuild b/sci-geosciences/routino/routino-3.0_p1.ebuild
new file mode 100644
index 0000000..698b897
--- /dev/null
+++ b/sci-geosciences/routino/routino-3.0_p1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+DESCRIPTION="Routing application based on openstreetmap data"
+HOMEPAGE="http://www.routino.org/"
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.tgz"
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=""
+RDEPEND="!<sci-geosciences/qmapshack-1.5"
+PATCHES=( "${FILESDIR}"/makefile-conf.patch )
+
+src_configure() {
+	:
+}
+
+src_compile() {
+	emake -j1
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/
@ 2016-12-11 14:41 Andrey Grozin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Grozin @ 2016-12-11 14:41 UTC (permalink / raw
  To: gentoo-commits

commit:     2d67db21f04dd5090270648adbacf47a0fc519d3
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 14:38:58 2016 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 14:40:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d67db21

sci-geosciences/routino: cleaning old

Package-Manager: portage-2.3.0

 sci-geosciences/routino/Manifest                  |  1 -
 sci-geosciences/routino/files/makefile-conf.patch | 35 -----------------------
 sci-geosciences/routino/routino-3.0_p1.ebuild     | 25 ----------------
 3 files changed, 61 deletions(-)

diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest
index 4e42f1d..85ab15f 100644
--- a/sci-geosciences/routino/Manifest
+++ b/sci-geosciences/routino/Manifest
@@ -1,2 +1 @@
-DIST routino-3.0_p1.tgz 957022 SHA256 037892a09cf2bb790d895d218a80c221e9595a3943ca35163c71ed93b111431e SHA512 be6275e8fcc0fe535a0940ba26fdf8e8ecfde768e4b2baaabf088a39431dc259933c3aa02ff3e28c5bf145402d18e6369a16d2c7a50fd1b84695dd31c155341f WHIRLPOOL 1e097aaa00437e08b485f4ce9d027cb31f3e320b5f61883a230ad235ccea8ca53c79bf0e428013434b91d0533f1212c43dd8a9f05eec2394cced070f83eb61ef
 DIST routino-3.1.1.tgz 1795118 SHA256 23b9fce43f0a85c9efe220c6c72026dd7b37f6a4a5153bb9dc4c4b0747c7f282 SHA512 088f22e9297f485418ed369d00827690f86e224e331b69085513339870fe6d97cffef62aa5e7e14883800469beff4af4b0a581ba8bad78920a383d7152be6ede WHIRLPOOL 914180a728120ba189ff9bc2bf51c64246f635f7cc2e6b6efecf4dbb2c76f9b61f6269225620b5a5204025c838a6fcd8ffc24953a8cf24c084edbbdfb24a6b58

diff --git a/sci-geosciences/routino/files/makefile-conf.patch b/sci-geosciences/routino/files/makefile-conf.patch
deleted file mode 100644
index ca75131..00000000
--- a/sci-geosciences/routino/files/makefile-conf.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -r -U1 routino-3.0.orig/Makefile.conf routino-3.0/Makefile.conf
---- routino-3.0.orig/Makefile.conf	2015-09-08 00:11:23.000000000 +0600
-+++ routino-3.0/Makefile.conf	2016-01-04 13:02:46.557516477 +0600
-@@ -47,3 +47,3 @@
- ifneq ($(HOST),MINGW)
--prefix=/usr/local
-+prefix=/usr
- bindir=$(prefix)/bin
-@@ -51,3 +51,3 @@
- libdir=$(prefix)/lib
--docdir=$(prefix)/doc/routino
-+docdir=$(prefix)/share/doc/$(PF)
- datadir=$(prefix)/share/routino
-@@ -69,3 +69,3 @@
- # Language dialect selection
--CFLAGS=-std=c99
-+CFLAGS+=-std=c99
- 
-@@ -75,3 +75,3 @@
- # Optimisation options
--CFLAGS+=-O3
-+#CFLAGS+=-O3
- CFLAGS+=-ffast-math
-@@ -86,3 +86,3 @@
- # Maths library
--LDFLAGS=-lm
-+LDFLAGS+=-lm
- 
-@@ -121,4 +121,4 @@
- # Required for xz support (uncomment these two lines if required)
--#CFLAGS+=-DUSE_XZ
--#LDFLAGS+=-llzma
-+CFLAGS+=-DUSE_XZ
-+LDFLAGS+=-llzma
- 

diff --git a/sci-geosciences/routino/routino-3.0_p1.ebuild b/sci-geosciences/routino/routino-3.0_p1.ebuild
deleted file mode 100644
index 931931b..00000000
--- a/sci-geosciences/routino/routino-3.0_p1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=6
-
-DESCRIPTION="Routing application based on openstreetmap data"
-HOMEPAGE="http://www.routino.org/"
-SRC_URI="https://dev.gentoo.org/~grozin/${P}.tgz"
-LICENSE="AGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND=""
-RDEPEND="!<sci-geosciences/qmapshack-1.5"
-PATCHES=( "${FILESDIR}"/makefile-conf.patch )
-
-src_configure() {
-	:
-}
-
-src_compile() {
-	emake -j1
-	rm README.txt
-	mv doc/rm README.txt .
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/
@ 2017-04-01 22:18 Andrey Grozin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Grozin @ 2017-04-01 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     e80a1974963f3c3633ab857fb5e4e75cb83bc803
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  1 22:16:35 2017 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Apr  1 22:16:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80a1974

sci-geosciences/routino: bump to 3.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-geosciences/routino/Manifest                |  1 +
 sci-geosciences/routino/files/routino-3.2.patch | 30 +++++++++++++++++++++++++
 sci-geosciences/routino/routino-3.2.ebuild      | 23 +++++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest
index 85ab15fb76c..1ba4e62bd8b 100644
--- a/sci-geosciences/routino/Manifest
+++ b/sci-geosciences/routino/Manifest
@@ -1 +1,2 @@
 DIST routino-3.1.1.tgz 1795118 SHA256 23b9fce43f0a85c9efe220c6c72026dd7b37f6a4a5153bb9dc4c4b0747c7f282 SHA512 088f22e9297f485418ed369d00827690f86e224e331b69085513339870fe6d97cffef62aa5e7e14883800469beff4af4b0a581ba8bad78920a383d7152be6ede WHIRLPOOL 914180a728120ba189ff9bc2bf51c64246f635f7cc2e6b6efecf4dbb2c76f9b61f6269225620b5a5204025c838a6fcd8ffc24953a8cf24c084edbbdfb24a6b58
+DIST routino-3.2.tgz 2463662 SHA256 e2a431eaffbafab630835966d342e4ae25d5edb94c8ed419200e1ffb50bc7552 SHA512 f5be46d9c026fcd92658490630d9ff6e4827e84ee57ccbaae48f54372da37ab78de24432ab9fa1d6860304a9a2ac86061eb876c12b39e821693282c4d4aaefcf WHIRLPOOL c30ea87987e60d5ef57591bcba8190ece3cc8acfba2cb62035785238119c0d84db65e9f53a2935d8cd2bb0c3d37cd9b8970e9c6ba897b0874f847db31f0858ee

diff --git a/sci-geosciences/routino/files/routino-3.2.patch b/sci-geosciences/routino/files/routino-3.2.patch
new file mode 100644
index 00000000000..484b61b68f1
--- /dev/null
+++ b/sci-geosciences/routino/files/routino-3.2.patch
@@ -0,0 +1,30 @@
+diff -r -U1 routino-3.2.orig/Makefile.conf routino-3.2/Makefile.conf
+--- routino-3.2.orig/Makefile.conf	2016-11-22 20:22:52.000000000 +0100
++++ routino-3.2/Makefile.conf	2017-04-01 23:58:23.835905270 +0200
+@@ -47,3 +47,3 @@
+ ifneq ($(HOST),MINGW)
+-prefix=/usr/local
++prefix=/usr
+ bindir=$(prefix)/bin
+@@ -51,3 +51,3 @@
+ libdir=$(prefix)/lib
+-docdir=$(prefix)/doc/routino
++docdir=$(prefix)/share/doc/$(PF)
+ datadir=$(prefix)/share/routino
+@@ -79,3 +79,3 @@
+ # Language dialect selection
+-CFLAGS=-std=c99
++CFLAGS+=-std=c99
+ 
+@@ -85,3 +85,3 @@
+ # Optimisation options
+-CFLAGS+=-O3
++#CFLAGS+=-O3
+ CFLAGS+=-ffast-math
+@@ -141,4 +141,4 @@
+ # Required for xz support (uncomment these two lines if required)
+-#CFLAGS+=-DUSE_XZ
+-#LDFLAGS+=-llzma
++CFLAGS+=-DUSE_XZ
++LDFLAGS+=-llzma
+ 

diff --git a/sci-geosciences/routino/routino-3.2.ebuild b/sci-geosciences/routino/routino-3.2.ebuild
new file mode 100644
index 00000000000..cb1ceff2cd3
--- /dev/null
+++ b/sci-geosciences/routino/routino-3.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
+DESCRIPTION="Routing application based on openstreetmap data"
+HOMEPAGE="http://www.routino.org/"
+SRC_URI="http://www.routino.org/download/${P}.tgz"
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=""
+PATCHES=( "${FILESDIR}"/${P}.patch )
+
+src_configure() {
+	:
+}
+
+src_compile() {
+	emake -j1
+	rm README.txt
+	mv doc/rm README.txt .
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/
@ 2020-04-29 17:31 Andrey Grozin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Grozin @ 2020-04-29 17:31 UTC (permalink / raw
  To: gentoo-commits

commit:     ed7ed0dae0b40b333a6f0cf863e8b2f2c931083a
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 29 17:30:58 2020 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 17:30:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7ed0da

sci-geosciences/routino: bump to 3.3.2

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 sci-geosciences/routino/Manifest                  |  1 +
 sci-geosciences/routino/files/routino-3.3.2.patch | 71 ++++++++++++++++++++++
 sci-geosciences/routino/routino-3.3.2.ebuild      | 73 +++++++++++++++++++++++
 3 files changed, 145 insertions(+)

diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest
index c07830274f8..aeda73e4768 100644
--- a/sci-geosciences/routino/Manifest
+++ b/sci-geosciences/routino/Manifest
@@ -1,2 +1,3 @@
 DIST routino-3.1.1.tgz 1795118 BLAKE2B 4b8a44d917f2f71e333eb233eebee37de6d19adac7b31111f9b244e125d9a9a54bbbec5e166d53f3ac435f27dcb5633c9626e0ffc4025d5e8dc0cbaed6274800 SHA512 088f22e9297f485418ed369d00827690f86e224e331b69085513339870fe6d97cffef62aa5e7e14883800469beff4af4b0a581ba8bad78920a383d7152be6ede
 DIST routino-3.2.tgz 2463662 BLAKE2B 4be17e83105d95052a9fbe0158b15bf5d64b4f720fb1bb61cbbb5fcd61451b933507e4dcc8867bff5e8602c6e681e916e45328d2a0ce766e9ab37366984cf378 SHA512 f5be46d9c026fcd92658490630d9ff6e4827e84ee57ccbaae48f54372da37ab78de24432ab9fa1d6860304a9a2ac86061eb876c12b39e821693282c4d4aaefcf
+DIST routino-3.3.2.tgz 2542029 BLAKE2B e74af857ef29d4ee4a08d8a2913180dfca747001f4afd59ad20a9ed355e654dc86d26fb1afb5486ece30ddf6b7cba7b60c52feae30af14086f2b4d5259451125 SHA512 5341a2ec063192754d641a4543260f4b3b3d84a7a9bfe745fca2082cdcc8bb7220bf37ed58aacf9e65eba4555432a6bdbb9747153a383dfff72e2aca01c66070

diff --git a/sci-geosciences/routino/files/routino-3.3.2.patch b/sci-geosciences/routino/files/routino-3.3.2.patch
new file mode 100644
index 00000000000..46c2986eea1
--- /dev/null
+++ b/sci-geosciences/routino/files/routino-3.3.2.patch
@@ -0,0 +1,71 @@
+diff -r -U3 routino-3.3.2.orig/Makefile routino-3.3.2/Makefile
+--- routino-3.3.2.orig/Makefile	2018-10-31 02:27:41.000000000 +0700
++++ routino-3.3.2/Makefile	2020-04-29 20:59:05.239931544 +0700
+@@ -24,7 +24,7 @@
+ 
+ # Sub-directories and sub-makefiles
+ 
+-SUBDIRS=src xml doc web extras python
++SUBDIRS=src xml doc web extras
+ 
+ ########
+ 
+diff -r -U3 routino-3.3.2.orig/Makefile.conf routino-3.3.2/Makefile.conf
+--- routino-3.3.2.orig/Makefile.conf	2019-04-13 17:52:02.000000000 +0700
++++ routino-3.3.2/Makefile.conf	2020-04-29 20:58:35.352930803 +0700
+@@ -45,11 +45,11 @@
+ # Installation locations (edit if required)
+ 
+ ifneq ($(HOST),MINGW)
+-  prefix=/usr/local
++  prefix=/usr
+   bindir=$(prefix)/bin
+   incdir=$(prefix)/include
+   libdir=$(prefix)/lib
+-  docdir=$(prefix)/doc/routino
++  docdir=$(prefix)/share/doc/${PF}
+   datadir=$(prefix)/share/routino
+ else
+   prefix="c:/Program Files/Routino"
+@@ -82,10 +82,10 @@
+ endif
+ 
+ # Maths library
+-LDFLAGS=-lm
++LDFLAGS+=-lm
+ 
+ # Language dialect selection
+-CFLAGS=-std=c99
++CFLAGS+=-std=c99
+ 
+ # Warning options
+ CFLAGS+=-Wall -Wmissing-prototypes -Wextra -Wno-unused-parameter -pedantic
+@@ -97,7 +97,7 @@
+ endif
+ 
+ # Optimisation options
+-CFLAGS+=-O3
++#CFLAGS+=-O3
+ 
+ # Fast maths option - makes test cases fail slightly
+ CFLAGS+=-ffast-math
+@@ -138,7 +138,7 @@
+ endif
+ 
+ # Put the current directory in the shared library path for the router using libroutino
+-LDFLAGS_LDSO=-Wl,-R.
++#LDFLAGS_LDSO=-Wl,-R.
+ 
+ 
+ # Required for multi-threaded support (comment these two lines out if not required)
+@@ -159,8 +159,8 @@
+ 
+ 
+ # Required for xz support (uncomment these two lines if required)
+-#CFLAGS+=-DUSE_XZ
+-#LDFLAGS+=-llzma
++CFLAGS+=-DUSE_XZ
++LDFLAGS+=-llzma
+ 
+ 
+ # Required to use stdio with files > 2GiB on 32-bit system.

diff --git a/sci-geosciences/routino/routino-3.3.2.ebuild b/sci-geosciences/routino/routino-3.3.2.ebuild
new file mode 100644
index 00000000000..bdab33b5a51
--- /dev/null
+++ b/sci-geosciences/routino/routino-3.3.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+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"
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+DEPEND="python? ( ${PYTHON_DEPS}
+	dev-lang/swig )"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+
+src_prepare() {
+	eapply "${FILESDIR}"/${P}.patch
+
+	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() {
+	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
+		python_compile() {
+			rm -f build/.timestamp
+			emake PYTHON=${EPYTHON}
+		}
+		python_foreach_impl python_compile
+		popd > /dev/null
+	fi
+}
+
+src_test() {
+	emake test
+#	if use python; then
+#		pushd python > /dev/null
+#		python_test() {
+#			echo "######## ${EPYTHON} ########"
+#			emake PYTHON=${EPYTHON} test
+#		}
+#		python_foreach_impl python_test
+#		popd > /dev/null
+#	fi
+}
+
+src_install() {
+	default
+	if use python; then
+		pushd python > /dev/null
+		python_install() {
+			esetup.py install
+			python_optimize
+		}
+		python_foreach_impl python_install
+		newdoc README.txt README_python.txt
+		popd > /dev/null
+	fi
+
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/
@ 2021-03-26 10:53 David Seifert
  0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2021-03-26 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     e17ef0fef5de0fd7be430bb9f775f477039c3eda
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Fri Mar 26 10:53:01 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 10:53:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e17ef0fe

sci-geosciences/routino: Remove old

Closes: https://github.com/gentoo/gentoo/pull/19857
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-geosciences/routino/Manifest                |  1 -
 sci-geosciences/routino/files/routino-3.2.patch | 56 -------------------------
 sci-geosciences/routino/routino-3.2.ebuild      | 32 --------------
 3 files changed, 89 deletions(-)

diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest
index 15dba5f674e..8bcf4f33405 100644
--- a/sci-geosciences/routino/Manifest
+++ b/sci-geosciences/routino/Manifest
@@ -1,2 +1 @@
-DIST routino-3.2.tgz 2463662 BLAKE2B 4be17e83105d95052a9fbe0158b15bf5d64b4f720fb1bb61cbbb5fcd61451b933507e4dcc8867bff5e8602c6e681e916e45328d2a0ce766e9ab37366984cf378 SHA512 f5be46d9c026fcd92658490630d9ff6e4827e84ee57ccbaae48f54372da37ab78de24432ab9fa1d6860304a9a2ac86061eb876c12b39e821693282c4d4aaefcf
 DIST routino-3.3.2.tgz 2542029 BLAKE2B e74af857ef29d4ee4a08d8a2913180dfca747001f4afd59ad20a9ed355e654dc86d26fb1afb5486ece30ddf6b7cba7b60c52feae30af14086f2b4d5259451125 SHA512 5341a2ec063192754d641a4543260f4b3b3d84a7a9bfe745fca2082cdcc8bb7220bf37ed58aacf9e65eba4555432a6bdbb9747153a383dfff72e2aca01c66070

diff --git a/sci-geosciences/routino/files/routino-3.2.patch b/sci-geosciences/routino/files/routino-3.2.patch
deleted file mode 100644
index 81b6c4d938c..00000000000
--- a/sci-geosciences/routino/files/routino-3.2.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- routino-3.2/Makefile.conf	2017-10-22 16:03:29.917559780 +0200
-+++ routino-3.2/Makefile.conf.new	2017-10-22 16:04:23.877562797 +0200
-@@ -45,11 +45,11 @@
- # Installation locations (edit if required)
- 
- ifneq ($(HOST),MINGW)
--prefix=/usr/local
-+prefix=/usr
- bindir=$(prefix)/bin
- incdir=$(prefix)/include
- libdir=$(prefix)/lib
--docdir=$(prefix)/doc/routino
-+docdir=$(prefix)/share/doc/$(PF)
- datadir=$(prefix)/share/routino
- else
- prefix="c:/Program Files/Routino"
-@@ -74,16 +74,16 @@
- 
- 
- # Maths library
--LDFLAGS=-lm
-+LDFLAGS+=-lm
- 
- # Language dialect selection
--CFLAGS=-std=c99
-+CFLAGS+=-std=c99
- 
- # Warning options
- CFLAGS+=-Wall -Wmissing-prototypes -Wextra -Wno-unused-parameter -pedantic
- 
- # Optimisation options
--CFLAGS+=-O3
-+#CFLAGS+=-O3
- CFLAGS+=-ffast-math
- 
- # Optimisation option (only works if compilation and execution use exactly the same CPU architecture).
-@@ -118,7 +118,7 @@
- endif
- 
- # Put the current directory in the shared library path for the router using libroutino
--LDFLAGS_LDSO=-Wl,-R.
-+#LDFLAGS_LDSO=-Wl,-R.
- 
- 
- # Required for multi-threaded support (comment these two lines out if not required)
-@@ -139,8 +139,8 @@
- 
- 
- # Required for xz support (uncomment these two lines if required)
--#CFLAGS+=-DUSE_XZ
--#LDFLAGS+=-llzma
-+CFLAGS+=-DUSE_XZ
-+LDFLAGS+=-llzma
- 
- 
- # Required to use stdio with files > 2GiB on 32-bit system.

diff --git a/sci-geosciences/routino/routino-3.2.ebuild b/sci-geosciences/routino/routino-3.2.ebuild
deleted file mode 100644
index 0420304cb50..00000000000
--- a/sci-geosciences/routino/routino-3.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Routing application based on openstreetmap data"
-HOMEPAGE="http://www.routino.org/"
-SRC_URI="http://www.routino.org/download/${P}.tgz"
-LICENSE="AGPL-3+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-DEPEND=""
-
-src_prepare() {
-	eapply "${FILESDIR}"/${P}.patch
-
-	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() {
-	emake -j1
-	rm README.txt || die "rm README.txt failed"
-	mv doc/README.txt . || die "mv doc/README.txt . failed"
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-26 10:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04  9:32 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/ Andrey Grozin
  -- strict thread matches above, loose matches on Subject: below --
2016-12-11 14:41 Andrey Grozin
2017-04-01 22:18 Andrey Grozin
2020-04-29 17:31 Andrey Grozin
2021-03-26 10:53 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox