diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-10-04 16:06:30 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-10-04 17:29:51 +0100 |
commit | a8a2aded90be39ba583eeac64d9f4501133e9daf (patch) | |
tree | 6429f55416437a9bf4f4154cd28351e5abc96989 /dev-scheme | |
parent | net-analyzer/testssl: new package (diff) | |
download | gentoo-a8a2aded90be39ba583eeac64d9f4501133e9daf.tar.gz gentoo-a8a2aded90be39ba583eeac64d9f4501133e9daf.tar.bz2 gentoo-a8a2aded90be39ba583eeac64d9f4501133e9daf.zip |
dev-scheme/racket: bump up to 6.2.1, bug #558852 by Amy Winston
While at it fixed broken sed magic by Nolan Eakins
Bug: https://bugs.gentoo.org/show_bug.cgi?id=558852
Package-Manager: portage-2.2.22
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/racket/Manifest | 2 | ||||
-rw-r--r-- | dev-scheme/racket/racket-6.2.1.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest index 1005abed7e7e..aee4d65fc33a 100644 --- a/dev-scheme/racket/Manifest +++ b/dev-scheme/racket/Manifest @@ -6,4 +6,6 @@ DIST racket-5.3.3-src-unix.tgz 18903284 SHA256 4772a01c0d1db32827b390b3239263f2a DIST racket-5.3.4-src-unix.tgz 19314579 SHA256 4d1fb86e001c497af674199f1ddff5534843bb94f21b9f0c1209b8bfdbad2d7b SHA512 35a05e31a11a8569d938af152a784358479cdad9f5007b04890d485ce92f04554df09d46179042478df96e018756b06e6c7c544b4f113272c31234b75ca740a9 WHIRLPOOL e114c4b18d4c18c8852627c9de207dd543e1f63b056bd1e8cbdecbe5e2a2a916d3144585ddb620c539ceb4c0710e0ee237803ffd4fa5b45e73434f7f017673e0 DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52 DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b +DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68 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 diff --git a/dev-scheme/racket/racket-6.2.1.ebuild b/dev-scheme/racket/racket-6.2.1.ebuild new file mode 100644 index 000000000000..20e48f09af84 --- /dev/null +++ b/dev-scheme/racket/racket-6.2.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS + +inherit eutils pax-utils +#inherit git-2 + +DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages" +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 )" +#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz" +EGIT_REPO_URI="git://git.racket-lang.org/plt.git" + +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}" + +EGIT_SOURCEDIR="${WORKDIR}/${P}" +S="${WORKDIR}/${P}/src" + +src_prepare() { + #remove bundled libraries + rm -rf foreign/libffi/ +} + +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) \ + $(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 + + #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 +} |