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

Felix Yan felixonmars at archlinux.org
Thu Feb 14 19:50:31 UTC 2019


    Date: Thursday, February 14, 2019 @ 19:50:27
  Author: felixonmars
Revision: 432266

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-14 19:50:23 UTC (rev 432265)
+++ PKGBUILD	2019-02-14 19:50:27 UTC (rev 432266)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-testfixtures
-pkgname=('python-testfixtures' 'python2-testfixtures')
-pkgver=6.4.3
-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=('7d19e8b622e5e00d5ef372a762b62be34346f8607485183ed5288a58ae9e78a741c2368085ec5aeb96f862bc1d42c281c271813f3ab8376c89f1fc0ee062ca3f')
-
-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 432264, python-testfixtures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-14 19:50:27 UTC (rev 432266)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-testfixtures
+pkgname=('python-testfixtures' 'python2-testfixtures')
+pkgver=6.5.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'
+              'python-twisted' 'python2-twisted')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Simplistix/testfixtures/archive/$pkgver.tar.gz")
+sha512sums=('a006e28d39a12ff0cc1e7e13602834d5f1c4d65922833e4f51b104c665e43b8badd2a4b9fa86c0814a88f38506d11927d94e61cd429339b055e4e562cb20f79f')
+
+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