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

Felix Yan fyan at archlinux.org
Mon Apr 18 07:20:18 UTC 2016


    Date: Monday, April 18, 2016 @ 09:20:17
  Author: fyan
Revision: 171319

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-18 07:19:56 UTC (rev 171318)
+++ PKGBUILD	2016-04-18 07:20:17 UTC (rev 171319)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testresources
-pkgname=('python-testresources' 'python2-testresources')
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="Testresources, a pyunit extension for managing expensive test resources"
-arch=('any')
-license=('Apache' 'BSD')
-url="https://launchpad.net/testresources"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
-             'python-testtools' 'python2-testtools')
-source=("https://pypi.python.org/packages/source/t/testresources/testresources-$pkgver.tar.gz")
-sha512sums=('7c9f9cbcc62066ab4a75d68780d88925484eeee23e2e0ef0395b63ec2a92968a6969d1bd6f483945e32ff5566e686b426f2f37daf4f803d2ef779032ea97cc6b')
-
-prepare() {
-  cp -a testresources-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/testresources-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/testresources-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/testresources-$pkgver"
-  python -m testtools.run discover
-
-  cd "$srcdir/testresources-$pkgver-py2"
-  python2 -m testtools.run discover
-}
-
-package_python-testresources() {
-  depends=('python')
-
-  cd testresources-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-package_python2-testresources() {
-  depends=('python2')
-
-  cd testresources-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: python-testresources/repos/community-any/PKGBUILD (from rev 171318, python-testresources/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-18 07:20:17 UTC (rev 171319)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testresources
+pkgname=('python-testresources' 'python2-testresources')
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Testresources, a pyunit extension for managing expensive test resources"
+arch=('any')
+license=('Apache' 'BSD')
+url="https://launchpad.net/testresources"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
+             'python-testtools' 'python2-testtools')
+source=("https://pypi.python.org/packages/source/t/testresources/testresources-$pkgver.tar.gz")
+sha512sums=('94944aa7582f9211de280bd14d6e980dc839d32a393291079e1a5fff93b1d33cc4483c78cfad5388eef1427d91862c1e3f9bf5a0a509c9459e47e4d48f0a51be')
+
+prepare() {
+  cp -a testresources-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/testresources-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/testresources-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/testresources-$pkgver
+  python -m testtools.run discover
+
+  cd "$srcdir"/testresources-$pkgver-py2
+  python2 -m testtools.run discover
+}
+
+package_python-testresources() {
+  depends=('python')
+
+  cd testresources-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+package_python2-testresources() {
+  depends=('python2')
+
+  cd testresources-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



More information about the arch-commits mailing list