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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:52:26 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:52:26
  Author: foutrelis
Revision: 752859

archrelease: copy trunk to community-staging-any

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

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

Copied: python-chai/repos/community-staging-any/PKGBUILD (from rev 752858, python-chai/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:52:26 UTC (rev 752859)
@@ -0,0 +1,30 @@
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-chai
+pkgver=1.1.2
+pkgrel=5
+pkgdesc="Easy to use mocking, stubbing and spying framework."
+arch=('any')
+url="https://github.com/agoragames/chai"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://files.pythonhosted.org/packages/source/c/chai/chai-$pkgver.tar.gz")
+sha256sums=('ff8d2b6855f660cd23cd5ec79bd10264d39f24f6235773331b48e7fcd637d6cc')
+
+build() {
+  cd chai-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd chai-$pkgver
+  nosetests
+}
+
+package() {
+  cd chai-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list