[gentoo-commits] repo/gentoo:master commit in: games-engines/renpy/, games-engines/renpy/files/

2020-05-09 Thread Andrew Savchenko
commit: be246890dcb968ff90c903b9a2a63ac4c175cc02
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sat May  9 13:03:04 2020 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sat May  9 13:10:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be246890

games-engines/renpy: Update to version 7.3.5

- This is a major update to version 7.3.5.
- Multislot support is dropped since upstream provides backward
  compatibility for older games.
- renpy-7.3.5-use-system-fribidi.patch is based on fribidi patch
  from bug 671008 by Alex  bk.ru>, though it was
  improved further.

Closes: https://bugs.gentoo.org/671008
Closes: https://bugs.gentoo.org/710884
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andrew Savchenko  gentoo.org>

 games-engines/renpy/Manifest   |   1 +
 .../renpy/files/renpy-7.3.5-system-path.patch  |  19 
 .../files/renpy-7.3.5-use-system-fribidi.patch |  42 
 games-engines/renpy/renpy-7.3.5.ebuild | 108 +
 4 files changed, 170 insertions(+)

diff --git a/games-engines/renpy/Manifest b/games-engines/renpy/Manifest
index 6a38ea82a5c..2a93fb3d8cc 100644
--- a/games-engines/renpy/Manifest
+++ b/games-engines/renpy/Manifest
@@ -1 +1,2 @@
 DIST renpy-6.99.12.4-source.tar.bz2 18192453 BLAKE2B 
eb00db04fc6ed0aafa0428c3ba0ffe986634f8b536a7cd6c88c6082789554f6d9631f433baa3e34ab91d19509ccef5617e3fe8ec410b96f4b87d489656cc893b
 SHA512 
375b67e15630fc21915136e70bc93db6da7c2da192d39b1256822513ae44974124522c85f1976f2af62df27b5fa11493af488b02abcf0081eeae03e1a69dfca5
+DIST renpy-7.3.5-source.tar.bz2 68211972 BLAKE2B 
46d8e1c788398515005eba9b668020aa2c9527e4f9207c95661d8fe86f4bbb6bc1832fc3e6808023355e2ff67666bc6d3b03f89ef58afa77d5a3abc965192175
 SHA512 
5a34412379682628d0be9cbbca0dfc95d5e52f8ffa871cdab0c20d028c532233b0d94a7dfdec67fec5294a789e9ca16b61dc30ef138e303d476007ea0d2f

diff --git a/games-engines/renpy/files/renpy-7.3.5-system-path.patch 
b/games-engines/renpy/files/renpy-7.3.5-system-path.patch
new file mode 100644
index 000..fc5d54aceea
--- /dev/null
+++ b/games-engines/renpy/files/renpy-7.3.5-system-path.patch
@@ -0,0 +1,19 @@
+--- renpy-7.3.5-source/renpy.py.orig   2019-10-18 02:35:19.0 +0300
 renpy-7.3.5-source/renpy.py2020-05-09 13:38:24.989131947 +0300
+@@ -32,6 +32,7 @@
+ import warnings
+ 
+ # Functions to be customized by distributors. 
++from distutils.sysconfig import get_python_lib
+ 
+ # Given the Ren'Py base directory (usually the directory containing
+ # this file), this is expected to return the path to the common directory.
+@@ -140,7 +141,7 @@
+ # Returns the path to the Ren'Py base directory (containing common and
+ # the launcher, usually.)
+ def path_to_renpy_base():
+-renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
++renpy_base = get_python_lib()
+ renpy_base = os.path.abspath(renpy_base)
+ 
+ return renpy_base

diff --git a/games-engines/renpy/files/renpy-7.3.5-use-system-fribidi.patch 
b/games-engines/renpy/files/renpy-7.3.5-use-system-fribidi.patch
new file mode 100644
index 000..e4b0258f984
--- /dev/null
+++ b/games-engines/renpy/files/renpy-7.3.5-use-system-fribidi.patch
@@ -0,0 +1,42 @@
+diff '--color=auto' -Naurd renpy-7.3.5-source.orig/module/renpybidicore.c 
renpy-7.3.5-source/module/renpybidicore.c
+--- renpy-7.3.5-source.orig/module/renpybidicore.c 2018-10-12 
08:37:06.0 +0300
 renpy-7.3.5-source/module/renpybidicore.c  2020-05-09 12:46:30.811881811 
+0300
+@@ -1,5 +1,5 @@
+ #include 
+-#include 
++#include 
+ #include 
+ 
+ #ifndef alloca
+--- renpy-7.3.5-source.orig/module/setup.py2019-08-09 05:11:58.0 
+0300
 renpy-7.3.5-source/module/setup.py 2020-05-09 12:46:46.463942266 +0300
+@@ -119,28 +119,13 @@
+ sdl + [ png, 'z', 'm' ])
+ 
+ FRIBIDI_SOURCES = """
+-fribidi-src/lib/fribidi.c
+-fribidi-src/lib/fribidi-arabic.c
+-fribidi-src/lib/fribidi-bidi.c
+-fribidi-src/lib/fribidi-bidi-types.c
+-fribidi-src/lib/fribidi-deprecated.c
+-fribidi-src/lib/fribidi-joining.c
+-fribidi-src/lib/fribidi-joining-types.c
+-fribidi-src/lib/fribidi-mem.c
+-fribidi-src/lib/fribidi-mirroring.c
+-fribidi-src/lib/fribidi-run.c
+-fribidi-src/lib/fribidi-shape.c
+ renpybidicore.c
+ """.split()
+ cython(
+ "_renpybidi",
+ FRIBIDI_SOURCES,
+-includes=[
+-BASE + "/fribidi-src/",
+-BASE + "/fribidi-src/lib/",
+-],
++libs=["fribidi"],
+ define_macros=[
+-("FRIBIDI_ENTRY", ""),
+ ("HAVE_CONFIG_H", "1"),
+ ])
+ 

diff --git a/games-engines/renpy/renpy-7.3.5.ebuild 
b/games-engines/renpy/renpy-7.3.5.ebuild
new file mode 100644
index 000..f408ea63475
--- /dev/null
+++ b/games-engines/renpy/renpy-7.3.5.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 )

[gentoo-commits] repo/gentoo:master commit in: games-engines/renpy/, games-engines/renpy/files/

2018-04-15 Thread Pacho Ramos
commit: ed5fa6631c2542a0b22be691306923e625f03d89
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Apr 15 13:07:55 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Apr 15 13:08:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5fa663

games-engines/renpy: Drop old

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 games-engines/renpy/Manifest   |   1 -
 .../renpy/files/renpy-6.17.7-multiple-abi.patch| 245 -
 games-engines/renpy/renpy-6.17.7.ebuild| 110 -
 3 files changed, 356 deletions(-)

diff --git a/games-engines/renpy/Manifest b/games-engines/renpy/Manifest
index 8c6903450d3..6a38ea82a5c 100644
--- a/games-engines/renpy/Manifest
+++ b/games-engines/renpy/Manifest
@@ -1,2 +1 @@
-DIST renpy-6.17.7-source.tar.bz2 17932988 BLAKE2B 
55a955a086356f0a1136d5dae18dbcd99edd6403d2d37e09f9b2d0e1c0ec137be993082a98b444c91e943a7100d806adc40d8a05d8525f841cf90a2f1e00b3d3
 SHA512 
22b0e08b18ee35317b11451205233cbd8a29617d9c3d298bbdcfc5757f67c2f0e4c8a748aa83d5c8b43786c062ffca109d07e981efa750fcee26f45f08a33ea2
 DIST renpy-6.99.12.4-source.tar.bz2 18192453 BLAKE2B 
eb00db04fc6ed0aafa0428c3ba0ffe986634f8b536a7cd6c88c6082789554f6d9631f433baa3e34ab91d19509ccef5617e3fe8ec410b96f4b87d489656cc893b
 SHA512 
375b67e15630fc21915136e70bc93db6da7c2da192d39b1256822513ae44974124522c85f1976f2af62df27b5fa11493af488b02abcf0081eeae03e1a69dfca5

diff --git a/games-engines/renpy/files/renpy-6.17.7-multiple-abi.patch 
b/games-engines/renpy/files/renpy-6.17.7-multiple-abi.patch
deleted file mode 100644
index 335af4e9b8d..000
--- a/games-engines/renpy/files/renpy-6.17.7-multiple-abi.patch
+++ /dev/null
@@ -1,245 +0,0 @@
-commit 7451ba936ca2f3358ca51ab562371774199c7052
-Author: hasufell 
-Date:   Tue Jan 21 01:02:00 2014 +0100
-
-fix multiple abi support
-
-diff --git a/renpy.py b/renpy.py
-index 9f2977f..394e4e1 100644
 a/renpy.py
-+++ b/renpy.py
-@@ -28,82 +28,9 @@
- import os
- import sys
- import warnings
--
--# Functions to be customized by distributors. 
--
--# Given the Ren'Py base directory (usually the directory containing
--# this file), this is expected to return the path to the common directory.
--def path_to_common(renpy_base):
--return renpy_base + "/renpy/common"
--
--# Given a directory holding a Ren'Py game, this is expected to return
--# the path to a directory that will hold save files.
--def path_to_saves(gamedir):
--import renpy #@UnresolvedImport
--
--# Android.
--if renpy.android:
--paths = [
--os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
--os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
--os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
--]
--
--for rv in paths:
--if os.path.isdir(rv):
--break
--
--print "Using savedir", rv
--
--# We return the last path as the default.
--
--return rv
--
--
--# No save directory given.
--if not renpy.config.save_directory:
--return gamedir + "/saves"
--
--# Search the path above Ren'Py for a directory named "Ren'Py Data".
--# If it exists, then use that for our save directory.
--path = renpy.config.renpy_base
--
--while True:
--if os.path.isdir(path + "/Ren'Py Data"):
--return path + "/Ren'Py Data/" + renpy.config.save_directory
--
--newpath = os.path.dirname(path)
--if path == newpath:
--break
--path = newpath
--
--# Otherwise, put the saves in a platform-specific location.
--if renpy.macintosh:
--rv = "~/Library/RenPy/" + renpy.config.save_directory
--return os.path.expanduser(rv)
--
--elif renpy.windows:
--if 'APPDATA' in os.environ:
--return os.environ['APPDATA'] + "/RenPy/" + 
renpy.config.save_directory
--else:
--rv = "~/RenPy/" + renpy.config.save_directory
--return os.path.expanduser(rv)
--
--else:
--rv = "~/.renpy/" + renpy.config.save_directory
--return os.path.expanduser(rv)
--
--
--# Returns the path to the Ren'Py base directory (containing common and
--# the launcher, usually.)
--def path_to_renpy_base():
--renpy_base = os.path.dirname(os.path.realpath(sys.argv[0]))
--renpy_base = os.environ.get('RENPY_BASE', renpy_base)
--renpy_base = os.path.abspath(renpy_base)
--
--return renpy_base
--
--##
-+from distutils.sysconfig import get_python_lib
-+sys.path.append(get_python_lib() + "/renpy@SLOT@")
-+import renpy.common as common
- 
- # The version of the Mac Launcher and py4renpy that we require.
- macos_version = (6, 14, 0)
-@@ -131,7 +58,7 @@ if android:
- 
- def main():
- 
--renpy_base = path_to_renpy_base()
-+renpy_base = common.path_to_renpy_base()
- 
- 

[gentoo-commits] repo/gentoo:master commit in: games-engines/renpy/, games-engines/renpy/files/

2017-07-16 Thread Andrew Savchenko
commit: e02ffd4f79907b478204384ba67e54ef032c6c27
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Sun Jul 16 17:54:32 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Sun Jul 16 17:54:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e02ffd4f

games-engines/renpy: remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Andrew Savchenko  gentoo.org>

 games-engines/renpy/Manifest   |   1 -
 .../renpy/files/renpy-6.99.6-multiple-abi.patch| 337 -
 games-engines/renpy/renpy-6.99.12.4.ebuild | 113 ---
 games-engines/renpy/renpy-6.99.6.ebuild| 110 ---
 4 files changed, 561 deletions(-)

diff --git a/games-engines/renpy/Manifest b/games-engines/renpy/Manifest
index cadcd3c3f46..38ff1d2aa7d 100644
--- a/games-engines/renpy/Manifest
+++ b/games-engines/renpy/Manifest
@@ -1,3 +1,2 @@
 DIST renpy-6.17.7-source.tar.bz2 17932988 SHA256 
fef01de9e482b73d9d409de7a43bada6dd3e2a0549b99dd487306371190ed038 SHA512 
22b0e08b18ee35317b11451205233cbd8a29617d9c3d298bbdcfc5757f67c2f0e4c8a748aa83d5c8b43786c062ffca109d07e981efa750fcee26f45f08a33ea2
 WHIRLPOOL 
fef82eb6c958a2525797e5d8bfae3488fba606b70eeed5c94f7afcab4fa46e7a7eb43d91b4bd55f553b65a72b12236e02ecdee55e8852c1fafc055332f9d131d
 DIST renpy-6.99.12.4-source.tar.bz2 18192453 SHA256 
65d8c97acfce7a8025ad0f6a1a3d5ef88d4319ece02370f33cf7a791b320a30c SHA512 
375b67e15630fc21915136e70bc93db6da7c2da192d39b1256822513ae44974124522c85f1976f2af62df27b5fa11493af488b02abcf0081eeae03e1a69dfca5
 WHIRLPOOL 
3044bcd5e241e95c8313a16da4049f71621def4669b9d76aa6892191443456e2c388f7a7aaa16a01e073311a83d1bde5452fc3e57f956571bfca2edc1db93ca9
-DIST renpy-6.99.6-source.tar.bz2 27289290 SHA256 
31f3fc84bda7e4048a97539d6266b3fbb18a82fc38db83761dd4771f5ef98d04 SHA512 
d018ac0827ee5a914c48479174eccbf3968ea22926638e09ee00ecea49dc0111b4f24810ad32d5a8bb8012ff18e5fb8981705ed0e2289ce3172a1629e095a651
 WHIRLPOOL 
ba8102e11a09b70100d391c5b068c826db810486f2792c5b5214421b09344916888255a377ac26b2b21aaede315bb0470c7315c2581af9e64b545d68ee6f005c

diff --git a/games-engines/renpy/files/renpy-6.99.6-multiple-abi.patch 
b/games-engines/renpy/files/renpy-6.99.6-multiple-abi.patch
deleted file mode 100644
index eac6512d4b1..000
--- a/games-engines/renpy/files/renpy-6.99.6-multiple-abi.patch
+++ /dev/null
@@ -1,337 +0,0 @@
-From 7aa51dae5eb2f2123fee9bca23a2ce2f1b1c3f10 Mon Sep 17 00:00:00 2001
-From: hasufell 
-Date: Thu, 20 Aug 2015 01:10:58 +0200
-Subject: [PATCH] Fix multiple abi support
-

- renpy.py| 128 ++--
- renpy/common.py | 137 
- renpy/main.py   |   6 +--
- 3 files changed, 144 insertions(+), 127 deletions(-)
- create mode 100644 renpy/common.py
-
-diff --git a/renpy.py b/renpy.py
-index 7548cf6..8ec7353 100644
 a/renpy.py
-+++ b/renpy.py
-@@ -28,118 +28,9 @@
- import os
- import sys
- import warnings
--
--# Functions to be customized by distributors. 
--
--# Given the Ren'Py base directory (usually the directory containing
--# this file), this is expected to return the path to the common directory.
--def path_to_common(renpy_base):
--return renpy_base + "/renpy/common"
--
--# Given a directory holding a Ren'Py game, this is expected to return
--# the path to a directory that will hold save files.
--def path_to_saves(gamedir, save_directory=None):
--import renpy #@UnresolvedImport
--
--if save_directory is None:
--save_directory = renpy.config.save_directory
--
--# Makes sure the permissions are right on the save directory.
--def test_writable(d):
--try:
--fn = os.path.join(d, "test.txt")
--open(fn, "w").close()
--open(fn, "r").close()
--os.unlink(fn)
--return True
--except:
--return False
--
--
--# Android.
--if renpy.android:
--paths = [
--os.path.join(os.environ["ANDROID_OLD_PUBLIC"], "game/saves"),
--os.path.join(os.environ["ANDROID_PRIVATE"], "saves"),
--os.path.join(os.environ["ANDROID_PUBLIC"], "saves"),
--]
--
--for rv in paths:
--if os.path.isdir(rv) and test_writable(rv):
--break
--
--print "Saving to", rv
--
--# We return the last path as the default.
--
--return rv
--
--if renpy.ios:
--from pyobjus import autoclass
--from pyobjus.objc_py_types import enum
--
--NSSearchPathDirectory = enum("NSSearchPathDirectory", 
NSDocumentDirectory=9)
--NSSearchPathDomainMask = enum("NSSearchPathDomainMask", 
NSUserDomainMask=1)
--
--NSFileManager = autoclass('NSFileManager')
--manager = NSFileManager.defaultManager()
--url = manager.URLsForDirectory_inDomains_(
--

[gentoo-commits] repo/gentoo:master commit in: games-engines/renpy/, games-engines/renpy/files/

2016-06-28 Thread Michael Sterrett
commit: bbc56b4a5abe6a2b84a3283d88b568d37dd5b089
Author: Michael Sterrett  gentoo  org>
AuthorDate: Mon Jun 27 21:33:52 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Tue Jun 28 14:37:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc56b4a

games-engines/renpy: old

Package-Manager: portage-2.2.28

 games-engines/renpy/Manifest   |   3 -
 .../renpy/files/renpy-6.15.7-freetype.patch|  29 --
 .../renpy/files/renpy-6.15.7-multiple-abi.patch| 250 -
 .../renpy/files/renpy-6.16.5-multiple-abi.patch| 245 -
 .../renpy/files/renpy-6.18.3-multiple-abi.patch| 271 --
 .../renpy/files/renpy-6.99.5-multiple-abi.patch| 302 -
 games-engines/renpy/renpy-6.15.7.ebuild| 111 
 games-engines/renpy/renpy-6.16.5.ebuild| 110 
 games-engines/renpy/renpy-6.18.3.ebuild| 111 
 9 files changed, 1432 deletions(-)

diff --git a/games-engines/renpy/Manifest b/games-engines/renpy/Manifest
index 98d3b260..4d65ed5 100644
--- a/games-engines/renpy/Manifest
+++ b/games-engines/renpy/Manifest
@@ -1,5 +1,2 @@
-DIST renpy-6.15.7-source.tar.bz2 10421736 SHA256 
b4280b62f7c8f730a37c7e567b16216b4578fc3640fbcdf5df7c65a73ae52e52 SHA512 
d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6
 WHIRLPOOL 
202ddb045f440f9abd06f5ac02ebd92a7b0300b14f4755271f1fc4e91bdea21cda19a432f45516f68ba3ad7ead98d7491382ad5c633da277a674f799458795f3
-DIST renpy-6.16.5-source.tar.bz2 14455622 SHA256 
5ecb00fa84a048ff6e1f1d8a0114373425375e9c0b2a0596bf2d47e996b9d056 SHA512 
1a718d86a689135e5a280f64cdc3c0340d712b7804af2169ed4cb4a12528e01088c919b87d36176b3fb8a05e8201f226146c46c4f4d5ebf1d89c3cebd1263c4d
 WHIRLPOOL 
b06638c284089ba79d12d95ba604c40fffe595d67e75551bbe8a08ddc57403f1644dd713c5eb15a39fcc34b92722589437935666d172379bb1164d2a02ef9433
 DIST renpy-6.17.7-source.tar.bz2 17932988 SHA256 
fef01de9e482b73d9d409de7a43bada6dd3e2a0549b99dd487306371190ed038 SHA512 
22b0e08b18ee35317b11451205233cbd8a29617d9c3d298bbdcfc5757f67c2f0e4c8a748aa83d5c8b43786c062ffca109d07e981efa750fcee26f45f08a33ea2
 WHIRLPOOL 
fef82eb6c958a2525797e5d8bfae3488fba606b70eeed5c94f7afcab4fa46e7a7eb43d91b4bd55f553b65a72b12236e02ecdee55e8852c1fafc055332f9d131d
-DIST renpy-6.18.3-source.tar.bz2 23244450 SHA256 
c0c6af79ceb529e69cebfdb0e9849e50dc27e424dc2fd2b322c13d6ec938cba6 SHA512 
7ea99adaf1fbea7a499790fb5b37349fc797f383fb633956a43955c80885b259e26570469c430f4c4c103e62444f60082690489ee6400809f5e9024693261e55
 WHIRLPOOL 
6e4e68228bc38c709af4387f209717e4644efccae47fb04b7071783b0c01d6fbe4ca65d7c712a32e159cd59c663873457e54c3851e9e4a84d3d4e4ed05271102
 DIST renpy-6.99.6-source.tar.bz2 27289290 SHA256 
31f3fc84bda7e4048a97539d6266b3fbb18a82fc38db83761dd4771f5ef98d04 SHA512 
d018ac0827ee5a914c48479174eccbf3968ea22926638e09ee00ecea49dc0111b4f24810ad32d5a8bb8012ff18e5fb8981705ed0e2289ce3172a1629e095a651
 WHIRLPOOL 
ba8102e11a09b70100d391c5b068c826db810486f2792c5b5214421b09344916888255a377ac26b2b21aaede315bb0470c7315c2581af9e64b545d68ee6f005c

diff --git a/games-engines/renpy/files/renpy-6.15.7-freetype.patch 
b/games-engines/renpy/files/renpy-6.15.7-freetype.patch
deleted file mode 100644
index 7865f0c..000
--- a/games-engines/renpy/files/renpy-6.15.7-freetype.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Julian Ospald 
-Date: Mon Apr 28 22:31:52 UTC 2014
-Subject: fix build
-
 renpy-6.14.1-source/module/setup.py
-+++ renpy-6.14.1-source/module/setup.py
-@@ -24,8 +24,9 @@
- include("zlib.h")
- include("png.h")
- include("SDL.h", directory="SDL")
--include("ft2build.h")
--include("freetype/freetype.h", directory="freetype2")
-+include("ft2build.h") or include("ft2build.h", directory="freetype2")
-+include("freetype/freetype.h", directory="freetype2") or 
include("freetype.h", directory="freetype2")
-+include("freetype/ftotval.h", directory="freetype2") or include("ftotval.h", 
directory="freetype2")
- include("libavutil/avstring.h")
- include("libavformat/avformat.h")
- include("libavcodec/avcodec.h")
 renpy-6.15.7-source/module/ttgsubtable.h
-+++ renpy-6.15.7-source/module/ttgsubtable.h
-@@ -3,7 +3,7 @@
- 
- #include 
- #include 
--#include 
-+#include FT_OPENTYPE_VALIDATE_H
- 
- typedef struct
- {

diff --git a/games-engines/renpy/files/renpy-6.15.7-multiple-abi.patch 
b/games-engines/renpy/files/renpy-6.15.7-multiple-abi.patch
deleted file mode 100644
index c6b87ac..000
--- a/games-engines/renpy/files/renpy-6.15.7-multiple-abi.patch
+++ /dev/null
@@ -1,250 +0,0 @@
-commit ea0351d8bf6404f5e8db2ff872885a19bf8a3f92
-Author: hasufell 
-Date:   Thu Jun 27 02:01:17 2013 +0200
-
-fix multiple abi support
-
-diff --git a/renpy.py b/renpy.py
-index 4ec5324..d873750 100644
 a/renpy.py
-+++ b/renpy.py
-@@ -28,82 +28,9 @@
- import os
- import sys
- import warnings

[gentoo-commits] repo/gentoo:master commit in: games-engines/renpy/, games-engines/renpy/files/

2015-08-19 Thread Julian Ospald
commit: 1d53c247b9f312937ec761ba837a32ebad7d1995
Author: Julian Ospald hasufell AT gentoo DOT org
AuthorDate: Wed Aug 19 23:14:33 2015 +
Commit: Julian Ospald hasufell AT gentoo DOT org
CommitDate: Wed Aug 19 23:18:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d53c247

games-engines/renpy: version bump to 6.99.6

 games-engines/renpy/Manifest   |   1 +
 .../renpy/files/renpy-6.99.6-multiple-abi.patch| 337 +
 games-engines/renpy/renpy-6.99.6.ebuild| 111 +++
 3 files changed, 449 insertions(+)

diff --git a/games-engines/renpy/Manifest b/games-engines/renpy/Manifest
index 8587e1a..f0c96da 100644
--- a/games-engines/renpy/Manifest
+++ b/games-engines/renpy/Manifest
@@ -3,3 +3,4 @@ DIST renpy-6.16.5-source.tar.bz2 14455622 SHA256 
5ecb00fa84a048ff6e1f1d8a0114373
 DIST renpy-6.17.7-source.tar.bz2 17932988 SHA256 
fef01de9e482b73d9d409de7a43bada6dd3e2a0549b99dd487306371190ed038 SHA512 
22b0e08b18ee35317b11451205233cbd8a29617d9c3d298bbdcfc5757f67c2f0e4c8a748aa83d5c8b43786c062ffca109d07e981efa750fcee26f45f08a33ea2
 WHIRLPOOL 
fef82eb6c958a2525797e5d8bfae3488fba606b70eeed5c94f7afcab4fa46e7a7eb43d91b4bd55f553b65a72b12236e02ecdee55e8852c1fafc055332f9d131d
 DIST renpy-6.18.3-source.tar.bz2 23244450 SHA256 
c0c6af79ceb529e69cebfdb0e9849e50dc27e424dc2fd2b322c13d6ec938cba6 SHA512 
7ea99adaf1fbea7a499790fb5b37349fc797f383fb633956a43955c80885b259e26570469c430f4c4c103e62444f60082690489ee6400809f5e9024693261e55
 WHIRLPOOL 
6e4e68228bc38c709af4387f209717e4644efccae47fb04b7071783b0c01d6fbe4ca65d7c712a32e159cd59c663873457e54c3851e9e4a84d3d4e4ed05271102
 DIST renpy-6.99.5-source.tar.bz2 27285400 SHA256 
cec38c548a812331fe42b60882ba271ea10fb369f0ba67bad1facd8d556ae74d SHA512 
0e9d3dca70924e587711effa34d5af45fcd1c1bc6ce0b38723b39e07593a85dc55645ad4cb002f43fe33f387ee58c92626004f655d0f2955c55d8d01b5453326
 WHIRLPOOL 
f3db4a08b1216b69b2724668cb22ea3c720826a6bf82042d0783fb8048d07074fd473157132e27010570c485fc90d09cb0115accbb429aad48f62417245852a8
+DIST renpy-6.99.6-source.tar.bz2 27289290 SHA256 
31f3fc84bda7e4048a97539d6266b3fbb18a82fc38db83761dd4771f5ef98d04 SHA512 
d018ac0827ee5a914c48479174eccbf3968ea22926638e09ee00ecea49dc0111b4f24810ad32d5a8bb8012ff18e5fb8981705ed0e2289ce3172a1629e095a651
 WHIRLPOOL 
ba8102e11a09b70100d391c5b068c826db810486f2792c5b5214421b09344916888255a377ac26b2b21aaede315bb0470c7315c2581af9e64b545d68ee6f005c

diff --git a/games-engines/renpy/files/renpy-6.99.6-multiple-abi.patch 
b/games-engines/renpy/files/renpy-6.99.6-multiple-abi.patch
new file mode 100644
index 000..eac6512
--- /dev/null
+++ b/games-engines/renpy/files/renpy-6.99.6-multiple-abi.patch
@@ -0,0 +1,337 @@
+From 7aa51dae5eb2f2123fee9bca23a2ce2f1b1c3f10 Mon Sep 17 00:00:00 2001
+From: hasufell hasuf...@gentoo.org
+Date: Thu, 20 Aug 2015 01:10:58 +0200
+Subject: [PATCH] Fix multiple abi support
+
+---
+ renpy.py| 128 ++--
+ renpy/common.py | 137 
+ renpy/main.py   |   6 +--
+ 3 files changed, 144 insertions(+), 127 deletions(-)
+ create mode 100644 renpy/common.py
+
+diff --git a/renpy.py b/renpy.py
+index 7548cf6..8ec7353 100644
+--- a/renpy.py
 b/renpy.py
+@@ -28,118 +28,9 @@
+ import os
+ import sys
+ import warnings
+-
+-# Functions to be customized by distributors. 
+-
+-# Given the Ren'Py base directory (usually the directory containing
+-# this file), this is expected to return the path to the common directory.
+-def path_to_common(renpy_base):
+-return renpy_base + /renpy/common
+-
+-# Given a directory holding a Ren'Py game, this is expected to return
+-# the path to a directory that will hold save files.
+-def path_to_saves(gamedir, save_directory=None):
+-import renpy #@UnresolvedImport
+-
+-if save_directory is None:
+-save_directory = renpy.config.save_directory
+-
+-# Makes sure the permissions are right on the save directory.
+-def test_writable(d):
+-try:
+-fn = os.path.join(d, test.txt)
+-open(fn, w).close()
+-open(fn, r).close()
+-os.unlink(fn)
+-return True
+-except:
+-return False
+-
+-
+-# Android.
+-if renpy.android:
+-paths = [
+-os.path.join(os.environ[ANDROID_OLD_PUBLIC], game/saves),
+-os.path.join(os.environ[ANDROID_PRIVATE], saves),
+-os.path.join(os.environ[ANDROID_PUBLIC], saves),
+-]
+-
+-for rv in paths:
+-if os.path.isdir(rv) and test_writable(rv):
+-break
+-
+-print Saving to, rv
+-
+-# We return the last path as the default.
+-
+-return rv
+-
+-if renpy.ios:
+-from pyobjus import autoclass
+-from pyobjus.objc_py_types import enum
+-
+-NSSearchPathDirectory = enum(NSSearchPathDirectory,