[arch-commits] Commit in python-pyee/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Sun Jun 20 03:19:25 UTC 2021


    Date: Sunday, June 20, 2021 @ 03:19:25
  Author: polyzen
Revision: 965799

upgpkg: python-pyee 8.1.0-3: Remove unnecessary setup deps

Modified:
  python-pyee/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-20 03:06:43 UTC (rev 965798)
+++ PKGBUILD	2021-06-20 03:19:25 UTC (rev 965799)
@@ -3,18 +3,24 @@
 
 pkgname=python-pyee
 pkgver=8.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Port of node.js's EventEmitter to python"
 arch=('any')
 url=https://github.com/jfhbrook/pyee
 license=('MIT')
 depends=('python-trio' 'python-twisted')
-makedepends=('python-pip' 'python-setuptools' 'python-wheel')
+makedepends=('python-setuptools')
 checkdepends=('python-mock' 'python-pytest'{,-asyncio,-trio})
 source=("https://files.pythonhosted.org/packages/source/p/pyee/pyee-$pkgver.tar.gz")
 sha256sums=('92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31')
 b2sums=('5e8553cd1e7fde1dec101e101611faa409c24743cce87d4c2a968207af33ee6af66fae1e2a34453375769d845be25f55c1e78c3beeb65381f5f4b257b15b45f1')
 
+prepare() {
+  cd pyee-$pkgver
+  # Remove setup_requres list
+  sed -i '/setup_requires/,/\],/d' setup.py
+}
+
 build() {
   cd pyee-$pkgver
   python setup.py build



More information about the arch-commits mailing list