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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:53:31 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:53:31
  Author: foutrelis
Revision: 752870

archrelease: copy trunk to community-staging-any

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

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

Copied: python-mockito/repos/community-staging-any/PKGBUILD (from rev 752869, python-mockito/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:53:31 UTC (rev 752870)
@@ -0,0 +1,31 @@
+# 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-mockito
+pkgver=1.2.2
+pkgrel=2
+pkgdesc='Spying framework'
+arch=('any')
+url='https://github.com/kaste/mockito-python'
+license=('MIT')
+depends=('python')
+makedepends=('python-pytest' 'python-setuptools')
+checkdepends=('python-numpy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kaste/mockito-python/archive/$pkgver.tar.gz")
+sha512sums=('97fa76b0aa82337d65d939fe4ad2fd3a70063b44a6f2c6c8490a0536da0bdbe3b57757d20d611e037d5cc65b93eb6f6e39e3209253d7cc3fb5258992b8844956')
+
+build() {
+  cd mockito-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd mockito-python-$pkgver
+  pytest --ignore=build
+}
+
+package() {
+  cd mockito-python-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}


More information about the arch-commits mailing list