d35a991a87
---------- - issue #146, #147: The "python" binary in MyApp.app/Contents/MacOS was the small stub exetable from framework builds, instead of the actual command-line interpreter. The result is that you couldn't use ``sys.executable`` to start a new interpreter, which (amongst others) breaks multiprocessing. - pull request #7: Add support for PyQt5 to the sip recipe. Patch by Mark Montague. - pull request #4: Copying PySide plugins was broken due to bad indentation. - pull request #5: py2app was broken for python versions that don't use _sysconfigdata. - issue #135: Don't sleep for a second after compiling a XIB file - issue #134: Remove target location before copying files into the bundle. - issue #133: Ensure that the application's "Framework" folder is on the search path for ``ctypes.util.find_library``. - issue #132: Depend on modulegraph 0.12 to avoid build errors when the python code contains references to compatibility modules that contain SyntaxErrors for the current python version. - Explicitly report modules that cannot be found at the end of the run (for non-alias builds) Note: This is just a warning, missing modules are not necessarily a problem because modulegraph can detect imports for modules that aren't used on OSX (for example) - Report modules that contain syntax errors at the end of the run (for non-alias builds) Note: This is just a warning, syntax errors be valid when the dependency tree contains modules for the other major release of python (e.g a compat_py2 module that contains compatibility code for Python 2 and contains code that isn't valid Python 3)
26 lines
814 B
Makefile
26 lines
814 B
Makefile
# $NetBSD: Makefile,v 1.4 2014/08/07 01:58:35 rodent Exp $
|
|
|
|
DISTNAME= py2app-0.9
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://pypi.python.org/packages/source/p/py2app/
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
HOMEPAGE= http://bitbucket.org/ronaldoussoren/py2app
|
|
COMMENT= Create standalone Mac OS X applications with Python
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-altgraph>=0.10.1:../../graphics/py-altgraph
|
|
DEPENDS+= ${PYPKGPREFIX}-modulegraph>=0.10.1:../../devel/py-modulegraph
|
|
DEPENDS+= ${PYPKGPREFIX}-macholib>=1.5:../../devel/py-macholib
|
|
|
|
ONLY_FOR_PLATFORM= Darwin-*-*
|
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/py2applet \
|
|
${DESTDIR}${PREFIX}/bin/py2applet${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|