[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/GeographicLib-data/

2021-06-15 Thread Andrew Ammerlaan
commit: 78d01e49e8aa007c76a28cc7c2154ed0a1faf65c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jun 14 23:31:38 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Jun 14 23:31:38 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78d01e49

sci-geosciences/GeographicLib-data: lowercase geodatapath

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../GeographicLib-data-0-r1.ebuild | 81 ++
 .../GeographicLib-data/GeographicLib-data-0.ebuild | 81 --
 2 files changed, 81 insertions(+), 81 deletions(-)

diff --git a/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild 
b/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild
new file mode 100644
index 0..efb03cf4c
--- /dev/null
+++ b/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MYPN="${PN/-data/}"
+
+DESCRIPTION="Datasets for GeographicLib"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib";
+S="${WORKDIR}"
+SLOT="0"
+KEYWORDS="~amd64"
+LICENSE="public-domain"
+
+IUSE_GEOIDS_DATASETS="
+   geoids-datasets-egm84-30
+   geoids-datasets-egm84-15
+   geoids-datasets-egm96-15
+   geoids-datasets-egm96-5
+   geoids-datasets-egm2008-5
+   geoids-datasets-egm2008-2-5
+   +geoids-datasets-egm2008-1
+"
+IUSE_GRAVITY_MODELS="
+   gravity-models-egm84
+   gravity-models-egm96
+   +gravity-models-egm2008
+   gravity-models-wgs84
+"
+IUSE_MAGNETIC_MODELS="
+   magnetic-models-wmm2010
+   magnetic-models-wmm2015v2
+   +magnetic-models-wmm2020
+   magnetic-models-igrf11
+   magnetic-models-igrf12
+   magnetic-models-emm2010
+   magnetic-models-emm2015
+   magnetic-models-emm2017
+"
+IUSE="${IUSE_GEOIDS_DATASETS} ${IUSE_GRAVITY_MODELS} ${IUSE_MAGNETIC_MODELS}"
+IUSE_EXPAND="GEOIDS_DATASETS GRAVITY_MODELS MAGNETIC_MODELS"
+REQUIRED_USE="
+   || (
+   ${IUSE_GEOIDS_DATASETS/+/}
+   ${IUSE_GRAVITY_MODELS/+/}
+   ${IUSE_MAGNETIC_MODELS/+/}
+   )
+"
+
+COMMON_URI="https://sourceforge.net/projects/${MYPN}/files";
+SRC_URI="
+   geoids-datasets-egm84-30?   ( 
${COMMON_URI}/geoids-distrib/egm84-30.tar.bz2 -> 
geoids-egm84-30.tar.bz2  )
+   geoids-datasets-egm84-15?   ( 
${COMMON_URI}/geoids-distrib/egm84-15.tar.bz2 -> 
geoids-egm84-15.tar.bz2  )
+   geoids-datasets-egm96-15?   ( 
${COMMON_URI}/geoids-distrib/egm96-15.tar.bz2 -> 
geoids-egm96-15.tar.bz2  )
+   geoids-datasets-egm96-5?( 
${COMMON_URI}/geoids-distrib/egm96-5.tar.bz2  -> geoids-egm96-5.tar.bz2 
  )
+   geoids-datasets-egm2008-5?  ( 
${COMMON_URI}/geoids-distrib/egm2008-5.tar.bz2-> 
geoids-egm2008-5.tar.bz2 )
+   geoids-datasets-egm2008-2-5?( 
${COMMON_URI}/geoids-distrib/egm2008-2_5.tar.bz2  -> 
geoids-egm2008-2_5.tar.bz2   )
+   geoids-datasets-egm2008-1?  ( 
${COMMON_URI}/geoids-distrib/egm2008-1.tar.bz2-> 
geoids-egm2008-1.tar.bz2 )
+
+   gravity-models-egm84?   ( 
${COMMON_URI}/gravity-distrib/egm84.tar.bz2   -> gravity-egm84.tar.bz2  
  )
+   gravity-models-egm96?   ( 
${COMMON_URI}/gravity-distrib/egm96.tar.bz2   -> gravity-egm96.tar.bz2  
  )
+   gravity-models-egm2008? ( 
${COMMON_URI}/gravity-distrib/egm2008.tar.bz2 -> 
gravity-egm2008.tar.bz2  )
+   gravity-models-wgs84?   ( 
${COMMON_URI}/gravity-distrib/wgs84.tar.bz2   -> gravity-wgs84.tar.bz2  
  )
+
+   magnetic-models-wmm2010?( 
${COMMON_URI}/magnetic-distrib/wmm2010.tar.bz2-> 
magnetic-wmm2010.tar.bz2 )
+   magnetic-models-wmm2015v2?  ( 
${COMMON_URI}/magnetic-distrib/wmm2015v2.tar.bz2  -> 
magnetic-wmm2015v2.tar.bz2   )
+   magnetic-models-wmm2020?( 
${COMMON_URI}/magnetic-distrib/wmm2020.tar.bz2-> 
magnetic-wmm2020.tar.bz2 )
+   magnetic-models-igrf11? ( 
${COMMON_URI}/magnetic-distrib/igrf11.tar.bz2 -> 
magnetic-igrf11.tar.bz2  )
+   magnetic-models-igrf12? ( 
${COMMON_URI}/magnetic-distrib/igrf12.tar.bz2 -> 
magnetic-igrf12.tar.bz2  )
+   magnetic-models-emm2010?( 
${COMMON_URI}/magnetic-distrib/emm2010.tar.bz2-> 
magnetic-emm2010.tar.bz2 )
+   magnetic-models-emm2015?( 
${COMMON_URI}/magnetic-distrib/emm2015.tar.bz2-> 
magnetic-emm2015.tar.bz2 )
+   magnetic-models-emm2017?( 
${COMMON_URI}/magnetic-distrib/emm2017.tar.bz2-> 
magnetic-emm2017.tar.bz2 )
+"
+
+RDEPEND="sci-geosciences/GeographicLib"
+
+src_install() {
+   local GEODATAPATH="/usr/share/${MYPN,,}"
+  

[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/GeographicLib-data/

2021-04-02 Thread Haelwenn Monnier
commit: fb380b347b19f2de0a578ad830bda5bc4b996c20
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Apr  2 22:49:44 2021 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Apr  2 22:50:23 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb380b34

sci-geosciences/GeographicLib-data: new (?) package

I'm back but with only the datasets

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../GeographicLib-data/GeographicLib-data-0.ebuild | 81 ++
 sci-geosciences/GeographicLib-data/Manifest| 19 +
 sci-geosciences/GeographicLib-data/metadata.xml| 38 ++
 3 files changed, 138 insertions(+)

diff --git a/sci-geosciences/GeographicLib-data/GeographicLib-data-0.ebuild 
b/sci-geosciences/GeographicLib-data/GeographicLib-data-0.ebuild
new file mode 100644
index 0..63efb3f07
--- /dev/null
+++ b/sci-geosciences/GeographicLib-data/GeographicLib-data-0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MYPN="${PN/-data/}"
+DESCRIPTION="Datasets for GeographicLib"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib/";
+SLOT="0"
+KEYWORDS="~amd64"
+LICENSE="public-domain"
+IUSE_GEOIDS_DATASETS="
+   geoids-datasets-egm84-30
+   geoids-datasets-egm84-15
+   geoids-datasets-egm96-15
+   geoids-datasets-egm96-5
+   geoids-datasets-egm2008-5
+   geoids-datasets-egm2008-2-5
+   +geoids-datasets-egm2008-1
+"
+IUSE_GRAVITY_MODELS="
+   gravity-models-egm84
+   gravity-models-egm96
+   +gravity-models-egm2008
+   gravity-models-wgs84
+"
+IUSE_MAGNETIC_MODELS="
+   magnetic-models-wmm2010
+   magnetic-models-wmm2015v2
+   +magnetic-models-wmm2020
+   magnetic-models-igrf11
+   magnetic-models-igrf12
+   magnetic-models-emm2010
+   magnetic-models-emm2015
+   magnetic-models-emm2017
+"
+IUSE="${IUSE_GEOIDS_DATASETS} ${IUSE_GRAVITY_MODELS} ${IUSE_MAGNETIC_MODELS}"
+IUSE_EXPAND="GEOIDS_DATASETS GRAVITY_MODELS MAGNETIC_MODELS"
+
+REQUIRED_USE="
+   || (
+   ${IUSE_GEOIDS_DATASETS/+/}
+   ${IUSE_GRAVITY_MODELS/+/}
+   ${IUSE_MAGNETIC_MODELS/+/}
+   )
+"
+
+COMMON_URI="https://sourceforge.net/projects/${MYPN}/files";
+SRC_URI="
+geoids-datasets-egm84-30? ( 
${COMMON_URI}/geoids-distrib/egm84-30.tar.bz2  -> geoids-egm84-30.tar.bz2   
   )
+geoids-datasets-egm84-15? ( 
${COMMON_URI}/geoids-distrib/egm84-15.tar.bz2  -> geoids-egm84-15.tar.bz2   
   )
+geoids-datasets-egm96-15? ( 
${COMMON_URI}/geoids-distrib/egm96-15.tar.bz2  -> geoids-egm96-15.tar.bz2   
   )
+geoids-datasets-egm96-5?  ( 
${COMMON_URI}/geoids-distrib/egm96-5.tar.bz2   -> geoids-egm96-5.tar.bz2
   )
+geoids-datasets-egm2008-5?( 
${COMMON_URI}/geoids-distrib/egm2008-5.tar.bz2 -> geoids-egm2008-5.tar.bz2  
   )
+geoids-datasets-egm2008-2-5?  ( 
${COMMON_URI}/geoids-distrib/egm2008-2_5.tar.bz2   -> 
geoids-egm2008-2_5.tar.bz2   )
+geoids-datasets-egm2008-1?( 
${COMMON_URI}/geoids-distrib/egm2008-1.tar.bz2 -> geoids-egm2008-1.tar.bz2  
   )
+
+gravity-models-egm84?( ${COMMON_URI}/gravity-distrib/egm84.tar.bz2 
-> gravity-egm84.tar.bz2)
+gravity-models-egm96?( ${COMMON_URI}/gravity-distrib/egm96.tar.bz2 
-> gravity-egm96.tar.bz2)
+gravity-models-egm2008?  ( 
${COMMON_URI}/gravity-distrib/egm2008.tar.bz2   -> gravity-egm2008.tar.bz2  
)
+gravity-models-wgs84?( ${COMMON_URI}/gravity-distrib/wgs84.tar.bz2 
-> gravity-wgs84.tar.bz2)
+
+magnetic-models-wmm2010? ( 
${COMMON_URI}/magnetic-distrib/wmm2010.tar.bz2  -> magnetic-wmm2010.tar.bz2 
)
+magnetic-models-wmm2015v2?   ( 
${COMMON_URI}/magnetic-distrib/wmm2015v2.tar.bz2-> 
magnetic-wmm2015v2.tar.bz2   )
+magnetic-models-wmm2020? ( 
${COMMON_URI}/magnetic-distrib/wmm2020.tar.bz2  -> magnetic-wmm2020.tar.bz2 
)
+magnetic-models-igrf11?  ( 
${COMMON_URI}/magnetic-distrib/igrf11.tar.bz2   -> magnetic-igrf11.tar.bz2  
)
+magnetic-models-igrf12?  ( 
${COMMON_URI}/magnetic-distrib/igrf12.tar.bz2   -> magnetic-igrf12.tar.bz2  
)
+magnetic-models-emm2010? ( 
${COMMON_URI}/magnetic-distrib/emm2010.tar.bz2  -> magnetic-emm2010.tar.bz2 
)
+magnetic-models-emm2015? ( 
${COMMON_URI}/magnetic-distrib/emm2015.tar.bz2  -> magnetic-emm2015.tar.bz2 
)
+magnetic-models-emm2017? ( 
${COMMON_URI}/magnetic-distrib/emm2017.tar.bz2  -> magnetic-emm2017.tar.bz2 
)
+"
+RDEPEND="sci-geosciences/GeographicLib"
+DEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+   local GEODATAPATH="/usr/share/${MYPN}"
+   insinto "${GEODATAPATH}"
+   doins -r "${WORKDIR}"/*
+}

diff --git a/sci-geoscienc

[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-29 Thread Andrew Ammerlaan
commit: 7a6c4de3e50a6368a5d49e8b311ed82afebd1652
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Apr 28 21:03:13 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Apr 28 21:03:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a6c4de3

sci-geosciences/geographiclib: read use expand flag descriptions

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-geosciences/geographiclib/metadata.xml | 31 +-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/sci-geosciences/geographiclib/metadata.xml 
b/sci-geosciences/geographiclib/metadata.xml
index 981bcd1..c04b45d 100644
--- a/sci-geosciences/geographiclib/metadata.xml
+++ b/sci-geosciences/geographiclib/metadata.xml
@@ -3,9 +3,14 @@
 

lssndrbarbi...@gmail.com
-   Alessandro Barbieri
+   Alessandro Barbieri


+   
+   char...@karney.com
+   Charles Karney
+   
+   https://geographiclib.sourceforge.io/html
https://sourceforge.net/p/geographiclib/bugs/
geographiclib

@@ -14,6 +19,30 @@
Install the gravity models
Install the geoid datasets
Install the magnetic field models
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html
 30' grid
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html
 15' grid
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html
 15' grid
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html
 5' grid
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008
 5' grid
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008
 2.5' grid
+   http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008
 1' grid
+   the Earth Gravity Model 1984, 
which includes terms up to degree 180
+   the Earth Gravity Model 1996, 
which includes terms up to degree 360
+the Earth Gravity Model 
2008, which includes terms up to degree 2190
+   the WGS84 Reference 
Ellipsoid. This is just reproduces the normal gravitational field for the 
reference ellipsoid. This includes the zonal coefficients up to order 20.
+   the World Magnetic Model 
2010, which approximates the main magnetic field for the period 
2010–2015.
+the World Magnetic Model 
2020, which approximates the main magnetic field for the period 
2020–2025.
+   the World Magnetic Model 
2015, which approximates the main magnetic field for the period 
2015–2020.
+   the International 
Geomagnetic Reference Field (11th generation), which approximates the main 
magnetic field for the period 1900–2015.
+   the International 
Geomagnetic Reference Field (12th generation), which approximates the main 
magnetic field for the period 1900–2020.
+   the Enhanced Magnetic 
Model 2010, which approximates the main and crustal magnetic fields for the 
period 2010–2015.
+   the Enhanced Magnetic 
Model 2015, which approximates the main and crustal magnetic fields for the 
period 2000–2020.
+   the Enhanced Magnetic 
Model 2017, which approximates the main and crustal magnetic fields for the 
period 2000–2022.
+   floating point arbitrary 
precision
+   floating point 53-bit 
precision
+   floating point 113-bit 
precision
+   floating point 64-bit 
precision
+   floating point 24-bit 
precision


 GeographicLib is a small set of C++ classes for converting between geographic, 
UTM, UPS, MGRS, and geocentric coordinates, for gravity (e.g., EGM2008), geoid, 
and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic 
problems.



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-12 Thread Andrew Ammerlaan
commit: ed15f952fd0885f13dde9b67710f1478c2076900
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Apr 11 18:43:44 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Apr 12 06:22:10 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed15f952

sci-geosciences/geographiclib: new version

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-geosciences/geographiclib/Manifest |   1 +
 .../geographiclib/geographiclib-1.50.1.ebuild  | 196 +
 2 files changed, 197 insertions(+)

diff --git a/sci-geosciences/geographiclib/Manifest 
b/sci-geosciences/geographiclib/Manifest
index bee036f..8aae5b9 100644
--- a/sci-geosciences/geographiclib/Manifest
+++ b/sci-geosciences/geographiclib/Manifest
@@ -1,3 +1,4 @@
+DIST geographiclib-1.50.1.tar.gz 2463854 BLAKE2B 
bed7d003dee92e794af993d8fef6cbf1233f9e3f37f53dd6026f16a237dba46bb4d4e2db7adea7931b632bb419288c9731c79cf65f15a4f35e95e8ada34a8f42
 SHA512 
1db874f30957a0edb8a1df3eee6db73cc993629e3005fe912e317a4ba908e7d7580ce483bb0054c4b46370b8edaec989609fb7e4eb6ba00c80182db43db436f1
 DIST geographiclib-1.50.tar.gz 2463958 BLAKE2B 
f3d136f5c90453542bfc8976c7e01b8e6721389d5b92bc4baa18fbbe6775dd6e171bc6eed39d658e579005718a3366d5b7769dd34fc7a45b0947a9de703ad505
 SHA512 
e4571780daa4f0a83f83d92a812c7059f27e33621a8643edfaf58fe66f395973fbd3559157f52ca54369136331189f0be3e3e458cc7cd243b09b75b466434afe
 DIST geoids-egm2008-1.tar.bz2 162388303 BLAKE2B 
ec79dbe2b25e8f9474fb4e8b704f9cb3c99d80004d0049bcfd956f7bcaa0822e6c0fcdc076f14075c688aeaac47bf68e192a114fca4c21edd81be880114b85f4
 SHA512 
0928a6e19aea2f372e946ce69c3a3826c2685c0a4029eb4bec7ab16873c03fbcc224ce47d99e6b6798e274a7d469fd3d303954938fb1f58c5dd5ba74907913d9
 DIST geoids-egm2008-2_5.tar.bz2 34927299 BLAKE2B 
bd4e3a04221669fe58e41eb4b93965415f3e238cd9af475fe78fe00592ebc80470309ac63366d9416bb2e0fd835dcb28a1302d89670d85271546a712c0918cc6
 SHA512 
dd65c8dc916f98a8592cc64518e2a6ac657d7d02d8316ff74cf3fcc62e413a8780ec52421b90e2ab4d846bd7fa2231e6d0a39467a7ea5b8774c71b9fece3cb34

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.1.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50.1.ebuild
new file mode 100644
index 000..1bfe585
--- /dev/null
+++ b/sci-geosciences/geographiclib/geographiclib-1.50.1.ebuild
@@ -0,0 +1,196 @@
+# 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 cmake distutils-r1
+
+MY_PN="GeographicLib"
+#MY_PV=$(ver_rs 2 -)
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="C++ library for converting geographic coordinate systems"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib/";
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE_GEOIDS_DATASETS="
+   geoids_datasets_egm84-30
+   geoids_datasets_egm84-15
+   geoids_datasets_egm96-15
+   geoids_datasets_egm96-5
+   geoids_datasets_egm2008-5
+   geoids_datasets_egm2008-2-5
+   geoids_datasets_egm2008-1
+"
+IUSE_GRAVITY_MODELS="
+   gravity_models_egm84
+   gravity_models_egm96
+   gravity_models_egm2008
+   gravity_models_wgs84
+"
+IUSE_MAGNETIC_MODELS="
+   magnetic_models_wmm2010
+   magnetic_models_wmm2015v2
+   magnetic_models_wmm2020
+   magnetic_models_igrf11
+   magnetic_models_igrf12
+   magnetic_models_emm2010
+   magnetic_models_emm2015
+   magnetic_models_emm2017
+"
+IUSE_PRECISION="
+   precision_arbitrary
+   +precision_double
+   precision_long-double
+   precision_quad
+   precision_single
+"
+IUSE="${IUSE_GEOIDS_DATASETS} ${IUSE_GRAVITY_MODELS} ${IUSE_MAGNETIC_MODELS} 
${IUSE_PRECISION} boost doc examples geoids gravity magnetic python"
+IUSE_EXPAND="GEOIDS_DATASETS GRAVITY_MODELS MAGNETIC_MODELS PRECISION"
+
+REQUIRED_USE="
+   ^^ ( ${IUSE_PRECISION/+/} )
+   geoids? ( || ( ${IUSE_GEOIDS_DATASETS/+/} ) )
+   gravity? ( || ( ${IUSE_GRAVITY_MODELS/+/} ) )
+   magnetic? ( || ( ${IUSE_MAGNETIC_MODELS/+/} ) )
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+COMMON_URI="https://sourceforge.net/projects/${PN}/files";
+SRC_URI="
+${COMMON_URI}/distrib/${MY_P}.tar.gz/download -> ${P}.tar.gz
+
+geoids_datasets_egm84-30? ( 
${COMMON_URI}/geoids-distrib/egm84-30.tar.bz2  -> geoids-egm84-30.tar.bz2   
   )
+geoids_datasets_egm84-15? ( 
${COMMON_URI}/geoids-distrib/egm84-15.tar.bz2  -> geoids-egm84-15.tar.bz2   
   )
+geoids_datasets_egm96-15? ( 
${COMMON_URI}/geoids-distrib/egm96-15.tar.bz2  -> geoids-egm96-15.tar.bz2   
   )
+geoids_datasets_egm96-5?  ( 
${COMMON_URI}/geoids-distrib/egm96-5.tar.bz2   -> geoids-egm96-5.tar.bz2
   )
+geoids_datasets_egm2008-5?( 
${COMMON_URI}/geoids-distrib/egm2008-5.tar.bz2 -> geoids-egm2008-5.tar.bz2  
   )
+geoids_datasets_egm2008-2-5?  ( 
${COMMON_URI}/geoids-distrib/egm2008-2_5.tar.bz2   -> 
geo

[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-11 Thread Andrew Ammerlaan
commit: 633184c0ee7648dfa1a8f63d4895eea6f3d1153f
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Apr 10 23:53:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Apr 10 23:53:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=633184c0

sci-geosciences/geographiclib: remove broken required use

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../{geographiclib-1.50-r3.ebuild => geographiclib-1.50-r4.ebuild} | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50-r3.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50-r4.ebuild
similarity index 97%
rename from sci-geosciences/geographiclib/geographiclib-1.50-r3.ebuild
rename to sci-geosciences/geographiclib/geographiclib-1.50-r4.ebuild
index 1a8d284..6ce62c5 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50-r3.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50-r4.ebuild
@@ -56,9 +56,6 @@ REQUIRED_USE="
geoids? ( || ( ${IUSE_GEOIDS_DATASETS/+/} ) )
gravity? ( || ( ${IUSE_GRAVITY_MODELS/+/} ) )
magnetic? ( || ( ${IUSE_MAGNETIC_MODELS/+/} ) )
-   !geoids? ( ${IUSE_GEOIDS_DATASETS/geoids/!geoids} )
-   !gravity? ( ${IUSE_GRAVITY_MODELS/gravity/!gravity} )
-   !magnetic? ( ${IUSE_MAGNETIC_MODELS/magnetic/!magnetic} )
python? ( ${PYTHON_REQUIRED_USE} )
 "
 



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-11 Thread Andrew Ammerlaan
commit: 5b8435c69f134fd877d6c7d4ad9884f66bf70324
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Apr 10 22:26:56 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Apr 10 22:26:56 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b8435c6

sci-geosciences/geographiclib: revert doc path change

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../{geographiclib-1.50-r2.ebuild => geographiclib-1.50-r3.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50-r2.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50-r3.ebuild
similarity index 98%
rename from sci-geosciences/geographiclib/geographiclib-1.50-r2.ebuild
rename to sci-geosciences/geographiclib/geographiclib-1.50-r3.ebuild
index 005bb88..1a8d284 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50-r2.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50-r3.ebuild
@@ -195,5 +195,5 @@ src_install() {
 
# Installs to wrong doc dir for some reason
# Also happens with USE="-doc"
-   mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/doc/${PN}" || die
+   mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/doc/${P}" || die
 }



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/, profiles/desc/

2020-04-11 Thread Andrew Ammerlaan
commit: 8fda36a57570e0e2cdf4520844a89b0ddd48e0c7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Apr 10 17:44:05 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Apr 10 17:44:45 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fda36a5

sci-geosciences/geographiclib: try to make use expand work as intended

Signed-off-by: Alessandro Barbieri  gmail.com>

 profiles/desc/geoids_datasets.desc |  12 ++
 profiles/desc/gravity_models.desc  |   9 +
 profiles/desc/magnetic_models.desc |  13 ++
 profiles/desc/precision.desc   |  10 ++
 .../geographiclib/geographiclib-1.50-r1.ebuild | 200 -
 .../geographiclib/geographiclib-1.50-r2.ebuild | 199 
 sci-geosciences/geographiclib/metadata.xml |  24 ---
 7 files changed, 243 insertions(+), 224 deletions(-)

diff --git a/profiles/desc/geoids_datasets.desc 
b/profiles/desc/geoids_datasets.desc
new file mode 100644
index 000..48dd40d
--- /dev/null
+++ b/profiles/desc/geoids_datasets.desc
@@ -0,0 +1,12 @@
+# Copyright 1999-2020 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of GEOIDS_DATASETS USE_EXPAND flags.
+
+egm84-30 - 
http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' 
grid.
+egm84-15 - 
http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' 
grid.
+egm96-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 
15' grid.
+egm96-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 5' 
grid.
+egm2008-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 5' grid.
+egm2008-2-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 2.5' 
grid.
+egm2008-1 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 1' grid.

diff --git a/profiles/desc/gravity_models.desc 
b/profiles/desc/gravity_models.desc
new file mode 100644
index 000..6db958e
--- /dev/null
+++ b/profiles/desc/gravity_models.desc
@@ -0,0 +1,9 @@
+# Copyright 1999-2020 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of GRAVITY_MODELS USE_EXPAND flags.
+
+egm84 - the Earth Gravity Model 1984, which includes terms up to degree 180.
+egm96 - the Earth Gravity Model 1996, which includes terms up to degree 360.
+egm2008 - the Earth Gravity Model 2008, which includes terms up to degree 2190.
+wgs84 - the WGS84 Reference Ellipsoid. This is just reproduces the normal 
gravitational field for the reference ellipsoid. This includes the zonal 
coefficients up to order 20.

diff --git a/profiles/desc/magnetic_models.desc 
b/profiles/desc/magnetic_models.desc
new file mode 100644
index 000..b2dece5
--- /dev/null
+++ b/profiles/desc/magnetic_models.desc
@@ -0,0 +1,13 @@
+# Copyright 1999-2020 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of MAGNETIC_MODELS USE_EXPAND flags.
+
+wmm2010 - the World Magnetic Model 2010, which approximates the main magnetic 
field for the period 2010–2015.
+wmm2020 -  the World Magnetic Model 2020, which approximates the main magnetic 
field for the period 2020–2025.
+wmm2015v2 - the World Magnetic Model 2015, which approximates the main 
magnetic field for the period 2015–2020.
+igrf11 - the International Geomagnetic Reference Field (11th generation), 
which approximates the main magnetic field for the period 1900–2015.
+igrf12 - the International Geomagnetic Reference Field (12th generation), 
which approximates the main magnetic field for the period 1900–2020.
+emm2010 - the Enhanced Magnetic Model 2010, which approximates the main and 
crustal magnetic fields for the period 2010–2015.
+emm2015 - the Enhanced Magnetic Model 2015, which approximates the main and 
crustal magnetic fields for the period 2000–2020.
+emm2017 - the Enhanced Magnetic Model 2017, which approximates the main and 
crustal magnetic fields for the period 2000–2022.

diff --git a/profiles/desc/precision.desc b/profiles/desc/precision.desc
new file mode 100644
index 000..7cc4b6c
--- /dev/null
+++ b/profiles/desc/precision.desc
@@ -0,0 +1,10 @@
+# Copyright 1999-2020 Gentoo Authors.
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of PRECISION USE_EXPAND flags.
+
+arbitrary - floating point arbitrary precision.
+double - floating point 53-bit precision.
+quad - floating point 113-bit precision.
+long-double - floating point 64-bit precision.
+single - floating point 24-bit precision.

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50-r1.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50-r1.ebuild
deleted file mode 100644
index e05ee12..000
--- a/sci-geosciences/geographiclib/geographiclib-1.50-r1.ebuild
+++ /dev/null
@@ -1,200 +0

[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-09 Thread Andrew Ammerlaan
commit: ff1491d6f29bd20ad35d7bfeef6f9012a13df870
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Apr  9 06:12:40 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Apr  9 06:12:40 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff1491d6

sci-geosciences/geographiclib: install data into PN

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../{geographiclib-1.50.ebuild => geographiclib-1.50-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50-r1.ebuild
similarity index 99%
rename from sci-geosciences/geographiclib/geographiclib-1.50.ebuild
rename to sci-geosciences/geographiclib/geographiclib-1.50-r1.ebuild
index 023dc98..e05ee12 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50-r1.ebuild
@@ -138,7 +138,7 @@ src_configure() {
use precision_quad  && precision="4"
use precision_single&& precision="1"
 
-   export GEODATAPATH="/usr/share/${P}"
+   export GEODATAPATH="/usr/share/${PN}"
 
local mycmakeargs=(
-DGEOGRAPHICLIB_DOCUMENTATION=$(usex doc ON OFF)



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-08 Thread Haelwenn Monnier
commit: 321165b3a887a96014850d6901b3daf138890702
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Apr  8 19:30:03 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Wed Apr  8 19:30:03 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=321165b3

sci-geosciences/geographiclib: required use negations

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-geosciences/geographiclib/geographiclib-1.50.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
index 749b3a9..023dc98 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
@@ -57,6 +57,9 @@ REQUIRED_USE="
geoids? ( || ( ${IUSE_GEOIDS_DATASET/+/} ) )
gravity? ( || ( ${IUSE_GRAVITY_MODEL/+/} ) )
magnetic? ( || ( ${IUSE_MAGNETIC_MODEL/+/} ) )
+   !geoids? ( ${IUSE_GEOIDS_DATASET/geoids/!geoids} )
+   !gravity? ( ${IUSE_GRAVITY_MODEL/gravity/!gravity} )
+   !magnetic? ( ${IUSE_MAGNETIC_MODEL/magnetic/!magnetic} )
python? ( ${PYTHON_REQUIRED_USE} )
 "
 
@@ -101,8 +104,8 @@ DEPEND="
${RDEPEND}
doc? (
>=app-doc/doxygen-1.8.7
-   >=dev-python/sphinx-1.6.3-r2
>=dev-lang/perl-5.26.1-r1
+   >=dev-python/sphinx-1.6.3-r2
>=sys-apps/util-linux-2.31
)
 "



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-05 Thread Andrew Ammerlaan
commit: 2baf045e3e5e57ac7b9b921d34178ef69280c3c8
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Apr  4 22:11:49 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Apr  4 22:12:20 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2baf045e

sci-geosciences/geographiclib: fixed python and doc install

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../geographiclib/geographiclib-1.50.ebuild| 32 ++
 sci-geosciences/geographiclib/metadata.xml |  2 +-
 2 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
index a880de3..7f8a351 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
@@ -94,8 +94,6 @@ LICENSE="
magnetic? ( public-domain )
 "
 
-RESTRICT="primaryuri"
-
 RDEPEND="
>=dev-libs/boost-1.65.0
 "
@@ -118,9 +116,6 @@ src_prepare() {
 #  sed -i "s|CXXFLAGS = -g -Wall -Wextra -O3 -std=c++0x||" 
tools/Makefile.mk || die
 #  sed -i "s|CXXFLAGS = -g -Wall -Wextra -O3 -std=c++0x||" src/Makefile.mk 
|| die
 
-   default
-
-   # FATAL: cmake_src_prepare has not been run
cmake_src_prepare
 
if use python; then
@@ -138,7 +133,7 @@ src_configure() {
use precision_quad  && precision="4"
use precision_single&& precision="1"
 
-   export GEODATAPATH="/usr/share/GeographicLib"
+   export GEODATAPATH="/usr/share/${P}"
 
local mycmakeargs=(
-DGEOGRAPHICLIB_DOCUMENTATION=$(usex doc ON OFF)
@@ -146,31 +141,29 @@ src_configure() {
-DUSE_BOOST_FOR_EXAMPLES=$(usex boost ON OFF)
-DGEOGRAPHICLIB_PRECISION="${precision}"
-DGEOGRAPHICLIB_DATA="${GEODATAPATH}"
-   -DCMAKE_INSTALL_PREFIX="/usr"
)
-
cmake_src_configure
 }
 
 src_compile() {
+   cmake_src_compile
+
if use python; then
cd "python" || die
python_foreach_impl distutils-r1_python_compile
cd ".." || die
fi
-
-   default
 }
 
 src_test() {
+   # Only 1 failing test in the C code, python passes for me
+   cmake_src_test
+
if use python; then
cd "python" || die
python_foreach_impl python_test
cd ".." || die
fi
-
-   # Only 1 failing test in the C code, python passes for me
-   default
 }
 
 src_install() {
@@ -181,13 +174,18 @@ src_install() {
insinto "${GEODATAPATH}/magnetic"
use magnetic && doins -r "${WORKDIR}"/magnetic/.
 
+   cmake_src_install
+
if use python; then
cd "python" || die
-   distutils-r1_python_install_all
+   python_foreach_impl distutils-r1_python_install
cd ".."
fi
-   # Access denied, make file needs patching
-   # to correctly install in ${D}
-   default
+
#TODO: find out if java stuff need something
+
+   rm -rf "${D}/usr/$(get_libdir)/python" || die
+
+   use doc && mkdir -p "${D}/usr/share/${P}" || die
+   use doc && mv "${D}/usr/share/doc/${MY_PN}" "${D}/usr/share/${P}/doc" 
|| die
 }

diff --git a/sci-geosciences/geographiclib/metadata.xml 
b/sci-geosciences/geographiclib/metadata.xml
index 589c87f..2687621 100644
--- a/sci-geosciences/geographiclib/metadata.xml
+++ b/sci-geosciences/geographiclib/metadata.xml
@@ -12,7 +12,7 @@

Boost library is searched for in order to 
build the NearestNeighbor example
Install the gravity models
-   Install the geoids datasets
+   Install the geoid datasets
Install the magnetic field models
http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html
 30' grid
http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html
 15' grid



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-03 Thread Haelwenn Monnier
commit: 4063c2a4b45de7538486836608a83bb5616ffecb
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu Apr  2 18:17:25 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Thu Apr  2 18:18:03 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4063c2a4

sci-geosciences/geographiclib: new package, WIP

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-geosciences/geographiclib/Manifest |  20 +++
 .../geographiclib/geographiclib-1.50.ebuild| 137 +
 sci-geosciences/geographiclib/metadata.xml |  45 +++
 3 files changed, 202 insertions(+)

diff --git a/sci-geosciences/geographiclib/Manifest 
b/sci-geosciences/geographiclib/Manifest
new file mode 100644
index 000..ddd7028
--- /dev/null
+++ b/sci-geosciences/geographiclib/Manifest
@@ -0,0 +1,20 @@
+DIST egm2008-1.tar.bz2 162388303 BLAKE2B 
ec79dbe2b25e8f9474fb4e8b704f9cb3c99d80004d0049bcfd956f7bcaa0822e6c0fcdc076f14075c688aeaac47bf68e192a114fca4c21edd81be880114b85f4
 SHA512 
0928a6e19aea2f372e946ce69c3a3826c2685c0a4029eb4bec7ab16873c03fbcc224ce47d99e6b6798e274a7d469fd3d303954938fb1f58c5dd5ba74907913d9
+DIST egm2008-2_5.tar.bz2 34927299 BLAKE2B 
bd4e3a04221669fe58e41eb4b93965415f3e238cd9af475fe78fe00592ebc80470309ac63366d9416bb2e0fd835dcb28a1302d89670d85271546a712c0918cc6
 SHA512 
dd65c8dc916f98a8592cc64518e2a6ac657d7d02d8316ff74cf3fcc62e413a8780ec52421b90e2ab4d846bd7fa2231e6d0a39467a7ea5b8774c71b9fece3cb34
+DIST egm2008-5.tar.bz2 10414793 BLAKE2B 
ee4fa8e8ab9e87b21197a0a6149a52a49e16a1cde3b5490b4590bede8f67ce6854c9fd2b55491a20963a150aeed53efef95aadde27ca9e9c3a88526940ba402d
 SHA512 
cb3598219df6c7c4a3aea0df0005561aae90dd85c33b79ef39da00cf7512509ae3a3962178e83bed6a1ea85614618bfaf523653a56e6492d3fef243d8483eb0d
+DIST egm2008.tar.bz2 74456990 BLAKE2B 
6f64b60d5506d7c27d22ea979d666103d529aaa9b12ec1a2cb9248c0cd6ac97c6ec1e4c64bb8f690999143d9e2e76e528b8ed66fc5c48ecbc20ffd94b9b767bb
 SHA512 
c921c3bd66fb00d05ee983c3e9ad49b38f4a8d881e9073ccf250f3737486701beeac66d0d8726626282a91bdc44ddce073f2e6729bfa914b78887009aed0ad0f
+DIST egm84-15.tar.bz2 1475184 BLAKE2B 
3249dd2e724c33468542548070f5f0e8443480b627f046ced8316d6741a1566b3c43c88f20b18e56b599b71ecb5076295ac5cc099880ed5da82d74e5ccd0
 SHA512 
06919c11044df7bd1b669e66972ccb19c0b439709becb5623ebb5a2f80ce5ed5fca3b3b47b519db80eb796f402919b093f6dcb68ee3a171096d84bcb051fa267
+DIST egm84-30.tar.bz2 416481 BLAKE2B 
f86c29543dc6ac3df0a7e95085872d84dc7a172a6d2636b0cd1e20bc7587fe8632911dff9821961c981edbadb7b68bb56e97a233ab7165d13810e920cce8bb34
 SHA512 
446d272afe925f7d73b4f0b251b3477d1f92e10a7335b5a05bf4d1f247e04413fb856f7a3f73958c87cbdf59fc516296d15bf7ed438cc1bed8f0ee4cd1630b67
+DIST egm84.tar.bz2 258023 BLAKE2B 
58820879bf22a50a4c39824971fe8921eab9610af9a913d0aaf6b0457274c48373ba4f1aad63f35c0c24e302fef4ae0923b900cd3dfffd6f3b38f77977332b4e
 SHA512 
350a182912580dfc8072f6c9e92d1f3559094bb19d167008228e3888ed0b6af69dc22bd0ac63ee6074cb91266a9c7ce29452076c96b72c5b39feae84f0dd7a54
+DIST egm96-15.tar.bz2 1490277 BLAKE2B 
c2fff9874dd2c155a5c63899841937fda0f66a1bd8cec6acc2d6c8242f1dd097c7f0a315288c0aee1c23b325634cddd56981f7a50833feb1ea57ded96bd9a30a
 SHA512 
82f362483e605502ba2d996d3c05095d2967357b61322d18f1313fdb77c39a0307087eefadba10b9c260abf73b3c0013e84339ae173420e77f75d2da6f0a95bb
+DIST egm96-5.tar.bz2 10225152 BLAKE2B 
81fbfb0095fc9a496a9434f8462b2aaeb2ce7fdaff2332aa38e9d57ab79e5801fa93705683a513a7990738494c57fc729520597353faa9a79775563f93018d69
 SHA512 
cbb4f2ca4df26f98af2848c0ec9d485567475ae510da1b8559c67e32a2b6abe1e4f1c24153952feca73a92b045454e44a2506b63f4f9ed634a296af085b99511
+DIST egm96.tar.bz2 2055724 BLAKE2B 
f2a844f565aa5383f6443bcdc22daf515b9f75b2e68091b07a59a9f70d8f0dea238198104fed746c16bd308429d8ee5487273b073eb1edcb86128fa72ac5ea79
 SHA512 
8c1db592355dad1a2ed5db9782cc8589abd83857eae0e476495695ab66e8b67a6c8df9afa277fdefb23f24a900f41d49e40a4f18f0deae98f23659848b3e2e3d
+DIST emm2010.tar.bz2 3627692 BLAKE2B 
61e28905710781735bdb214cd7758aa371dd3409269a7793054afd43bf257274badf068647925c4da94d4bb5b06c0a24a0f8cb97ee2ac935818ed4eaaa3c4465
 SHA512 
09a2059158d9bfc40047a5680d96c026c399d319669ffda32bfc2eb6bcc7449201c0fb4244d074b4d4c0445719e3c4415cc18af51c93f66edcbcc3b92cf0a8b7
+DIST emm2015.tar.bz2 659405 BLAKE2B 
927d5b884b7a4c89301b0f53863674dbd8e8d4d597d21c39412620b475010bfa0878bd79933f3724ba6c9fa3722f475519d913157204f1ff7b3c1735c59ad26a
 SHA512 
44a0f8d9c4b9cdc86bac397858af6b15d4d6d6e7638641cc09e4e95b2757cdcf1a690280b4b593504cdab48e5dc09a98b08575117329a7c0473efa9649769098
+DIST emm2017.tar.bz2 1733711 BLAKE2B 
4ad26905d3db94d41c3d6336b88e9eb72c14b14de2101f384166613ca5a5c8690b71dfa1510d010dfb3c5080194cbc66974f747d8df31733c3c5b642fcebed18
 SHA512 
e6b3d54bd9b10eefd6cd331e0ab011b04f0c71bb023d3356436afe0109e64ba54b35abd059c39d7d920eb826106fb562b424d4239fbffe0ae517823e8f9a36f8
+DIST geographiclib-1.50.tar.gz 2463958 BLAKE2B 
f3d136f5c90453542bfc8976c7e01b8e6721389d5b92bc4baa1

[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-03 Thread Haelwenn Monnier
commit: bad082bb6a82caaf88ff76cbf4bcb3af8a0b7c5b
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Apr  2 20:39:53 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Thu Apr  2 20:39:53 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bad082bb

sci-geosciences/geographiclib: enable python support

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../geographiclib/geographiclib-1.50.ebuild| 52 +++---
 1 file changed, 46 insertions(+), 6 deletions(-)

diff --git a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild 
b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
index 3fa8946..96acef6 100644
--- a/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
+++ b/sci-geosciences/geographiclib/geographiclib-1.50.ebuild
@@ -3,9 +3,9 @@
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit cmake-utils
+inherit cmake distutils-r1
 
 MY_PN="GeographicLib"
 MY_PV=$(ver_rs 2 -)
@@ -48,14 +48,14 @@ IUSE_PRECISION="
precision_quad
precision_single
 "
-IUSE="${IUSE_GEOID_DATASET} ${IUSE_GRAVITY_MODEL} ${IUSE_MAGNETIC_MODEL} 
${IUSE_PRECISION} boost doc examples geoid gravity magnetic"
+IUSE="${IUSE_GEOID_DATASET} ${IUSE_GRAVITY_MODEL} ${IUSE_MAGNETIC_MODEL} 
${IUSE_PRECISION} boost doc examples geoid gravity magnetic python"
 IUSE_EXPAND="GEOID_DATASET GRAVITY_MODEL MAGNETIC_MODEL PRECISION"
 REQUIRED_USE="
^^ ( ${IUSE_PRECISION/+/} )
geoid? ( || ( ${IUSE_GEOID_DATASET/+/} ) )
gravity? ( || ( ${IUSE_GRAVITY_MODEL/+/} ) )
magnetic? ( || ( ${IUSE_MAGNETIC_MODEL/+/} ) )
-
+   python? ( ${PYTHON_REQUIRED_USE} )
 "
 SRC_URI="
 https://sourceforge.net/projects/${PN}/files/distrib/${MY_P}.tar.gz/download 
-> ${P}.tar.gz
@@ -107,9 +107,20 @@ DEPEND="
 
 S="${WORKDIR}/${MY_P}"
 
+distutils_enable_tests setup.py
+
 src_prepare() {
#TODO: strip cflags
default
+
+   # FATAL: cmake_src_prepare has not been run
+   cmake_src_prepare
+
+   if use python; then
+   cd "python" || die
+   distutils-r1_python_prepare_all
+   cd ".." || die
+   fi
 }
 
 src_configure() {
@@ -126,12 +137,41 @@ src_configure() {
-DUSE_BOOST_FOR_EXAMPLES=$(usex boost ON OFF)
-DGEOGRAPHICLIB_PRECISION="${precision}"
)
-   cmake-utils_src_configure
+
+   cmake_src_configure
+}
+
+src_compile() {
+   if use python; then
+   cd "python" || die
+   python_foreach_impl distutils-r1_python_compile
+   cd ".." || die
+   fi
+
+   default
+}
+
+src_test() {
+   if use python; then
+   cd "python" || die
+   python_foreach_impl python_test
+   cd ".." || die
+   fi
+
+   # Only 1 failing test in the C code, python passes for me
+   default
 }
 
 src_install() {
+   if use python; then
+   cd "python" || die
+   distutils-r1_python_install_all
+   cd ".."
+   fi
+
+   # Access denied, make file needs patching
+   # to correctly install in ${D}
default
-   #TODO: install python bindings correctly
#TODO: install datasets
#TODO: find out if java stuff need something
 }



[gentoo-commits] repo/proj/guru:master commit in: sci-geosciences/geographiclib/

2020-04-03 Thread Haelwenn Monnier
commit: 836a569f49f376e0d9e3c99baaac19b7b6fa282d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Apr  3 17:04:26 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Fri Apr  3 17:05:15 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=836a569f

sci-geosciences/geographiclib: WIP, installed datasets

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 sci-geosciences/geographiclib/Manifest | 38 -
 .../geographiclib/geographiclib-1.50.ebuild| 90 +-
 sci-geosciences/geographiclib/metadata.xml | 16 ++--
 3 files changed, 80 insertions(+), 64 deletions(-)

diff --git a/sci-geosciences/geographiclib/Manifest 
b/sci-geosciences/geographiclib/Manifest
index ddd7028..bee036f 100644
--- a/sci-geosciences/geographiclib/Manifest
+++ b/sci-geosciences/geographiclib/Manifest
@@ -1,20 +1,20 @@
-DIST egm2008-1.tar.bz2 162388303 BLAKE2B 
ec79dbe2b25e8f9474fb4e8b704f9cb3c99d80004d0049bcfd956f7bcaa0822e6c0fcdc076f14075c688aeaac47bf68e192a114fca4c21edd81be880114b85f4
 SHA512 
0928a6e19aea2f372e946ce69c3a3826c2685c0a4029eb4bec7ab16873c03fbcc224ce47d99e6b6798e274a7d469fd3d303954938fb1f58c5dd5ba74907913d9
-DIST egm2008-2_5.tar.bz2 34927299 BLAKE2B 
bd4e3a04221669fe58e41eb4b93965415f3e238cd9af475fe78fe00592ebc80470309ac63366d9416bb2e0fd835dcb28a1302d89670d85271546a712c0918cc6
 SHA512 
dd65c8dc916f98a8592cc64518e2a6ac657d7d02d8316ff74cf3fcc62e413a8780ec52421b90e2ab4d846bd7fa2231e6d0a39467a7ea5b8774c71b9fece3cb34
-DIST egm2008-5.tar.bz2 10414793 BLAKE2B 
ee4fa8e8ab9e87b21197a0a6149a52a49e16a1cde3b5490b4590bede8f67ce6854c9fd2b55491a20963a150aeed53efef95aadde27ca9e9c3a88526940ba402d
 SHA512 
cb3598219df6c7c4a3aea0df0005561aae90dd85c33b79ef39da00cf7512509ae3a3962178e83bed6a1ea85614618bfaf523653a56e6492d3fef243d8483eb0d
-DIST egm2008.tar.bz2 74456990 BLAKE2B 
6f64b60d5506d7c27d22ea979d666103d529aaa9b12ec1a2cb9248c0cd6ac97c6ec1e4c64bb8f690999143d9e2e76e528b8ed66fc5c48ecbc20ffd94b9b767bb
 SHA512 
c921c3bd66fb00d05ee983c3e9ad49b38f4a8d881e9073ccf250f3737486701beeac66d0d8726626282a91bdc44ddce073f2e6729bfa914b78887009aed0ad0f
-DIST egm84-15.tar.bz2 1475184 BLAKE2B 
3249dd2e724c33468542548070f5f0e8443480b627f046ced8316d6741a1566b3c43c88f20b18e56b599b71ecb5076295ac5cc099880ed5da82d74e5ccd0
 SHA512 
06919c11044df7bd1b669e66972ccb19c0b439709becb5623ebb5a2f80ce5ed5fca3b3b47b519db80eb796f402919b093f6dcb68ee3a171096d84bcb051fa267
-DIST egm84-30.tar.bz2 416481 BLAKE2B 
f86c29543dc6ac3df0a7e95085872d84dc7a172a6d2636b0cd1e20bc7587fe8632911dff9821961c981edbadb7b68bb56e97a233ab7165d13810e920cce8bb34
 SHA512 
446d272afe925f7d73b4f0b251b3477d1f92e10a7335b5a05bf4d1f247e04413fb856f7a3f73958c87cbdf59fc516296d15bf7ed438cc1bed8f0ee4cd1630b67
-DIST egm84.tar.bz2 258023 BLAKE2B 
58820879bf22a50a4c39824971fe8921eab9610af9a913d0aaf6b0457274c48373ba4f1aad63f35c0c24e302fef4ae0923b900cd3dfffd6f3b38f77977332b4e
 SHA512 
350a182912580dfc8072f6c9e92d1f3559094bb19d167008228e3888ed0b6af69dc22bd0ac63ee6074cb91266a9c7ce29452076c96b72c5b39feae84f0dd7a54
-DIST egm96-15.tar.bz2 1490277 BLAKE2B 
c2fff9874dd2c155a5c63899841937fda0f66a1bd8cec6acc2d6c8242f1dd097c7f0a315288c0aee1c23b325634cddd56981f7a50833feb1ea57ded96bd9a30a
 SHA512 
82f362483e605502ba2d996d3c05095d2967357b61322d18f1313fdb77c39a0307087eefadba10b9c260abf73b3c0013e84339ae173420e77f75d2da6f0a95bb
-DIST egm96-5.tar.bz2 10225152 BLAKE2B 
81fbfb0095fc9a496a9434f8462b2aaeb2ce7fdaff2332aa38e9d57ab79e5801fa93705683a513a7990738494c57fc729520597353faa9a79775563f93018d69
 SHA512 
cbb4f2ca4df26f98af2848c0ec9d485567475ae510da1b8559c67e32a2b6abe1e4f1c24153952feca73a92b045454e44a2506b63f4f9ed634a296af085b99511
-DIST egm96.tar.bz2 2055724 BLAKE2B 
f2a844f565aa5383f6443bcdc22daf515b9f75b2e68091b07a59a9f70d8f0dea238198104fed746c16bd308429d8ee5487273b073eb1edcb86128fa72ac5ea79
 SHA512 
8c1db592355dad1a2ed5db9782cc8589abd83857eae0e476495695ab66e8b67a6c8df9afa277fdefb23f24a900f41d49e40a4f18f0deae98f23659848b3e2e3d
-DIST emm2010.tar.bz2 3627692 BLAKE2B 
61e28905710781735bdb214cd7758aa371dd3409269a7793054afd43bf257274badf068647925c4da94d4bb5b06c0a24a0f8cb97ee2ac935818ed4eaaa3c4465
 SHA512 
09a2059158d9bfc40047a5680d96c026c399d319669ffda32bfc2eb6bcc7449201c0fb4244d074b4d4c0445719e3c4415cc18af51c93f66edcbcc3b92cf0a8b7
-DIST emm2015.tar.bz2 659405 BLAKE2B 
927d5b884b7a4c89301b0f53863674dbd8e8d4d597d21c39412620b475010bfa0878bd79933f3724ba6c9fa3722f475519d913157204f1ff7b3c1735c59ad26a
 SHA512 
44a0f8d9c4b9cdc86bac397858af6b15d4d6d6e7638641cc09e4e95b2757cdcf1a690280b4b593504cdab48e5dc09a98b08575117329a7c0473efa9649769098
-DIST emm2017.tar.bz2 1733711 BLAKE2B 
4ad26905d3db94d41c3d6336b88e9eb72c14b14de2101f384166613ca5a5c8690b71dfa1510d010dfb3c5080194cbc66974f747d8df31733c3c5b642fcebed18
 SHA512 
e6b3d54bd9b10eefd6cd331e0ab011b04f0c71bb023d3356436afe0109e64ba54b35abd059c39d7d920eb826106fb562b424d4239fbffe0ae517823e8f9a36f8
 DIST geographiclib-1.50.tar.gz 2463958 BLAKE2B 
f3d136f5c