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

Felix Yan fyan at archlinux.org
Fri May 20 05:26:08 UTC 2016


    Date: Friday, May 20, 2016 @ 07:26:07
  Author: fyan
Revision: 175768

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-20 05:25:47 UTC (rev 175767)
+++ PKGBUILD	2016-05-20 05:26:07 UTC (rev 175768)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fixtures
-pkgname=('python-fixtures' 'python2-fixtures')
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="Fixtures, reusable state for writing clean tests and more"
-arch=('any')
-license=('Apache')
-url="https://launchpad.net/python-fixtures"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
-             'python-six' 'python2-six' 'python-testtools' 'python2-testtools')
-checkdepends=('python-subunit' 'python2-subunit' 'python-mock' 'python2-mock')
-source=("https://pypi.python.org/packages/source/f/fixtures/fixtures-$pkgver.tar.gz")
-sha512sums=('ab67b7db8b289df49c3dec5b4d864941e6d34441153f08a119e3a103b83c8a2ea273712e1e053b37580f5045c76cb5c1994ed587a94b0e9ad12d2bfc41b7d7b3')
-
-prepare() {
-  cp -a fixtures-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/fixtures-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/fixtures-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/fixtures-$pkgver
-  python -m testtools.run fixtures.test_suite
-
-  cd "$srcdir"/fixtures-$pkgver-py2
-  python2 -m testtools.run fixtures.test_suite
-}
-
-package_python-fixtures() {
-  depends=('python-pbr' 'python-six' 'python-testtools')
-
-  cd fixtures-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-fixtures() {
-  depends=('python2-pbr' 'python2-six' 'python2-testtools')
-
-  cd fixtures-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-fixtures/repos/community-any/PKGBUILD (from rev 175767, python-fixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-05-20 05:26:07 UTC (rev 175768)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fixtures
+pkgname=('python-fixtures' 'python2-fixtures')
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Fixtures, reusable state for writing clean tests and more"
+arch=('any')
+license=('Apache')
+url="https://launchpad.net/python-fixtures"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+             'python-six' 'python2-six' 'python-testtools' 'python2-testtools')
+checkdepends=('python-subunit' 'python2-subunit' 'python-mock' 'python2-mock')
+source=("https://pypi.io/packages/source/f/fixtures/fixtures-$pkgver.tar.gz")
+sha512sums=('e52ba864c42d15a8baa60583761006b2dd78e3cd5f3f043f5702346aef428b933d62e8fa5889b7cb4196e4072acc5df3b7ffa39702a1b782887bdc109299b695')
+
+prepare() {
+  cp -a fixtures-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/fixtures-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/fixtures-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/fixtures-$pkgver
+  python -m testtools.run fixtures.test_suite
+
+  cd "$srcdir"/fixtures-$pkgver-py2
+  python2 -m testtools.run fixtures.test_suite
+}
+
+package_python-fixtures() {
+  depends=('python-pbr' 'python-six' 'python-testtools')
+
+  cd fixtures-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-fixtures() {
+  depends=('python2-pbr' 'python2-six' 'python2-testtools')
+
+  cd fixtures-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list