[arch-commits] Commit in python-pytest-mock/repos/community-testing-any (2 files)

Felix Yan fyan at archlinux.org
Tue Sep 29 07:09:31 UTC 2015


    Date: Tuesday, September 29, 2015 @ 09:09:31
  Author: fyan
Revision: 142204

archrelease: copy trunk to community-testing-any

Added:
  python-pytest-mock/repos/community-testing-any/PKGBUILD
    (from rev 142203, python-pytest-mock/trunk/PKGBUILD)
Deleted:
  python-pytest-mock/repos/community-testing-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-29 07:09:05 UTC (rev 142203)
+++ PKGBUILD	2015-09-29 07:09:31 UTC (rev 142204)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-mock
-pkgname=('python-pytest-mock' 'python2-pytest-mock')
-pkgver=0.7.0
-pkgrel=2
-pkgdesc="Thin-wrapper around the mock package for easier use with py.test"
-arch=('any')
-license=('LGPL3')
-url="https://github.com/pytest-dev/pytest-mock/"
-makedepends=('python-pytest' 'python2-pytest' 'python2-mock')
-#checkdepends=('python-coverage' 'python2-coverage')
-source=("http://pypi.python.org/packages/source/p/pytest-mock/pytest-mock-$pkgver.zip")
-sha512sums=('249e1ded30199e1ea2c87ef4c17295a28c537ad4fb183289383e771ab26378499c11873df97a7a6214c0fca52b6aa5d160aa68de160dca56d4e78add10f2f5c8')
-
-prepare() {
-  cp -a pytest-mock-${pkgver}{,-py2}
-}
-
-build() {
-  cd "$srcdir/pytest-mock-${pkgver}"
-  python setup.py build
-
-  cd "$srcdir/pytest-mock-${pkgver}-py2"
-  python2 setup.py build
-}
-
-check() {
-  # Tests not included
-
-  cd "$srcdir/pytest-mock-${pkgver}"
-  # coverage3 run --source=pytest_mock.py runtests.py
-
-  cd "$srcdir/pytest-mock-${pkgver}-py2"
-  # coverage2 run --source=pytest_mock.py runtests.py
-}
-
-package_python-pytest-mock() {
-  depends=('python-pytest')
-
-  cd pytest-mock-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-pytest-mock() {
-  depends=('python2-pytest' 'python2-mock')
-
-  cd pytest-mock-${pkgver}-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-}
-

Copied: python-pytest-mock/repos/community-testing-any/PKGBUILD (from rev 142203, python-pytest-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-09-29 07:09:31 UTC (rev 142204)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-mock
+pkgname=('python-pytest-mock' 'python2-pytest-mock')
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Thin-wrapper around the mock package for easier use with py.test"
+arch=('any')
+license=('LGPL3')
+url="https://github.com/pytest-dev/pytest-mock/"
+makedepends=('python-pytest' 'python2-pytest' 'python2-mock')
+#checkdepends=('python-coverage' 'python2-coverage')
+source=("http://pypi.python.org/packages/source/p/pytest-mock/pytest-mock-$pkgver.zip")
+sha512sums=('30b20e315124a1a0a2aadd548d8b6b4a4762b425e5b4807e7ac4661cdaa3e5b62876fe62a68a3e3de693d2910f8c0c24be3e82e5b24215e5692c80fedfd1f8df')
+
+prepare() {
+  cp -a pytest-mock-${pkgver}{,-py2}
+}
+
+build() {
+  cd "$srcdir/pytest-mock-${pkgver}"
+  python setup.py build
+
+  cd "$srcdir/pytest-mock-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  # Tests not included
+
+  cd "$srcdir/pytest-mock-${pkgver}"
+  # coverage3 run --source=pytest_mock.py runtests.py
+
+  cd "$srcdir/pytest-mock-${pkgver}-py2"
+  # coverage2 run --source=pytest_mock.py runtests.py
+}
+
+package_python-pytest-mock() {
+  depends=('python-pytest')
+
+  cd pytest-mock-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-pytest-mock() {
+  depends=('python2-pytest' 'python2-mock')
+
+  cd pytest-mock-${pkgver}-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+



More information about the arch-commits mailing list