Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2015 00:50:40 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392765 - head/devel/renpy
Message-ID:  <201507240050.t6O0oeVB056845@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507240050.t6O0oeVB056845>