[arch-commits] Commit in python-testflo/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 19:59:34 UTC 2019


    Date: Friday, October 25, 2019 @ 19:59:33
  Author: felixonmars
Revision: 519668

archrelease: copy trunk to community-staging-any

Added:
  python-testflo/repos/community-staging-any/
  python-testflo/repos/community-staging-any/PKGBUILD
    (from rev 519664, python-testflo/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-testflo/repos/community-staging-any/PKGBUILD (from rev 519664, python-testflo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 19:59:33 UTC (rev 519668)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-testflo
+pkgver=1.3.4
+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=('9d2466eb5ebc844632fba4eabd3f453af61cde0788f27c5f23ea383661fb27b19496cc42064f0b0a58537ba6e5661d8c948344449f5717a262d8725c7ff9c5ac')
+
+prepare() {
+  cd testflo-$pkgver
+  sed -i 's/from distutils.core/from setuptools/' setup.py
+}
+
+build() {
+  cd testflo-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd testflo-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list