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

Felix Yan felixonmars at archlinux.org
Tue Sep 4 08:06:01 UTC 2018


    Date: Tuesday, September 4, 2018 @ 08:06:00
  Author: felixonmars
Revision: 376538

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-04 08:05:41 UTC (rev 376537)
+++ PKGBUILD	2018-09-04 08:06:00 UTC (rev 376538)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testfixtures
-pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=6.2.0
-pkgrel=2
-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=('6623092e981bcbf5b97e6274a279ce5306e8194a38334ea102f4d0ba0a2bb9c05f2aaa5cc43ded0c6862a54b589634fbbcbf6f6d151987047a3409181fba07ab')
-
-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" || warning "https://github.com/Simplistix/testfixtures/issues/85"
-
-  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 376537, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-04 08:06:00 UTC (rev 376538)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testfixtures
+pkgname=('python-testfixtures' 'python2-testfixtures')
+pkgver=6.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=('3ddbdaa5bddf7b32b8d45af23d1b2ee8b5a84361a97bc4d8af34fe77deb9fd2b467fe98fffce541e03b5dd9bfdb8635044214181c9a86c394a8dd02f46fe335e')
+
+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" || warning "https://github.com/Simplistix/testfixtures/issues/85"
+
+  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