pkgsrc-WIP-changes archive

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

py-qt-builder, py-sip5: remove, because moved to pkgsrc.



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Wed Jan 19 19:29:47 2022 +0100
Changeset:	fee02ec61c205e3b6cbfa632d381dac782de2a89

Modified Files:
	Makefile
Removed Files:
	py-qt-builder/DESCR
	py-qt-builder/Makefile
	py-qt-builder/PLIST
	py-qt-builder/distinfo
	py-sip5/DESCR
	py-sip5/Makefile
	py-sip5/patches/patch-sipbuild_project.py

Log Message:
py-qt-builder, py-sip5: remove, because moved to pkgsrc.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fee02ec61c205e3b6cbfa632d381dac782de2a89

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                  |   2 -
 py-qt-builder/DESCR                       |  19 ------
 py-qt-builder/Makefile                    |  27 --------
 py-qt-builder/PLIST                       | 102 ------------------------------
 py-qt-builder/distinfo                    |   5 --
 py-sip5/DESCR                             |  21 ------
 py-sip5/Makefile                          |  44 -------------
 py-sip5/patches/patch-sipbuild_project.py |  63 ------------------
 8 files changed, 283 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index ab4d94f89b..c6c2c8abd4 100644
--- a/Makefile
+++ b/Makefile
@@ -4457,7 +4457,6 @@ SUBDIR+=	py-qmath
 SUBDIR+=	py-qnet
 SUBDIR+=	py-qrng
 SUBDIR+=	py-qsymm
-SUBDIR+=	py-qt-builder
 SUBDIR+=	py-qt-thread-updater
 SUBDIR+=	py-qt5-webengine
 SUBDIR+=	py-qtpy
@@ -4597,7 +4596,6 @@ SUBDIR+=	py-sima
 SUBDIR+=	py-simpleparse-mxtexttools
 SUBDIR+=	py-simulators
 SUBDIR+=	py-singletonify
-SUBDIR+=	py-sip5
 SUBDIR+=	py-sip6
 SUBDIR+=	py-sipvicious
 SUBDIR+=	py-sleekxmpp
diff --git a/py-qt-builder/DESCR b/py-qt-builder/DESCR
deleted file mode 100644
index 32e9676417..0000000000
--- a/py-qt-builder/DESCR
+++ /dev/null
@@ -1,19 +0,0 @@
-PyQt-builder is a tool for generating Python bindings for C++ libraries that
-use the Qt application framework. The bindings are built on top of the PyQt
-bindings for Qt. PyQt-builder is used to build PyQt itself.
-
-PyQt-builder also includes the pyqt-bundle command line tool used to bundle a
-copy of Qt with a PyQt wheel. This is separate from the build system and
-described in Bundling Qt Using pyqt-bundle.
-
-PyQt-builder is actually an extension of the PEP 384-compliant SIP bindings
-generator and build system. In the simplest cases all that is needed is a
-pyproject.toml file that specifies how the bindings are to be generated. More
-complicated cases require additional code, typically implemented in a
-project.py file.
-
-PyQt-builder doesn't provide any additional command line build tools but does
-extend the SIP tools by providing additional command line options and options
-that can be specified in the pyproject.toml file. These are implemented by the
-pyqtbuild module which also provides an API that can be used by a project�s
-project.py file.
diff --git a/py-qt-builder/Makefile b/py-qt-builder/Makefile
deleted file mode 100644
index 725cf2fad3..0000000000
--- a/py-qt-builder/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	PyQt-builder-${PKGVERSION_NOREV}
-PKGNAME=	${PYPKGPREFIX}-qt-builder-1.12.2
-CATEGORIES=	x11
-MASTER_SITES=	${MASTER_SITE_PYPI:=P/PyQt-builder/}
-
-MAINTAINER=	rhialto%NetBSD.org@localhost
-HOMEPAGE=	https://www.riverbankcomputing.com/software/pyqt-builder/
-COMMENT=	Tool to create Python bindings for C++ libraries using Qt
-LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3
-
-DEPENDS+=	${PYPKGPREFIX}-sip5>=5<7:../../wip/py-sip5
-
-DEPENDS+=	${PYPKGPREFIX}-packaging>=0:../../devel/py-packaging
-DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
-
-USE_LANGUAGES=	c c++
-
-post-install:
-	cd ${DESTDIR}${PREFIX}/${PYSITELIB}/pyqtbuild/bundle && rm -r dlls
-	cd ${DESTDIR}${PREFIX}/bin && \
-		${MV} pyqt-bundle pyqt-bundle-${PYVERSSUFFIX} && \
-		${MV} pyqt-qt-wheel pyqt-qt-wheel-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-qt-builder/PLIST b/py-qt-builder/PLIST
deleted file mode 100644
index 0c0ba12162..0000000000
--- a/py-qt-builder/PLIST
+++ /dev/null
@@ -1,102 +0,0 @@
-@comment $NetBSD$
-bin/pyqt-bundle-${PYVERSSUFFIX}
-bin/pyqt-qt-wheel-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/pyqtbuild/__init__.py
-${PYSITELIB}/pyqtbuild/__init__.pyc
-${PYSITELIB}/pyqtbuild/__init__.pyo
-${PYSITELIB}/pyqtbuild/bindings.py
-${PYSITELIB}/pyqtbuild/bindings.pyc
-${PYSITELIB}/pyqtbuild/bindings.pyo
-${PYSITELIB}/pyqtbuild/builder.py
-${PYSITELIB}/pyqtbuild/builder.pyc
-${PYSITELIB}/pyqtbuild/builder.pyo
-${PYSITELIB}/pyqtbuild/bundle/__init__.py
-${PYSITELIB}/pyqtbuild/bundle/__init__.pyc
-${PYSITELIB}/pyqtbuild/bundle/__init__.pyo
-${PYSITELIB}/pyqtbuild/bundle/abstract_package.py
-${PYSITELIB}/pyqtbuild/bundle/abstract_package.pyc
-${PYSITELIB}/pyqtbuild/bundle/abstract_package.pyo
-${PYSITELIB}/pyqtbuild/bundle/bundle.py
-${PYSITELIB}/pyqtbuild/bundle/bundle.pyc
-${PYSITELIB}/pyqtbuild/bundle/bundle.pyo
-${PYSITELIB}/pyqtbuild/bundle/bundle_main.py
-${PYSITELIB}/pyqtbuild/bundle/bundle_main.pyc
-${PYSITELIB}/pyqtbuild/bundle/bundle_main.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/__init__.py
-${PYSITELIB}/pyqtbuild/bundle/packages/__init__.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/__init__.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt3d.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt3d.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt3d.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt5.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt5.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt5.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_3d.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_3d.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_3d.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_charts.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_charts.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_charts.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_datavisualization.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_datavisualization.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_datavisualization.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_networkauth.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_networkauth.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_networkauth.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_webengine.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_webengine.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqt6_webengine.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtchart.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtchart.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtchart.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtdatavisualization.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtdatavisualization.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtdatavisualization.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtnetworkauth.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtnetworkauth.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtnetworkauth.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtpurchasing.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtpurchasing.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtpurchasing.pyo
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtwebengine.py
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtwebengine.pyc
-${PYSITELIB}/pyqtbuild/bundle/packages/pyqtwebengine.pyo
-${PYSITELIB}/pyqtbuild/bundle/qt_metadata.py
-${PYSITELIB}/pyqtbuild/bundle/qt_metadata.pyc
-${PYSITELIB}/pyqtbuild/bundle/qt_metadata.pyo
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel.py
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel.pyc
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel.pyo
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel_distinfo/LICENSE
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel_distinfo/METADATA
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel_distinfo/WHEEL
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel_main.py
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel_main.pyc
-${PYSITELIB}/pyqtbuild/bundle/qt_wheel_main.pyo
-${PYSITELIB}/pyqtbuild/bundle/verbose.py
-${PYSITELIB}/pyqtbuild/bundle/verbose.pyc
-${PYSITELIB}/pyqtbuild/bundle/verbose.pyo
-${PYSITELIB}/pyqtbuild/bundle/wheel.py
-${PYSITELIB}/pyqtbuild/bundle/wheel.pyc
-${PYSITELIB}/pyqtbuild/bundle/wheel.pyo
-${PYSITELIB}/pyqtbuild/installable.py
-${PYSITELIB}/pyqtbuild/installable.pyc
-${PYSITELIB}/pyqtbuild/installable.pyo
-${PYSITELIB}/pyqtbuild/project.py
-${PYSITELIB}/pyqtbuild/project.pyc
-${PYSITELIB}/pyqtbuild/project.pyo
-${PYSITELIB}/pyqtbuild/version.py
-${PYSITELIB}/pyqtbuild/version.pyc
-${PYSITELIB}/pyqtbuild/version.pyo
diff --git a/py-qt-builder/distinfo b/py-qt-builder/distinfo
deleted file mode 100644
index 1e22469ca8..0000000000
--- a/py-qt-builder/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (PyQt-builder-1.12.2.tar.gz) = e0d943499bd920b8f713ec9cb2b91cf6c39e0ce09782e93498ec9a2ef1023539
-SHA512 (PyQt-builder-1.12.2.tar.gz) = 022f2cd40c100543c4b442fc5b27bbf2ec853d94b531f8f6dc1d7f92b07bcc20e8f0a4eb64feb96d094ba0d5f01fddcc8aed23ddf67a61417e07983a73918230
-Size (PyQt-builder-1.12.2.tar.gz) = 5727071 bytes
diff --git a/py-sip5/DESCR b/py-sip5/DESCR
deleted file mode 100644
index 957566f511..0000000000
--- a/py-sip5/DESCR
+++ /dev/null
@@ -1,21 +0,0 @@
-SIP - A Python Bindings Generator for C and C++ Libraries
-=========================================================
-
-What is SIP?
-------------
-
-One of the features of Python that makes it so powerful is the ability to take
-existing libraries, written in C or C++, and make them available as Python
-extension modules.  Such extension modules are often called bindings for the
-library.
-
-SIP is a collection of tools that makes it very easy to create Python bindings
-for C and C++ libraries.  It was originally developed in 1998 to create PyQt,
-the Python bindings for the Qt toolkit, but can be used to create bindings for
-any C or C++ library.  For example it is also used to generate wxPython, the
-Python bindings for wxWidgets.
-
-SIP comprises a set of build tools and a sip module. The build tools process a
-set of specification files and generates C or C++ code which is then compiled
-to create the bindings extension module.  Several extension modules may be
-...
diff --git a/py-sip5/Makefile b/py-sip5/Makefile
deleted file mode 100644
index 33467c29a5..0000000000
--- a/py-sip5/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	sip-${PKGVERSION_NOREV}
-PKGNAME=	${PYPKGPREFIX}-sip5-5.5.0
-CATEGORIES=	x11
-MASTER_SITES=	${MASTER_SITE_PYPI:=s/sip/}
-
-MAINTAINER=	rhialto%NetBSD.org@localhost
-HOMEPAGE=	https://www.riverbankcomputing.com/software/sip/
-COMMENT=	Tool to create Python bindings for C++ libraries
-LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3
-
-
-DEPENDS+=	${PYPKGPREFIX}-packaging>=0:../../devel/py-packaging
-DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
-DEPENDS+=	${PYPKGPREFIX}-toml>=0:../../textproc/py-toml
-
-USE_LANGUAGES=	c c++
-
-CLI=			build distinfo install module sdist wheel
-MODULE.build=		sipbuild.tools.build
-MODULE.distinfo=	sipbuild.distinfo.main
-MODULE.install=		sipbuild.tools.install
-MODULE.module=		sipbuild.module.main
-MODULE.sdist=		sipbuild.tools.sdist
-MODULE.wheel=		sipbuild.tools.wheel
-MODULE.sip5=		sipbuild.legacy.sip5
-
-# Overwrite the console scripts with versions that don't fail
-# when sip-4.* is also installed.
-post-install:
-.for cli in ${CLI}
-	{ ${ECHO} "#!${PYTHONBIN}"; \
-	  ${ECHO} "import sys"; \
-	  ${ECHO} "from ${MODULE.${cli}} import main; sys.exit(main());"; \
-	} > ${DESTDIR}${PREFIX}/bin/sip-${cli}
-.endfor
-	{ ${ECHO} "#!${PYTHONBIN}"; \
-	  ${ECHO} "import sys"; \
-	  ${ECHO} "from ${MODULE.sip5} import main; sys.exit(main());"; \
-	} > ${DESTDIR}${PREFIX}/bin/sip5
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-sip5/patches/patch-sipbuild_project.py b/py-sip5/patches/patch-sipbuild_project.py
deleted file mode 100644
index 1582375e07..0000000000
--- a/py-sip5/patches/patch-sipbuild_project.py
+++ /dev/null
@@ -1,63 +0,0 @@
-$NetBSD$
-
-Backport Project.get_platform_tag from sip6, because it is used
-by py-qtbuilder.
-
---- sipbuild/project.py.orig	2020-11-23 13:21:33.000000000 +0000
-+++ sipbuild/project.py
-@@ -28,6 +28,7 @@ import packaging
- import shutil
- import subprocess
- import sys
-+import sysconfig
- import tempfile
- import warnings
- 
-@@ -306,6 +307,47 @@ class Project(AbstractProject, Configura
- 
-         return ''
- 
-+    def get_platform_tag(self):
-+        """ Return the platform tag to use in a wheel name.  This default
-+        implementation uses the platform name and applies PEP defined
-+        conventions depending on OS version and GLIBC version as appropriate.
-+        """
-+
-+        platform_tag = sysconfig.get_platform()
-+
-+        if self.py_platform == 'darwin' and self.minimum_macos_version:
-+            # We expect a three part tag so leave anything else unchanged.
-+            parts = platform_tag.split('-')
-+            if len(parts) == 3:
-+                parts[1] = '{}.{}'.format(self.minimum_macos_version[0],
-+                        self.minimum_macos_version[1])
-+
-+                platform_tag = '-'.join(parts)
-+
-+        elif self.py_platform == 'linux' and self.manylinux:
-+            # We expect a two part tag so leave anything else unchanged.
-+            parts = platform_tag.split('-')
-+            if len(parts) == 2:
-+                if self.minimum_glibc_version > (2, 17):
-+                    # PEP 600.
-+                    parts[0] = 'manylinux'
-+                    parts.insert(1,
-+                            '{}.{}'.format(self.minimum_glibc_version[0],
-+                                    self.minimum_glibc_version[1]))
-+                elif self.minimum_glibc_version > (2, 12):
-+                    # PEP 599.
-+                    parts[0] = 'manylinux2014'
-+                elif self.minimum_glibc_version > (2, 5):
-+                    # PEP 571.
-+                    parts[0] = 'manylinux2010'
-+                else:
-+                    # PEP 513.
-+                    parts[0] = 'manylinux1'
-+
-+                platform_tag = '-'.join(parts)
-+
-+        return platform_tag.replace('.', '_').replace('-', '_')
-+
-     def get_requires_dists(self):
-         """ Return any 'Requires-Dist' to add to the project's meta-data. """
- 


Home | Main Index | Thread Index | Old Index