dev-lang/scala: clean duplicate patches
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 8 Apr 2018 21:00:08 +0000 (16:00 -0500)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 8 Apr 2018 21:59:36 +0000 (22:59 +0100)
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7900

22 files changed:
dev-lang/scala/files/scala-2.11.1-no-git.patch
dev-lang/scala/files/scala-2.11.11-no-git.patch [deleted file]
dev-lang/scala/files/scala-2.11.2-no-git.patch
dev-lang/scala/files/scala-2.11.4-no-git.patch
dev-lang/scala/files/scala-2.11.6-no-git.patch
dev-lang/scala/files/scala-2.11.7-no-git.patch
dev-lang/scala/files/scala-2.11.8-no-git.patch
dev-lang/scala/files/scala-2.12.1-no-git.patch
dev-lang/scala/files/scala-2.12.1-runner-script.patch
dev-lang/scala/files/scala-2.12.2-no-git.patch
dev-lang/scala/files/scala-2.12.4-no-git.patch
dev-lang/scala/scala-2.11.1-r2.ebuild
dev-lang/scala/scala-2.11.11.ebuild
dev-lang/scala/scala-2.11.2-r2.ebuild
dev-lang/scala/scala-2.11.4-r1.ebuild
dev-lang/scala/scala-2.11.4-r2.ebuild
dev-lang/scala/scala-2.11.6-r1.ebuild
dev-lang/scala/scala-2.11.7-r1.ebuild
dev-lang/scala/scala-2.11.8.ebuild
dev-lang/scala/scala-2.12.1.ebuild
dev-lang/scala/scala-2.12.2.ebuild
dev-lang/scala/scala-2.12.4.ebuild

index fbec47cd6c69d82d94fc3f17eb304c5452d9b310..efef8376a9d1f907684b061e95b5e2d79ada359a 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.11.1-orig/tools/get-scala-commit-date      2014-05-19 21:01:18.000000000 +1000
-+++ scala-2.11.1/tools/get-scala-commit-date   2014-07-06 16:47:04.772397561 +1000
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,8 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -11,8 +11,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.1-orig/tools/get-scala-commit-sha       2014-05-19 21:01:18.000000000 +1000
-+++ scala-2.11.1/tools/get-scala-commit-sha    2014-07-06 16:47:25.704741601 +1000
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -12,7 +12,7 @@
  
  # printf %016s is not portable for 0-padding, has to be a digit.
diff --git a/dev-lang/scala/files/scala-2.11.11-no-git.patch b/dev-lang/scala/files/scala-2.11.11-no-git.patch
deleted file mode 100644 (file)
index b101262..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
---- scala-2.11.8-orig/tools/get-scala-commit-date      2016-03-04 21:57:12.000000000 +1100
-+++ scala-2.11.8/tools/get-scala-commit-date   2016-09-16 10:29:09.215240534 +1000
-@@ -10,8 +10,8 @@
- [[ $# -eq 0 ]] || cd "$1"
--lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1)
--lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2)
-+lastcommitdate="2016-03-04"
-+lastcommithours="00:00:00"
- # 20120324
- echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.8-orig/tools/get-scala-commit-sha       2016-03-04 21:57:12.000000000 +1100
-+++ scala-2.11.8/tools/get-scala-commit-sha    2016-09-16 10:29:45.566119137 +1000
-@@ -12,7 +12,7 @@
- # printf %016s is not portable for 0-padding, has to be a digit.
- # so we're stuck disassembling it.
--hash=$(git log -1 --format="%H" HEAD)
-+hash="1706a37eb84ec252aea77bccebad3e48448534ad"
- hash=${hash#g}
- hash=${hash:0:10}
- echo "$hash"
index 87dbb8e4c8e3f08b25dc497091256ec0e081fe71..56dd69a24b22f86f0a99e9f7a8ad512f33085ab0 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.11.2-orig/tools/get-scala-commit-date      2014-07-21 17:50:18.000000000 +1000
-+++ scala-2.11.2/tools/get-scala-commit-date   2014-10-04 18:33:48.729779264 +1000
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,8 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -11,8 +11,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.2-orig/tools/get-scala-commit-sha       2014-07-21 17:50:18.000000000 +1000
-+++ scala-2.11.2/tools/get-scala-commit-sha    2014-10-04 18:34:32.541990564 +1000
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -12,7 +12,7 @@
  
  # printf %016s is not portable for 0-padding, has to be a digit.
index 275c140a2a104a415ef93435f5ffd267ba5d50f6..f7a78d38c2cf392d3c3f756b4113af8259d208e5 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.11.4-orig/tools/get-scala-commit-date      2014-10-23 20:06:36.000000000 +1100
-+++ scala-2.11.4/tools/get-scala-commit-date   2014-11-26 21:54:26.064081533 +1100
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,8 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -11,8 +11,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.4-orig/tools/get-scala-commit-sha       2014-10-23 20:06:36.000000000 +1100
-+++ scala-2.11.4/tools/get-scala-commit-sha    2014-11-26 21:55:12.248629566 +1100
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -12,7 +12,7 @@
  
  # printf %016s is not portable for 0-padding, has to be a digit.
index 231632a3b17720772836f7ed0a327c5f5dda70e9..4bc7b7f9fae5d3da23b60147ed090a39c6fb7aa7 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.11.6-orig/tools/get-scala-commit-date      2015-02-25 12:22:22.000000000 +1100
-+++ scala-2.11.6/tools/get-scala-commit-date   2015-04-17 20:32:27.899791213 +1000
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,8 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -11,8 +11,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.6-orig/tools/get-scala-commit-sha       2015-02-25 12:22:22.000000000 +1100
-+++ scala-2.11.6/tools/get-scala-commit-sha    2015-04-17 20:32:03.655808474 +1000
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -12,7 +12,7 @@
  
  # printf %016s is not portable for 0-padding, has to be a digit.
index ea337b23849b3a8ce7afdd95cbc16b2e65175225..f8ca464002e0e1a799cb575175b8b63ac4839a9a 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.11.7-orig/tools/get-scala-commit-date      2015-06-23 04:27:36.000000000 +1000
-+++ scala-2.11.7/tools/get-scala-commit-date   2015-07-04 11:53:24.696520666 +1000
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,8 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -11,8 +11,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.7-orig/tools/get-scala-commit-sha       2015-06-23 04:27:36.000000000 +1000
-+++ scala-2.11.7/tools/get-scala-commit-sha    2015-07-04 11:51:15.598526730 +1000
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -12,7 +12,7 @@
  
  # printf %016s is not portable for 0-padding, has to be a digit.
index b1012626c525add9b01e75c6bae0641bcba5e503..b577dcbc8df314a4663703e7b69401b37b2feb99 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.11.8-orig/tools/get-scala-commit-date      2016-03-04 21:57:12.000000000 +1100
-+++ scala-2.11.8/tools/get-scala-commit-date   2016-09-16 10:29:09.215240534 +1000
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,8 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -11,8 +11,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.11.8-orig/tools/get-scala-commit-sha       2016-03-04 21:57:12.000000000 +1100
-+++ scala-2.11.8/tools/get-scala-commit-sha    2016-09-16 10:29:45.566119137 +1000
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -12,7 +12,7 @@
  
  # printf %016s is not portable for 0-padding, has to be a digit.
index f5439e35aadcbb656631eccccf949ee79727af0c..94cf149da7b6c263b25222cc9387d84835dc0234 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.12.1-orig/tools/get-scala-commit-date      2016-12-05 20:45:09.000000000 +1100
-+++ scala-2.12.1/tools/get-scala-commit-date   2016-12-27 16:41:41.695942033 +1100
+--- a/tools/get-scala-commit-date
++++ b/tools/get-scala-commit-date
 @@ -10,13 +10,8 @@
  
  [[ $# -eq 0 ]] || cd "$1"
@@ -16,8 +16,8 @@
  
  # 20120324
  echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- scala-2.12.1-orig/tools/get-scala-commit-sha       2016-12-05 20:45:09.000000000 +1100
-+++ scala-2.12.1/tools/get-scala-commit-sha    2016-12-27 16:44:07.393422207 +1100
+--- a/tools/get-scala-commit-sha
++++ b/tools/get-scala-commit-sha
 @@ -10,13 +10,7 @@
  
  [[ $# -eq 0 ]] || cd "$1"
index 9115a9810f67eca45fba3f0f47b47cf64c11b5ce..d622e651ef8f45159817fbb1df4733eb876d3d73 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.12.1-orig/src/compiler/scala/tools/ant/templates/tool-unix.tmpl    2016-12-05 20:45:09.000000000 +1100
-+++ scala-2.12.1/src/compiler/scala/tools/ant/templates/tool-unix.tmpl 2016-12-28 11:46:29.120052198 +1100
+--- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
++++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
 @@ -197,14 +197,11 @@
  # to java to suppress "." from materializing.
  if [[ "$usebootcp" == "true" ]]; then
index 1c09bf6ba8668cd5b176dca419a0159bd368bf4e..5c921270bd503fd4ad5499d6c156d34038b9e7b7 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.12.2-orig/project/VersionUtil.scala        2017-04-13 02:16:08.000000000 +1000
-+++ scala-2.12.2/project/VersionUtil.scala     2017-05-04 23:45:50.715285243 +1000
+--- a/project/VersionUtil.scala
++++ b/project/VersionUtil.scala
 @@ -80,18 +80,8 @@
  
      val (dateObj, sha) = {
index 04e620bcee26766dd23789a7e2698f89cc0a2f9b..0114e1d42b9e30f0cfa3ef2b635a110187688e77 100644 (file)
@@ -1,5 +1,5 @@
---- scala-2.12.4-orig/project/VersionUtil.scala        2017-10-11 09:05:11.000000000 +1100
-+++ scala-2.12.4/project/VersionUtil.scala     2018-01-29 15:58:57.205758665 +1100
+--- a/project/VersionUtil.scala
++++ b/project/VersionUtil.scala
 @@ -2,7 +2,7 @@
  
  import sbt.{stringToProcess => _, _}
index 790709d5036d2bf974b6b005134accf65313155c..e2bdb4138ba4cf321d9422970be093c1fe64f0f4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.1-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index d0bce664a497c36f72ca73da2de5e767ba302334..9809a7fcfcb289dae05863b752b489538916bddc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -131,7 +131,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.8-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index ffdaa3e3ca826b3d57b8a9551fb258716f4f572a..200cda5accde5a040a41e9ae4e26491deb8b1359 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.2-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index 067a60efc00777c066fb9acd75fdda13d58a577e..5ff29fa215e61de174af46b37bb0ea1279d5d540 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.4-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index 2ce90ddd329ccf11794821ddf2d3f2231e767709..6015a9c1b7c58944d3f5abbef32c7e1492470edc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.4-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index 16f6ccbb8cfe74d5049ec5bdc466b2ef4838a943..b31e50091cd4a7ba43120ad3eb8f22bd39d0ab0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.6-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index a0adcc1965c3b9ce5a81b8e359b0a439fa4ec8b6..25ec70aafff78780b8d5ebb35575a5bff830faf8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.7-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index 140be797d66078971402a3bcc3003e3ccc140694..ae3518042cf28a354ee1c73cfec6682ebeb4ff57 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -129,7 +129,7 @@ java_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               epatch "${FILESDIR}/${P}-no-git.patch"
+               epatch "${FILESDIR}/${PN}-2.11.8-no-git.patch"
                # Note: to bump scala, some things to try are:
                # 1. update all the sha1s in JURI
                # 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz from SRC_URI
index 38b815fd3f62aefa87802992190f30e33671ae27..f38b2a17af21e7a24de735d34e4d4d9e1de93387 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -134,7 +134,7 @@ src_prepare() {
                        cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die
                done
                # gentoo patch (by gienah) to stop it calling git log in the build
-               eapply "${FILESDIR}/${P}-no-git.patch"
+               eapply "${FILESDIR}/${PN}-2.12.1-no-git.patch"
 
                # https://issues.scala-lang.org/browse/SI-10098
                eapply "${FILESDIR}/${PN}-2.12.1-runner-script.patch"
index 4670aac7425864d58674e50c426cb105543a470e..838d1769cc1e3214575c0b3c15a49cde141b94a1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -135,7 +135,7 @@ src_prepare() {
                done
 
                # gentoo patch (by gienah) to stop it calling git log in the build
-               eapply "${FILESDIR}/${P}-no-git.patch"
+               eapply "${FILESDIR}/${PN}-2.12.2-no-git.patch"
 
                local SBT_PVR="$(java-config --query=PVR --package=sbt)"
                sed -e "s@sbt.version=0.13.11@sbt.version=${SBT_PVR}@" \
index 062f48a8746edc93145a78caab32b5b606dd0380..767fdd4982390459fe2fc190990948ebcd59e9bc 100644 (file)
@@ -134,7 +134,7 @@ src_prepare() {
                done
 
                # gentoo patch (by gienah) to stop it calling git log in the build
-               eapply "${FILESDIR}/${P}-no-git.patch"
+               eapply "${FILESDIR}/${PN}-2.12.4-no-git.patch"
 
                local SBT_PVR="$(java-config --query=PVR --package=sbt)"
                sed -e "s@sbt.version=0.13.11@sbt.version=${SBT_PVR}@" \