1 |
commit: 0cdeed0d3bf768ce7f1aba6afa0fee9c80044be7 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 16 17:48:08 2017 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 16 17:48:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdeed0d |
7 |
|
8 |
app-eselect/eselect-renpy: migrate from the games eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild | 39 ++++++++++++++++++++++ |
14 |
app-eselect/eselect-renpy/files/renpy.eselect-0.7 | 14 ++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild b/app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..4ee9286df3e |
20 |
--- /dev/null |
21 |
+++ b/app-eselect/eselect-renpy/eselect-renpy-0.7.ebuild |
22 |
@@ -0,0 +1,39 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+DESCRIPTION="Manages renpy symlink" |
29 |
+HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~x86" |
34 |
+ |
35 |
+RDEPEND=" |
36 |
+ app-eselect/eselect-lib-bin-symlink |
37 |
+ !<games-engines/renpy-6.99.12-r2" |
38 |
+ |
39 |
+S=${WORKDIR} |
40 |
+ |
41 |
+pkg_setup() { :; } |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ sed \ |
45 |
+ -e "s|@BINDIR@|${EROOT}usr/bin|" \ |
46 |
+ "${FILESDIR}"/renpy.eselect-${PV} > "${WORKDIR}"/renpy.eselect || die |
47 |
+ eapply_user |
48 |
+} |
49 |
+ |
50 |
+src_configure() { :; } |
51 |
+ |
52 |
+src_compile() { :; } |
53 |
+ |
54 |
+src_install() { |
55 |
+ insinto /usr/share/eselect/modules |
56 |
+ doins renpy.eselect |
57 |
+} |
58 |
+ |
59 |
+pkg_preinst() { :; } |
60 |
+ |
61 |
+pkg_postinst() { :; } |
62 |
|
63 |
diff --git a/app-eselect/eselect-renpy/files/renpy.eselect-0.7 b/app-eselect/eselect-renpy/files/renpy.eselect-0.7 |
64 |
new file mode 100644 |
65 |
index 00000000000..67199267bc5 |
66 |
--- /dev/null |
67 |
+++ b/app-eselect/eselect-renpy/files/renpy.eselect-0.7 |
68 |
@@ -0,0 +1,14 @@ |
69 |
+# Copyright 1999-2017 Gentoo Foundation |
70 |
+# Distributed under the terms of the GNU General Public License v2 |
71 |
+ |
72 |
+DESCRIPTION="Manage default renpy version" |
73 |
+MAINTAINER="bircoph@g.o" |
74 |
+VERSION="0.7" |
75 |
+ |
76 |
+SYMLINK_PATH="@BINDIR@/renpy" |
77 |
+SYMLINK_TARGETS=( renpy-6.99 ) |
78 |
+SYMLINK_DESCRIPTION='default renpy' |
79 |
+SYMLINK_CRUCIAL=1 |
80 |
+ |
81 |
+inherit bin-symlink |
82 |
+ |