./devel/py-py2app, Create standalone Mac OS X applications with Python

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

Branch: CURRENT, Version: 0.28.4, Package name: py310-py2app-0.28.4, 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:

Master sites:

Filesize: 1142.987 KB

Version history: (Expand)

CVS history: (Expand)

   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:

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

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-04-26 12:00:41 by Roland Illig | Files touched by this commit (1)
Log message:
devel/py-py2app: disable tests for py27
   2018-04-14 10:38:53 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-py2app: updated to 0.14

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
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer