1 |
commit: 5e4723b170d9d8fa81877a7ce2efb9a30d2289bd |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 05:28:16 2017 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 05:28:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e4723b1 |
7 |
|
8 |
games-engines/renpy: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
games-engines/renpy/renpy-6.99.12.4-r2.ebuild | 107 -------------------------- |
14 |
1 file changed, 107 deletions(-) |
15 |
|
16 |
diff --git a/games-engines/renpy/renpy-6.99.12.4-r2.ebuild b/games-engines/renpy/renpy-6.99.12.4-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index b3840bc93f9..00000000000 |
19 |
--- a/games-engines/renpy/renpy-6.99.12.4-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,107 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
28 |
-inherit eutils gnome2-utils toolchain-funcs versionator distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Visual novel engine written in python" |
31 |
-HOMEPAGE="http://www.renpy.org" |
32 |
-SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2" |
33 |
- |
34 |
-LICENSE="MIT" |
35 |
-SLOT="$(get_version_component_range 1-2)" |
36 |
-MYSLOT=$(delete_all_version_separators ${SLOT}) |
37 |
-KEYWORDS="~amd64 ~x86" |
38 |
-IUSE="development doc examples" |
39 |
-REQUIRED_USE="examples? ( development )" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- >=app-eselect/eselect-renpy-0.7 |
43 |
- dev-libs/fribidi |
44 |
- ~dev-python/pygame_sdl2-${PV}[${PYTHON_USEDEP}] |
45 |
- >=dev-lang/python-exec-0.3[${PYTHON_USEDEP}] |
46 |
- media-libs/glew:0 |
47 |
- media-libs/libpng:0 |
48 |
- media-libs/libsdl2[video] |
49 |
- media-libs/freetype:2 |
50 |
- sys-libs/zlib |
51 |
- virtual/ffmpeg" |
52 |
-DEPEND="${RDEPEND} |
53 |
- dev-python/cython[${PYTHON_USEDEP}] |
54 |
- virtual/pkgconfig" |
55 |
- |
56 |
-S=${WORKDIR}/${P}-source |
57 |
- |
58 |
-PATCHES=( |
59 |
- "${FILESDIR}"/${P}-multiple-abi.patch |
60 |
- "${FILESDIR}"/${P}-compat-window.patch #601200 |
61 |
- "${FILESDIR}"/${P}-compat-style.patch |
62 |
-) |
63 |
- |
64 |
-python_prepare_all() { |
65 |
- export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)" |
66 |
- distutils-r1_python_prepare_all |
67 |
- |
68 |
- einfo "Deleting precompiled python files" |
69 |
- find . -name '*.py[co]' -print -delete || die |
70 |
- |
71 |
- sed -i \ |
72 |
- -e "s/@SLOT@/${MYSLOT}/" \ |
73 |
- renpy.py renpy/common.py || die "setting slot failed!" |
74 |
-} |
75 |
- |
76 |
-python_compile() { |
77 |
- cd "${S}"/module || die |
78 |
- distutils-r1_python_compile |
79 |
-} |
80 |
- |
81 |
-python_install() { |
82 |
- cd "${S}"/module || die |
83 |
- distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}" |
84 |
- |
85 |
- cd "${S}" || die |
86 |
- python_newscript renpy.py ${PN}-${SLOT} |
87 |
- |
88 |
- python_moduleinto renpy${MYSLOT} |
89 |
- python_domodule renpy |
90 |
- if use development ; then |
91 |
- python_domodule launcher templates |
92 |
- fi |
93 |
- if use examples ; then |
94 |
- python_domodule the_question tutorial |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-python_install_all() { |
99 |
- distutils-r1_python_install_all |
100 |
- if use development; then |
101 |
- newicon -s 32 launcher/game/images/logo32.png ${P}.png |
102 |
- make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P} |
103 |
- fi |
104 |
- |
105 |
- if use doc; then |
106 |
- insinto "/usr/share/doc/${PF}/html" |
107 |
- doins -r doc/* |
108 |
- fi |
109 |
- newman "${FILESDIR}/${PN}.1" "${P}.1" |
110 |
-} |
111 |
- |
112 |
-pkg_preinst() { |
113 |
- use development && gnome2_icon_savelist |
114 |
-} |
115 |
- |
116 |
-pkg_postinst() { |
117 |
- use development && gnome2_icon_cache_update |
118 |
- |
119 |
- einfo "running: eselect renpy update --if-unset" |
120 |
- eselect renpy update --if-unset |
121 |
-} |
122 |
- |
123 |
-pkg_postrm() { |
124 |
- use development && gnome2_icon_cache_update |
125 |
- |
126 |
- einfo "running: eselect renpy update --if-unset" |
127 |
- eselect renpy update --if-unset |
128 |
-} |