[arch-commits] Commit in python-mox3/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue May 10 07:35:05 UTC 2016
Date: Tuesday, May 10, 2016 @ 09:35:04
Author: fyan
Revision: 174505
archrelease: copy trunk to community-any
Added:
python-mox3/repos/community-any/PKGBUILD
(from rev 174504, python-mox3/trunk/PKGBUILD)
Deleted:
python-mox3/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-10 07:34:45 UTC (rev 174504)
+++ PKGBUILD 2016-05-10 07:35:04 UTC (rev 174505)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-mox3
-pkgname=('python-mox3' 'python2-mox3')
-pkgver=0.14.0
-pkgrel=1
-arch=('any')
-pkgdesc='Mock object framework for Python'
-url='http://docs.openstack.org/developer/mox3'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
- 'python-fixtures' 'python2-fixtures' 'git')
-checkdepends=('python-testrepository' 'python2-testrepository')
-source=("git+https://git.openstack.org/openstack/mox3#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a mox3{,-py2}
-}
-
-build() {
- cd "$srcdir"/mox3
- python setup.py build
-
- cd "$srcdir"/mox3-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/mox3
- python setup.py testr
-
- cd "$srcdir"/mox3-py2
- python2 setup.py testr
-}
-
-package_python-mox3() {
- depends=('python-pbr' 'python-fixtures')
-
- cd mox3
- python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-mox3() {
- depends=('python2-pbr' 'python2-fixtures')
-
- cd mox3-py2
- python2 setup.py install --root "$pkgdir" --optimize=1
-}
Copied: python-mox3/repos/community-any/PKGBUILD (from rev 174504, python-mox3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-05-10 07:35:04 UTC (rev 174505)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-mox3
+pkgname=('python-mox3' 'python2-mox3')
+pkgver=0.15.0
+pkgrel=1
+arch=('any')
+pkgdesc='Mock object framework for Python'
+url='http://docs.openstack.org/developer/mox3'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+ 'python-fixtures' 'python2-fixtures' 'git')
+checkdepends=('python-testrepository' 'python2-testrepository')
+source=("git+https://git.openstack.org/openstack/mox3#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a mox3{,-py2}
+}
+
+build() {
+ cd "$srcdir"/mox3
+ python setup.py build
+
+ cd "$srcdir"/mox3-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/mox3
+ python setup.py testr
+
+ cd "$srcdir"/mox3-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+package_python-mox3() {
+ depends=('python-pbr' 'python-fixtures')
+
+ cd mox3
+ python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-mox3() {
+ depends=('python2-pbr' 'python2-fixtures')
+
+ cd mox3-py2
+ python2 setup.py install --root "$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list