[arch-commits] Commit in python-mockito/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 25 09:10:30 UTC 2017
Date: Wednesday, January 25, 2017 @ 09:10:30
Author: felixonmars
Revision: 208999
archrelease: copy trunk to community-any
Added:
python-mockito/repos/community-any/PKGBUILD
(from rev 208998, python-mockito/trunk/PKGBUILD)
Deleted:
python-mockito/repos/community-any/PKGBUILD
----------+
PKGBUILD | 101 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-25 09:10:08 UTC (rev 208998)
+++ PKGBUILD 2017-01-25 09:10:30 UTC (rev 208999)
@@ -1,50 +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=0.7.1
-pkgrel=1
-pkgdesc='Spying framework'
-arch=('any')
-url='https://github.com/kaste/mockito-python'
-license=('MIT')
-makedepends=('python-nose' 'python2-nose' 'python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/kaste/mockito-python.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
- cp -a mockito-python{,-py2}
-}
-
-build() {
- cd "$srcdir"/mockito-python
- python setup.py build
-
- cd "$srcdir"/mockito-python-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/mockito-python
- python setup.py test
-
- cd "$srcdir"/mockito-python-py2
- python2 setup.py test
-}
-
-package_python-mockito() {
- depends=('python')
-
- cd mockito-python
- python setup.py install --root="$pkgdir" -O1
-}
-
-package_python2-mockito() {
- depends=('python2')
-
- cd mockito-python-py2
- python2 setup.py install --root="$pkgdir" -O1
-}
Copied: python-mockito/repos/community-any/PKGBUILD (from rev 208998, python-mockito/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-25 09:10:30 UTC (rev 208999)
@@ -0,0 +1,51 @@
+# $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.0.2
+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' 'git')
+source=("git+https://github.com/kaste/mockito-python.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a mockito-python{,-py2}
+}
+
+build() {
+ cd "$srcdir"/mockito-python
+ python setup.py build
+
+ cd "$srcdir"/mockito-python-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/mockito-python
+ py.test build/lib
+
+ cd "$srcdir"/mockito-python-py2
+ py.test2 build/lib
+}
+
+package_python-mockito() {
+ depends=('python')
+
+ cd mockito-python
+ python setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-mockito() {
+ depends=('python2-funcsigs')
+
+ cd mockito-python-py2
+ python2 setup.py install --root="$pkgdir" -O1
+}
More information about the arch-commits
mailing list