summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-10-30 00:06:25 +0200
committerAmy Winston <amynka@gentoo.org>2016-10-30 00:08:42 +0200
commit9b4c716933e96370694a4a9408380984d9324ea5 (patch)
treeff454022e281c6cd74ce8939f76d71e2951aa8ad /dev-scheme
parentdev-python/jinja2-time: Initial version (diff)
downloadgentoo-9b4c716933e96370694a4a9408380984d9324ea5.tar.gz
gentoo-9b4c716933e96370694a4a9408380984d9324ea5.tar.bz2
gentoo-9b4c716933e96370694a4a9408380984d9324ea5.zip
dev-scheme/racket: version bump 6.7 bug #598304
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/racket/Manifest2
-rw-r--r--dev-scheme/racket/racket-6.7.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 4ff73088d53c..dd17ed1e987c 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -3,7 +3,9 @@ DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476
DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68
DIST racket-6.4-src-builtpkgs.tgz 120269476 SHA256 5feb8279d9b3b1adf8642714dcb4cb8514832cb17135174be8733b92e1a0078a SHA512 58ef8a27afe61a44ee65f00a1096dbbb833f5d2e8a1fddd1dd4a250164031358216c88c21ef6b9a3a84996a4317338175301493511c49e92a80135653af8159c WHIRLPOOL 9e4258bd2cdb1758546db7e149a8c3429f43f3fd71cafabb6fb3d7012098d56e68420bf743571adfd9082639da5455e4dbe98baa64a50746e5969af20b906378
DIST racket-6.5-src-builtpkgs.tgz 125157499 SHA256 9cfd20e7b68f6e7effaef144e184d7e67e1a2bab1df2b1c0b5fce8581f4c9457 SHA512 9ae2a0dd0fa6f5836ae27f48f1253626d76c0d79249a2b6bfb32aa20f9036897364bfea81a782d7b9bed782677608433cc2cfafc2bb0143e5aef1b1185d1d39a WHIRLPOOL de6fdb68d1e351f8f1e3556698fde70d3128b684d73618144692c19c392958934c3792e420329c3f4bef44a86853c577179d15fd0247fa9c8e13b54474525586
+DIST racket-6.7-src-builtpkgs.tgz 116773863 SHA256 3608a2d8b5dc5b755f014972140594e39110c5c391b556da43aa349d64c392ed SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127 WHIRLPOOL d4ee7c9cd61f79d7d6d5928ed697085a8f06c377cd80c10bfd68b5c250b3e901dcc8fad56d223ba27e486d00f7b926be49268a580137964023948d53837e05e5
DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea
DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53
DIST racket-minimal-6.4-src-builtpkgs.tgz 10880010 SHA256 cf717d4983f4198fce8973ead5d427bc9da78b73bd51fee16b58c894c2a146e8 SHA512 7ff59dcfe97e96d1d8a22b2cfcc28e32833742dae93839d0bcd80a43ff3834a02128681f9b9adab0f66ae99745f3b6cf87f6fa39f71f9a288f14cf22e6cc4629 WHIRLPOOL 74633074ed9f44e4c99c2eb0808ee393c8dbc66f84f2c9787ad1ab359bb4c60b3cda86a858d08fabe38680a8fe42e5f856c8baab780e9847aa3a2eb0fb1e0158
DIST racket-minimal-6.5-src-builtpkgs.tgz 11037268 SHA256 44fe95a4ec4d442b4f6f68e360104ca9715bd1fe3795d302d6cddaceb15696dc SHA512 d1c1e3333025c8c1f88bb21ad34d019745ad7e12779af1f2a2f1cc618b8a11735266dd1bc42158df3bdf3438f6dcde6322563874685e3a760dd2ec78018497f5 WHIRLPOOL 2cf320c52d7265782c89c674237efc49b25bc4721b89b5d6100052b504028102693dff08acd3a5c7757c9c7c665c4703f31c71781a7f3a6f73b79f05ca4047b2
+DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 SHA256 4203d9b51a0de7ea549db966cfa49a736f8605ab51e2f198cbdb9cfaf428b0f3 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285 WHIRLPOOL aadcd035595325320cd7d372f4b7773ef66b542056b0140066279fe9aa9bcb054d25157774040dcc65749ac528f0297e4a30787e2a37d52fae6888b005e62490
diff --git a/dev-scheme/racket/racket-6.7.ebuild b/dev-scheme/racket/racket-6.7.ebuild
new file mode 100644
index 000000000000..bf61ea17aa58
--- /dev/null
+++ b/dev-scheme/racket/racket-6.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit eutils pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
+RDEPEND="dev-db/sqlite:3
+ x11-libs/cairo[X?]
+ virtual/libffi"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+ default
+ #remove bundled libraries
+ rm -rf foreign/libffi/ || die "Bundled libraries libffi was not removed"
+}
+
+src_configure() {
+# according to vapier, we should use the bundled libtool
+# such that we don't preclude cross-compile. Thus don't use
+# --enable-lt=/usr/bin/libtool
+ econf \
+ $(use_enable X gracket) \
+ $(use_enable doc docs) \
+ --enable-shared \
+ $(use_enable jit) \
+ --enable-foreign \
+ $(use_enable places) \
+ $(use_enable futures) \
+ --enable-float \
+ --enable-libffi \
+ $(use_enable threads pthread)
+}
+
+src_compile() {
+ if use jit; then
+ pushd racket
+ emake cgc
+ pax-mark m .libs/racketcgc
+ emake 3m
+ pax-mark m .libs/racket3m
+ popd
+ fi
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ if ! use minimal; then
+ #racket now comes with desktop files, but DESTDIR is mishandled
+ for f in /usr/share/applications/{drracket,slideshow}.desktop; do
+ sed -e "s|${D}||g" \
+ -i "${D}/${f}" || die "Failed to patch '${f}'"
+ done
+ fi
+}