[arch-commits] Commit in python-expects/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon May 16 06:15:58 UTC 2016
Date: Monday, May 16, 2016 @ 08:15:57
Author: fyan
Revision: 175450
archrelease: copy trunk to community-any
Added:
python-expects/repos/community-any/PKGBUILD
(from rev 175449, python-expects/trunk/PKGBUILD)
Deleted:
python-expects/repos/community-any/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 51 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-16 06:15:43 UTC (rev 175449)
+++ PKGBUILD 2016-05-16 06:15:57 UTC (rev 175450)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-expects
-pkgname=('python-expects' 'python2-expects')
-pkgver=0.7.2
-pkgrel=1
-pkgdesc="Expressive and extensible TDD/BDD assertion library for Python"
-arch=('any')
-license=('Apache')
-url="https://github.com/jaimegildesagredo/expects"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/jaimegildesagredo/expects.git#tag=v$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a expects{,-py2}
-}
-
-build() {
- cd "$srcdir/expects"
- python setup.py build
-
- cd "$srcdir/expects-py2"
- python2 setup.py build
-}
-
-package_python-expects() {
- depends=('python')
-
- cd expects
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-expects() {
- depends=('python2')
-
- cd expects-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-expects/repos/community-any/PKGBUILD (from rev 175449, python-expects/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-05-16 06:15:57 UTC (rev 175450)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-expects
+pkgname=('python-expects' 'python2-expects')
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Expressive and extensible TDD/BDD assertion library for Python"
+arch=('any')
+license=('Apache')
+url="https://github.com/jaimegildesagredo/expects"
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-mamba' 'python2-mamba')
+source=("git+https://github.com/jaimegildesagredo/expects.git#tag=v$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a expects{,-py2}
+}
+
+build() {
+ cd "$srcdir"/expects
+ python setup.py build
+
+ cd "$srcdir"/expects-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/expects
+ mamba
+
+ cd "$srcdir"/expects-py2
+ mamba2
+}
+
+package_python-expects() {
+ depends=('python')
+
+ cd expects
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-expects() {
+ depends=('python2')
+
+ cd expects-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list