Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-geosciences/GeographicLib-data/, profiles/desc/
Date: Fri, 27 May 2022 11:28:18
Message-Id: 1653650887.fe765919920affa950c651b8ae2cc0ab368f8228.Alessandro-Barbieri@gentoo
1 commit: fe765919920affa950c651b8ae2cc0ab368f8228
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu May 26 22:50:45 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Fri May 27 11:28:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe765919
7
8 sci-geosciences/GeographicLib-data: move use expand descriptions to profiles/desc
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 profiles/desc/geoids_datasets.desc | 12 ++++
13 profiles/desc/gravity_models.desc | 12 ++++
14 profiles/desc/magnetic_models.desc | 13 ++++
15 .../GeographicLib-data-0-r1.ebuild | 76 +++++++++++-----------
16 sci-geosciences/GeographicLib-data/metadata.xml | 21 ------
17 5 files changed, 75 insertions(+), 59 deletions(-)
18
19 diff --git a/profiles/desc/geoids_datasets.desc b/profiles/desc/geoids_datasets.desc
20 new file mode 100644
21 index 000000000..fb413a506
22 --- /dev/null
23 +++ b/profiles/desc/geoids_datasets.desc
24 @@ -0,0 +1,12 @@
25 +# Copyright 2022 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +# This file contains descriptions of GEOIDS_DATASETS USE_EXPAND flags.
29 +
30 +egm84-30 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' grid
31 +egm84-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' grid
32 +egm96-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 15' grid
33 +egm96-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 5' grid
34 +egm2008-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 5' grid
35 +egm2008-2-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 2.5' grid
36 +egm2008-1 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 1' grid
37
38 diff --git a/profiles/desc/gravity_models.desc b/profiles/desc/gravity_models.desc
39 new file mode 100644
40 index 000000000..d021f4b15
41 --- /dev/null
42 +++ b/profiles/desc/gravity_models.desc
43 @@ -0,0 +1,12 @@
44 +# Copyright 2022 Gentoo Authors
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +# This file contains descriptions of GRAVITY_MODELS USE_EXPAND flags.
48 +
49 +egm84-30 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' grid
50 +egm84-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' grid
51 +egm96-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 15' grid
52 +egm96-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 5' grid
53 +egm2008-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 5' grid
54 +egm2008-2-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 2.5' grid
55 +egm2008-1 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 1' grid
56
57 diff --git a/profiles/desc/magnetic_models.desc b/profiles/desc/magnetic_models.desc
58 new file mode 100644
59 index 000000000..018d06eee
60 --- /dev/null
61 +++ b/profiles/desc/magnetic_models.desc
62 @@ -0,0 +1,13 @@
63 +# Copyright 2022 Gentoo Authors
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +# This file contains descriptions of MAGNETIC_MODELS USE_EXPAND flags.
67 +
68 +wmm2010 - the World Magnetic Model 2010, which approximates the main magnetic field for the period 2010–2015.
69 +wmm2020 - the World Magnetic Model 2020, which approximates the main magnetic field for the period 2020–2025.
70 +wmm2015v2 - the World Magnetic Model 2015, which approximates the main magnetic field for the period 2015–2020.
71 +igrf11 - the International Geomagnetic Reference Field (11th generation), which approximates the main magnetic field for the period 1900–2015.
72 +igrf12 - the International Geomagnetic Reference Field (12th generation), which approximates the main magnetic field for the period 1900–2020.
73 +emm2010 - the Enhanced Magnetic Model 2010, which approximates the main and crustal magnetic fields for the period 2010–2015.
74 +emm2015 - the Enhanced Magnetic Model 2015, which approximates the main and crustal magnetic fields for the period 2000–2020.
75 +emm2017 - the Enhanced Magnetic Model 2017, which approximates the main and crustal magnetic fields for the period 2000–2022.
76
77 diff --git a/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild b/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild
78 index 2a1d7eb52..1308ca9d9 100644
79 --- a/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild
80 +++ b/sci-geosciences/GeographicLib-data/GeographicLib-data-0-r1.ebuild
81 @@ -14,29 +14,29 @@ KEYWORDS="~amd64"
82 LICENSE="public-domain"
83
84 IUSE_GEOIDS_DATASETS="
85 - geoids-datasets-egm84-30
86 - geoids-datasets-egm84-15
87 - geoids-datasets-egm96-15
88 - geoids-datasets-egm96-5
89 - geoids-datasets-egm2008-5
90 - geoids-datasets-egm2008-2-5
91 - +geoids-datasets-egm2008-1
92 + geoids_datasets_egm84-30
93 + geoids_datasets_egm84-15
94 + geoids_datasets_egm96-15
95 + geoids_datasets_egm96-5
96 + geoids_datasets_egm2008-5
97 + geoids_datasets_egm2008-2-5
98 + +geoids_datasets_egm2008-1
99 "
100 IUSE_GRAVITY_MODELS="
101 - gravity-models-egm84
102 - gravity-models-egm96
103 - +gravity-models-egm2008
104 - gravity-models-wgs84
105 + gravity_models_egm84
106 + gravity_models_egm96
107 + +gravity_models_egm2008
108 + gravity_models_wgs84
109 "
110 IUSE_MAGNETIC_MODELS="
111 - magnetic-models-wmm2010
112 - magnetic-models-wmm2015v2
113 - +magnetic-models-wmm2020
114 - magnetic-models-igrf11
115 - magnetic-models-igrf12
116 - magnetic-models-emm2010
117 - magnetic-models-emm2015
118 - magnetic-models-emm2017
119 + magnetic_models_wmm2010
120 + magnetic_models_wmm2015v2
121 + +magnetic_models_wmm2020
122 + magnetic_models_igrf11
123 + magnetic_models_igrf12
124 + magnetic_models_emm2010
125 + magnetic_models_emm2015
126 + magnetic_models_emm2017
127 "
128 IUSE="${IUSE_GEOIDS_DATASETS} ${IUSE_GRAVITY_MODELS} ${IUSE_MAGNETIC_MODELS}"
129
130 @@ -50,27 +50,27 @@ REQUIRED_USE="
131
132 COMMON_URI="https://sourceforge.net/projects/${MYPN}/files"
133 SRC_URI="
134 - geoids-datasets-egm84-30? ( ${COMMON_URI}/geoids-distrib/egm84-30.tar.bz2 -> geoids-egm84-30.tar.bz2 )
135 - geoids-datasets-egm84-15? ( ${COMMON_URI}/geoids-distrib/egm84-15.tar.bz2 -> geoids-egm84-15.tar.bz2 )
136 - geoids-datasets-egm96-15? ( ${COMMON_URI}/geoids-distrib/egm96-15.tar.bz2 -> geoids-egm96-15.tar.bz2 )
137 - geoids-datasets-egm96-5? ( ${COMMON_URI}/geoids-distrib/egm96-5.tar.bz2 -> geoids-egm96-5.tar.bz2 )
138 - geoids-datasets-egm2008-5? ( ${COMMON_URI}/geoids-distrib/egm2008-5.tar.bz2 -> geoids-egm2008-5.tar.bz2 )
139 - geoids-datasets-egm2008-2-5? ( ${COMMON_URI}/geoids-distrib/egm2008-2_5.tar.bz2 -> geoids-egm2008-2_5.tar.bz2 )
140 - geoids-datasets-egm2008-1? ( ${COMMON_URI}/geoids-distrib/egm2008-1.tar.bz2 -> geoids-egm2008-1.tar.bz2 )
141 + geoids_datasets_egm84-30? ( ${COMMON_URI}/geoids-distrib/egm84-30.tar.bz2 -> geoids-egm84-30.tar.bz2 )
142 + geoids_datasets_egm84-15? ( ${COMMON_URI}/geoids-distrib/egm84-15.tar.bz2 -> geoids-egm84-15.tar.bz2 )
143 + geoids_datasets_egm96-15? ( ${COMMON_URI}/geoids-distrib/egm96-15.tar.bz2 -> geoids-egm96-15.tar.bz2 )
144 + geoids_datasets_egm96-5? ( ${COMMON_URI}/geoids-distrib/egm96-5.tar.bz2 -> geoids-egm96-5.tar.bz2 )
145 + geoids_datasets_egm2008-5? ( ${COMMON_URI}/geoids-distrib/egm2008-5.tar.bz2 -> geoids-egm2008-5.tar.bz2 )
146 + geoids_datasets_egm2008-2-5? ( ${COMMON_URI}/geoids-distrib/egm2008-2_5.tar.bz2 -> geoids-egm2008-2_5.tar.bz2 )
147 + geoids_datasets_egm2008-1? ( ${COMMON_URI}/geoids-distrib/egm2008-1.tar.bz2 -> geoids-egm2008-1.tar.bz2 )
148
149 - gravity-models-egm84? ( ${COMMON_URI}/gravity-distrib/egm84.tar.bz2 -> gravity-egm84.tar.bz2 )
150 - gravity-models-egm96? ( ${COMMON_URI}/gravity-distrib/egm96.tar.bz2 -> gravity-egm96.tar.bz2 )
151 - gravity-models-egm2008? ( ${COMMON_URI}/gravity-distrib/egm2008.tar.bz2 -> gravity-egm2008.tar.bz2 )
152 - gravity-models-wgs84? ( ${COMMON_URI}/gravity-distrib/wgs84.tar.bz2 -> gravity-wgs84.tar.bz2 )
153 + gravity_models_egm84? ( ${COMMON_URI}/gravity-distrib/egm84.tar.bz2 -> gravity-egm84.tar.bz2 )
154 + gravity_models_egm96? ( ${COMMON_URI}/gravity-distrib/egm96.tar.bz2 -> gravity-egm96.tar.bz2 )
155 + gravity_models_egm2008? ( ${COMMON_URI}/gravity-distrib/egm2008.tar.bz2 -> gravity-egm2008.tar.bz2 )
156 + gravity_models_wgs84? ( ${COMMON_URI}/gravity-distrib/wgs84.tar.bz2 -> gravity-wgs84.tar.bz2 )
157
158 - magnetic-models-wmm2010? ( ${COMMON_URI}/magnetic-distrib/wmm2010.tar.bz2 -> magnetic-wmm2010.tar.bz2 )
159 - magnetic-models-wmm2015v2? ( ${COMMON_URI}/magnetic-distrib/wmm2015v2.tar.bz2 -> magnetic-wmm2015v2.tar.bz2 )
160 - magnetic-models-wmm2020? ( ${COMMON_URI}/magnetic-distrib/wmm2020.tar.bz2 -> magnetic-wmm2020.tar.bz2 )
161 - magnetic-models-igrf11? ( ${COMMON_URI}/magnetic-distrib/igrf11.tar.bz2 -> magnetic-igrf11.tar.bz2 )
162 - magnetic-models-igrf12? ( ${COMMON_URI}/magnetic-distrib/igrf12.tar.bz2 -> magnetic-igrf12.tar.bz2 )
163 - magnetic-models-emm2010? ( ${COMMON_URI}/magnetic-distrib/emm2010.tar.bz2 -> magnetic-emm2010.tar.bz2 )
164 - magnetic-models-emm2015? ( ${COMMON_URI}/magnetic-distrib/emm2015.tar.bz2 -> magnetic-emm2015.tar.bz2 )
165 - magnetic-models-emm2017? ( ${COMMON_URI}/magnetic-distrib/emm2017.tar.bz2 -> magnetic-emm2017.tar.bz2 )
166 + magnetic_models_wmm2010? ( ${COMMON_URI}/magnetic-distrib/wmm2010.tar.bz2 -> magnetic-wmm2010.tar.bz2 )
167 + magnetic_models_wmm2015v2? ( ${COMMON_URI}/magnetic-distrib/wmm2015v2.tar.bz2 -> magnetic-wmm2015v2.tar.bz2 )
168 + magnetic_models_wmm2020? ( ${COMMON_URI}/magnetic-distrib/wmm2020.tar.bz2 -> magnetic-wmm2020.tar.bz2 )
169 + magnetic_models_igrf11? ( ${COMMON_URI}/magnetic-distrib/igrf11.tar.bz2 -> magnetic-igrf11.tar.bz2 )
170 + magnetic_models_igrf12? ( ${COMMON_URI}/magnetic-distrib/igrf12.tar.bz2 -> magnetic-igrf12.tar.bz2 )
171 + magnetic_models_emm2010? ( ${COMMON_URI}/magnetic-distrib/emm2010.tar.bz2 -> magnetic-emm2010.tar.bz2 )
172 + magnetic_models_emm2015? ( ${COMMON_URI}/magnetic-distrib/emm2015.tar.bz2 -> magnetic-emm2015.tar.bz2 )
173 + magnetic_models_emm2017? ( ${COMMON_URI}/magnetic-distrib/emm2017.tar.bz2 -> magnetic-emm2017.tar.bz2 )
174 "
175
176 RDEPEND="sci-geosciences/GeographicLib"
177
178 diff --git a/sci-geosciences/GeographicLib-data/metadata.xml b/sci-geosciences/GeographicLib-data/metadata.xml
179 index 3483fe2ce..3ebfafa0f 100644
180 --- a/sci-geosciences/GeographicLib-data/metadata.xml
181 +++ b/sci-geosciences/GeographicLib-data/metadata.xml
182 @@ -14,25 +14,4 @@
183 <bugs-to>https://sourceforge.net/p/geographiclib/bugs/</bugs-to>
184 <remote-id type="sourceforge">geographiclib</remote-id>
185 </upstream>
186 - <use>
187 - <flag name="geoids-datasets-egm84-30">http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' grid</flag>
188 - <flag name="geoids-datasets-egm84-15">http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' grid</flag>
189 - <flag name="geoids-datasets-egm96-15">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 15' grid</flag>
190 - <flag name="geoids-datasets-egm96-5">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 5' grid</flag>
191 - <flag name="geoids-datasets-egm2008-5">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 5' grid</flag>
192 - <flag name="geoids-datasets-egm2008-2-5">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 2.5' grid</flag>
193 - <flag name="geoids-datasets-egm2008-1">http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 1' grid</flag>
194 - <flag name="gravity-models-egm84">the Earth Gravity Model 1984, which includes terms up to degree 180</flag>
195 - <flag name="gravity-models-egm96">the Earth Gravity Model 1996, which includes terms up to degree 360</flag>
196 - <flag name="gravity-models-egm2008"> the Earth Gravity Model 2008, which includes terms up to degree 2190</flag>
197 - <flag name="gravity-models-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.</flag>
198 - <flag name="magnetic-models-wmm2010">the World Magnetic Model 2010, which approximates the main magnetic field for the period 2010–2015.</flag>
199 - <flag name="magnetic-models-wmm2020"> the World Magnetic Model 2020, which approximates the main magnetic field for the period 2020–2025.</flag>
200 - <flag name="magnetic-models-wmm2015v2">the World Magnetic Model 2015, which approximates the main magnetic field for the period 2015–2020.</flag>
201 - <flag name="magnetic-models-igrf11">the International Geomagnetic Reference Field (11th generation), which approximates the main magnetic field for the period 1900–2015.</flag>
202 - <flag name="magnetic-models-igrf12">the International Geomagnetic Reference Field (12th generation), which approximates the main magnetic field for the period 1900–2020.</flag>
203 - <flag name="magnetic-models-emm2010">the Enhanced Magnetic Model 2010, which approximates the main and crustal magnetic fields for the period 2010–2015.</flag>
204 - <flag name="magnetic-models-emm2015">the Enhanced Magnetic Model 2015, which approximates the main and crustal magnetic fields for the period 2000–2020.</flag>
205 - <flag name="magnetic-models-emm2017">the Enhanced Magnetic Model 2017, which approximates the main and crustal magnetic fields for the period 2000–2022.</flag>
206 - </use>
207 </pkgmetadata>