diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-04 18:10:03 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-04 18:10:03 +0000 |
commit | 7c4d56db2ee1326252c3238d75ced88378018507 (patch) | |
tree | 3e96233d7fcd84ae68db89dd5882387c167322ba /sci-libs | |
parent | Block newer mathgl (diff) | |
download | historical-7c4d56db2ee1326252c3238d75ced88378018507.tar.gz historical-7c4d56db2ee1326252c3238d75ced88378018507.tar.bz2 historical-7c4d56db2ee1326252c3238d75ced88378018507.zip |
Added double-precision flag, linguas (only russian for now). Now blocks old udav. Fix numpy include directory (bug #429806), fix octave installation (bug #429804). Some of the features inspired from rion-overlay
Package-Manager: portage-2.2.01.20796-prefix/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/mathgl/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/mathgl/Manifest | 15 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch | 48 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-1.11.1.1.ebuild | 148 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-2.0.3.ebuild | 40 | ||||
-rw-r--r-- | sci-libs/mathgl/metadata.xml | 1 | ||||
-rw-r--r-- | sci-libs/netcdf/Manifest | 10 |
7 files changed, 103 insertions, 168 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog index 2c95a9ab927c..c63fe54b84a0 100644 --- a/sci-libs/mathgl/ChangeLog +++ b/sci-libs/mathgl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/mathgl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.28 2012/08/04 02:05:04 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.29 2012/08/04 18:10:02 bicatali Exp $ + + 04 Aug 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/mathgl-2.0.3-fix-hardcoded-paths.patch, -mathgl-1.11.1.1.ebuild, + mathgl-2.0.3.ebuild, metadata.xml: + Added double-precision flag, linguas (only russian for now). Now blocks old + udav. Fix numpy include directory (bug #429806), fix octave installation (bug + #429804). Some of the features inspired from rion-overlay *mathgl-2.0.3 (04 Aug 2012) diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest index 599b7b426377..846527397975 100644 --- a/sci-libs/mathgl/Manifest +++ b/sci-libs/mathgl/Manifest @@ -4,20 +4,19 @@ Hash: SHA256 AUX mathgl-1.10.2-gcc43.patch 345 SHA256 2165125d4677b882548530dc21a0368bf7ed27cab516ee6f78604f98b3b60ac9 SHA512 d6f22d026953a7fcdba17aae6e7a357ccbc48663cc96b4d3281648cd726049085085bc524fd5dc5b7855e2b76ae1a83afbfe010408083ecfd7eb21808f27bcd3 WHIRLPOOL d4c290edb3075239e64b699c3137f0f76f71ca9d05abeffe5fc545523d8de59989d3c08e328c14a47385fa72e3a5ae08e51a35e1d98d19f86a9512754898c4f8 AUX mathgl-1.11.2-cast.patch 8224 SHA256 8993235430372e9eda84eba5b5af3ac63aba386b830d13fdf249d580fcf17430 SHA512 7ab32d224a4197fd27608727fbf89afb03b7033fa004d11b12ac589b33de000b271cc2140644001dfd9d68af07ff9cdd718ae24507ca7392da5748f10cc03d76 WHIRLPOOL 1f98cfeab0a66d20dd26fc01db618ce4687f9d1d8a22b2844b2a38d9fabddfd24eff851cb78ad9c4eac1d86b24c8a27cf703c64af02901dae0f79a80323eaf5a AUX mathgl-1.11.2-zlib.patch 687 SHA256 417da2322b380ce538a1fc3abaa14f68130761e7a9c1221190142d55e926a007 SHA512 76b8989c08f2a6b322beb6cdd8b70dcb9b6ee6a30e8c3eff2ea50494b1132709dcaf9458765c35a6b74a527252fd7faafd8c001f71a6d5064158c489cb0fddaf WHIRLPOOL 2280fe947c1674e59fc467db33c305e20a59d012a4541d7ce4e931f1746332d4bd05537914f38cb9e8b98b0ae4898c5d55a79064611515c85948e19d5f4b270d +AUX mathgl-2.0.3-fix-hardcoded-paths.patch 2015 SHA256 3ec5d0d18aa353a4196baf6a0e1351bd602eb03042e2ff28e4d135c535517a78 SHA512 89d3817c9aebb907cd924c59d02ec0f8efd4c9562d0cc675f34ae669255e67fa8c5daabcf0050a331aba448ca151c0ac8d3d1790ee8c419a658fe4808beae148 WHIRLPOOL e27ace69e38dadc17ef2fe3bde17cf2bb62cc96c17419b41f52237b08a9a2c4f599cb16b0ae700a64c4132b5324c5ca19ead7753adf98c5fcb70a215be7cba78 AUX mathgl-octave-3.4.patch 396 SHA256 a6262a8e67a280cc19b8a0ab501c17400d46a91e0eb8b46967c5354f120380b6 SHA512 ece155d84d73ed3a067fbbdc81260dff63ff2d43304393b4e57fa4c22b23347073aefa55aa5efb28e5f55212f2527c39e7de196bd030906590de121736ad9808 WHIRLPOOL 9bbf023e85ebdfef6b198f7c4d714e2bd82bae818c8784db9aa0285809266d0b5586b11aea9af0f8140ca998462ea3bc3b132a65e8777496f33689f2921a3651 DIST STIX_font.tgz 2450541 SHA256 6408290fd4a5267637a88507344a8f07b908ce72f46ef93d09e068fedb67e8fe SHA512 c9124ec552074c98f15d6d3572a063598ca6bc598e3e78dcb5a5d57ae3928b5327a1374635f428ea1cefc9e51ee1d1aa9bd6ba9a306429fc6965140251d368b5 WHIRLPOOL 912a280ad550040c961a84fe48cfa2bd9bbcbad6c539b6126b4cbb5f9673ddd4ad5cc9e0d053fcb20cc6c12e1203aeaa3a05cf07360b16e2e7cbb13c0c42cc1e -DIST mathgl-1.11.1.1.tar.gz 4590143 SHA256 10f44bfdd7a03b9654088994b8bc7ebcb8b65d23d0c06327c30a8adc017389d2 DIST mathgl-1.11.2.tar.gz 4641427 SHA256 1602244136f42bf4b47a4880cb1ff599f6cce9dfb455f8accdbca668ed680e96 DIST mathgl-2.0.3.tar.gz 4024665 SHA256 f2b7d6a0106d854e78bf6933596a04f09bc011eae50466cafcd0b979981ccb7a SHA512 6c47e985d0fefb635b5453b9d21ed2a77675edffbfe70738cf475d5c99c0f96c8c8515263ed20ba323a1ee24c30ae02317a66313e78c78d30414c597354528f7 WHIRLPOOL 26bf5e3301dc66974dfc14021cc41b4117b20b6c7e00f181af4bfc46bc85b46a4c347fef55975489151fb2817469707547965cecdfa8fc8885fdf8dd0cededc2 -EBUILD mathgl-1.11.1.1.ebuild 3529 SHA256 357bbc8659879fbcf925a573d10629fc026033606b590f0632a3386c42b46d23 SHA512 330848499a00f67611a41fff3e2e4de99c0d0b3c04d8fbf999e18a884f9842ad83d14448ee8b217a7a5e0760475b37d6c6de0954ce34b6fc80cfa09953d42398 WHIRLPOOL f7709d1e878cadbdb437246344e9453a500ce9c5bf8ffcd688a41e1b889d87f8a6b8ba80ff14f37c4c1cfa877d17177887050c13b11cb8858cf434e5c40c57ee EBUILD mathgl-1.11.2.ebuild 3661 SHA256 ed8276e8c942f5cd53ab67731053a8c4526a1d35126a883c9aa1ca9a4d1d7b84 SHA512 8d479c63bfd9912c7588e261fa065b4c94e2e6d2496f24320a85de46d72e38a440396c3bd42e6f276a853d163efa3393718b09f2dc58b648d64eaeaa857d1b33 WHIRLPOOL 53d13788e4e7161b7705b98d0b208a3f000eb7384ef3446429d3fb291181d632019173fa2d762e1934a5d26889b124c90fa08e035d6f30bc72041c5de67cda69 -EBUILD mathgl-2.0.3.ebuild 3083 SHA256 b5dea476cf290d9fd405a93f93c8e466911e9c8987032ab6a5d0542e2cf59fee SHA512 dbdf65afcc6f616188638b1cb3918f0bb7155f0ba3c41c449fa9f53a6603f333e4de67d914a9a8d072efb673216d8afcaf37f7850826392adb64d1b2325cea1d WHIRLPOOL a98346ebb8028c4476e841825f0f9bf31f28b37e61082b90aa99a95d8b2c66b8e7e70fb00b2334b155f0d689986da3229ef3f4c573b19c057f17025930e1bbc2 -MISC ChangeLog 5554 SHA256 24a5f873ec84d0a541378bc53fe852b4805464b727234810db12fc5c3b9061e0 SHA512 ad1d68f9eb678116f5328359fc846306e4abbe79aa1be0749a2249a34f8da2b232a56feddefa1a2bac07b745f73df2bf0c314c463c1962c096d0c10436b38258 WHIRLPOOL 87095896717719d64d297c56598643cf23049c1f01188295559645d6fd4f21bc8428d3f029ae429debb3395cb08d57221066b6e304c1a10b377af6edf043082e -MISC metadata.xml 599 SHA256 051b1d85b88fb4fe72fe983a9a05301f8376d7c1f8e64dc1f3ff25e24376145d SHA512 7645f76e3e231e8895aa0c0a1ba51f03a31199380c40e66c4a6731f9f827df72781a92ee8718204a957215a762f80924b630d55b697f0b3e6cd1262d0e656071 WHIRLPOOL 4f0737c154c6f8f313b5cabf3263f7b9f251647abd859b09e0138682c98dd9354d03376f936a6ad796d256a20f6114dc8f9fe8fc60021ddc9eedf1c2a07585ed +EBUILD mathgl-2.0.3.ebuild 3813 SHA256 ef577122891c7fe04d1a2848b83c21d4a570b956cd5b15631e35cf65259318ab SHA512 13b74015a36bd464ac39bbaab0847b9bd48f6e4ab40f724aacd06376e9bdf908530c4a83e41dd2cb88a77dedd822b6cb70a21d380b8ac29971d9b19dd2ba737c WHIRLPOOL f1f17509bea6be750c80c07751ef471b4d98eaa69a4abbf7970783df66638b168a0df640b7ac9f9bc1dee05060e1be3b4af8e7c76cc0c0037863498da7dae61b +MISC ChangeLog 5939 SHA256 dc9ad43eda89476853eff397d6fd497dcfa09064daccc62618f6315ea35912fb SHA512 a07b096b7620f3b67c8930d287e13639692de27bbcf24fe6e72be1df3a9d81649aaa7e52a601767438949edc79ccf11aa7b0d1fcd0dbf3e4336767a4eabdcfae WHIRLPOOL ee8359a5773525ea96585d4b28e06fd93ba007fda9d568cd4b3edc0c72dca4f68dd4c82c5a98e8f7c8e22e85ca01a091ab738a01d9f4b51f5a7a1ef6f9d8b9cc +MISC metadata.xml 672 SHA256 a8b1e7cd5c6c56cb9bbdaf3e1730af292592342ac644714f0c5f8b89c282ff3a SHA512 26426d8d6c8e6420f107bda8edc737ed449efc380e4df507ee2ded99fe4810b6099c9dfbe0a8ca1ed640407afb9b106269efe6931a50a923b7d53ad95342d5aa WHIRLPOOL 87b174516e746b8e0c6f5bc38341653628da3b390df3d5d68b33a06b05a20281960f99a8bc1b2a060374fa22ba82dbae745c7ba94bc98ab3e99339d2c50aaf84 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlAcg1gACgkQ1ycZbhPLE2CuFACeIkFgwqEDyFDdZaZhbXgFlw3e -BcgAn3vD1Q25UJZyLnt3VrC++OYL2bxp -=2XIX +iEYEAREIAAYFAlAdZYAACgkQ1ycZbhPLE2COmQCdHVh2Wb2gVhU2yPlSz5dTBLCd +vP4AniwqJG9bKPOWQ6gtWkqliSoPRBsd +=tc8Y -----END PGP SIGNATURE----- diff --git a/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch b/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch new file mode 100644 index 000000000000..4a9a4b13a4a9 --- /dev/null +++ b/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch @@ -0,0 +1,48 @@ +diff -Nur mathgl-2.0_orig/include/mgl2/define.h mathgl-2.0/include/mgl2/define.h +--- mathgl-2.0_orig/include/mgl2/define.h 2012-04-12 18:12:24.000000000 +0700 ++++ mathgl-2.0/include/mgl2/define.h 2012-05-17 10:41:30.270686620 +0700 +@@ -84,7 +84,7 @@ + #ifdef WIN32
+ #define MGL_FONT_PATH "." // path to fonts
+ #else
+-#define MGL_FONT_PATH "/usr/local/share/mathgl/fonts" // path to fonts
++#define MGL_FONT_PATH "/usr/share/mathgl/fonts" // path to fonts
+ #endif
+ #endif
+ //-----------------------------------------------------------------------------
+diff -Nur mathgl-2.0_orig/udav/prop_dlg.cpp mathgl-2.0/udav/prop_dlg.cpp +--- mathgl-2.0_orig/udav/prop_dlg.cpp 2012-04-12 18:12:43.000000000 +0700 ++++ mathgl-2.0/udav/prop_dlg.cpp 2012-05-17 10:41:01.377677011 +0700 +@@ -111,7 +111,7 @@ + << QCoreApplication::applicationDirPath()+"/fonts";
+ filter << "*.vfm";
+ #ifndef WIN32
+- paths << "/usr/local/share/mathgl/fonts/" << "/usr/local/mathgl/fonts/";
++ paths << "/usr/share/mathgl/fonts/" << "/usr/mathgl/fonts/";
+ #endif
+ QFileInfoList info;
+ for(int i=0;i<paths.count();i++)
+diff -Nur mathgl-2.0_orig/udav/udav_wnd.cpp mathgl-2.0/udav/udav_wnd.cpp +--- mathgl-2.0_orig/udav/udav_wnd.cpp 2012-04-12 18:12:43.000000000 +0700 ++++ mathgl-2.0/udav/udav_wnd.cpp 2012-05-17 10:41:19.438683016 +0700 +@@ -70,7 +70,7 @@ + #ifdef WIN32 + #define UDAV_DIR "" + #else +-#define UDAV_DIR "/usr/local/share/udav/" ++#define UDAV_DIR "/usr/share/udav/" + #endif + #endif + //----------------------------------------------------------------------------- +diff -Nur mathgl-2.0_orig/udav/udav_wnd.h mathgl-2.0/udav/udav_wnd.h +--- mathgl-2.0_orig/udav/udav_wnd.h 2012-04-12 18:12:43.000000000 +0700 ++++ mathgl-2.0/udav/udav_wnd.h 2012-05-17 10:41:11.863680509 +0700 +@@ -30,7 +30,7 @@ + #ifdef WIN32 + #define MGL_DOC_DIR "" + #else +-#define MGL_DOC_DIR "/usr/local/share/doc/mathgl/" ++#define MGL_DOC_DIR "/usr/share/doc/mathgl/" + #endif + #endif + //----------------------------------------------------------------------------- diff --git a/sci-libs/mathgl/mathgl-1.11.1.1.ebuild b/sci-libs/mathgl/mathgl-1.11.1.1.ebuild deleted file mode 100644 index 2e30815f8734..000000000000 --- a/sci-libs/mathgl/mathgl-1.11.1.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.11.1.1.ebuild,v 1.2 2012/02/28 00:56:32 patrick Exp $ - -EAPI=3 - -WX_GTK_VER=2.8 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" - -inherit autotools wxwidgets python versionator toolchain-funcs - -DESCRIPTION="Math Graphics Library" -HOMEPAGE="http://mathgl.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_font.tgz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc fltk gif glut gsl hdf5 jpeg octave python qt4 wxwidgets" - -RDEPEND="media-libs/libpng - virtual/opengl - python? ( dev-python/numpy ) - glut? ( media-libs/freeglut ) - fltk? ( x11-libs/fltk:1 ) - gif? ( media-libs/giflib ) - jpeg? ( virtual/jpeg ) - hdf5? ( >=sci-libs/hdf5-1.8 ) - gsl? ( sci-libs/gsl ) - octave? ( >=sci-mathematics/octave-3.4.0 ) - qt4? ( x11-libs/qt-gui:4 ) - wxwidgets? ( x11-libs/wxGTK:2.8 )" -DEPEND="${RDEPEND} - >=sys-devel/libtool-2.2.4 - doc? ( app-text/texi2html virtual/texi2dvi ) - python? ( dev-lang/swig ) - octave? ( dev-lang/swig )" - -pkg_setup() { - if ! version_is_at_least "4.3.0" "$(gcc-version)"; then - eerror "You need >=gcc-4.3.0 to compile this package" - die "Wrong gcc version" - fi - if use hdf5 && has_version sci-libs/hdf5[mpi]; then - export CC=mpicc - export CXX=mpicxx - fi - use python && python_pkg_setup - use wxwidgets && wxwidgets_pkg_setup -} - -src_unpack() { - unpack ${A} - mkdir "${S}"/fonts - cd "${S}"/fonts - unpack STIX_font.tgz -} - -src_prepare() { - # bug #267061 - epatch "${FILESDIR}"/${PN}-1.10.2-gcc43.patch - - # bug #358245 - epatch "${FILESDIR}"/${PN}-octave-3.4.patch - - # correct location of numpy/arrayobject.h - if use python; then - sed \ - -e '/SUBDIRS/s:lang::g' \ - -i Makefile.am || die - fi - - echo "#!${EPREFIX}/bin/sh" > config/py-compile - - eautoreconf -} - -src_configure() { - econf --docdir="${ROOT}"usr/share/doc/${PF} \ - $(use_enable glut) \ - $(use_enable qt4 qt) \ - $(use_enable wxwidgets wx) \ - $(use_enable fltk) \ - $(use_enable gif) \ - $(use_enable jpeg) \ - $(use_enable hdf5 hdf5_18) \ - $(use_enable python) \ - $(use_enable octave) \ - $(use_enable gsl) \ - $(use_enable doc docs) -} - -src_compile() { - # see bug #249627 - local JOBS - use doc && JOBS=-j1 - emake ${JOBS} || die "emake failed" - - if use python; then - python_copy_sources lang - compilation() { - local numpy_h - numpy_h=$(python_get_sitedir)/numpy/core/include/numpy/arrayobject.h - einfo "fixing numpy.i for Python-${PYTHON_ABI}" - sed -e "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" \ - -i numpy.i \ - || die "sed failed" - emake PYTHON_HEADERS="-I$(python_get_includedir)" pyexecdir="$(python_get_sitedir)" - } - python_execute_function -s --source-dir lang compilation - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - if use python; then - installation() { - emake DESTDIR="${D}" PYTHON="$(PYTHON)" pyexecdir="$(python_get_sitedir)" pythondir="$(python_get_sitedir)" install - } - python_execute_function -s --source-dir lang installation - python_clean_installation_image - fi - dodoc README AUTHORS || die "dodoc failed" -} - -pkg_postinst() { - if use octave; then - octave <<-EOF - pkg install /usr/share/${PN}/octave/${PN}.tar.gz - EOF - fi - use python && python_mod_optimize ${PN}.py -} - -pkg_prerm() { - if use octave; then - octave <<-EOF - pkg uninstall ${PN} - EOF - fi -} - -pkg_postrm() { - use python && python_mod_cleanup ${PN}.py -} diff --git a/sci-libs/mathgl/mathgl-2.0.3.ebuild b/sci-libs/mathgl/mathgl-2.0.3.ebuild index b60641c3ff6a..25f5b4b256d4 100644 --- a/sci-libs/mathgl/mathgl-2.0.3.ebuild +++ b/sci-libs/mathgl/mathgl-2.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v 1.1 2012/08/04 02:05:04 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v 1.2 2012/08/04 18:10:02 bicatali Exp $ EAPI=4 @@ -15,10 +15,16 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_ LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl pdf png python - qt4 static-libs threads wxwidgets zlib" +IUSE="doc double-precision fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl pdf + png python qt4 static-libs threads wxwidgets zlib" + +LANGS="ru" +for l in ${LANGS}; do + IUSE+=" linguas_${l}" +done RDEPEND=" + !sci-visualization/udav virtual/opengl fltk? ( x11-libs/fltk:1 ) gif? ( media-libs/giflib ) @@ -64,13 +70,16 @@ src_prepare() { # bored of reporting bad libdir upstream sed -i \ -e '/DESTINATION/s:lib$:lib${LIB_SUFFIX}:g' \ - */CMakeLists.txt || diex + */CMakeLists.txt || die + echo "" > lang/install.m || die + epatch "${FILESDIR}"/${P}-fix-hardcoded-paths.patch } src_configure() { local mycmakeargs=( -DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include" $(cmake-utils_use doc enable-doc) + $(cmake-utils_use double-precision enable-double) $(cmake-utils_use fltk enable-fltk) $(cmake-utils_use gif enable-gif) $(cmake-utils_use glut enable-glut) @@ -89,14 +98,33 @@ src_configure() { $(cmake-utils_use zlib enable-zlib) ) cmake-utils_src_configure - sed -i -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \ - ${CMAKE_BUILD_DIR}/lang/cmake_install.cmake || die + # to whoever cares: TODO: do for multiple python ABI + if use python; then + sed -i \ + -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \ + "${CMAKE_BUILD_DIR}"/lang/cmake_install.cmake || die + # fix location of numpy + use python && append-cppflags \ + -I$(echo "import numpy; print numpy.get_include()" | "$(PYTHON)" - 2>/dev/null) + fi + } src_install() { cmake-utils_src_install dodoc README* *.txt AUTHORS use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a + if use qt4 ; then + local lang + insinto /usr/share/udav + for lang in ${LANGS} ; do + use linguas_${lang} && doins udav/udav_${lang}.qm + done + fi + if use octave ; then + insinto /usr/share/${PN}/octave + doins "${CMAKE_BUILD_DIR}"/lang/${PN}.tar.gz + fi } pkg_postinst() { diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml index e62c4243ffb4..a10fb761c3dc 100644 --- a/sci-libs/mathgl/metadata.xml +++ b/sci-libs/mathgl/metadata.xml @@ -14,5 +14,6 @@ </longdescription> <use> <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> + <flag name="double-precision">Add double precision calculations</flag> </use> </pkgmetadata> diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest index 4d7ffe0a7978..e6c0ecd25029 100644 --- a/sci-libs/netcdf/Manifest +++ b/sci-libs/netcdf/Manifest @@ -15,12 +15,12 @@ EBUILD netcdf-4.1.1-r4.ebuild 2322 SHA256 eb5e23da1c8651298d963e3fd1078cc79d805e EBUILD netcdf-4.1.3.ebuild 2121 SHA256 36b3eac5531dcc804d18335edfb60ca7e26300670b95c137049f63fc75258afd SHA512 7eddf9888289b19feb4cb3c8a2f792cc9fb84054d217cb81b8e5f46bcaa20b2ebabec5200971810ade0b5f217db71d3c880a0deadfa748b0cf8bc130f0f80b43 WHIRLPOOL 78a2a9da0b6902f7edb20d6c01e9f524828f96e9a9ef0b042354878e63d514b61f44bae0d33b20d2223e54a82558d3219baf95fd1af340efa1a4fcee3d0cfe8f EBUILD netcdf-4.2.1.ebuild 1203 SHA256 b9af921e3709d45a59d0e405e7e54a18f6c5850c15666b13f08285fc05b2751c SHA512 f14c427ae8a299594812d8a91c38dd25e6403e1cf280f1b1a027280ba3a9812fc4f3ad849a3737c80a856492752d6e04e4ec66e73461ef2598853bd3e731d826 WHIRLPOOL a47e9df718e3faa42db0dfb75f767a6cdf2d7da744d5482977137f6be527bba1cc8b0a4a1125db5a93d19528e11e5c4b20f519de375759a5de0f2e93d2285858 EBUILD netcdf-4.2.ebuild 1131 SHA256 a194d996cf5bd75b4df83750a7effb419eee15ca62ce26dc02c684e32bceb3be SHA512 0e6022871174e54042ae0db25eef2feea81a42a55005fae77566d1b1b39429a6466dc6dcc943b1635155306a1b885fc24158dea98c7bb3583717e7dc9c1017c4 WHIRLPOOL 06c7a2d8bc0471f1c04a3fc85a6f3a5c5695ff9ed640b57f18cc55ed6fb09b41e833317516822c40bd66938b1ef08ef07b57faaa9387934b4dcdc0b2af95d6e0 -MISC ChangeLog 18250 SHA256 efc8cd05f09282e4dc443924d4c306aac2f28b774648ac9bec55c0857c332bdd SHA512 47481574d258fb937f0c0a6b30860877b3890aa8bbafaf1c19046d1225b200cd1ffdc1175c78dc06b0b7edc917fe6d6d37d608be3fa6c477f3127b3d6e49cf9f WHIRLPOOL 3abab9bc688dbc0c47cf0bae0065e5100ff038d0877c293d392d04b4becdb47ec8fc3cba981460a8d6254e1dd7dabc633ef04d84c878f5180c23191a33867e5a -MISC metadata.xml 865 SHA256 a7e5fcd9fe0ddd889a8cc960f20fee5d43cd55e19baced8feef80edeaacd4137 SHA512 3bd39514564359ebeb5930c8084014df7ccb857e29a53c2e457ef4615573a9617f3a81b0d9618cfa5beec00592c1b75d26415c1313771bc74c652a39db2d778a WHIRLPOOL 74636f04284c91860c3449a91b9c6cce54c791f66ab41510e8aa03d78f76c9e6eecfc8f1b91264ac3d294639144e63422670f152805a2ae784697a961d724a97 +MISC ChangeLog 18335 SHA256 365170397e68eb88020879a275eaf9bbd7e44c024a1aebc0c69c54562cc9b5ec SHA512 04207f572cef98ccb197d8b3b1a151d107f6f22ea16efb28a01ab6f770de6f285c2f8aa186face38a343a20a8d1e30463816cb5e4fcd98c7974e7630c160d202 WHIRLPOOL d73680fa59cc896346a39bc6878e60458186a5036d776a1193cfcc871e5a2abb293f7b08871a9ff6a9eb67f78265a5baf2da321c9607e4dd493461b58609f792 +MISC metadata.xml 862 SHA256 9c27407b048f86a8cf1fd94d7bf30f68bfb742a6e793e1211c5900cab4e703cf SHA512 e16b6cf453424843cc4407540773f86ae1233843c3066dc230b6e58c1829ac0a5ddb4f8ed329f179a1ebfc63326c525811da276f01c533667da827f9194be43b WHIRLPOOL 8d3a040e1968b34eb850e1564a0e16353305fdf6728e38336a9cdbe230ecf9da101b44f77f7173d62108b8d86a983cb7675f7b5adaf9086967ceb104659eccb6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlAa7ckACgkQ1ycZbhPLE2BPfwCgjMcfyAa/U20T+/CL9iSEPVdb -HqwAoLRiJ1l/5V/AwTlmx006QoN76aL9 -=IZO7 +iEYEAREIAAYFAlAdZi8ACgkQ1ycZbhPLE2D7NACePfdDW+xN0LTx5s0yVzWDjZsr +KcQAn32KN1kIcPBE0BHs1OX0z/1MS36t +=cyUx -----END PGP SIGNATURE----- |