public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/julia: julia-0.2.1-r1.ebuild ChangeLog
@ 2014-06-25  8:09 Patrick Lauer (patrick)
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Lauer (patrick) @ 2014-06-25  8:09 UTC (permalink / raw
  To: gentoo-commits

patrick     14/06/25 08:09:38

  Modified:             ChangeLog
  Added:                julia-0.2.1-r1.ebuild
  Log:
  Fix patchelf detection #515058
  
  (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.10                 dev-lang/julia/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	25 Jun 2014 02:16:06 -0000	1.9
+++ ChangeLog	25 Jun 2014 08:09:38 -0000	1.10
@@ -1,6 +1,12 @@
 # ChangeLog for dev-lang/julia
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.9 2014/06/25 02:16:06 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.10 2014/06/25 08:09:38 patrick Exp $
+
+*julia-0.2.1-r1 (25 Jun 2014)
+
+  25 Jun 2014; Patrick Lauer <patrick@gentoo.org>
+  +files/julia-0.2.1-patchelf.patch, +julia-0.2.1-r1.ebuild:
+  Fix patchelf detection #515058
 
   25 Jun 2014; Patrick Lauer <patrick@gentoo.org> julia-0.2.1.ebuild:
   Restrict parallel building #514882



1.1                  dev-lang/julia/julia-0.2.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: julia-0.2.1-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.1 2014/06/25 08:09:38 patrick Exp $

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
	http://dev.gentoo.org/~bicatali/distfiles/libuv-${P}.tar.gz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="emacs"

RDEPEND="${CDEPEND}
	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/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
		LIBBLAS=$($(tc-getPKG_CONFIG) --libs blas)
		LIBBLASNAME=$($(tc-getPKG_CONFIG) --libs blas | sed -e "s/-l\([a-z0-9]*\).*/lib\1/")
		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="${D}/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
}





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/julia: julia-0.2.1-r1.ebuild ChangeLog
@ 2014-06-25  8:13 Patrick Lauer (patrick)
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Lauer (patrick) @ 2014-06-25  8:13 UTC (permalink / raw
  To: gentoo-commits

patrick     14/06/25 08:13:58

  Modified:             julia-0.2.1-r1.ebuild ChangeLog
  Log:
  Add missing camd dependency
  
  (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.2                  dev-lang/julia/julia-0.2.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?r1=1.1&r2=1.2

Index: julia-0.2.1-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- julia-0.2.1-r1.ebuild	25 Jun 2014 08:09:38 -0000	1.1
+++ julia-0.2.1-r1.ebuild	25 Jun 2014 08:13:58 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.1 2014/06/25 08:09:38 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.2 2014/06/25 08:13:58 patrick Exp $
 
 EAPI=5
 
@@ -28,6 +28,7 @@
 	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=



1.11                 dev-lang/julia/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	25 Jun 2014 08:09:38 -0000	1.10
+++ ChangeLog	25 Jun 2014 08:13:58 -0000	1.11
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/julia
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.10 2014/06/25 08:09:38 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.11 2014/06/25 08:13:58 patrick Exp $
+
+  25 Jun 2014; Patrick Lauer <patrick@gentoo.org> julia-0.2.1-r1.ebuild:
+  Add missing camd dependency
 
 *julia-0.2.1-r1 (25 Jun 2014)
 





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/julia: julia-0.2.1-r1.ebuild ChangeLog
@ 2014-06-25  8:34 Patrick Lauer (patrick)
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Lauer (patrick) @ 2014-06-25  8:34 UTC (permalink / raw
  To: gentoo-commits

patrick     14/06/25 08:34:58

  Modified:             julia-0.2.1-r1.ebuild ChangeLog
  Log:
  Fix llvm dependency #515062
  
  (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.3                  dev-lang/julia/julia-0.2.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?r1=1.2&r2=1.3

Index: julia-0.2.1-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- julia-0.2.1-r1.ebuild	25 Jun 2014 08:13:58 -0000	1.2
+++ julia-0.2.1-r1.ebuild	25 Jun 2014 08:34:58 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.2 2014/06/25 08:13:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.3 2014/06/25 08:34:58 patrick Exp $
 
 EAPI=5
 
@@ -35,7 +35,7 @@
 	sci-libs/spqr:0=
 	sci-libs/umfpack:0=
 	sci-mathematics/glpk:0=
-	>=sys-devel/llvm-3.3
+	=sys-devel/llvm-3.3*
 	>=sys-libs/libunwind-1.1:7=
 	sys-libs/readline:0=
 	sys-libs/zlib:0=



1.12                 dev-lang/julia/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	25 Jun 2014 08:13:58 -0000	1.11
+++ ChangeLog	25 Jun 2014 08:34:58 -0000	1.12
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/julia
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.11 2014/06/25 08:13:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.12 2014/06/25 08:34:58 patrick Exp $
+
+  25 Jun 2014; Patrick Lauer <patrick@gentoo.org> julia-0.2.1-r1.ebuild:
+  Fix llvm dependency #515062
 
   25 Jun 2014; Patrick Lauer <patrick@gentoo.org> julia-0.2.1-r1.ebuild:
   Add missing camd dependency





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-lang/julia: julia-0.2.1-r1.ebuild ChangeLog
@ 2014-07-03 16:29 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2014-07-03 16:29 UTC (permalink / raw
  To: gentoo-commits

bicatali    14/07/03 16:29:52

  Modified:             julia-0.2.1-r1.ebuild ChangeLog
  Log:
  Install properly for prefix
  
  (Portage version: 2.2.10.1-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

Revision  Changes    Path
1.4                  dev-lang/julia/julia-0.2.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild?r1=1.3&r2=1.4

Index: julia-0.2.1-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- julia-0.2.1-r1.ebuild	25 Jun 2014 08:34:58 -0000	1.3
+++ julia-0.2.1-r1.ebuild	3 Jul 2014 16:29:52 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.3 2014/06/25 08:34:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/julia-0.2.1-r1.ebuild,v 1.4 2014/07/03 16:29:52 bicatali Exp $
 
 EAPI=5
 
@@ -132,7 +132,7 @@
 }
 
 src_install() {
-	emake install PREFIX="${D}/usr"
+	emake install PREFIX="${ED}/usr"
 	cat > 99julia <<-EOF
 		LDPATH=${EROOT%/}/usr/$(get_libdir)/julia
 	EOF



1.13                 dev-lang/julia/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/julia/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	25 Jun 2014 08:34:58 -0000	1.12
+++ ChangeLog	3 Jul 2014 16:29:52 -0000	1.13
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/julia
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.12 2014/06/25 08:34:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/julia/ChangeLog,v 1.13 2014/07/03 16:29:52 bicatali Exp $
+
+  03 Jul 2014; Sébastien Fabbro <bicatali@gentoo.org> julia-0.2.1-r1.ebuild:
+  Install properly for prefix
 
   25 Jun 2014; Patrick Lauer <patrick@gentoo.org> julia-0.2.1-r1.ebuild:
   Fix llvm dependency #515062





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-03 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25  8:34 [gentoo-commits] gentoo-x86 commit in dev-lang/julia: julia-0.2.1-r1.ebuild ChangeLog Patrick Lauer (patrick)
  -- strict thread matches above, loose matches on Subject: below --
2014-07-03 16:29 Sebastien Fabbro (bicatali)
2014-06-25  8:13 Patrick Lauer (patrick)
2014-06-25  8:09 Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox