Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv11671
Added Files:
py2app-py.info py2app-py.patch
Log Message:
py2app-py: new upstream release, py27, lion
--- NEW FILE: py2app-py.info ---
Info2: <<
Package: py2app-py%type_pkg[python]
Version: 0.6.3
Revision: 1
Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python (2.4 2.5 2.6 2.7)
BuildDepends: sphinx-py%type_pkg[python]
Depends: <<
python%type_pkg[python], distribute-py%type_pkg[python],
bdist-mpkg-py%type_pkg[python], macholib-py%type_pkg[python],
modulegraph-py%type_pkg[python], altgraph-py%type_pkg[python]
<<
Source: http://cheeseshop.python.org/packages/source/p/py2app/py2app-%v.tar.gz
Source-MD5: 49a9101ff25fb59d1ba733e329bf502e
PatchFile: py2app-py.patch
PatchFile-MD5: 77fcd3762a43ec97254f937fe708bb47
CompileScript: python%type_raw[python] setup.py build
InstallScript: <<
python%type_raw[python] setup.py install --prefix %p --root %d
mv %i/bin/py2applet %i/bin/py2applet-py%type_pkg[python]
mkdir -p %i/share/doc/%n
cp doc/_build/html/*.html doc/_build/html/*.js %i/share/doc/%n
cp -r examples %i/share/doc/%n
<<
PostInstScript: <<
update-alternatives --install %p/bin/py2applet py2applet
%p/bin/py2applet-py%type_pkg[python] %type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]
then
update-alternatives --remove py2applet %p/bin/py2applet-py%type_pkg[python]
fi
<<
DocFiles: README.txt LICENSE.txt
Description: Creates standalone python OS X applications
DescDetail: <<
py2app is a Python setuptools command which will allow
you to make standalone Mac OS X application bundles
and plugins from Python scripts.
py2app is similar in purpose and design to py2exe for
Windows.
<<
License: BSD
Homepage: http://undefined.org/python/#py2app
Maintainer: Brendan Cully <[email protected]>
<<
--- NEW FILE: py2app-py.patch ---
Find python library with distutils.sysconfig
diff -r 313a2911ca6e py2app/build_app.py
--- a/py2app/build_app.py Fri Jan 19 00:14:30 2007 -0800
+++ b/py2app/build_app.py Fri Jan 19 00:24:43 2007 -0800
@@ -15,7 +15,7 @@ from cStringIO import StringIO
from setuptools import Command
from distutils.util import convert_path
-from distutils import log
+from distutils import log, sysconfig
from distutils.errors import *
from altgraph.compat import *
@@ -350,7 +350,7 @@ class py2app(Command):
# XXX - this is a bit of a hack!
# ideally we'd use dylib functions to figure this out
if prefix is None:
- prefix = sys.prefix
+ prefix = sysconfig.get_config_var('LIBPL')
if version is None:
version = sys.version
version = version[:3]
@@ -366,7 +366,7 @@ class py2app(Command):
runtime = os.path.join(info['location'], info['name'])
else:
dylib = 'libpython%s.dylib' % (sys.version[:3],)
- runtime = os.path.join(prefix, 'lib', dylib)
+ runtime = os.path.join(prefix, dylib)
return dylib, runtime
def symlink(self, src, dst):
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs