[arch-commits] Commit in python-sure/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jun 2 05:39:55 UTC 2018
Date: Saturday, June 2, 2018 @ 05:39:54
Author: felixonmars
Revision: 337130
archrelease: copy trunk to community-any
Added:
python-sure/repos/community-any/PKGBUILD
(from rev 337129, python-sure/trunk/PKGBUILD)
Deleted:
python-sure/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-02 05:39:41 UTC (rev 337129)
+++ PKGBUILD 2018-06-02 05:39:54 UTC (rev 337130)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sure
-pkgname=("python-sure" "python2-sure")
-pkgver=1.4.7
-pkgrel=1
-pkgdesc="HTTP client mock for Python"
-arch=('any')
-url="https://github.com/gabrielfalcao/sure"
-license=('GPL')
-makedepends=('python-six' 'python2-six' 'python-mock' 'python2-mock' 'python-setuptools'
- 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/gabrielfalcao/sure/archive/v$pkgver.tar.gz")
-sha512sums=('f8cf4616edaac53370be86fa38b7ba49bf5dcbf4fd6322470f7912618319fce679cd4afd47ffbad86e47be0be45ba2c06aafc3236f0ebb9368a1760c0b06726e')
-
-prepare() {
- cp -a sure-$pkgver{,-py2}
-
- export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
- cd "$srcdir"/sure-$pkgver
- python setup.py build
-
- cd "$srcdir"/sure-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/sure-$pkgver
- python setup.py test
-
- cd "$srcdir"/sure-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-sure() {
- depends=('python-six' 'python-mock')
-
- cd sure-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-sure() {
- depends=('python2-six' 'python2-mock')
-
- cd sure-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-sure/repos/community-any/PKGBUILD (from rev 337129, python-sure/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-02 05:39:54 UTC (rev 337130)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-sure
+pkgname=("python-sure" "python2-sure")
+pkgver=1.4.11
+pkgrel=1
+pkgdesc="An idiomatic testing library for python with powerful and flexible assertions"
+arch=('any')
+url="https://github.com/gabrielfalcao/sure"
+license=('GPL')
+makedepends=('python-six' 'python2-six' 'python-mock' 'python2-mock' 'python-setuptools'
+ 'python2-setuptools' 'git')
+checkdepends=('python-nose' 'python2-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/gabrielfalcao/sure/archive/$pkgver.tar.gz")
+sha512sums=('0f3601eff81074d73568014aaf81b2a3e782c95d3a62cf689031bd0c53eaa8eb531a32e4e2d16c4bee4291157f621e52857b575bcfdaf82839f8e1d0d40d3563')
+
+prepare() {
+ cp -a sure-$pkgver{,-py2}
+
+ export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+ cd "$srcdir"/sure-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/sure-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/sure-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/sure-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-sure() {
+ depends=('python-six' 'python-mock')
+
+ cd sure-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-sure() {
+ depends=('python2-six' 'python2-mock')
+
+ cd sure-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list