pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-py2app py-py2app: updated to 0.28.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c2b5ee49a16
branches:  trunk
changeset: 387488:4c2b5ee49a16
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 31 08:26:13 2022 +0000

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

diffstat:

 devel/py-py2app/ALTERNATIVES |    2 +-
 devel/py-py2app/Makefile     |   26 +++-----
 devel/py-py2app/PLIST        |  119 +++++++++++++++++++++++++++++++-----------
 devel/py-py2app/distinfo     |    8 +-
 4 files changed, 103 insertions(+), 52 deletions(-)

diffs (292 lines):

diff -r 8b977e1ee014 -r 4c2b5ee49a16 devel/py-py2app/ALTERNATIVES
--- a/devel/py-py2app/ALTERNATIVES      Mon Oct 31 08:24:33 2022 +0000
+++ b/devel/py-py2app/ALTERNATIVES      Mon Oct 31 08:26:13 2022 +0000
@@ -1,1 +1,1 @@
-bin/py2applet @PREFIX@/bin/py2applet@PYVERSSUFFIX@
+bin/py2applet @PREFIX@/bin/py2applet-@PYVERSSUFFIX@
diff -r 8b977e1ee014 -r 4c2b5ee49a16 devel/py-py2app/Makefile
--- a/devel/py-py2app/Makefile  Mon Oct 31 08:24:33 2022 +0000
+++ b/devel/py-py2app/Makefile  Mon Oct 31 08:26:13 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2022/01/05 20:47:35 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/10/31 08:26:13 adam Exp $
 
-DISTNAME=      py2app-0.14
+DISTNAME=      py2app-0.28.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/py2app/}
 
@@ -11,23 +10,20 @@
 COMMENT=       Create standalone Mac OS X applications with Python
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-altgraph>=0.13:../../graphics/py-altgraph
-DEPENDS+=      ${PYPKGPREFIX}-modulegraph>=0.15:../../devel/py-modulegraph
-DEPENDS+=      ${PYPKGPREFIX}-macholib>=1.8:../../devel/py-macholib
-TEST_DEPENDS+= ${PYPKGPREFIX}-pyobjc-core-[0-9]*:../../devel/py-pyobjc-core
+ONLY_FOR_PLATFORM=     Darwin-*-*
 
-.include "../../lang/python/pyversion.mk"
-.if ${PYPKGPREFIX} == py27
-TEST_DEPENDS=  # none; py-pyobjc-core is incompatible with py27
-do-test:
-.endif
-
-ONLY_FOR_PLATFORM=     Darwin-*-*
+DEPENDS+=      ${PYPKGPREFIX}-altgraph>=0.16:../../graphics/py-altgraph
+DEPENDS+=      ${PYPKGPREFIX}-modulegraph>=0.19.3:../../devel/py-modulegraph
+DEPENDS+=      ${PYPKGPREFIX}-macholib>=1.16:../../devel/py-macholib
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyobjc-core-[0-9]*:../../devel/py-pyobjc-core
 
 USE_PKG_RESOURCES=     yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} py2applet py2applet${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} py2applet py2applet-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8b977e1ee014 -r 4c2b5ee49a16 devel/py-py2app/PLIST
--- a/devel/py-py2app/PLIST     Mon Oct 31 08:24:33 2022 +0000
+++ b/devel/py-py2app/PLIST     Mon Oct 31 08:26:13 2022 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2018/04/14 08:38:53 adam Exp $
-bin/py2applet${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.6 2022/10/31 08:26:13 adam Exp $
+bin/py2applet-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -10,6 +10,9 @@
 ${PYSITELIB}/py2app/__init__.py
 ${PYSITELIB}/py2app/__init__.pyc
 ${PYSITELIB}/py2app/__init__.pyo
+${PYSITELIB}/py2app/_pkg_meta.py
+${PYSITELIB}/py2app/_pkg_meta.pyc
+${PYSITELIB}/py2app/_pkg_meta.pyo
 ${PYSITELIB}/py2app/apptemplate/__init__.py
 ${PYSITELIB}/py2app/apptemplate/__init__.pyc
 ${PYSITELIB}/py2app/apptemplate/__init__.pyo
@@ -20,6 +23,12 @@
 ${PYSITELIB}/py2app/apptemplate/plist_template.py
 ${PYSITELIB}/py2app/apptemplate/plist_template.pyc
 ${PYSITELIB}/py2app/apptemplate/plist_template.pyo
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-arm64
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-asl-arm64
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-asl-i386
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-asl-intel
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-asl-universal2
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-asl-x86_64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-fat
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-fat3
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-i386
@@ -27,7 +36,10 @@
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-ppc
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-ppc64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-universal
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-universal2
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-x86_64
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-x86_64-oldsdk
+${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-arm64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-fat
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-fat3
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-i386
@@ -35,7 +47,9 @@
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-ppc
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-ppc64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-universal
+${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-universal2
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-x86_64
+${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-x86_64-oldsdk
 ${PYSITELIB}/py2app/apptemplate/setup.py
 ${PYSITELIB}/py2app/apptemplate/setup.pyc
 ${PYSITELIB}/py2app/apptemplate/setup.pyo
@@ -116,6 +130,7 @@
 ${PYSITELIB}/py2app/bundletemplate/plist_template.py
 ${PYSITELIB}/py2app/bundletemplate/plist_template.pyc
 ${PYSITELIB}/py2app/bundletemplate/plist_template.pyo
+${PYSITELIB}/py2app/bundletemplate/prebuilt/main-arm64
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-fat
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-fat3
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-i386
@@ -123,6 +138,7 @@
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-ppc
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-ppc64
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-universal
+${PYSITELIB}/py2app/bundletemplate/prebuilt/main-universal2
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-x86_64
 ${PYSITELIB}/py2app/bundletemplate/setup.py
 ${PYSITELIB}/py2app/bundletemplate/setup.pyc
@@ -158,21 +174,30 @@
 ${PYSITELIB}/py2app/recipes/__init__.py
 ${PYSITELIB}/py2app/recipes/__init__.pyc
 ${PYSITELIB}/py2app/recipes/__init__.pyo
+${PYSITELIB}/py2app/recipes/automissing.py
+${PYSITELIB}/py2app/recipes/automissing.pyc
+${PYSITELIB}/py2app/recipes/automissing.pyo
+${PYSITELIB}/py2app/recipes/autopackages.py
+${PYSITELIB}/py2app/recipes/autopackages.pyc
+${PYSITELIB}/py2app/recipes/autopackages.pyo
+${PYSITELIB}/py2app/recipes/black.py
+${PYSITELIB}/py2app/recipes/black.pyc
+${PYSITELIB}/py2app/recipes/black.pyo
 ${PYSITELIB}/py2app/recipes/cjkcodecs.py
 ${PYSITELIB}/py2app/recipes/cjkcodecs.pyc
 ${PYSITELIB}/py2app/recipes/cjkcodecs.pyo
 ${PYSITELIB}/py2app/recipes/ctypes.py
 ${PYSITELIB}/py2app/recipes/ctypes.pyc
 ${PYSITELIB}/py2app/recipes/ctypes.pyo
-${PYSITELIB}/py2app/recipes/docutils.py
-${PYSITELIB}/py2app/recipes/docutils.pyc
-${PYSITELIB}/py2app/recipes/docutils.pyo
+${PYSITELIB}/py2app/recipes/detect_dunder_file.py
+${PYSITELIB}/py2app/recipes/detect_dunder_file.pyc
+${PYSITELIB}/py2app/recipes/detect_dunder_file.pyo
 ${PYSITELIB}/py2app/recipes/ftplib.py
 ${PYSITELIB}/py2app/recipes/ftplib.pyc
 ${PYSITELIB}/py2app/recipes/ftplib.pyo
-${PYSITELIB}/py2app/recipes/importlib.py
-${PYSITELIB}/py2app/recipes/importlib.pyc
-${PYSITELIB}/py2app/recipes/importlib.pyo
+${PYSITELIB}/py2app/recipes/gcloud.py
+${PYSITELIB}/py2app/recipes/gcloud.pyc
+${PYSITELIB}/py2app/recipes/gcloud.pyo
 ${PYSITELIB}/py2app/recipes/lxml.py
 ${PYSITELIB}/py2app/recipes/lxml.pyc
 ${PYSITELIB}/py2app/recipes/lxml.pyo
@@ -182,15 +207,21 @@
 ${PYSITELIB}/py2app/recipes/matplotlib_prescript.py
 ${PYSITELIB}/py2app/recipes/matplotlib_prescript.pyc
 ${PYSITELIB}/py2app/recipes/matplotlib_prescript.pyo
-${PYSITELIB}/py2app/recipes/mimetypes.py
-${PYSITELIB}/py2app/recipes/mimetypes.pyc
-${PYSITELIB}/py2app/recipes/mimetypes.pyo
-${PYSITELIB}/py2app/recipes/numpy.py
-${PYSITELIB}/py2app/recipes/numpy.pyc
-${PYSITELIB}/py2app/recipes/numpy.pyo
-${PYSITELIB}/py2app/recipes/os_module.py
-${PYSITELIB}/py2app/recipes/os_module.pyc
-${PYSITELIB}/py2app/recipes/os_module.pyo
+${PYSITELIB}/py2app/recipes/multiprocessing.py
+${PYSITELIB}/py2app/recipes/multiprocessing.pyc
+${PYSITELIB}/py2app/recipes/multiprocessing.pyo
+${PYSITELIB}/py2app/recipes/opencv.py
+${PYSITELIB}/py2app/recipes/opencv.pyc
+${PYSITELIB}/py2app/recipes/opencv.pyo
+${PYSITELIB}/py2app/recipes/pandas.py
+${PYSITELIB}/py2app/recipes/pandas.pyc
+${PYSITELIB}/py2app/recipes/pandas.pyo
+${PYSITELIB}/py2app/recipes/platformdirs.py
+${PYSITELIB}/py2app/recipes/platformdirs.pyc
+${PYSITELIB}/py2app/recipes/platformdirs.pyo
+${PYSITELIB}/py2app/recipes/pydantic.py
+${PYSITELIB}/py2app/recipes/pydantic.pyc
+${PYSITELIB}/py2app/recipes/pydantic.pyo
 ${PYSITELIB}/py2app/recipes/pydoc.py
 ${PYSITELIB}/py2app/recipes/pydoc.pyc
 ${PYSITELIB}/py2app/recipes/pydoc.pyo
@@ -200,40 +231,61 @@
 ${PYSITELIB}/py2app/recipes/pygame.py
 ${PYSITELIB}/py2app/recipes/pygame.pyc
 ${PYSITELIB}/py2app/recipes/pygame.pyo
+${PYSITELIB}/py2app/recipes/pylsp.py
+${PYSITELIB}/py2app/recipes/pylsp.pyc
+${PYSITELIB}/py2app/recipes/pylsp.pyo
 ${PYSITELIB}/py2app/recipes/pyopengl.py
 ${PYSITELIB}/py2app/recipes/pyopengl.pyc
 ${PYSITELIB}/py2app/recipes/pyopengl.pyo
 ${PYSITELIB}/py2app/recipes/pyside.py
 ${PYSITELIB}/py2app/recipes/pyside.pyc
 ${PYSITELIB}/py2app/recipes/pyside.pyo
-${PYSITELIB}/py2app/recipes/pyzmq.py
-${PYSITELIB}/py2app/recipes/pyzmq.pyc
-${PYSITELIB}/py2app/recipes/pyzmq.pyo
+${PYSITELIB}/py2app/recipes/pyside2.py
+${PYSITELIB}/py2app/recipes/pyside2.pyc
+${PYSITELIB}/py2app/recipes/pyside2.pyo
+${PYSITELIB}/py2app/recipes/pyside6.py
+${PYSITELIB}/py2app/recipes/pyside6.pyc
+${PYSITELIB}/py2app/recipes/pyside6.pyo
 ${PYSITELIB}/py2app/recipes/qt.conf
 ${PYSITELIB}/py2app/recipes/qt5.py
 ${PYSITELIB}/py2app/recipes/qt5.pyc
 ${PYSITELIB}/py2app/recipes/qt5.pyo
-${PYSITELIB}/py2app/recipes/re.py
-${PYSITELIB}/py2app/recipes/re.pyc
-${PYSITELIB}/py2app/recipes/re.pyo
-${PYSITELIB}/py2app/recipes/scipy.py
-${PYSITELIB}/py2app/recipes/scipy.pyc
-${PYSITELIB}/py2app/recipes/scipy.pyo
+${PYSITELIB}/py2app/recipes/qt6.py
+${PYSITELIB}/py2app/recipes/qt6.pyc
+${PYSITELIB}/py2app/recipes/qt6.pyo
+${PYSITELIB}/py2app/recipes/rtree.py
+${PYSITELIB}/py2app/recipes/rtree.pyc
+${PYSITELIB}/py2app/recipes/rtree.pyo
 ${PYSITELIB}/py2app/recipes/setuptools.py
 ${PYSITELIB}/py2app/recipes/setuptools.pyc
 ${PYSITELIB}/py2app/recipes/setuptools.pyo
+${PYSITELIB}/py2app/recipes/shiboken2.py
+${PYSITELIB}/py2app/recipes/shiboken2.pyc
+${PYSITELIB}/py2app/recipes/shiboken2.pyo
+${PYSITELIB}/py2app/recipes/shiboken6.py
+${PYSITELIB}/py2app/recipes/shiboken6.pyc
+${PYSITELIB}/py2app/recipes/shiboken6.pyo
 ${PYSITELIB}/py2app/recipes/sip.py
 ${PYSITELIB}/py2app/recipes/sip.pyc
 ${PYSITELIB}/py2app/recipes/sip.pyo
-${PYSITELIB}/py2app/recipes/subprocess.py
-${PYSITELIB}/py2app/recipes/subprocess.pyc
-${PYSITELIB}/py2app/recipes/subprocess.pyo
+${PYSITELIB}/py2app/recipes/six.py
+${PYSITELIB}/py2app/recipes/six.pyc
+${PYSITELIB}/py2app/recipes/six.pyo
+${PYSITELIB}/py2app/recipes/sphinx.py
+${PYSITELIB}/py2app/recipes/sphinx.pyc
+${PYSITELIB}/py2app/recipes/sphinx.pyo
+${PYSITELIB}/py2app/recipes/sqlalchemy.py
+${PYSITELIB}/py2app/recipes/sqlalchemy.pyc
+${PYSITELIB}/py2app/recipes/sqlalchemy.pyo
+${PYSITELIB}/py2app/recipes/sslmod.py
+${PYSITELIB}/py2app/recipes/sslmod.pyc
+${PYSITELIB}/py2app/recipes/sslmod.pyo
 ${PYSITELIB}/py2app/recipes/sysconfig_module.py
 ${PYSITELIB}/py2app/recipes/sysconfig_module.pyc
 ${PYSITELIB}/py2app/recipes/sysconfig_module.pyo
-${PYSITELIB}/py2app/recipes/uuid.py
-${PYSITELIB}/py2app/recipes/uuid.pyc
-${PYSITELIB}/py2app/recipes/uuid.pyo
+${PYSITELIB}/py2app/recipes/tkinter.py
+${PYSITELIB}/py2app/recipes/tkinter.pyc
+${PYSITELIB}/py2app/recipes/tkinter.pyo
 ${PYSITELIB}/py2app/recipes/virtualenv.py
 ${PYSITELIB}/py2app/recipes/virtualenv.pyc
 ${PYSITELIB}/py2app/recipes/virtualenv.pyo
@@ -243,6 +295,9 @@
 ${PYSITELIB}/py2app/recipes/xml.py
 ${PYSITELIB}/py2app/recipes/xml.pyc
 ${PYSITELIB}/py2app/recipes/xml.pyo
+${PYSITELIB}/py2app/recipes/zmq.py
+${PYSITELIB}/py2app/recipes/zmq.pyc
+${PYSITELIB}/py2app/recipes/zmq.pyo
 ${PYSITELIB}/py2app/script_py2applet.py
 ${PYSITELIB}/py2app/script_py2applet.pyc
 ${PYSITELIB}/py2app/script_py2applet.pyo
diff -r 8b977e1ee014 -r 4c2b5ee49a16 devel/py-py2app/distinfo
--- a/devel/py-py2app/distinfo  Mon Oct 31 08:24:33 2022 +0000
+++ b/devel/py-py2app/distinfo  Mon Oct 31 08:26:13 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:18:47 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/10/31 08:26:13 adam Exp $
 
-BLAKE2s (py2app-0.14.tar.gz) = 6ab56592afe8a0636cc61689aae7fce8bb0961dd97b7924d619fc8b10efe139d
-SHA512 (py2app-0.14.tar.gz) = f4e277458abc0d288d30b09f742493030685e4f96cb4c1f251abf8f3ed458864c81b9c8e84b37a87d8d0df426216c84f6c03e4093f62ffccc63c063e8e2b9774
-Size (py2app-0.14.tar.gz) = 1165241 bytes
+BLAKE2s (py2app-0.28.4.tar.gz) = 6a01259996d22fee0c5e75944f917007c5a48f44b761396687a0a648ba7d475b
+SHA512 (py2app-0.28.4.tar.gz) = 4f3995f21adc0af4a8d95b399b21c49b06c20e5080250164c7a2d948bc6c72e633972c57e186f469b42072dc61f22c8046c8e8f21c8a19db12834f3930a82f86
+Size (py2app-0.28.4.tar.gz) = 1170419 bytes



Home | Main Index | Thread Index | Old Index