From 3517852e3b8a68d1e997770fc0650c5053bafc6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Jan 2022 01:27:12 +0000 Subject: gentoo resync : 04.01.2022 --- dev-lang/gdl/Manifest | 2 +- dev-lang/gdl/gdl-1.0.0_rc3-r1.ebuild | 153 +++++++++++++++++++++++++++++++++++ dev-lang/gdl/gdl-1.0.0_rc3.ebuild | 153 ----------------------------------- 3 files changed, 154 insertions(+), 154 deletions(-) create mode 100644 dev-lang/gdl/gdl-1.0.0_rc3-r1.ebuild delete mode 100644 dev-lang/gdl/gdl-1.0.0_rc3.ebuild (limited to 'dev-lang/gdl') diff --git a/dev-lang/gdl/Manifest b/dev-lang/gdl/Manifest index f30334fff807..650891085a2e 100644 --- a/dev-lang/gdl/Manifest +++ b/dev-lang/gdl/Manifest @@ -1,4 +1,4 @@ AUX gdl-1.0.0_rc3-cmake.patch 3673 BLAKE2B 81ede9a3b1fc6147ab528f49efabb140ff505a687ac6a4c1c3f91f0d652b9d13b866ecaefc9d4106011207379afbf390ab1e395a45da63954fd25b0e80bc86f6 SHA512 b4407bf99154ad8e6ad5d7635273b51df6a49b62e06aa18ce420e046380bc27fda74c37e4559fa136d28b5b4723b23d325bfce1b3340208f4b79ee5e0ee6e9d1 DIST gdl-1.0.0_rc3.tar.gz 32650313 BLAKE2B cdecfe0646e2271e2389e0a04f8da1e8de4534faf743f233169bccf326198025eff7fd7a7b62ed8bd05fa4a0222c6fd30f9469e3edf0f5b2991ef3ef545e616b SHA512 3fde22c7e709b9cdc72a23d2317c043037379c7903418211a699c7e5caa2ed17e78e32e6d2f9b4aa89200e729fc21555821140dfdd58a5a636a858e2841f6335 -EBUILD gdl-1.0.0_rc3.ebuild 3725 BLAKE2B 3f295895e2ae13ef8547c5f7dbe447afb466b7608e8975f73cfed9ecda8182aeafcbe0f45cd2cfa497e566e3a59862344dd834daaa93e365c45e830e8f4438a6 SHA512 10133b5a68dd42ed221a120ba86f428388770e8c39687d3ec35997c9690082be6e3c2da27c4b6e8ef58a4f58366cd7966937aed319ff9d2d71281048c799fddb +EBUILD gdl-1.0.0_rc3-r1.ebuild 3729 BLAKE2B 69a4bc43fe59e8e508312fed5756307065924677ea412ce8377f9a3140ff6e3d033e97039305c54c3847480bcbcedd41b1b889cd0262885b73d0bb6e5a0efb3d SHA512 e6e3467061d022ab3f05e6dadc1c4c6743aebd35030658635afd0eb949709ac220054d2f2a1cbe89de616f3c6a7b9461e2cafa6bb1414089b5fab2a2aa474eec MISC metadata.xml 1119 BLAKE2B e36af053e5044d594aeed2e45026dc38722b3c6dab634def3d96a7036de988570128ca84b74d33e88654825ebdbe7967bc5f147f0a6023e7bc81f621bb92571e SHA512 511a21fac0e0105f6175715f0b2d50575b3bb4f986e4abf961317a6ea5d0e83c802eea71b2317d581d0f3fc5a156e67bc3541a3707b5d68d2576180fa27da623 diff --git a/dev-lang/gdl/gdl-1.0.0_rc3-r1.ebuild b/dev-lang/gdl/gdl-1.0.0_rc3-r1.ebuild new file mode 100644 index 000000000000..8ad53af5da65 --- /dev/null +++ b/dev-lang/gdl/gdl-1.0.0_rc3-r1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" +PYTHON_COMPAT=( python3_{7..9} ) + +# gdl's build system is a travesty, and actually calls +# itself in the testsuite, which is something that ninja +# obviously doesn't support. +CMAKE_MAKEFILE_GENERATOR=emake + +inherit cmake python-r1 toolchain-funcs virtualx wxwidgets + +DESCRIPTION="GNU Data Language" +HOMEPAGE="https://github.com/gnudatalanguage/gdl" +SRC_URI="https://github.com/gnudatalanguage/gdl/archive/v$(ver_cut 1-3)-rc.$(ver_cut 5).tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+eigen fftw glpk graphicsmagick gshhs hdf hdf5 +imagemagick netcdf + openmp png proj postscript python tiff udunits wxwidgets" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dev-cpp/antlr-cpp:2= + dev-libs/expat + sci-libs/gsl:0= + sci-libs/plplot:0=[cxx,-dynamic] + sys-libs/ncurses:0= + sys-libs/readline:0= + sys-libs/zlib + x11-libs/libX11 + fftw? ( sci-libs/fftw:3.0= ) + glpk? ( sci-mathematics/glpk:= ) + gshhs? ( + sci-geosciences/gshhs-data + sci-geosciences/gshhs:0= + ) + hdf? ( sci-libs/hdf:0= ) + hdf5? ( sci-libs/hdf5:0= ) + imagemagick? ( + !graphicsmagick? ( media-gfx/imagemagick:=[cxx] ) + graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] ) + ) + netcdf? ( sci-libs/netcdf:= ) + proj? ( sci-libs/proj:= ) + postscript? ( dev-libs/pslib ) + python? ( + ${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + ) + tiff? ( + media-libs/tiff + sci-libs/libgeotiff + ) + udunits? ( sci-libs/udunits ) + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )" +DEPEND="${RDEPEND} + eigen? ( dev-cpp/eigen:3 )" +BDEPEND=" + dev-util/intltool + virtual/pkgconfig + python? ( app-admin/chrpath )" + +S="${WORKDIR}/${PN}-$(ver_cut 1-3)-rc.$(ver_cut 5)" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.0_rc3-cmake.patch ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + use wxwidgets && setup-wxwidgets unicode + use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx + + # remove bundled antlr + rm -r src/antlr || die + + # gentoo: avoid install files in datadir directory + # and manually install them in src_install + sed -e '/AUTHORS/d' -i CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # MPI is still very buggy + # x11=off does not compile + local mycmakeargs=( + -DMPI=OFF + -DREADLINE=ON + -DX11=ON + -DEXPAT=ON + -DEIGEN3=$(usex eigen) + -DFFTW=$(usex fftw) + -DGRIB=OFF + -DGLPK=$(usex glpk) + -DHDF=$(usex hdf) + -DHDF5=$(usex hdf5) + -DLIBPROJ4=$(usex proj) + -DNETCDF=$(usex netcdf) + -DOPENMP=$(usex openmp) + -DPNGLIB=$(usex png) + -DUDUNITS2=$(usex udunits) + -DWXWIDGETS=$(usex wxwidgets) + -DGRAPHICSMAGICK=$(usex imagemagick $(usex graphicsmagick)) + -DMAGICK=$(usex imagemagick $(usex !graphicsmagick)) + -DTIFF=$(usex tiff) + -DGEOTIFF=$(usex tiff) + -DSHAPELIB=OFF + -DPLPLOTDIR="${EPREFIX}"/usr/$(get_libdir) + ) + + configuration() { + mycmakeargs+=( "$@" ) + cmake_src_configure + } + configuration -DPYTHON_MODULE=OFF -DPYTHON=OFF + use python && python_foreach_impl configuration -DPYTHON_MODULE=ON -DPYTHON=ON +} + +src_compile() { + cmake_src_compile + use python && python_foreach_impl cmake_src_compile +} + +src_test() { + # there is check target instead of the ctest to define some LDPATH + virtx cmake_build check +} + +src_install() { + cmake_src_install + if use python; then + installation() { + chrpath -d src/GDL.so || die + python_domodule src/GDL.so + } + python_foreach_impl run_in_build_dir installation + dodoc PYTHON.txt + fi + + newenvd - 50gdl <<-_EOF_ + GDL_PATH="+${EPREFIX}/usr/share/gnudatalanguage" + _EOF_ +} diff --git a/dev-lang/gdl/gdl-1.0.0_rc3.ebuild b/dev-lang/gdl/gdl-1.0.0_rc3.ebuild deleted file mode 100644 index f87b63dfef64..000000000000 --- a/dev-lang/gdl/gdl-1.0.0_rc3.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WX_GTK_VER="3.0-gtk3" -PYTHON_COMPAT=( python3_{7..9} ) - -# gdl's build system is a travesty, and actually calls -# itself in the testsuite, which is something that ninja -# obviously doesn't support. -CMAKE_MAKEFILE_GENERATOR=emake - -inherit cmake python-r1 toolchain-funcs virtualx wxwidgets - -DESCRIPTION="GNU Data Language" -HOMEPAGE="https://github.com/gnudatalanguage/gdl" -SRC_URI="https://github.com/gnudatalanguage/gdl/archive/v$(ver_cut 1-3)-rc.$(ver_cut 5).tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+eigen fftw glpk graphicsmagick gshhs hdf hdf5 +imagemagick netcdf - openmp png proj postscript python tiff udunits wxwidgets" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-cpp/antlr-cpp:2= - dev-libs/expat - sci-libs/gsl:0= - sci-libs/plplot:0=[cxx,-dynamic] - sys-libs/ncurses:0= - sys-libs/readline:0= - sys-libs/zlib - x11-libs/libX11 - fftw? ( sci-libs/fftw:3.0= ) - glpk? ( sci-mathematics/glpk:= ) - gshhs? ( - sci-geosciences/gshhs-data - sci-geosciences/gshhs:0= - ) - hdf? ( sci-libs/hdf:0= ) - hdf5? ( sci-libs/hdf5:0= ) - imagemagick? ( - !graphicsmagick? ( media-gfx/imagemagick:=[cxx] ) - graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] ) - ) - netcdf? ( sci-libs/netcdf ) - proj? ( sci-libs/proj ) - postscript? ( dev-libs/pslib ) - python? ( - ${PYTHON_DEPS} - dev-python/numpy[${PYTHON_USEDEP}] - ) - tiff? ( - media-libs/tiff - sci-libs/libgeotiff - ) - udunits? ( sci-libs/udunits ) - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )" -DEPEND="${RDEPEND} - eigen? ( dev-cpp/eigen:3 )" -BDEPEND=" - dev-util/intltool - virtual/pkgconfig - python? ( app-admin/chrpath )" - -S="${WORKDIR}/${PN}-$(ver_cut 1-3)-rc.$(ver_cut 5)" - -PATCHES=( "${FILESDIR}"/${PN}-1.0.0_rc3-cmake.patch ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - use wxwidgets && setup-wxwidgets unicode - use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx - - # remove bundled antlr - rm -r src/antlr || die - - # gentoo: avoid install files in datadir directory - # and manually install them in src_install - sed -e '/AUTHORS/d' -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # MPI is still very buggy - # x11=off does not compile - local mycmakeargs=( - -DMPI=OFF - -DREADLINE=ON - -DX11=ON - -DEXPAT=ON - -DEIGEN3=$(usex eigen) - -DFFTW=$(usex fftw) - -DGRIB=OFF - -DGLPK=$(usex glpk) - -DHDF=$(usex hdf) - -DHDF5=$(usex hdf5) - -DLIBPROJ4=$(usex proj) - -DNETCDF=$(usex netcdf) - -DOPENMP=$(usex openmp) - -DPNGLIB=$(usex png) - -DUDUNITS2=$(usex udunits) - -DWXWIDGETS=$(usex wxwidgets) - -DGRAPHICSMAGICK=$(usex imagemagick $(usex graphicsmagick)) - -DMAGICK=$(usex imagemagick $(usex !graphicsmagick)) - -DTIFF=$(usex tiff) - -DGEOTIFF=$(usex tiff) - -DSHAPELIB=OFF - -DPLPLOTDIR="${EPREFIX}"/usr/$(get_libdir) - ) - - configuration() { - mycmakeargs+=( "$@" ) - cmake_src_configure - } - configuration -DPYTHON_MODULE=OFF -DPYTHON=OFF - use python && python_foreach_impl configuration -DPYTHON_MODULE=ON -DPYTHON=ON -} - -src_compile() { - cmake_src_compile - use python && python_foreach_impl cmake_src_compile -} - -src_test() { - # there is check target instead of the ctest to define some LDPATH - virtx cmake_build check -} - -src_install() { - cmake_src_install - if use python; then - installation() { - chrpath -d src/GDL.so || die - python_domodule src/GDL.so - } - python_foreach_impl run_in_build_dir installation - dodoc PYTHON.txt - fi - - newenvd - 50gdl <<-_EOF_ - GDL_PATH="+${EPREFIX}/usr/share/gnudatalanguage" - _EOF_ -} -- cgit v1.2.3