[arch-commits] Commit in python-mockito/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Dec 27 14:37:44 UTC 2016
Date: Tuesday, December 27, 2016 @ 14:37:44
Author: felixonmars
Revision: 203077
archrelease: copy trunk to community-staging-any
Added:
python-mockito/repos/community-staging-any/PKGBUILD
(from rev 203076, python-mockito/trunk/PKGBUILD)
Deleted:
python-mockito/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-27 14:37:22 UTC (rev 203076)
+++ PKGBUILD 2016-12-27 14:37:44 UTC (rev 203077)
@@ -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.0
-pkgrel=2
-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-staging-any/PKGBUILD (from rev 203076, python-mockito/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-12-27 14:37:44 UTC (rev 203077)
@@ -0,0 +1,50 @@
+# $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
+}
More information about the arch-commits
mailing list