[arch-commits] Commit in python-mockito/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 30 16:13:53 UTC 2018


    Date: Thursday, August 30, 2018 @ 16:13:52
  Author: felixonmars
Revision: 375496

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-30 16:13:37 UTC (rev 375495)
+++ PKGBUILD	2018-08-30 16:13:52 UTC (rev 375496)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-mockito
-pkgname=('python-mockito' 'python2-mockito')
-pkgver=1.1.0
-pkgrel=2
-pkgdesc='Spying framework'
-arch=('any')
-url='https://github.com/kaste/mockito-python'
-license=('MIT')
-makedepends=('python-pytest' 'python2-pytest' 'python-setuptools' 'python2-setuptools'
-             'python2-funcsigs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/kaste/mockito-python/archive/$pkgver.tar.gz")
-sha512sums=('23988f4890a8e224f482d8b73a5dbe594931f14aa01337cac7f3a36d4d902d70a69fd21817a792aee53942043b8cdd409ce63fe9d46aa3c4761e1b8f28ca424c')
-
-prepare() {
-  cp -a mockito-python-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/mockito-python-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/mockito-python-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/mockito-python-$pkgver
-  py.test build/lib
-
-  cd "$srcdir"/mockito-python-$pkgver-py2
-  py.test2 build/lib
-}
-
-package_python-mockito() {
-  depends=('python')
-
-  cd mockito-python-$pkgver
-  python setup.py install --root="$pkgdir" -O1
-}
-
-package_python2-mockito() {
-  depends=('python2-funcsigs')
-
-  cd mockito-python-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" -O1
-}

Copied: python-mockito/repos/community-any/PKGBUILD (from rev 375495, python-mockito/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-30 16:13:52 UTC (rev 375496)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgbase=python-mockito
+pkgname=('python-mockito' 'python2-mockito')
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Spying framework'
+arch=('any')
+url='https://github.com/kaste/mockito-python'
+license=('MIT')
+makedepends=('python-pytest' 'python2-pytest' 'python-setuptools' 'python2-setuptools'
+             'python2-funcsigs')
+checkdepends=('python-numpy' 'python2-numpy')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/kaste/mockito-python/archive/$pkgver.tar.gz")
+sha512sums=('ae721fbea3b6ed810411ba795480060a080f217112cd06dfb95ebb6e2c5c86acc073559e8ee7d63367832dd8aa05ae63e7a6f6868b21261a0aedd6ade8591697')
+
+prepare() {
+  cp -a mockito-python-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/mockito-python-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/mockito-python-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/mockito-python-$pkgver
+  py.test build/lib
+
+  cd "$srcdir"/mockito-python-$pkgver-py2
+  py.test2 build/lib
+}
+
+package_python-mockito() {
+  depends=('python')
+
+  cd mockito-python-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-mockito() {
+  depends=('python2-funcsigs')
+
+  cd mockito-python-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list