[arch-commits] Commit in python-doublex/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Sep 28 03:17:19 UTC 2016
Date: Wednesday, September 28, 2016 @ 03:17:18
Author: felixonmars
Revision: 190696
archrelease: copy trunk to community-any
Added:
python-doublex/repos/community-any/PKGBUILD
(from rev 190695, python-doublex/trunk/PKGBUILD)
Deleted:
python-doublex/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 51 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-28 03:16:57 UTC (rev 190695)
+++ PKGBUILD 2016-09-28 03:17:18 UTC (rev 190696)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-doublex
-pkgname=('python-doublex' 'python2-doublex')
-pkgver=1.8.2
-pkgrel=1
-pkgdesc="Powerful test doubles framework for Python"
-arch=('any')
-license=('GPL')
-url="https://github.com/davidvilla/python-doublex"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyhamcrest' 'python2-pyhamcrest' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/davidvilla/python-doublex.git#tag=v$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a python-doublex{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-doublex
- python setup.py build
-
- cd "$srcdir"/python-doublex-py2
- python2 setup.py build
-}
-
-check() {
- # https://github.com/davidvilla/python-doublex/issues/3
-
- cd "$srcdir"/python-doublex
- python setup.py test || warning "Tests failed"
-
- cd "$srcdir"/python-doublex-py2
- python2 setup.py test || warning "Tests failed"
-}
-
-package_python-doublex() {
- depends=('python-pyhamcrest')
-
- cd python-doublex
- python setup.py install --root="$pkgdir" --optimize=1
- rm "$pkgdir"/usr/README.rst
-}
-
-package_python2-doublex() {
- depends=('python2-pyhamcrest')
-
- cd python-doublex-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- rm "$pkgdir"/usr/README.rst
-}
Copied: python-doublex/repos/community-any/PKGBUILD (from rev 190695, python-doublex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-09-28 03:17:18 UTC (rev 190696)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-doublex
+pkgname=('python-doublex' 'python2-doublex')
+pkgver=1.8.3
+pkgrel=1
+pkgdesc="Powerful test doubles framework for Python"
+arch=('any')
+license=('GPL')
+url="https://github.com/davidvilla/python-doublex"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyhamcrest' 'python2-pyhamcrest' 'git')
+checkdepends=('python-nose' 'python2-nose')
+source=("git+https://github.com/davidvilla/python-doublex.git#tag=v$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a python-doublex{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-doublex
+ python setup.py build
+
+ cd "$srcdir"/python-doublex-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-doublex
+ python setup.py test
+
+ cd "$srcdir"/python-doublex-py2
+ python2 setup.py test
+}
+
+package_python-doublex() {
+ depends=('python-pyhamcrest')
+
+ cd python-doublex
+ python setup.py install --root="$pkgdir" --optimize=1
+ rm "$pkgdir"/usr/README.rst
+}
+
+package_python2-doublex() {
+ depends=('python2-pyhamcrest')
+
+ cd python-doublex-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ rm "$pkgdir"/usr/README.rst
+}
More information about the arch-commits
mailing list