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

Felix Yan felixonmars at archlinux.org
Tue Sep 18 14:28:08 UTC 2018


    Date: Tuesday, September 18, 2018 @ 14:28:08
  Author: felixonmars
Revision: 383069

upgpkg: python-testflo 1.3.1-2

use setuptools to generate entry points

Modified:
  python-testflo/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-18 14:20:50 UTC (rev 383068)
+++ PKGBUILD	2018-09-18 14:28:08 UTC (rev 383069)
@@ -2,15 +2,21 @@
 
 pkgname=python-testflo
 pkgver=1.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple flow-based testing framework"
 url="https://github.com/RaRe-Technologies/testflo"
 license=('Apache')
 arch=('any')
 depends=('python-six' 'python-coverage')
+makedepends=('python-setuptools')
 source=("https://pypi.io/packages/source/t/testflo/testflo-$pkgver.tar.gz")
 sha512sums=('5d139ad87b1c4f19801888f25b870910bd810e5bf19ee29a61243562fa24ae5215a23b6280f64719d3fde5d2b3c528558816beed60bdf7a8e8c3999c5c275338')
 
+prepare() {
+  cd testflo-$pkgver
+  sed -i 's/from distutils.core/from setuptools/' setup.py
+}
+
 build() {
   cd testflo-$pkgver
   python setup.py build



More information about the arch-commits mailing list