Up to [cvs.NetBSD.org] / pkgsrc / devel / py-py2app
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-py2app: updated to 0.28.8 py2app 0.28.8 * Fix breakage with setuptools 70. * Add support for python 3.13
py-py2app: updated to 0.28.7 py2app 0.28.7 * Introduce support for Python 3.12
py-py2app: updated to 0.28.6 v0.28.5 Update the recipe for 'black' to work with recent releases of that package.
py-py2app: updated to 0.28.4 py2app 0.28.3 ------------- * Fix crash in py2applet when specifying a directory to include in the application bundle. py2app 0.28.2 ------------- * Fix incompatibility with recent setuptools py2app 0.28.1 ------------- * Fix typo in qt6 recipe * Fix issue where the standard output and standard error streams are set to non-blocking when using py2app. For some reason the "ibtool" command (part of Xcode) sets these streams to non-blocking when compiling NIB files. I've added a context manager that resets the non-blocking status of these streams. * Fix Qt5 recipe for newer versions of PyQt5 * Fix error when using ``py2applet --help`` py2app 0.28 ----------- This is the last version of py2app with compatibility with Python 2.7. Future versions will require Python 3.6 or later. * Fix typo in NamedTemporyFile call * Workaround for autodiscovery in setuptools 61.0 Setuptools 61.0 introduces autodiscovery of distribution attributes, and that broke py2app. This version introduces a ``setuptools.finalize_distribution_options`` entrypoint in py2app that will set the distributions's *name* and *py_modules* attributes in a way that is compatible with the main code of py2app when they are not yet set (before autodiscovery kicks in). In older versions of py2app buildin an app can fail in two ways with setuptools 61.0 or later: - The name of the generated application is not based on the script name, but some other value. - Calling ``python setup.py py2app`` results in an error mentioning ``Multiple top-level modules discovered``. * Add recipe for black * Also include package dist-info for editable installs * The qt5 and qt6 recipes used dodge logic to detect if the Qt library itself is inside the python package, resulting in duplicate copies of Qt. * Fix incompatibility with python 2.7 py2app 0.24 accidently broke compatibility with Python 2.7, and this release fixes this. This is the last release with Python 2.7 support, the next release will contain package metadata that ensures it can only be installed on Python 3. * Find dist-info in included pythonXX.zip By default the ``working_set`` of pkg_resources does not contain distribution information from packages included in zip files, such as the zipped-up stdlib + site-pakckages in py2app bundles. Add some monkey patching to apps using ``pkg_resources`` to fix this. * Fix hard crash in "rtree" recipe when the package contents doesn't match the recipe expectations. * Add definition of ``site.PREFIXES`` * Fix incompatibility with setuptools 60.8.1 The setuptools recipe did not recoginize all vendored dependencies in ``pkg_resources`` and that breaks app bundles that use ``pkg_resoures``. * Add builtin definitions for 'quit' and 'exit' in site.py * Set "ENABLE_USER_SITE=False" in site.py * Update pygame recipe to remove missing icon py2app 0.27 ----------- * The qt5 and qt6 recipes caused a py2app crash when the PyQt5 or PyQt6 is not installed. * Fix incompatibility with setuptools 60.7 and later * Drop usage of tempfile.mktemp * Add ``site.ENABLE_USER_SITE`` in the site.py file for applications (value is always ``False``).
*: set USE_PKG_RESOURCES for more packages
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
devel/py-py2app: disable tests for py27
py-py2app: updated to 0.14 0.14: Features: Started using flake8 to improve coding style Bug fixes: The fix for issue #179 broke the argv emulator Py2app could fail while reporting on possibly missing modules The python executable included in the app bundle as sys.exectuable was not executable
Reset maintainer
Follow some redirects.
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Remove unnecessary PLIST_SUBST, now provided by infrastructure.
Switch to MASTER_SITES_PYPI.
py2app 0.9 ---------- - 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)
py2app 0.8.1 ------------ - Loading scripts didn't work when --no-chdir was used
Move bin/* to bin/*${PYVERSSUFFIX} in post-install, to allow parallel installation of this package for different python versions. Bump PKGREVISION.
Import py27-py2app-0.8 as devel/py-py2app. 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. NOTE: py2app must be used on OSX to build applications, it cannot create Mac applications on other platforms.