git » pyqt5.git » commit 7aab9c9

Remove pointless PyQt5-Qt dependency (FS#69802)

author Antonio Rojas
2021-02-27 08:37:56 UTC
committer Antonio Rojas
2021-02-27 08:37:56 UTC
parent 34a7feb0f4a55dc2dbbf835172b82efcf626508d

Remove pointless PyQt5-Qt dependency (FS#69802)

PKGBUILD +5 -1

diff --git a/PKGBUILD b/PKGBUILD
index 4068bc4..e7be5fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgbase=pyqt5
 pkgname=('python-pyqt5')
 pkgdesc="A set of Python bindings for the Qt5 toolkit"
 pkgver=5.15.3
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://riverbankcomputing.com/software/pyqt/intro"
 license=('GPL')
@@ -38,6 +38,10 @@ conflicts=('pyqt5-common')
 source=("https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$pkgver.tar.gz")
 sha256sums=('965ba50e7029b37f218a54ace24e87c77db3e5a9f0b83baeb21fb57b4154b838')
 
+prepare() {
+  sed -e '/requires-dist/d' -i PyQt5-$pkgver/pyproject.toml # Remove pointless PyQt5-Qt dependency
+}
+
 build() {
   cd PyQt5-$pkgver
   sip-build \