Package Details: scala-dotty 3.0.0M1-3

Git Clone URL: https://aur.archlinux.org/scala-dotty.git (read-only, click to copy)
Package Base: scala-dotty
Description: The Scala 3 compiler, also known as Dotty.
Upstream URL: http://dotty.epfl.ch
Keywords: dotty java sbt scala scala3
Licenses: Apache
Submitter: corvus_192
Maintainer: mbloms
Last Packager: mbloms
Votes: 9
Popularity: 0.002889
First Submitted: 2017-10-27 19:01
Last Updated: 2020-11-19 08:29

Latest Comments

1 2 Next › Last »

mbloms commented on 2020-11-19 08:34

The intent with the latest update is that scala3 gives you Scala 3 as scala3 on the PATH.

scala-dotty provides symlinks dotr -> scala3 etc.

Some time in the future scala-dotty should be removed and the package base moved to scala3

If you want to be able to run scala3 as scala, you have to make your own alias or symlink.

Please tell me if you have issues or opinions on this.

mbloms commented on 2020-11-19 07:44

Oh, I asked them to rebuild with Java 8, and then I forgot to remove the source tar on my end and update the checksums. Sorry about that.

ShapelessCat commented on 2020-11-13 20:25

"ERROR: One or more files did not pass the validity check!"

tlipinski commented on 2020-11-13 11:30

shaXXXsums are invalid in 0d521c5 revision. Somehow binaries were replaced on github?

TheElectronWill commented on 2019-11-06 16:41

@mbloms thanks for the update!

mbloms commented on 2019-11-01 11:50

@TheElectronWill I have to admit I was confused by the versioning upstream. I'm reluctant to using Pre-releases as versions, but since it seems like they are just always one step behind, and de facto used like the official versions, I decided you're right.

I updated to 0.20.0-RC1, but I use 0.20.0RC1 as version because vercmp considers that to be before 0.20.0.

0.20.0_RC1 is considered a later version than 0.20.0, which is not the case.

TheElectronWill commented on 2019-10-04 22:34

Is it possible to use the -RC1 versions, like the latest 0.19.0-RC1?

It's a bit weird to be always one version number behind. And in scastie and other official tools, it's the -RC1 versions that are used.

02m commented on 2018-11-20 17:41

Patch that upgrades to 0.10-RC1: https://gist.github.com/c0e59fac9558a1def19572ac0d431d52

mbloms commented on 2018-04-09 12:49

I more or less substituted "opt" for "usr/share" and I'm not experiencing any issues so far. I'd be happy to co-maintain by the way. (Promise to not step on any toes.)

diff --git a/PKGBUILD b/PKGBUILD
index 48058ee..4223c3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ sha1sums=('9257d91723cd4cc7498a0d486e333cbecf423fa4')
 package() {
-       mkdir -p "$pkgdir/usr/bin" "$pkgdir/opt/scala-dotty"
-       cp -r "$srcdir/dotty-$_pkgverWithHyphen/bin" "$pkgdir/opt/scala-dotty"
-       cp -r "$srcdir/dotty-$_pkgverWithHyphen/lib" "$pkgdir/opt/scala-dotty"
-       ln -s "/opt/scala-dotty/bin/dotc" "$pkgdir/usr/bin/dotc"
-       ln -s "/opt/scala-dotty/bin/dotd" "$pkgdir/usr/bin/dotd"
-       ln -s "/opt/scala-dotty/bin/dotr" "$pkgdir/usr/bin/dotr"
+       mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/scala-dotty"
+       cp -r "$srcdir/dotty-$_pkgverWithHyphen/bin" "$pkgdir/usr/share/scala-dotty"
+       cp -r "$srcdir/dotty-$_pkgverWithHyphen/lib" "$pkgdir/usr/share/scala-dotty"
+       ln -s "/usr/share/scala-dotty/bin/dotc" "$pkgdir/usr/bin/dotc"
+       ln -s "/usr/share/scala-dotty/bin/dotd" "$pkgdir/usr/bin/dotd"
+       ln -s "/usr/share/scala-dotty/bin/dotr" "$pkgdir/usr/bin/dotr"
 }

corvus_192 commented on 2018-04-05 16:28

@chawlindel The problem is that the binaries want their libraries in ../lib relative to the absolute path of them. I would be happy to do this if you have a solution.