[arch-commits] Commit in python-sure/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 21 15:34:40 UTC 2017


    Date: Tuesday, March 21, 2017 @ 15:34:39
  Author: felixonmars
Revision: 218194

archrelease: copy trunk to community-any

Added:
  python-sure/repos/community-any/PKGBUILD
    (from rev 218193, python-sure/trunk/PKGBUILD)
Deleted:
  python-sure/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-21 15:34:18 UTC (rev 218193)
+++ PKGBUILD	2017-03-21 15:34:39 UTC (rev 218194)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sure
-pkgname=("python-sure" "python2-sure")
-pkgver=1.4.2
-pkgrel=1
-pkgdesc="HTTP client mock for Python"
-arch=('any')
-url="http://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=('57e9852202e2200c4c2804e8797b03ffa50effb96309efcd5c3e49bbc3c6594e8dc03e44aa47fa6e2827c464a427ca23e0a11339c7e2f1b2d1da39fe0cea7d09')
-
-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 218193, python-sure/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-03-21 15:34:39 UTC (rev 218194)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-sure
+pkgname=("python-sure" "python2-sure")
+pkgver=1.4.4
+pkgrel=1
+pkgdesc="HTTP client mock for Python"
+arch=('any')
+url="http://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=('8e6bab507a49d75eff94b6b171d05ec77b26729f11b4a182786bcd8fe980e9ed7ec7c05077b28f8327e1608962cff154bd11f8f32dfbedefcb09759aff6d190d')
+
+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