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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:42:40 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:42:40
  Author: felixonmars
Revision: 752773

archrelease: copy trunk to community-staging-any

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

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

Copied: python-cram/repos/community-staging-any/PKGBUILD (from rev 752772, python-cram/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:42:40 UTC (rev 752773)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=python-cram
+pkgver=0.7
+pkgrel=8
+pkgdesc='Functional tests for command line applications'
+arch=('any')
+url='https://bitheap.org/cram/'
+license=('GPL')
+depends=('python')
+source=("https://bitheap.org/cram/cram-$pkgver.tar.gz")
+sha512sums=('9fa57e504abac8fd15bf5ff4a74405cb7acd10fd4c797adee87052a4f1c4e975bbc0f4219afd9485358b2c2939b48b3ffe538ae2abc6eea71e0ba8b458d50103')
+
+build() {
+  cd "$srcdir"/cram-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/cram-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" PYTHON=python python scripts/cram tests
+}
+
+package() {
+  cd cram-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list