Subject: CVS commit: pkgsrc/devel/py-py2app
From: Adam Ciarcinski
Date: 2022-10-31 09:26:13
Message id: 20221031082613.A8FDCFA90@cvs.NetBSD.org

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``).

Files:
RevisionActionfile
1.2modifypkgsrc/devel/py-py2app/ALTERNATIVES
1.14modifypkgsrc/devel/py-py2app/Makefile
1.6modifypkgsrc/devel/py-py2app/PLIST
1.8modifypkgsrc/devel/py-py2app/distinfo