From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- .../GeographicLib/GeographicLib-1.50.1.ebuild | 31 ------ .../GeographicLib/GeographicLib-1.51-r1.ebuild | 111 --------------------- .../GeographicLib/GeographicLib-1.51.ebuild | 31 ------ .../GeographicLib/GeographicLib-1.52.ebuild | 106 ++++++++++++++++++++ sci-geosciences/GeographicLib/Manifest | 7 +- 5 files changed, 108 insertions(+), 178 deletions(-) delete mode 100644 sci-geosciences/GeographicLib/GeographicLib-1.50.1.ebuild delete mode 100644 sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild delete mode 100644 sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild create mode 100644 sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild (limited to 'sci-geosciences/GeographicLib') 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 65db138fee55..000000000000 --- 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-r1.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild deleted file mode 100644 index 50bc12fbb31a..000000000000 --- a/sci-geosciences/GeographicLib/GeographicLib-1.51-r1.ebuild +++ /dev/null @@ -1,111 +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" -# 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/GeographicLib-1.51.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.51.ebuild deleted file mode 100644 index 3721cff16459..000000000000 --- 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/GeographicLib-1.52.ebuild b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild new file mode 100644 index 000000000000..892d850baaac --- /dev/null +++ b/sci-geosciences/GeographicLib/GeographicLib-1.52.ebuild @@ -0,0 +1,106 @@ +# 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 + python_compile_all + 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 +} diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest index 87e449a0caaa..a7e4912f23d2 100644 --- a/sci-geosciences/GeographicLib/Manifest +++ b/sci-geosciences/GeographicLib/Manifest @@ -1,6 +1,3 @@ -DIST GeographicLib-1.50.1.tar.gz 2463854 BLAKE2B bed7d003dee92e794af993d8fef6cbf1233f9e3f37f53dd6026f16a237dba46bb4d4e2db7adea7931b632bb419288c9731c79cf65f15a4f35e95e8ada34a8f42 SHA512 1db874f30957a0edb8a1df3eee6db73cc993629e3005fe912e317a4ba908e7d7580ce483bb0054c4b46370b8edaec989609fb7e4eb6ba00c80182db43db436f1 -DIST GeographicLib-1.51.tar.gz 2470362 BLAKE2B 5e0a0f44d3b0c62ed7e28285b240cab07a7592e5bf4b181c25b62d8462bb7e2c21f6fcb09577c5f766578803c4b303fdb69af006d3ae62a8b5cb80e92b76236f SHA512 34487a09fa94a34d24179cfe9fd2e5fdda28675966703ca137cbfe6cc88760c2fbde55f76c464de060b58bfe0a516e22c0f59318cf85ae7cc01c5c6a73dd6ead -EBUILD GeographicLib-1.50.1.ebuild 681 BLAKE2B baf824caf5142d9491de3aec3c6d04b6f6d9ba8e0d3a432f693b2d5b456bc3871d71556bdc18168453443807a740b0cd4eabd884606b804e64723c721065c36d SHA512 da5adf122a846ad28c0890163048d728ce8e14b261c002165888e84282ae40b6cf2d478d80ab793792795907eb24a71e38bb1df1b4fa175dd366affc2955a46e -EBUILD GeographicLib-1.51-r1.ebuild 2512 BLAKE2B bd54d4b4de21675fe3f38591b14168de50eccad4eb5a7df4f4b73ac3748f41b03e305d4ba01dbe01a4bad409bae26ec143370cc34ea16b5ff283d4b7cd020ccb SHA512 838e0014e0e09ebcef32ebe7b45f4cdfd8d7edc36671d13268ddbe9a5f89ccb73d91670ec4a4eb00bb94b04c17e03478776070a91fba45131c26f0b500314201 -EBUILD GeographicLib-1.51.ebuild 681 BLAKE2B 83c23bbd938a3fc24dc88aa68b1d9a5a2568b868a3d014f1056016ab53ba77157c3296e544cdb3d8a438227547b3a4f96931b20f80d25f8a0369524b78e28c5c SHA512 fc69f3b0a756b037e9fa4bfbc577deb52ea5536da868bacb31a92719907a56854d8dc266390ddd7c057491474f44a81fb82524a50928d8d630e5a075b519b365 +DIST GeographicLib-1.52.tar.gz 2432658 BLAKE2B 87328de1774ab9aec05355362c9a1760cf62864135b97a3e9cb1382b0ec9825b032f6c67a5e02b762c3009a3876a9cd995e3a49a3ad3c051dcd36446b55d0191 SHA512 98a4d33764db4a4755851a7db639fd9e055dcf4f1f949258e112fce2e198076b5896fcae2c1ea36b37fe1000d28eec326636a730e70f25bc19a1610423ba6859 +EBUILD GeographicLib-1.52.ebuild 2203 BLAKE2B 218787f48f5b7d55aeb7dbeedae9b427101225e99bf1e4857ffeab9378455a229ea4621dd40514903c548c88b53c57be7dd03566d8a71554cdf765efa4482ecd SHA512 c2d375b60d1e05e78ff447145b180b0aae9586d57c67f22903721a7888ff3ed7d1063290b7a62d2be450786ecda87f16e03932f82c64222cac13e61749ca7a04 MISC metadata.xml 874 BLAKE2B d5534e73295e7cabf3d0b80547846b04cb5174a9c23f75a41e57e82a207bad3bd41232add45109e75cce6a10b4be311ebfa0bb7006d50ee611013aa1e3f13d87 SHA512 735095b1d41ee490568eea0572e3543bf85f44618d92ade74c4ff98c7dde1bcc5b9dd35942f0a3861dfab7066816eecefd741331563006425fc02f1cfd4ffaf3 -- cgit v1.2.3