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

Felix Yan fyan at archlinux.org
Tue Jul 7 01:55:02 UTC 2015


    Date: Tuesday, July 7, 2015 @ 03:55:02
  Author: fyan
Revision: 136493

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-07 01:54:44 UTC (rev 136492)
+++ PKGBUILD	2015-07-07 01:55:02 UTC (rev 136493)
@@ -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.6.0
-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=('a89bcd8ea55f940e08979e2d839548cef06ae055cd65ca60e47d7a4f6a3909fcee93828ea7e8d4265503f7dc66bca68a44de0d3600cbf19b71c9767d07d4fda2')
-
-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-any/PKGBUILD (from rev 136492, python-pytest-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-07 01:55:02 UTC (rev 136493)
@@ -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.7.0
+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=('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
+}
+



More information about the arch-commits mailing list