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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:51:21 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:51:21
  Author: foutrelis
Revision: 1059413

archrelease: copy trunk to community-staging-any

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

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

Copied: python-testflo/repos/community-staging-any/PKGBUILD (from rev 1059409, python-testflo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:51:21 UTC (rev 1059413)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-testflo
+pkgver=1.4.6
+pkgrel=2
+pkgdesc="A simple flow-based testing framework"
+url="https://github.com/OpenMDAO/testflo"
+license=('Apache')
+arch=('any')
+depends=('python-coverage')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/t/testflo/testflo-$pkgver.tar.gz")
+sha512sums=('5ad7b4ee890c06a2360c663a03e640151709f7f661cfbc4a3b56b8c2daec5b6a87190025dd6c98cc0b5f676384324f258f2b23cdb11a5cd3994dfbda1f5cb9c8')
+
+prepare() {
+  cd testflo-$pkgver
+  sed -i 's/coverage<5.0/coverage/' 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