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

Felix Yan felixonmars at archlinux.org
Tue Nov 21 08:58:28 UTC 2017


    Date: Tuesday, November 21, 2017 @ 08:58:28
  Author: felixonmars
Revision: 267719

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-21 08:58:04 UTC (rev 267718)
+++ PKGBUILD	2017-11-21 08:58:28 UTC (rev 267719)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testfixtures
-pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=5.3.0
-pkgrel=1
-pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests"
-arch=('any')
-license=('MIT')
-url="https://github.com/Simplistix/testfixtures"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
-              'python-zope-component' 'python2-zope-component' 'python-sybil' 'python2-sybil'
-              'python-pytest-django' 'python2-pytest-django' 'python-django' 'python2-django')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
-sha512sums=('87befdbab5c32408da1c8635f8c3acd3d92571fbe1dc427a942b9f9eddc10933907bcc4328fea6a888fa900742dbe838ada7d523e44953a4c52425bb034c1bc4')
-
-prepare() {
-  cp -a testfixtures-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/testfixtures-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/testfixtures-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/testfixtures-$pkgver
-  python setup.py pytest --addopts "--ignore=build"
-
-  cd "$srcdir"/testfixtures-$pkgver-py2
-  python2 setup.py pytest --addopts "--ignore=build"
-}
-
-package_python-testfixtures() {
-  depends=('python')
-
-  cd testfixtures-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python2-testfixtures() {
-  depends=('python2')
-
-  cd testfixtures-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
-}

Copied: python-testfixtures/repos/community-any/PKGBUILD (from rev 267718, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-21 08:58:28 UTC (rev 267719)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testfixtures
+pkgname=('python-testfixtures' 'python2-testfixtures')
+pkgver=5.3.1
+pkgrel=1
+pkgdesc="A collection of helpers and mock objects that are useful when writing unit tests or doc tests"
+arch=('any')
+license=('MIT')
+url="https://github.com/Simplistix/testfixtures"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
+              'python-zope-component' 'python2-zope-component' 'python-sybil' 'python2-sybil'
+              'python-pytest-django' 'python2-pytest-django' 'python-django' 'python2-django')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
+sha512sums=('edba671e3d372dc7ac0f707f58441adc94a1dc23d43f38073b0dd7aa7f8b769fda28e892efffc83ac94e2aa64098730aaf9c62eeb6f77ad39116fe5321a0a8f9')
+
+prepare() {
+  cp -a testfixtures-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/testfixtures-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/testfixtures-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/testfixtures-$pkgver
+  python setup.py pytest --addopts "--ignore=build"
+
+  cd "$srcdir"/testfixtures-$pkgver-py2
+  python2 setup.py pytest --addopts "--ignore=build"
+}
+
+package_python-testfixtures() {
+  depends=('python')
+
+  cd testfixtures-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python2-testfixtures() {
+  depends=('python2')
+
+  cd testfixtures-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}



More information about the arch-commits mailing list