File sip_pre6.8.0.patch of Package python-qcustomplot-pyqt
diff --git a/pyproject.toml b/pyproject.toml
index dcaef3f..7f0a0fc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -3,21 +3,18 @@
requires = ['sip >=5.0.0, <7', 'PyQt-builder >=1.6, <2', 'PyQt5'] # change to PyQt6 if necessary
build-backend = 'sipbuild.api'
-# Specify the PEP 621 metadata for the project.
-[project]
+# Specify the PEP 566 metadata for the project.
+[tool.sip.metadata]
name = 'QCustomPlot_PyQt5' # change to PyQt6 if necessary
version = '2.1.1.2'
-description = 'QCustomPlot is a Qt widget for plotting and data visualization'
-readme = 'README.md'
-urls.homepage = 'https://github.com/salsergey/QCustomPlot-PyQt'
-requires-python = '>=3.7'
-license = {text = 'MIT'}
-keywords = ['PyQt', 'QCustomPlot', 'GUI']
-authors = [
- {email = 'salsergey@gmail.com'},
- {name = 'Sergey Salnikov'}
-]
-classifiers = [
+summary = 'QCustomPlot is a Qt widget for plotting and data visualization'
+home-page = 'https://github.com/salsergey/QCustomPlot-PyQt'
+author = 'Sergey Salnikov'
+author-email = 'salsergey@gmail.com'
+license = 'MIT'
+description-file = 'README.md'
+description-content-type = 'text/markdown'
+classifier = [
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: Developers',
@@ -33,9 +30,7 @@ classifiers = [
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: User Interfaces'
]
-dependencies = [
- 'PyQt5' # change to PyQt6 if necessary
-]
+requires-dist = 'PyQt5' # change to PyQt6 if necessary
[tool.sip.project]
sip-files-dir = 'sip'