Diff shc-3.9.6 with a shc-4.0.3

/usr/portage/dev-util/shc/shc-4.0.3.ebuild 2023-10-09 14:52:31.004368388 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
DESCRIPTION="A (shell-) script compiler/scrambler"
7 7
HOMEPAGE="https://neurobin.org/projects/softwares/unix/shc/"
8
SRC_URI="https://github.com/neurobin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
8
SRC_URI="https://github.com/neurobin/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
9 9

  
10 10
LICENSE="GPL-2"
11 11
SLOT="0"
12
KEYWORDS="~alpha amd64 ppc ~sparc x86"
12
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
13

  
14
IUSE="test"
15

  
16
DEPEND="test? (
17
	app-shells/bash:0
18
	app-shells/dash
19
	app-shells/ksh
20
	app-shells/tcsh
21
	app-shells/zsh
22
)"
23
RDEPEND=""
24

  
25
RESTRICT="!test? ( test )"
26

  
27
src_prepare() {
28
	# ash requires sys-apps/busybox[make-symlinks], so exclude it too
29
	# Exclude app-shells/rc from tests
30
	# Fix path for app-shells/tcsh
31
	sed -i \
32
		-e "s:'/bin/ash'::" \
33
		-e "s:'/usr/bin/rc'::" \
34
		-e "s:/usr/bin/tcsh:/bin/tcsh:" \
35
		test/ttest.sh || die
36

  
37
	default
38
}
13 39

  
14 40
src_install() {
15 41
	dobin src/shc
Thank you!