diff options
author | Matthias Maier <tamiko@gentoo.org> | 2016-01-16 12:26:39 +0100 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2016-01-16 12:33:13 +0100 |
commit | b98522085a371374df2b878fda7494bec8140591 (patch) | |
tree | 93750d65a5d035c0ebb0dfe4c9b8ca6abdd74971 /dev-lang/julia | |
parent | dev-lang/julia: version bump to 0.4.3 (bug 564338) (diff) | |
download | gentoo-b98522085a371374df2b878fda7494bec8140591.tar.gz gentoo-b98522085a371374df2b878fda7494bec8140591.tar.bz2 gentoo-b98522085a371374df2b878fda7494bec8140591.zip |
dev-lang/julia: drop old 0.2* versions
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-lang/julia')
-rw-r--r-- | dev-lang/julia/Manifest | 5 | ||||
-rw-r--r-- | dev-lang/julia/files/julia-0.2.1-patchelf.patch | 16 | ||||
-rw-r--r-- | dev-lang/julia/files/julia-0.2.1-readline63.patch | 17 | ||||
-rw-r--r-- | dev-lang/julia/julia-0.2.0-r1.ebuild | 106 | ||||
-rw-r--r-- | dev-lang/julia/julia-0.2.0.ebuild | 79 | ||||
-rw-r--r-- | dev-lang/julia/julia-0.2.1-r2.ebuild | 152 |
6 files changed, 0 insertions, 375 deletions
diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest index f7fb6e17c0d9..453f540e02ca 100644 --- a/dev-lang/julia/Manifest +++ b/dev-lang/julia/Manifest @@ -1,12 +1,7 @@ DIST dSFMT-src-2.2.tar.gz 291253 SHA256 bc3947a9b2253a869fcbab8ff395416cb12958be9dba10793db2cd7e37b26899 SHA512 e59d54166dc2df9f6e6abd68658c3624082feabe445215256fead47a8944c41578d11c2b4ba57eac174587a45e445b2aabd867db24fd9e951842513cf914f60b WHIRLPOOL 986b24d8c302f21e305a6bbc6b33e42678c27018c71c566d3f052ce7600fd06c81d77375d08b2b40c0c4aa93ca74cad819a34d0350e33a61f5837f27de7cf193 -DIST double-conversion-1.1.1.tar.gz 7012946 SHA256 e1cabb73fd69e74f145aea91100cde483aef8b79dc730fcda0a34466730d4d1d SHA512 e116196eb60077565050995b060049747a3c72e743eea21c6c9fb68414adc533d456d19e1ca241f08895cca97a38511477bdc7d2e0cae38d149c83cb9d6896ad WHIRLPOOL d69604fbb6e1b5cac8d4dd0f8cf0af4621e32548e9e5061dcb843067a3f821c6f52e918e3e367988076b9ccf0be0ab68107cc6a21b02f4de424a1d98b399fc33 -DIST dsfmt-2.2.tar.gz 291253 SHA256 bc3947a9b2253a869fcbab8ff395416cb12958be9dba10793db2cd7e37b26899 SHA512 e59d54166dc2df9f6e6abd68658c3624082feabe445215256fead47a8944c41578d11c2b4ba57eac174587a45e445b2aabd867db24fd9e951842513cf914f60b WHIRLPOOL 986b24d8c302f21e305a6bbc6b33e42678c27018c71c566d3f052ce7600fd06c81d77375d08b2b40c0c4aa93ca74cad819a34d0350e33a61f5837f27de7cf193 -DIST julia-0.2.0.tar.bz2 4393404 SHA256 fecde7b4fbd26093dedd04564ce12b47a232525bf036c7b5f392f369ddc9a514 SHA512 3e0718c69936959dc717cf511f8fd7086eedb2fd4996519fcdb54a0b0c38d09b5b1c7d239e9e42234aab869446feec88bfd40b5419ae74c9f15bf523a757e898 WHIRLPOOL 265650e99028260d1dfe76c504468eca23bad0881790893d8b4b6cd98b0b5a936dc064ee1b661a04c762e2d78d4d23243158f594afef27001c8b4a0de259afff -DIST julia-0.2.1.tar.gz 1899534 SHA256 be07283635b1bd73085f0152d3433762c1aaf115faa0e663a94d63f09c34f1b0 SHA512 67f89d88b2fca355482b2c979d50b865c9a772883bcec3b5cb82d0e096e168153972ada517d078fca1c13352b118ce9f031da162432308025f4437340d5d6635 WHIRLPOOL 22c12397e7bd217b628c3ba4e99f5e252011af1106c12abb4f796bcae544972e2d548f4858b30c7c5dfb6ef935fbc4181e3d5dbe3cc8a4bcac922f0b52d75fb3 DIST julia-0.3.0.tar.gz 2271301 SHA256 1e9778129231aeff4e5f6100b0b71d2dbc4306cfc92cf533e527907d4a7a9aa1 SHA512 1f5affffc24a62ba791af5edfd1051435a20866fb5c46796e6ddb5037b0bea482a79b86bf77cf76565fd7833d87a9b8f3f03df7d5f537b72c5655bddaaf3e033 WHIRLPOOL b908a2c0bfbe649d102071b6a3207a60cafa38370c3ab7bb10eec3fe258f6d7da76f30bd71f8deba7ab3d40068816ddbf6c7ee42c6b154c0f873c5c67e975d4c DIST julia-0.4.3-bundled.tar.gz 2678787 SHA256 9451160add4c1fa537762627abcd3dd5fecca9ce44f71c4140d89a4bb6b23392 SHA512 919ca7b99a6eb17a651ce24fe07e5c12bfcee54ce86fac8f744765195002e8f3330df9059fadd5af3408c1f7e067e247ad4bb135879ae4ae43e1457245f90db9 WHIRLPOOL 94bb022d4f1586dfdc2f52286db423cb09898a3a5dff2f2086ca111b9117dca808758351dada23cea1056a8e5c3b33f6919410c34af96a92a4a9f8b0e0758783 DIST julia-0.4.3.tar.gz 5563437 SHA256 b2c12b267c0d8eb380f6628e7be48c7ec46d2cfb5c585ecb3ca4cc442650e4e0 SHA512 7d5180c69573452c00563c7b98514fc9e4f0f70762912cf4f90cbf632e4b23ec149295ff1955164833ab94efd1feab992067996e3d60f795850542cf2f18f67f WHIRLPOOL 75c3ebf8cb1af67158896872e098bf66a8073eba3daf6cf5903471d34201e1605458e59f14c19ff5177413daee5aac102ec69a0afe9a93a219698a4640acaf33 -DIST libuv-julia-0.2.1.tar.gz 652078 SHA256 60a98962ab7e10c924604ccd3373083e8c376a01fcac4bf568058b1f6b026f81 SHA512 73cc9903d1d9d8b8aa8c02543058f4c407aa6b125eb26506f55115cab212bcb7c1af0d215c2b9ca771f135d3913c1490a510294d658bf8d5a6dbee3dd397226f WHIRLPOOL 42b204b8cb071919b796ed745150b848fabe94668d7fb92a39505c86fefa98f52812ac2bec05821214c7e2c7120b06a47eb66e4a1a2a3acc209264244773faa3 DIST libuv-julia-0.3.0.tar.bz2 13541514 SHA256 8bd7461a316ed67928f9bd0a83e9c45083500c9784561647f12bc05629519e26 SHA512 405df88e102d7a9700ff5c691059283b0509c5236855cba1cccd042493a4deda9397d010e4d6d8a2df8dd03cb6e82597471271bb6f2a58855c6bc6fe84caffcd WHIRLPOOL a4610ff4382767e02b24922ec8a5e8f7c2df7f53f7710a9270f0b32f53b5b015de64d8f1f466066fe4ce2305adb2bf996c903edb58345ea8e232bd9dd5bc6cfb DIST rmath-0_p20140821.tar.bz2 455123 SHA256 39ea3c27d757b811caeb36d3f5c40ba908365752fbf74e5fdeed42964df09947 SHA512 22442852e6042fe8ce78252af7e88718a33774d0f34f26dafcd4313bb077f718801d207dded7c5c3368bc7554074fdf5975c615dc35ea0b28b071f2d8f91baf8 WHIRLPOOL dd6de751c46a8e5ca84cf00ba19951b4f1fcc6b80375861f9eeaeea6d15f48cec77661318edc6542ec0bafeb9b05b2be27f5c97173171427c84f48eb24310d7e DIST utf8proc-v1.1.6.tar.gz 105825 SHA256 fedc8fa78022eb8f0584fbc85c9f9571bcd7fd510de0ce16955289c42f4199e7 SHA512 3bec2388298c201d9d6992cdd36330f1109d26a37b3411ba633f006f40da9e494ba0565051b763a7d3014e6113cd1e7754e6b95d5cbb2d7b50cee55193f0fdc1 WHIRLPOOL c211419407e80893b66fa7586a8148e9b2e45c89d2d31878658a4ae7f0b1ca72e269cef234ca8b30e27e4bac5a48715520dd546f6605af773d6e165ef76f81b0 diff --git a/dev-lang/julia/files/julia-0.2.1-patchelf.patch b/dev-lang/julia/files/julia-0.2.1-patchelf.patch deleted file mode 100644 index 663cf04b77db..000000000000 --- a/dev-lang/julia/files/julia-0.2.1-patchelf.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- deps/Makefile 2014-06-25 15:57:04.618463213 +0800 -+++ deps/Makefile.new 2014-06-25 16:06:36.342318418 +0800 -@@ -42,14 +42,7 @@ - endif - endif - --ifeq ($(OS), Linux) --ifneq ($(shell patchelf --version 2>/dev/null), patchelf 0.6) --STAGE1_DEPS += patchelf --PATCHELF=$(BUILD)/bin/patchelf --else - PATCHELF=patchelf --endif --endif - - ## USE_SYSTEM_LIBS options diff --git a/dev-lang/julia/files/julia-0.2.1-readline63.patch b/dev-lang/julia/files/julia-0.2.1-readline63.patch deleted file mode 100644 index cc9ede53f392..000000000000 --- a/dev-lang/julia/files/julia-0.2.1-readline63.patch +++ /dev/null @@ -1,17 +0,0 @@ -Description: Fix FTBFS against readline 6.3 -Origin: backport, https://github.com/JuliaLang/julia/commit/d2552e0f03d1dc23d6bb0c89c39da3d73c7aa4e5 -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741824 -Last-Update: 2014-03-16 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/ui/repl-readline.c -+++ b/ui/repl-readline.c -@@ -831,7 +831,7 @@ void jl_init_repl(int history) - rl_instream = fopen("/dev/null","r"); - prompt_length = 7; // == strlen("julia> ") - init_history(); -- rl_startup_hook = (Function*)init_rl; -+ rl_startup_hook = (rl_hook_func_t*)init_rl; - } - - static char *prompt_string=NULL; diff --git a/dev-lang/julia/julia-0.2.0-r1.ebuild b/dev-lang/julia/julia-0.2.0-r1.ebuild deleted file mode 100644 index 02596c5e06d1..000000000000 --- a/dev-lang/julia/julia-0.2.0-r1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=5 - -inherit eutils multilib pax-utils - -DESCRIPTION="High-level, high-performance dynamic programming language for technical computing" - -HOMEPAGE="http://julialang.org/" - -# uses gfortran in some places, dependencies don't reflect that yet - -# tarball remade because upstream lacks submodules, so it's not able to build -# soo ... they bundle a split out part of v8 that has no build system that makes sense -# double-conversion nailed in to make build system happy -# dSFMT is not meant to be packaged -SRC_URI="http://gentooexperimental.org/~patrick/${P}.tar.bz2 - http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-2.2.tar.gz -> dsfmt-2.2.tar.gz - https://double-conversion.googlecode.com/files/double-conversion-1.1.1.tar.gz" - -LICENSE="MIT" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="" - -S="${WORKDIR}" - -# Avoid fragile duplication - see compile and install phases -JULIAMAKEARGS="QUIET_MAKE= USE_SYSTEM_LLVM=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_LIBM=1 \ - USE_SYSTEM_GMP=1 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_ZLIB=1 \ - USE_SYSTEM_MPFR=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 \ - LLVM_CONFIG=/usr/bin/llvm-config USE_BLAS64=0" - -# Disabling use of 64-bit integers. If you want 64-bit integers then you need to use a BLAS implementation from the -# science overlay, and julia-9999 also from the science overlay. - -# scons is a dep of double-conversion -DEPEND=" - =sys-devel/llvm-3.3* - dev-lang/perl - sys-libs/readline - dev-libs/libpcre - dev-util/scons - dev-libs/gmp - sys-libs/libunwind - dev-util/patchelf - sci-libs/fftw - sys-libs/zlib - dev-libs/mpfr - sci-libs/suitesparse - sci-libs/arpack - virtual/lapack - virtual/blas - " -RDEPEND="sys-libs/readline" - -src_prepare() { - #uurgh, no fetching in ebuild - sed -i -e 's~$(JLDOWNLOAD)~/bin/true~' deps/Makefile || die "Oopsie" - sed -i -e 's~git submodule~/bin/true~g' deps/Makefile || die "Ooopsie" - # and we need to build stuff, so ... let's just copy around and pray! - mkdir -p deps/random - cp "${DISTDIR}/dsfmt-2.2.tar.gz" deps/random/ - cp "${DISTDIR}/double-conversion-1.1.1.tar.gz" deps/ - # Detect what BLAS and LAPACK implementations are being used - local BLAS_LIB="$($(tc-getPKG_CONFIG) --libs-only-l blas | sed 's/ .*$//')" - local LAPACK_LIB="$($(tc-getPKG_CONFIG) --libs-only-l lapack | sed 's/ .*$//')" - sed -e "s|-lblas|${BLAS_LIB}|" -i Make.inc || die - sed -e "s|libblas|${BLAS_LIB/-l/lib}.so|" -i Make.inc || die - sed -e "s|-llapack|${LAPACK_LIB}|" -i Make.inc || die - sed -e "s|liblapack|${LAPACK_LIB/-l/lib}.so|" -i Make.inc || die - sed -e "s|JL_PRIVATE_LIBDIR = lib/julia|JL_PRIVATE_LIBDIR = $(get_libdir)/julia|" \ - -e "s|JL_LIBDIR = lib|JL_LIBDIR = $(get_libdir)|" \ - -e "s|/usr/lib|/usr/$(get_libdir)|" \ - -e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \ - -i Make.inc || die - # Set version to package version instead of git commit number - sed -e "s|^JULIA_COMMIT = .*|JULIA_COMMIT = v${PV}|" -i Make.inc || die - sed -e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \ - -i Makefile || die -} - -src_compile() { - mkdir -p usr/$(get_libdir) || die - pushd usr || die - ln -s $(get_libdir) lib || die - popd - emake $JULIAMAKEARGS julia-release || die - for i in usr/bin/julia-* - do - if file ${i} | grep ELF >/dev/null; then - pax-mark m ${i} - fi - done - emake $JULIAMAKEARGS || die - # makefile weirdness - avoid compile in src_install - emake $JULIAMAKEARGS debug || die -} - -src_install() { - # config goes to /usr/etc/ - should be fixed - emake $JULIAMAKEARGS PREFIX="${D}/usr" install || die -} diff --git a/dev-lang/julia/julia-0.2.0.ebuild b/dev-lang/julia/julia-0.2.0.ebuild deleted file mode 100644 index 26bb1b84fde9..000000000000 --- a/dev-lang/julia/julia-0.2.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=5 - -inherit eutils - -DESCRIPTION="High-level, high-performance dynamic programming language for technical computing" - -HOMEPAGE="http://julialang.org/" - -# uses gfortran in some places, dependencies don't reflect that yet - -# tarball remade because upstream lacks submodules, so it's not able to build -# soo ... they bundle a split out part of v8 that has no build system that makes sense -# double-conversion nailed in to make build system happy -# dSFMT is not meant to be packaged -SRC_URI="http://gentooexperimental.org/~patrick/${P}.tar.bz2 - http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-2.2.tar.gz -> dsfmt-2.2.tar.gz - https://double-conversion.googlecode.com/files/double-conversion-1.1.1.tar.gz" - -LICENSE="MIT" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="" - -S="${WORKDIR}" - -# Avoid fragile duplication - see compile and install phases -JULIAMAKEARGS="QUIET_MAKE= USE_SYSTEM_LLVM=1 USE_SYSTEM_READLINE=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_LIBM=1 \ - USE_SYSTEM_GMP=1 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_ZLIB=1 \ - USE_SYSTEM_MPFR=1 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_ARPACK=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 \ - LLVM_CONFIG=/usr/bin/llvm-config" - -# scons is a dep of double-conversion -DEPEND=" - =sys-devel/llvm-3.3* - dev-lang/perl - sys-libs/readline - dev-libs/libpcre - dev-util/scons - dev-libs/gmp - sys-libs/libunwind - dev-util/patchelf - sci-libs/fftw - sys-libs/zlib - dev-libs/mpfr - sci-libs/suitesparse - sci-libs/arpack - virtual/lapack - virtual/blas - " -RDEPEND="sys-libs/readline" - -src_prepare() { - #uurgh, no fetching in ebuild - sed -i -e 's~$(JLDOWNLOAD)~/bin/true~' deps/Makefile || die "Oopsie" - sed -i -e 's~git submodule~/bin/true~g' deps/Makefile || die "Ooopsie" - # and we need to build stuff, so ... let's just copy around and pray! - mkdir -p deps/random - cp "${DISTDIR}/dsfmt-2.2.tar.gz" deps/random/ - cp "${DISTDIR}/double-conversion-1.1.1.tar.gz" deps/ - # Some cleanups to avoid an OpenBlas dep, and remove some useless git errors - sed -e "s|-lblas|$($(tc-getPKG_CONFIG) --libs blas)|" Make.inc || die - sed -e 's/$(shell git rev-parse --short=10 HEAD)/v0.2.0/' Make.inc || die -} - -src_compile() { - emake $JULIAMAKEARGS || die - # makefile weirdness - avoid compile in src_install - emake $JULIAMAKEARGS debug || die -} - -src_install() { - # config goes to /usr/etc/ - should be fixed - emake $JULIAMAKEARGS PREFIX="${D}/usr" install || die -} diff --git a/dev-lang/julia/julia-0.2.1-r2.ebuild b/dev-lang/julia/julia-0.2.1-r2.ebuild deleted file mode 100644 index 642fd7978e91..000000000000 --- a/dev-lang/julia/julia-0.2.1-r2.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit elisp-common eutils multilib pax-utils toolchain-funcs - -PDSFMT=dSFMT-src-2.2 - -DESCRIPTION="High-performance programming language for technical computing" -HOMEPAGE="http://julialang.org/" -SRC_URI=" - https://github.com/JuliaLang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/${PDSFMT}.tar.gz - https://dev.gentoo.org/~bicatali/distfiles/libuv-${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="emacs" - -RDEPEND=" - dev-lang/R:0= - dev-libs/double-conversion:0= - dev-libs/gmp:0= - dev-libs/libpcre:3= - dev-libs/mpfr:0= - sci-libs/arpack:0= - sci-libs/camd:0= - sci-libs/cholmod:0= - sci-libs/fftw:3.0= - sci-libs/openlibm:0= - sci-libs/spqr:0= - sci-libs/umfpack:0= - sci-mathematics/glpk:0= - =sys-devel/llvm-3.3* - >=sys-libs/libunwind-1.1:7= - sys-libs/readline:0= - sys-libs/zlib:0= - virtual/blas - virtual/lapack - emacs? ( app-emacs/ess )" - -DEPEND="${RDEPEND} - dev-util/patchelf - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/${P}-readline63.patch - epatch "${FILESDIR}"/${P}-patchelf.patch - - ln -s "${DISTDIR}"/${PDSFMT}.tar.gz deps/random/dsfmt-2.2.tar.gz || die - rmdir deps/libuv && ln -s "${WORKDIR}"/libuv deps/libuv - # no fetching in ebuild - # /usr/include/suitesparse is for debian only - # respect prefix, flags - sed -i \ - -e 's|$(JLDOWNLOAD)|${EPREFIX}/bin/true|' \ - -e 's|git submodule|${EPREFIX}/bin/true|g' \ - -e 's|^\(SUITESPARSE_INC\s*=\).*||g' \ - -e "s|-O3|${CFLAGS}|g" \ - -e 's|/usr/bin/||g' \ - -e "s|/usr/include|${EPREFIX%/}/usr/include|g" \ - deps/Makefile || die - - sed -i \ - -e "s|\(JULIA_EXECUTABLE = \)\(\$(JULIAHOME)/julia\)|\1 LD_LIBRARY_PATH=\$(BUILD)/$(get_libdir) \2|" \ - -e "s|-O3|${CFLAGS}|g" \ - -e "s|LIBDIR = lib|LIBDIR = $(get_libdir)|" \ - -e "s|/usr/lib|${EPREFIX}/usr/$(get_libdir)|" \ - -e "s|/usr/include|${EPREFIX}/usr/include|" \ - -e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|" \ - -e "s|^JULIA_COMMIT = .*|JULIA_COMMIT = v${PV}|" \ - Make.inc || die - - sed -i \ - -e "s|,lib)|,$(get_libdir))|g" \ - -e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \ - Makefile || die - - sed -i \ - -e "s|ar -rcs|$(tc-getAR) -rcs|g" \ - src/Makefile || die -} - -src_configure() { - # libuv is an incompatible fork from upstream, so don't use system one - cat <<-EOF > Make.user - LIBLAPACK=$($(tc-getPKG_CONFIG) --libs lapack) - LIBLAPACKNAME=$($(tc-getPKG_CONFIG) --libs lapack | sed -e "s/-l\([a-z0-9]*\).*/lib\1/") - USE_LLVM_SHLIB=1 - USE_SYSTEM_ARPACK=1 - USE_SYSTEM_BLAS=1 - USE_SYSTEM_FFTW=1 - USE_SYSTEM_GMP=1 - USE_SYSTEM_GRISU=1 - USE_SYSTEM_LAPACK=1 - USE_SYSTEM_LIBM=1 - USE_SYSTEM_LIBUNWIND=1 - USE_SYSTEM_LIBUV=0 - USE_SYSTEM_LLVM=1 - USE_SYSTEM_MPFR=1 - USE_SYSTEM_OPENLIBM=1 - USE_SYSTEM_PCRE=1 - USE_SYSTEM_READLINE=1 - USE_SYSTEM_RMATH=1 - USE_SYSTEM_SUITESPARSE=1 - USE_SYSTEM_ZLIB=1 - VERBOSE=1 - EOF -} - -src_compile() { - # Not parallel-safe, #514882 - emake -j1 cleanall - if [[ $(get_libdir) != lib ]]; then - mkdir -p usr/$(get_libdir) || die - ln -s $(get_libdir) usr/lib || die - fi - emake -j1 julia-release - pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}') - emake - use emacs && elisp-compile contrib/julia-mode.el -} - -src_test() { - emake test -} - -src_install() { - emake install PREFIX="${ED}/usr" - cat > 99julia <<-EOF - LDPATH=${EROOT%/}/usr/$(get_libdir)/julia - EOF - doenvd 99julia - - if use emacs; then - elisp-install "${PN}" contrib/julia-mode.el - elisp-site-file-install "${FILESDIR}"/63julia-gentoo.el - fi - dodoc README.md -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |