dev-lang/crystal: fix PATH path when bootstrapping
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 4 Sep 2018 08:06:47 +0000 (09:06 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 4 Sep 2018 08:19:25 +0000 (09:19 +0100)
commit4504ee0e021e5e9cd2b7c8f10af9c16cf8c31627
tree10b0cd3727bf3427524a72ec37bab763a4d17195
parent0de6367c771d92bcb28febcb8a1b8574ce43e770
dev-lang/crystal: fix PATH path when bootstrapping

Before crystal-0.25.0 binary tarball directories did
not contain '-<N>' revisions:
    crystal-0.24.2-1-linux-x86_64 -> crystal-0.24.2
After crystal-0.25.0 they did:
    crystal-0.25.1-1-linux-x86_64 -> crystal-0.25.1-1

Ebuild missed the change and kept passing PATH without
'-<N>' revision.

This change resotres revision for crystal-0.26.0, 0.26.1
and adds sanity check to make sure expected directry
is in place. Should help catching the failure next time.

Reported-by: Myrddin Emrys
Bug: https://github.com/crystal-lang/crystal/issues/6650
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-lang/crystal/crystal-0.26.0.ebuild
dev-lang/crystal/crystal-0.26.1.ebuild