From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56F2B1396D0 for ; Sat, 16 Sep 2017 05:27:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9AB61FC126; Sat, 16 Sep 2017 05:27:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77BC21FC126 for ; Sat, 16 Sep 2017 05:27:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62EFB33BEAE for ; Sat, 16 Sep 2017 05:27:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B1A09073 for ; Sat, 16 Sep 2017 05:27:52 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1505538763.1a7e72ca169b1489556a9a11ec08c9749b588912.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/julia/julia-9999.ebuild X-VCS-Directories: dev-lang/julia/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 1a7e72ca169b1489556a9a11ec08c9749b588912 X-VCS-Branch: master Date: Sat, 16 Sep 2017 05:27:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f54509fc-4bb9-4cf2-b671-c84f74e40b15 X-Archives-Hash: 5c0d2bcf1c0b4a1db125a99b07190642 commit: 1a7e72ca169b1489556a9a11ec08c9749b588912 Author: Matthias Maier gentoo org> AuthorDate: Sat Sep 16 05:12:43 2017 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sat Sep 16 05:12:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7e72ca dev-lang/julia: Update live ebuild Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-lang/julia/julia-9999.ebuild | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/dev-lang/julia/julia-9999.ebuild b/dev-lang/julia/julia-9999.ebuild index 27c15e1646a..60063c60f85 100644 --- a/dev-lang/julia/julia-9999.ebuild +++ b/dev-lang/julia/julia-9999.ebuild @@ -15,7 +15,7 @@ EGIT_REPO_URI="https://github.com/JuliaLang/julia.git" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="emacs" +IUSE="" RDEPEND=" dev-lang/R:0= @@ -30,15 +30,15 @@ RDEPEND=" sci-libs/fftw:3.0=[threads] sci-libs/openlibm:0= sci-libs/spqr:0= + >=dev-libs/libpcre2-10.23:0=[jit] sci-libs/umfpack:0= sci-mathematics/glpk:0= >=sys-devel/llvm-4.0.0:= >=sys-libs/libunwind-1.1:7= sys-libs/readline:0= sys-libs/zlib:0= - >=virtual/blas-1.1 - virtual/lapack - emacs? ( app-emacs/ess )" + >=virtual/blas-3.6 + virtual/lapack" DEPEND="${RDEPEND} dev-util/patchelf @@ -95,12 +95,14 @@ src_prepare() { } src_configure() { - # julia does not play well with the system versions of - # dsfmt, libuv, pcre2 and utf8proc + # julia does not play well with the system versions of dsfmt, libuv, + # and utf8proc + + # USE_SYSTEM_LIBM=0 implies using external openlibm cat <<-EOF > Make.user USE_SYSTEM_DSFMT=0 USE_SYSTEM_LIBUV=0 - USE_SYSTEM_PCRE=0 + USE_SYSTEM_PCRE=1 USE_SYSTEM_RMATH=0 USE_SYSTEM_UTF8PROC=0 USE_LLVM_SHLIB=1 @@ -111,7 +113,7 @@ src_configure() { USE_SYSTEM_GRISU=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_LIBGIT2=1 - USE_SYSTEM_LIBM=1 + USE_SYSTEM_LIBM=0 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_LLVM=1 USE_SYSTEM_MPFR=1 @@ -133,11 +135,10 @@ src_compile() { addpredict /proc/self/mem emake cleanall - emake julia-release \ + emake VERBOSE=1 julia-release \ prefix="/usr" DESTDIR="${D}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" pax-mark m $(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}') emake - use emacs && elisp-compile contrib/julia-mode.el } src_test() { @@ -152,28 +153,15 @@ src_install() { 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 mv "${ED}"/usr/etc/julia "${ED}"/etc || die rmdir "${ED}"/usr/etc || die - rmdir "${ED}"/usr/libexec || die mv "${ED}"/usr/share/doc/julia/{examples,html} \ - "${ED}"/usr/share/doc/${P} || die + "${ED}"/usr/share/doc/${PF} || die rmdir "${ED}"/usr/share/doc/julia || die if [[ $(get_libdir) != lib ]]; then mkdir -p "${ED}"/usr/$(get_libdir) || die mv "${ED}"/usr/lib/julia "${ED}"/usr/$(get_libdir)/julia || die fi } - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -}