./devel/py-py2app, Create standalone macOS applications with Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.28.8, Package name: py312-py2app-0.28.8, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [devel/py-modulegraph] [devel/py-macholib] [graphics/py-altgraph] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1145.512 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-06-11 08:36:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-py2app: updated to 0.28.8

py2app 0.28.8

* Fix breakage with setuptools 70.
* Add support for python 3.13
   2024-01-31 18:35:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-py2app: updated to 0.28.7

py2app 0.28.7
* Introduce support for Python 3.12
   2024-01-17 19:56:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-py2app: updated to 0.28.6

v0.28.5
Update the recipe for 'black' to work with recent releases of that package.
   2022-10-31 09:26:13 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
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``).
   2022-01-05 21:47:37 by Thomas Klausner | Files touched by this commit (26)
Log message:
*: set USE_PKG_RESOURCES for more packages
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip