public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2021-02-02 10:18 Alexis Ballier
  0 siblings, 0 replies; 12+ messages in thread
From: Alexis Ballier @ 2021-02-02 10:18 UTC (permalink / raw
  To: gentoo-commits

commit:     0900a8a5f2739eff0d0393fc1439d2cceb02113c
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 10:31:29 2021 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 10:18:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0900a8a5

sci-geosciences/GeographicLib: bump to 1.51

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 .../GeographicLib/GeographicLib-1.51.ebuild        | 31 ++++++++++++++++++++++
 sci-geosciences/GeographicLib/Manifest             |  1 +
 2 files changed, 32 insertions(+)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild
new file mode 100644
index 00000000000..3721cff1645
--- /dev/null
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="C++ classes for performing conversions between geographic coordinates"
+HOMEPAGE="https://geographiclib.sourceforge.io/"
+SRC_URI="mirror://sourceforge/geographiclib/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/19"
+KEYWORDS="~amd64 ~arm"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="
+	doc? ( >=app-doc/doxygen-1.8.7 )
+"
+
+src_configure() {
+	econf \
+		--disable-static
+	# Automagic deps..
+	sed -e "s/SUBDIRS =.*$/SUBDIRS = src man tools $(usex doc doc "") include cmake/" -i Makefile || die
+}
+
+src_install() {
+	default
+	find "${D}" -name "*.la" -delete || die
+}

diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest
index 8e8427cb578..0d81676b128 100644
--- a/sci-geosciences/GeographicLib/Manifest
+++ b/sci-geosciences/GeographicLib/Manifest
@@ -1 +1,2 @@
 DIST GeographicLib-1.50.1.tar.gz 2463854 BLAKE2B bed7d003dee92e794af993d8fef6cbf1233f9e3f37f53dd6026f16a237dba46bb4d4e2db7adea7931b632bb419288c9731c79cf65f15a4f35e95e8ada34a8f42 SHA512 1db874f30957a0edb8a1df3eee6db73cc993629e3005fe912e317a4ba908e7d7580ce483bb0054c4b46370b8edaec989609fb7e4eb6ba00c80182db43db436f1
+DIST GeographicLib-1.51.tar.gz 2470362 BLAKE2B 5e0a0f44d3b0c62ed7e28285b240cab07a7592e5bf4b181c25b62d8462bb7e2c21f6fcb09577c5f766578803c4b303fdb69af006d3ae62a8b5cb80e92b76236f SHA512 34487a09fa94a34d24179cfe9fd2e5fdda28675966703ca137cbfe6cc88760c2fbde55f76c464de060b58bfe0a516e22c0f59318cf85ae7cc01c5c6a73dd6ead


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2021-06-09 14:55 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2021-06-09 14:55 UTC (permalink / raw
  To: gentoo-commits

commit:     3cabbb8725c4b27230244c5405b7c2e2e4bcffef
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Mar 25 18:14:40 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun  9 14:55:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cabbb87

sci-geosciences/GeographicLib: various improvements

python bindings
examples
documentation

Closes: https://bugs.gentoo.org/636338
Closes: https://bugs.gentoo.org/777810
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20118
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../GeographicLib/GeographicLib-1.51-r1.ebuild     | 111 +++++++++++++++++++++
 sci-geosciences/GeographicLib/metadata.xml         |  12 +++
 2 files changed, 123 insertions(+)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild
new file mode 100644
index 00000000000..50bc12fbb31
--- /dev/null
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake distutils-r1
+
+MY_PN="${PN,,}"
+
+DESCRIPTION="C++ library for converting geographic coordinate systems"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/19"
+KEYWORDS="~amd64 ~arm"
+IUSE="doc examples python"
+# To-Do:find out why this doesn't work
+# 105/167 Test #105: GeodSolve82 ......................***Failed
+# Required regular expression not found. Regex=[20\.0010* 0\.0* 180\.0* 20\.0010* 0\.0* 180\.0* 0\.0* 0\.0* 0\.0* 1\.0* 1\.0* -?0
+RESTRICT="test"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	doc? (
+		>=app-doc/doxygen-1.8.7
+		>=dev-lang/perl-5.26.1-r1
+		>=dev-python/sphinx-1.6.3-r2
+		>=sys-apps/util-linux-2.31
+	)
+"
+
+distutils_enable_tests setup.py
+# there are additional docs in the python dir
+distutils_enable_sphinx python/doc
+
+src_prepare() {
+	cmake_src_prepare
+
+	if use python; then
+		pushd "python" || die
+		distutils-r1_python_prepare_all
+		popd || die
+	fi
+}
+
+src_configure() {
+	export GEODATAPATH="/usr/share/${MY_PN}"
+
+	local mycmakeargs=(
+		-DGEOGRAPHICLIB_DOCUMENTATION=$(usex doc ON OFF)
+		-DGEOGRAPHICLIB_LIB_TYPE="SHARED"
+		-DGEOGRAPHICLIB_DATA="${GEODATAPATH}"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use python; then
+		pushd "python" || die
+		python_foreach_impl distutils-r1_python_compile
+		popd || die
+		python_compile_all
+	fi
+}
+
+src_test() {
+	# Only 1 failing test in the C code, python passes for me
+	cmake_src_test
+
+	if use python; then
+		pushd "python" || die
+		python_foreach_impl python_test
+		popd || die
+	fi
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove python things added by the cmake_src_install function
+	rm -r "${D}/usr/$(get_libdir)/python" || die
+	# if use python we re-add these python files for each implementation
+	if use python; then
+		pushd "python" || die
+		python_foreach_impl distutils-r1_python_install
+		popd || die
+	fi
+
+	#TODO: find out if java stuff need something
+
+	# Installs to wrong doc dir for some reason
+	# Also happens with USE="-doc"
+	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
+
+	if use examples; then
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+
+	insinto "/usr/share/maxima/${MY_PN}"
+	doins -r maxima/.
+
+	find "${D}" -name "*.la" -delete || die
+}

diff --git a/sci-geosciences/GeographicLib/metadata.xml b/sci-geosciences/GeographicLib/metadata.xml
index 74ced8bea00..efc517b3724 100644
--- a/sci-geosciences/GeographicLib/metadata.xml
+++ b/sci-geosciences/GeographicLib/metadata.xml
@@ -5,4 +5,16 @@
 		<email>ros@gentoo.org</email>
 		<name>Gentoo ROS Project</name>
 	</maintainer>
+	<upstream>
+		<maintainer status="active">
+			<email>charles@karney.com</email>
+			<name>Charles Karney</name>
+		</maintainer>
+		<doc lang="en">https://geographiclib.sourceforge.io/html</doc>
+		<bugs-to>https://sourceforge.net/p/geographiclib/bugs/</bugs-to>
+		<remote-id type="sourceforge">geographiclib</remote-id>
+	</upstream>
+	<longdescription lang="en">
+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.
+	</longdescription>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2021-08-06 14:35 Alexis Ballier
  0 siblings, 0 replies; 12+ messages in thread
From: Alexis Ballier @ 2021-08-06 14:35 UTC (permalink / raw
  To: gentoo-commits

commit:     83ca0b774047ef4087df29af9cc97e99923bf3ee
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  6 13:38:28 2021 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Aug  6 14:35:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ca0b77

sci-geosciences/GeographicLib: Remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 .../GeographicLib/GeographicLib-1.50.1.ebuild      | 31 ----------------------
 .../GeographicLib/GeographicLib-1.51.ebuild        | 31 ----------------------
 sci-geosciences/GeographicLib/Manifest             |  1 -
 3 files changed, 63 deletions(-)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild
deleted file mode 100644
index 65db138fee5..00000000000
--- a/sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="C++ classes for performing conversions between geographic coordinates"
-HOMEPAGE="https://geographiclib.sourceforge.io/"
-SRC_URI="mirror://sourceforge/geographiclib/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/19"
-KEYWORDS="~amd64 ~arm"
-IUSE="doc"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="
-	doc? ( >=app-doc/doxygen-1.8.7 )
-"
-
-src_configure() {
-	econf \
-		--disable-static
-	# Automagic deps..
-	sed -e "s/SUBDIRS =.*$/SUBDIRS = src man tools $(usex doc doc "") include cmake/" -i Makefile || die
-}
-
-src_install() {
-	default
-	find "${D}" -name "*.la" -delete || die
-}

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild
deleted file mode 100644
index 3721cff1645..00000000000
--- a/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="C++ classes for performing conversions between geographic coordinates"
-HOMEPAGE="https://geographiclib.sourceforge.io/"
-SRC_URI="mirror://sourceforge/geographiclib/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/19"
-KEYWORDS="~amd64 ~arm"
-IUSE="doc"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="
-	doc? ( >=app-doc/doxygen-1.8.7 )
-"
-
-src_configure() {
-	econf \
-		--disable-static
-	# Automagic deps..
-	sed -e "s/SUBDIRS =.*$/SUBDIRS = src man tools $(usex doc doc "") include cmake/" -i Makefile || die
-}
-
-src_install() {
-	default
-	find "${D}" -name "*.la" -delete || die
-}

diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest
index 0d81676b128..bb8bab7daee 100644
--- a/sci-geosciences/GeographicLib/Manifest
+++ b/sci-geosciences/GeographicLib/Manifest
@@ -1,2 +1 @@
-DIST GeographicLib-1.50.1.tar.gz 2463854 BLAKE2B bed7d003dee92e794af993d8fef6cbf1233f9e3f37f53dd6026f16a237dba46bb4d4e2db7adea7931b632bb419288c9731c79cf65f15a4f35e95e8ada34a8f42 SHA512 1db874f30957a0edb8a1df3eee6db73cc993629e3005fe912e317a4ba908e7d7580ce483bb0054c4b46370b8edaec989609fb7e4eb6ba00c80182db43db436f1
 DIST GeographicLib-1.51.tar.gz 2470362 BLAKE2B 5e0a0f44d3b0c62ed7e28285b240cab07a7592e5bf4b181c25b62d8462bb7e2c21f6fcb09577c5f766578803c4b303fdb69af006d3ae62a8b5cb80e92b76236f SHA512 34487a09fa94a34d24179cfe9fd2e5fdda28675966703ca137cbfe6cc88760c2fbde55f76c464de060b58bfe0a516e22c0f59318cf85ae7cc01c5c6a73dd6ead


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2021-08-06 14:35 Alexis Ballier
  0 siblings, 0 replies; 12+ messages in thread
From: Alexis Ballier @ 2021-08-06 14:35 UTC (permalink / raw
  To: gentoo-commits

commit:     df2f1c29030dae40167b5637ea0442d1c8b458d6
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  6 13:42:43 2021 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Aug  6 14:35:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2f1c29

sci-geosciences/GeographicLib: unrestrict tests

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
index 50bc12fbb31..892d850baaa 100644
--- a/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
@@ -17,10 +17,6 @@ LICENSE="MIT"
 SLOT="0/19"
 KEYWORDS="~amd64 ~arm"
 IUSE="doc examples python"
-# To-Do:find out why this doesn't work
-# 105/167 Test #105: GeodSolve82 ......................***Failed
-# Required regular expression not found. Regex=[20\.0010* 0\.0* 180\.0* 20\.0010* 0\.0* 180\.0* 0\.0* 0\.0* 0\.0* 1\.0* 1\.0* -?0
-RESTRICT="test"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RDEPEND="python? ( ${PYTHON_DEPS} )"
@@ -71,7 +67,6 @@ src_compile() {
 }
 
 src_test() {
-	# Only 1 failing test in the C code, python passes for me
 	cmake_src_test
 
 	if use python; then


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2021-08-06 14:35 Alexis Ballier
  0 siblings, 0 replies; 12+ messages in thread
From: Alexis Ballier @ 2021-08-06 14:35 UTC (permalink / raw
  To: gentoo-commits

commit:     8325b999499350d37ecb3c9747c92278276cd5af
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  6 13:39:00 2021 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Aug  6 14:35:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8325b999

sci-geosciences/GeographicLib: bump to 1.52

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 .../{GeographicLib-1.51-r1.ebuild => GeographicLib-1.52.ebuild}         | 0
 sci-geosciences/GeographicLib/Manifest                                  | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
similarity index 100%
rename from sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild
rename to sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild

diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest
index bb8bab7daee..fb8fd5f0210 100644
--- a/sci-geosciences/GeographicLib/Manifest
+++ b/sci-geosciences/GeographicLib/Manifest
@@ -1 +1 @@
-DIST GeographicLib-1.51.tar.gz 2470362 BLAKE2B 5e0a0f44d3b0c62ed7e28285b240cab07a7592e5bf4b181c25b62d8462bb7e2c21f6fcb09577c5f766578803c4b303fdb69af006d3ae62a8b5cb80e92b76236f SHA512 34487a09fa94a34d24179cfe9fd2e5fdda28675966703ca137cbfe6cc88760c2fbde55f76c464de060b58bfe0a516e22c0f59318cf85ae7cc01c5c6a73dd6ead
+DIST GeographicLib-1.52.tar.gz 2432658 BLAKE2B 87328de1774ab9aec05355362c9a1760cf62864135b97a3e9cb1382b0ec9825b032f6c67a5e02b762c3009a3876a9cd995e3a49a3ad3c051dcd36446b55d0191 SHA512 98a4d33764db4a4755851a7db639fd9e055dcf4f1f949258e112fce2e198076b5896fcae2c1ea36b37fe1000d28eec326636a730e70f25bc19a1610423ba6859


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2021-10-27  8:02 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2021-10-27  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c9cc4e4dd52f4579b3ea10754012ea7a59a15b39
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Aug 24 22:56:31 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Oct 27 08:02:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9cc4e4d

sci-geosciences/GeographicLib: remove call to python_compile_all

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22097
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
index 892d850baaa..52e3cdd8b42 100644
--- a/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
@@ -62,7 +62,6 @@ src_compile() {
 		pushd "python" || die
 		python_foreach_impl distutils-r1_python_compile
 		popd || die
-		python_compile_all
 	fi
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2022-06-12 15:34 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2022-06-12 15:34 UTC (permalink / raw
  To: gentoo-commits

commit:     6af7f816b2751b67fa9192c31f3463dce63d7034
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 15:25:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 15:25:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af7f816

sci-geosciences/GeographicLib: fix distutils-r1 usage

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../GeographicLib/GeographicLib-1.52-r1.ebuild     | 105 +++++++++++++++++++++
 1 file changed, 105 insertions(+)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
new file mode 100644
index 000000000000..f4efd91f1f92
--- /dev/null
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake distutils-r1
+
+MY_PN="${PN,,}"
+
+DESCRIPTION="C++ library for converting geographic coordinate systems"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/19"
+KEYWORDS="~amd64 ~arm"
+IUSE="doc examples python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	doc? (
+		>=app-doc/doxygen-1.8.7
+		>=dev-lang/perl-5.26.1-r1
+		>=dev-python/sphinx-1.6.3-r2
+		>=sys-apps/util-linux-2.31
+	)
+"
+
+distutils_enable_tests setup.py
+# there are additional docs in the python dir
+distutils_enable_sphinx python/doc
+
+src_prepare() {
+	cmake_src_prepare
+
+	if use python; then
+		pushd "python" || die
+		distutils-r1_src_prepare
+		popd || die
+	fi
+}
+
+src_configure() {
+	export GEODATAPATH="/usr/share/${MY_PN}"
+
+	local mycmakeargs=(
+		-DGEOGRAPHICLIB_DOCUMENTATION=$(usex doc ON OFF)
+		-DGEOGRAPHICLIB_LIB_TYPE="SHARED"
+		-DGEOGRAPHICLIB_DATA="${GEODATAPATH}"
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+
+	if use python; then
+		pushd "python" || die
+		distutils-r1_src_compile
+		popd || die
+	fi
+}
+
+src_test() {
+	cmake_src_test
+
+	if use python; then
+		pushd "python" || die
+		distutils-r1_src_test
+		popd || die
+	fi
+}
+
+src_install() {
+	cmake_src_install
+
+	# Remove python things added by the cmake_src_install function
+	rm -r "${ED}/usr/$(get_libdir)/python" || die
+	# If using Python, we re-add these python files for each implementation
+	if use python; then
+		pushd "python" || die
+		distutils-r1_src_install
+		popd || die
+	fi
+
+	# TODO: find out if java stuff need something
+
+	# Installs to wrong doc dir for some reason
+	# Also happens with USE="-doc"
+	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
+
+	if use examples; then
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+
+	insinto "/usr/share/maxima/${MY_PN}"
+	doins -r maxima/.
+
+	find "${D}" -name "*.la" -delete || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2022-06-12 15:34 Sam James
  0 siblings, 0 replies; 12+ messages in thread
From: Sam James @ 2022-06-12 15:34 UTC (permalink / raw
  To: gentoo-commits

commit:     1151f8a1b3bab04f79828f7ae5fe404a7528b932
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 15:28:25 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 15:28:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1151f8a1

sci-geosciences/GeographicLib: fix distutils-r1 usage

Closes: https://bugs.gentoo.org/846242
Closes: https://bugs.gentoo.org/799242
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
index f4efd91f1f92..18ac53badef6 100644
--- a/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
@@ -80,6 +80,7 @@ src_install() {
 
 	# Remove python things added by the cmake_src_install function
 	rm -r "${ED}/usr/$(get_libdir)/python" || die
+
 	# If using Python, we re-add these python files for each implementation
 	if use python; then
 		pushd "python" || die


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2022-12-25 23:39 Andreas Sturmlechner
  0 siblings, 0 replies; 12+ messages in thread
From: Andreas Sturmlechner @ 2022-12-25 23:39 UTC (permalink / raw
  To: gentoo-commits

commit:     317576c631118c719264b56ddc6916ce2ceab832
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 22:57:04 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 23:39:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317576c6

sci-geosciences/GeographicLib: drop 1.52

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../GeographicLib/GeographicLib-1.52.ebuild        | 105 ---------------------
 1 file changed, 105 deletions(-)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
deleted file mode 100644
index 52e3cdd8b428..000000000000
--- a/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit cmake distutils-r1
-
-MY_PN="${PN,,}"
-
-DESCRIPTION="C++ library for converting geographic coordinate systems"
-HOMEPAGE="https://sourceforge.net/projects/geographiclib/"
-SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/19"
-KEYWORDS="~amd64 ~arm"
-IUSE="doc examples python"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	doc? (
-		>=app-doc/doxygen-1.8.7
-		>=dev-lang/perl-5.26.1-r1
-		>=dev-python/sphinx-1.6.3-r2
-		>=sys-apps/util-linux-2.31
-	)
-"
-
-distutils_enable_tests setup.py
-# there are additional docs in the python dir
-distutils_enable_sphinx python/doc
-
-src_prepare() {
-	cmake_src_prepare
-
-	if use python; then
-		pushd "python" || die
-		distutils-r1_python_prepare_all
-		popd || die
-	fi
-}
-
-src_configure() {
-	export GEODATAPATH="/usr/share/${MY_PN}"
-
-	local mycmakeargs=(
-		-DGEOGRAPHICLIB_DOCUMENTATION=$(usex doc ON OFF)
-		-DGEOGRAPHICLIB_LIB_TYPE="SHARED"
-		-DGEOGRAPHICLIB_DATA="${GEODATAPATH}"
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-
-	if use python; then
-		pushd "python" || die
-		python_foreach_impl distutils-r1_python_compile
-		popd || die
-	fi
-}
-
-src_test() {
-	cmake_src_test
-
-	if use python; then
-		pushd "python" || die
-		python_foreach_impl python_test
-		popd || die
-	fi
-}
-
-src_install() {
-	cmake_src_install
-
-	# remove python things added by the cmake_src_install function
-	rm -r "${D}/usr/$(get_libdir)/python" || die
-	# if use python we re-add these python files for each implementation
-	if use python; then
-		pushd "python" || die
-		python_foreach_impl distutils-r1_python_install
-		popd || die
-	fi
-
-	#TODO: find out if java stuff need something
-
-	# Installs to wrong doc dir for some reason
-	# Also happens with USE="-doc"
-	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die
-
-	if use examples; then
-		dodoc -r examples
-		docompress -x "/usr/share/doc/${PF}/examples"
-	fi
-
-	insinto "/usr/share/maxima/${MY_PN}"
-	doins -r maxima/.
-
-	find "${D}" -name "*.la" -delete || die
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2023-02-21 21:35 Alfredo Tupone
  0 siblings, 0 replies; 12+ messages in thread
From: Alfredo Tupone @ 2023-02-21 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     145a5c1d8767951b14dbd529b5a6495d05b63539
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 21:34:25 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 21:35:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145a5c1d

sci-geosciences/GeographicLib: enable python 3.11

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

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

diff --git a/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52-r2.ebuild
similarity index 98%
rename from sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
rename to sci-geosciences/GeographicLib/GeographicLib-1.52-r2.ebuild
index 6acffe7cf2eb..2443936aaaec 100644
--- a/sci-geosciences/GeographicLib/GeographicLib-1.52-r1.ebuild
+++ b/sci-geosciences/GeographicLib/GeographicLib-1.52-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake distutils-r1
 


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2024-03-10 16:48 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2024-03-10 16:48 UTC (permalink / raw
  To: gentoo-commits

commit:     1c29709b3c9a9a91adabbf8b12561ed7e9ae463e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 16:38:54 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 16:47:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c29709b

sci-geosciences/GeographicLib: update maintainers

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-geosciences/GeographicLib/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-geosciences/GeographicLib/metadata.xml b/sci-geosciences/GeographicLib/metadata.xml
index 44742be323e4..8dea50ec86fb 100644
--- a/sci-geosciences/GeographicLib/metadata.xml
+++ b/sci-geosciences/GeographicLib/metadata.xml
@@ -5,6 +5,10 @@
 		<email>ros@gentoo.org</email>
 		<name>Gentoo ROS Project</name>
 	</maintainer>
+	<maintainer type="project">
+		<email>sci-geosciences@gentoo.org</email>
+		<name>Gentoo Geosciences Project</name>
+	</maintainer>
 	<upstream>
 		<maintainer status="active">
 			<email>charles@karney.com</email>


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

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/
@ 2024-03-10 16:48 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2024-03-10 16:48 UTC (permalink / raw
  To: gentoo-commits

commit:     fd6844e50f31693178a7c41561f28bdcaea2b4ab
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 16:24:21 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 16:47:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6844e5

sci-geosciences/GeographicLib: add 2.3

python bindings are now distributed separately

Closes: https://bugs.gentoo.org/851612
Closes: https://bugs.gentoo.org/923314
Closes: https://bugs.gentoo.org/910022
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../GeographicLib/GeographicLib-2.3.ebuild         | 48 ++++++++++++++++++++++
 sci-geosciences/GeographicLib/Manifest             |  1 +
 sci-geosciences/GeographicLib/metadata.xml         |  3 +-
 3 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild b/sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild
new file mode 100644
index 000000000000..007b8af4fdfa
--- /dev/null
+++ b/sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="${PN,,}"
+
+DESCRIPTION="C++ library for converting geographic coordinate systems"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib/ https://github.com/geographiclib/geographiclib"
+SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm"
+IUSE="doc"
+
+BDEPEND="
+	doc? (
+		>=app-text/doxygen-1.8.7
+		>=dev-lang/perl-5.26.1-r1
+		>=dev-python/sphinx-1.6.3-r2
+		>=sys-apps/util-linux-2.31
+	)
+"
+
+src_configure() {
+	export GEODATAPATH="/usr/share/${MY_PN}"
+
+	local mycmakeargs=(
+		-DBUILD_DOCUMENTATION=$(usex doc)
+		-DDOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+		-DEXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples"
+		-DBUILD_SHARED_LIBS=ON
+		-DGEOGRAPHICLIB_DATA="${GEODATAPATH}"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto "/usr/share/maxima/${MY_PN}"
+	doins -r maxima/.
+
+	find "${D}" -name "*.la" -delete || die
+}

diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest
index fb8fd5f02107..d0412af95773 100644
--- a/sci-geosciences/GeographicLib/Manifest
+++ b/sci-geosciences/GeographicLib/Manifest
@@ -1 +1,2 @@
 DIST GeographicLib-1.52.tar.gz 2432658 BLAKE2B 87328de1774ab9aec05355362c9a1760cf62864135b97a3e9cb1382b0ec9825b032f6c67a5e02b762c3009a3876a9cd995e3a49a3ad3c051dcd36446b55d0191 SHA512 98a4d33764db4a4755851a7db639fd9e055dcf4f1f949258e112fce2e198076b5896fcae2c1ea36b37fe1000d28eec326636a730e70f25bc19a1610423ba6859
+DIST GeographicLib-2.3.tar.gz 1701815 BLAKE2B 5695c5edd5b674f26f2fa21a835b155bca4c33177177750670fdf19f95ccb6d37eb13493b754820ccb22c5a05c8dc554da134eef37947a1d261d4ec6f6ebbcbe SHA512 1a1bd0fc2dc3e1372cf22618af3a4340bbc6497f94c64226c97654dfff92a4bf3acf47d91592741fe0c643d401d9721f680bdb4974b8ee258fb09d525fbaec67

diff --git a/sci-geosciences/GeographicLib/metadata.xml b/sci-geosciences/GeographicLib/metadata.xml
index e2f2a267068d..44742be323e4 100644
--- a/sci-geosciences/GeographicLib/metadata.xml
+++ b/sci-geosciences/GeographicLib/metadata.xml
@@ -10,9 +10,10 @@
 			<email>charles@karney.com</email>
 			<name>Charles Karney</name>
 		</maintainer>
-		<doc lang="en">https://geographiclib.sourceforge.io/html</doc>
+		<doc lang="en">https://geographiclib.sourceforge.io/html/</doc>
 		<bugs-to>https://sourceforge.net/p/geographiclib/bugs/</bugs-to>
 		<remote-id type="sourceforge">geographiclib</remote-id>
+		<remote-id type="github">geographiclib/geographiclib</remote-id>
 	</upstream>
 	<longdescription lang="en">
 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.


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

end of thread, other threads:[~2024-03-10 16:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-12 15:34 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-03-10 16:48 Andrew Ammerlaan
2024-03-10 16:48 Andrew Ammerlaan
2023-02-21 21:35 Alfredo Tupone
2022-12-25 23:39 Andreas Sturmlechner
2022-06-12 15:34 Sam James
2021-10-27  8:02 Andrew Ammerlaan
2021-08-06 14:35 Alexis Ballier
2021-08-06 14:35 Alexis Ballier
2021-08-06 14:35 Alexis Ballier
2021-06-09 14:55 Andrew Ammerlaan
2021-02-02 10:18 Alexis Ballier

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