svn commit: r392765 - head/devel/renpy

Jan Beich jbeich at FreeBSD.org
Fri Jul 24 00:50:40 UTC 2015


Author: jbeich
Date: Fri Jul 24 00:50:39 2015
New Revision: 392765
URL: https://svnweb.freebsd.org/changeset/ports/392765

Log:
  devel/renpy: unbreak bundled python in distributions
  
  Don't remove *.pyo that ends up in game packages to fix
  
    $ tar xf foo-game-linux.tar.bz2
    $ cd foo-game-linux
    $ /compat/linux/bin/bash -x foo-game.sh
    + SCRIPT=foo-game.sh
    + '[' -L foo-game.sh ']'
    ++ dirname foo-game.sh
    + ROOT=.
    ++ cd .
    ++ pwd
    + ROOT=/path/to/foo-game-dists/foo-game-linux
    ++ basename foo-game.sh .sh
    + BASEFILE=foo-game
    + '[' -z '' ']'
    + case "$(uname -s)-$(uname -m)" in
    ++ uname -s
    ++ uname -m
    + RENPY_PLATFORM=linux-i686
    + ROOT1=/path/to/foo-game-dists/foo-game-linux
    + ROOT2=/path/to/foo-game-dists/foo-game-linux
    + for BASE in '"$ROOT"' '"$ROOT1"' '"$ROOT2"'
    + LIB=/path/to/foo-game-dists/foo-game-linux/lib/linux-i686
    + test -d /path/to/foo-game-dists/foo-game-linux/lib/linux-i686
    + break
    + exec /path/to/foo-game-dists/foo-game-linux/lib/linux-i686/foo-game -EO /path/to/foo-game-dists/foo-game-linux/foo-game.py
    Could not find platform independent libraries <prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    ImportError: No module named site
  
  PR:		201322

Modified:
  head/devel/renpy/Makefile

Modified: head/devel/renpy/Makefile
==============================================================================
--- head/devel/renpy/Makefile	Fri Jul 24 00:17:30 2015	(r392764)
+++ head/devel/renpy/Makefile	Fri Jul 24 00:50:39 2015	(r392765)
@@ -3,6 +3,7 @@
 PORTNAME=	renpy
 PORTVERSION=	6.99.5
 DISTVERSIONSUFFIX=-sdk
+PORTREVISION=	1
 CATEGORIES=	devel games
 MASTER_SITES=	http://www.renpy.org/dl/${PORTVERSION}/
 #MASTER_SITES+=	GENTOO
@@ -31,7 +32,8 @@ PORTSCOUT=	site:http://www.renpy.org/dl/
 USES=		python:2.7 shebangfix tar:bz2
 USE_PYTHON=	autoplist distutils
 USE_SDL=	sdl2
-EXTRACT_AFTER_ARGS=--exclude gen --exclude '*.py[co]' --exclude 'pythonlib*'
+EXCLUDE=	gen 'module/*.py[co]' 'renpy/*.py[co]'
+EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
 SHEBANG_FILES=	renpy.py launcher/game/tkaskdir.py
 python_OLD_CMD=	/usr/bin/env python
 python_CMD=	${PYTHON_CMD}


More information about the svn-ports-all mailing list