diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lang/scala-bin | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-lang/scala-bin')
-rw-r--r-- | dev-lang/scala-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/scala-bin/metadata.xml | 8 | ||||
-rw-r--r-- | dev-lang/scala-bin/scala-bin-2.11.6.ebuild | 77 | ||||
-rw-r--r-- | dev-lang/scala-bin/scala-bin-2.11.7.ebuild | 77 |
4 files changed, 164 insertions, 0 deletions
diff --git a/dev-lang/scala-bin/Manifest b/dev-lang/scala-bin/Manifest new file mode 100644 index 000000000000..d7dee547f9c1 --- /dev/null +++ b/dev-lang/scala-bin/Manifest @@ -0,0 +1,2 @@ +DIST scala-2.11.6.tgz 27130723 SHA256 41ba45e4600404634217a66d6b2c960459d3a67e0344a7c3d9642d0eaa446583 SHA512 aeb6dd1b586d4e66e01f268aa8a647a303f2f960cbe255e9c79ced978dad92b6cef3cba143945affa3427548daed6e5e1d607b9ecb4d7567adc886d64546da61 WHIRLPOOL 20c1bd8b905ad4f7d155d366637a2aeaeb50569025ba585a0e6e3bb2268068e7b74bed26769a9b3a1d1d662833b6d5f57781c7165ec84d1c63142cdd6edae294 +DIST scala-2.11.7.tgz 28460530 SHA256 ffe4196f13ee98a66cf54baffb0940d29432b2bd820bd0781a8316eec22926d0 SHA512 1603fc6a0a6b3656146eee5650e0a57402d8ce65382220055a4934acb8fa15a81721b3b732ca856566e99c564e8b0a9448c8887668a814765798bea57933e6a3 WHIRLPOOL 808db0b2eddf356ad259b21681a6465b666875da3ebc6f49be3f4c9da7358b36dec0b25b6c243725e92f27311a109f559ffc6f2c31dd19f115d665cff95ed8b5 diff --git a/dev-lang/scala-bin/metadata.xml b/dev-lang/scala-bin/metadata.xml new file mode 100644 index 000000000000..68b30527c024 --- /dev/null +++ b/dev-lang/scala-bin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>monsieurp@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-lang/scala-bin/scala-bin-2.11.6.ebuild b/dev-lang/scala-bin/scala-bin-2.11.6.ebuild new file mode 100644 index 000000000000..886fd7ba86ef --- /dev/null +++ b/dev-lang/scala-bin/scala-bin-2.11.6.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit java-pkg-2 + +DESCRIPTION="The Scala Programming Language" +HOMEPAGE="http://scala.epfl.ch/" +SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="doc" + +DEPEND="" +RDEPEND=">=virtual/jre-1.6 + !dev-lang/scala" + +JAVA_PKG_IUSE="doc" + +S=${WORKDIR}/scala-${PV} + +java_prepare() { + ebegin 'Cleaning .bat files' + rm -f bin/*.bat || die + eend $? + + ebegin 'Patching SCALA_HOME variable in bin/ scripts' + for f in bin/*; do + sed -i -e 's#\(SCALA_HOME\)=.*#\1=/usr/share/scala-bin#' $f || die + done + eend $? +} + +src_install() { + ebegin 'Installing bin scripts' + dobin bin/* + eend $? + + ebegin 'Installing jar files' + cd lib/ || die + + # Unversion those libs + java-pkg_newjar scala-continuations-library_*.jar scala-continuations-library.jar + java-pkg_newjar akka-actor_*.jar akka-actor.jar + java-pkg_newjar config-*.jar config.jar + java-pkg_newjar scala-actors-2.11.0.jar scala-actors.jar + java-pkg_newjar scala-actors-migration_*.jar scala-actors-migration.jar + java-pkg_newjar scala-swing_*.jar scala-swing.jar + java-pkg_newjar scala-parser-combinators_*.jar scala-parser-combinators.jar + java-pkg_newjar scala-xml_*.jar scala-xml.jar + java-pkg_newjar jline-*.jar jline.jar + java-pkg_newjar scala-continuations-plugin_*.jar scala-continuations-plugin.jar + java-pkg_newjar scalap-*.jar scalap.jar + + # Install these the usual way + java-pkg_dojar scala-compiler.jar + java-pkg_dojar scala-library.jar + java-pkg_dojar scala-reflect.jar + + eend $? + + cd ../ || die + + ebegin 'Installing man pages' + doman man/man1/*.1 + eend $? + + if use doc; then + ebegin 'Installing documentation' + java-pkg_dohtml -r doc/tools + eend $? + fi +} diff --git a/dev-lang/scala-bin/scala-bin-2.11.7.ebuild b/dev-lang/scala-bin/scala-bin-2.11.7.ebuild new file mode 100644 index 000000000000..24e2c4405b3a --- /dev/null +++ b/dev-lang/scala-bin/scala-bin-2.11.7.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc" + +inherit java-pkg-2 + +DESCRIPTION="The Scala Programming Language" +HOMEPAGE="http://scala.epfl.ch/" +SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND=">=virtual/jre-1.6 + !dev-lang/scala" + +S=${WORKDIR}/scala-${PV} + +java_prepare() { + ebegin 'Cleaning .bat files' + rm -f bin/*.bat || die + eend $? + + ebegin 'Patching SCALA_HOME variable in bin/ directory' + for f in bin/*; do + sed -i -e 's#\(SCALA_HOME\)=.*#\1=/usr/share/scala-bin#' $f || die + done + eend $? +} + +src_install() { + ebegin 'Installing bin scripts' + dobin bin/* + eend $? + + ebegin 'Installing jar files' + cd lib/ || die + + # Unversion those libs + java-pkg_newjar scala-continuations-library_*.jar scala-continuations-library.jar + java-pkg_newjar akka-actor_*.jar akka-actor.jar + java-pkg_newjar config-*.jar config.jar + java-pkg_newjar scala-actors-2.11.0.jar scala-actors.jar + java-pkg_newjar scala-actors-migration_*.jar scala-actors-migration.jar + java-pkg_newjar scala-swing_*.jar scala-swing.jar + java-pkg_newjar scala-parser-combinators_*.jar scala-parser-combinators.jar + java-pkg_newjar scala-xml_*.jar scala-xml.jar + java-pkg_newjar jline-*.jar jline.jar + java-pkg_newjar scala-continuations-plugin_*.jar scala-continuations-plugin.jar + java-pkg_newjar scalap-*.jar scalap.jar + + # Install these the usual way + java-pkg_dojar scala-compiler.jar + java-pkg_dojar scala-library.jar + java-pkg_dojar scala-reflect.jar + + eend $? + + cd ../ || die + + ebegin 'Installing man pages' + doman man/man1/*.1 + eend $? + + if use doc; then + ebegin 'Installing documentation' + java-pkg_dohtml -r doc/tools + eend $? + fi +} |