Diff racket-mode-1_p20230506 with a racket-mode-1_p20230905
/usr/portage/app-emacs/racket-mode/racket-mode-1_p20230905.ebuild 2023-10-09 14:52:28.708368330 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
[[ ${PV} == *_p20230506 ]] && COMMIT=c2fe266c18bb6e55a13c7ba795b0a5f7372b6c13 |
|
7 | ||
8 | 6 |
inherit elisp |
9 | 7 | |
10 | 8 |
DESCRIPTION="Emacs modes for Racket: edit, REPL, check-syntax, debug, profile, and more" |
11 | 9 |
HOMEPAGE="https://www.racket-mode.com/ |
12 | 10 |
https://github.com/greghendershott/racket-mode/" |
13 |
SRC_URI="https://github.com/greghendershott/${PN}/archive/${COMMIT}.tar.gz |
|
14 |
-> ${P}.tar.gz" |
|
15 |
S="${WORKDIR}"/${PN}-${COMMIT} |
|
16 | 11 | |
17 |
LICENSE="GPL-2+" |
|
12 |
if [[ ${PV} == *9999* ]] ; then |
|
13 |
inherit git-r3 |
|
14 |
EGIT_REPO_URI="https://github.com/greghendershott/${PN}.git" |
|
15 |
else |
|
16 |
[[ ${PV} == *_p20230905 ]] && COMMIT=bfe5a8fc418e9710e474db3e6dcbe66f6b177ecb |
|
17 | ||
18 |
SRC_URI="https://github.com/greghendershott/${PN}/archive/${COMMIT}.tar.gz |
|
19 |
-> ${P}.tar.gz" |
|
20 |
S="${WORKDIR}"/${PN}-${COMMIT} |
|
21 | ||
22 |
KEYWORDS="~amd64 ~x86" |
|
23 |
fi |
|
24 | ||
25 |
LICENSE="GPL-3+" |
|
18 | 26 |
SLOT="0" |
19 |
KEYWORDS="amd64 ~x86" |
|
20 | 27 | |
21 | 28 |
RDEPEND="dev-scheme/racket:=[-minimal]" |
22 | 29 |
BDEPEND="${RDEPEND}" |
... | ... | |
24 | 31 |
PATCHES=( "${FILESDIR}"/${PN}-rkt-source-dir.patch ) |
25 | 32 | |
26 | 33 |
DOCS=( CONTRIBUTING.org README.org THANKS.org ) |
27 |
ELISP_TEXINFO="doc/racket-mode.texi" |
|
34 |
ELISP_TEXINFO="doc/${PN}.texi" |
|
28 | 35 |
SITEFILE="50${PN}-gentoo.el" |
29 | 36 | |
30 | 37 |
src_prepare() { |
... | ... | |
44 | 51 |
} |
45 | 52 | |
46 | 53 |
src_test() { |
47 |
# Set "PLTUSERHOME" to a safe temp directory to prevent writing to ~. |
|
54 |
# Set "PLTUSERHOME" to a safe temp directory to prevent writing to "~". |
|
48 | 55 |
PLTUSERHOME="${T}"/racket-mode/test-racket emake test-racket |
49 | 56 |
} |
50 | 57 |