1 |
commit: b3f5076cbb154f273ea52417f3a6542dc964cf49 |
2 |
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl> |
3 |
AuthorDate: Mon Dec 24 18:05:27 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 7 21:35:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f5076c |
7 |
|
8 |
dev-lang/julia-bin: new package |
9 |
|
10 |
Bug: https://bugs.gentoo.org/665192 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/10692 |
12 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
13 |
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl> |
14 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
15 |
|
16 |
dev-lang/julia-bin/Manifest | 5 ++++ |
17 |
dev-lang/julia-bin/julia-bin-1.0.3.ebuild | 43 +++++++++++++++++++++++++++++++ |
18 |
dev-lang/julia-bin/metadata.xml | 31 ++++++++++++++++++++++ |
19 |
3 files changed, 79 insertions(+) |
20 |
|
21 |
diff --git a/dev-lang/julia-bin/Manifest b/dev-lang/julia-bin/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..8ca65159df5 |
24 |
--- /dev/null |
25 |
+++ b/dev-lang/julia-bin/Manifest |
26 |
@@ -0,0 +1,5 @@ |
27 |
+DIST julia-1.0.3-freebsd-x86_64.tar.gz 79521844 BLAKE2B b635bd6d5bca4800433956c5be6151d34165c9780a55fa491298cfb1da97ec99e6108a44b0fb5fe79f48cc4342344bc480a3afe44c0abea7367670978fd10794 SHA512 36037443b53f1412841d6a56fc8fcc6b979bcc35b2f2de29984bd386d89f64daaf7d18512f8ac04dbadc531bdbc1a8966c1701008878792a10608cccb9b59635 |
28 |
+DIST julia-1.0.3-linux-aarch64.tar.gz 72764975 BLAKE2B 148a434f0867bfb55be7417f85e539e6bb48c6a91d24951e983986091b3d418688202c7f2e6169c1f4b85328e3066d6418e8ec50093a590c26294a72f92a93d9 SHA512 a6a143c3709646ae30e9ca66a714b4226340f6de8cdd18e2b2d0f4ae612fec5136097f69b40554c4a39486a6c1222fba192a3bd304d195263e92152c20df0714 |
29 |
+DIST julia-1.0.3-linux-armv7l.tar.gz 78956998 BLAKE2B 53ccdf59a5d9e898dc9310411e1d127b2acf8da89e8d539409a3c0e9df0eb804dff83116a4627e7883752f462834ad7a88973b787cb0f9360eb652f4f86414d4 SHA512 1e0145c2ca58eac5f5a1b92e5f7a72b04b468acb073e92635a6d3e7921431da1aa5ad01ef07d5df2bbe7637870a7e9986faca4f1d9fc815cf880ec85b1be630b |
30 |
+DIST julia-1.0.3-linux-i686.tar.gz 84731342 BLAKE2B 455c88880eb57c5fecb38393664b922478f2e289024004e184eca8adee1093a64e88f1d281bcdbbdde1f29827ccc81b394487a4aa9761dd4922e0c774db5ebac SHA512 166c563f41750cc21329791bf55ba52a12a10dcdd54aea6d8d67e763eba6237042cde03fdac404684b7952602212dac66262dba4703eba9921b86813b76110a3 |
31 |
+DIST julia-1.0.3-linux-x86_64.tar.gz 88732284 BLAKE2B 616f483804394ae17e1845835b2a49f862c9c9144f4deee38696b56e3d5d26ceee41503c6b1fc9c9fedfa5275bc36c2ddb67e31faee9312a10e04a7c563c9898 SHA512 925b16dadb9c6be1d074b929be74815d38451efcdcadf94748edfe572b8f91c0bec72c4c8440673bf3c75987bc14970e6f4cb9799f0386b0e30fe4628e2cdeb3 |
32 |
|
33 |
diff --git a/dev-lang/julia-bin/julia-bin-1.0.3.ebuild b/dev-lang/julia-bin/julia-bin-1.0.3.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..efee49f0bbe |
36 |
--- /dev/null |
37 |
+++ b/dev-lang/julia-bin/julia-bin-1.0.3.ebuild |
38 |
@@ -0,0 +1,43 @@ |
39 |
+# Copyright 1999-2018 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+MY_PN=${PN/-bin/} |
44 |
+MY_P=${MY_PN}-${PV} |
45 |
+ |
46 |
+DESCRIPTION="High-performance programming language for technical computing" |
47 |
+HOMEPAGE="https://julialang.org/" |
48 |
+SRC_URI=" |
49 |
+ x86? ( https://julialang-s3.julialang.org/bin/linux/x86/1.0/${MY_P}-linux-i686.tar.gz ) |
50 |
+ amd64? ( https://julialang-s3.julialang.org/bin/linux/x64/1.0/${MY_P}-linux-x86_64.tar.gz ) |
51 |
+ arm? ( https://julialang-s3.julialang.org/bin/linux/armv7l/1.0/${MY_P}-linux-armv7l.tar.gz ) |
52 |
+ arm64? ( https://julialang-s3.julialang.org/bin/linux/aarch64/1.0/${MY_P}-linux-aarch64.tar.gz ) |
53 |
+ amd64-fbsd? ( https://julialang-s3.julialang.org/bin/freebsd/x64/1.0/${MY_P}-freebsd-x86_64.tar.gz ) |
54 |
+" |
55 |
+ |
56 |
+LICENSE="MIT" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd" |
59 |
+IUSE="elibc_glibc elibc_FreeBSD" |
60 |
+ |
61 |
+RDEPEND="!dev-lang/julia" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+ |
64 |
+S="${WORKDIR}/${MY_P}" |
65 |
+ |
66 |
+src_install() { |
67 |
+ insinto "/usr/$(get_libdir)/${MY_P}/" |
68 |
+ doins -r ./etc |
69 |
+ doins -r ./include |
70 |
+ doins -r ./lib |
71 |
+ doins -r ./share |
72 |
+ dosym "../$(get_libdir)/${MY_P}/bin/julia" "${EPREFIX}/usr/bin/julia" |
73 |
+ |
74 |
+ exeinto "/usr/$(get_libdir)/${MY_P}/bin" |
75 |
+ doexe bin/julia |
76 |
+ |
77 |
+ cat > 99julia-bin <<-EOF |
78 |
+ LDPATH=${EROOT%/}/opt/${MY_P} |
79 |
+ EOF |
80 |
+ doenvd 99julia-bin |
81 |
+} |
82 |
|
83 |
diff --git a/dev-lang/julia-bin/metadata.xml b/dev-lang/julia-bin/metadata.xml |
84 |
new file mode 100644 |
85 |
index 00000000000..33f454aec98 |
86 |
--- /dev/null |
87 |
+++ b/dev-lang/julia-bin/metadata.xml |
88 |
@@ -0,0 +1,31 @@ |
89 |
+<?xml version="1.0" encoding="UTF-8"?> |
90 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
91 |
+<pkgmetadata> |
92 |
+ <maintainer type="person"> |
93 |
+ <email>tamiko@g.o</email> |
94 |
+ <name>Matthias Maier</name> |
95 |
+ </maintainer> |
96 |
+ <maintainer type="person"> |
97 |
+ <email>jeffrey@××××××.nl</email> |
98 |
+ <name>Jeffrey Lin</name> |
99 |
+ </maintainer> |
100 |
+ <maintainer type="project"> |
101 |
+ <email>proxy-maint@g.o</email> |
102 |
+ <name>Proxy Maintainers</name> |
103 |
+ </maintainer> |
104 |
+ <longdescription lang="en"> |
105 |
+ Julia is a high-level, high-performance dynamic programming language for |
106 |
+ technical computing, with syntax that is familiar to users of other |
107 |
+ technical computing environments. It provides a sophisticated |
108 |
+ compiler, distributed parallel execution, numerical accuracy, and an |
109 |
+ extensive mathematical function library. The library, mostly written |
110 |
+ in Julia itself, also integrates mature, best-of-breed C and Fortran |
111 |
+ libraries for linear algebra, random number generation, FFTs, and |
112 |
+ string processing. Julia programs are organized around defining |
113 |
+ functions, and overloading them for different combinations of |
114 |
+ argument types (which can also be user-defined). |
115 |
+ </longdescription> |
116 |
+ <upstream> |
117 |
+ <remote-id type="github">JuliaLang/julia</remote-id> |
118 |
+ </upstream> |
119 |
+</pkgmetadata> |