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

Felix Yan felixonmars at archlinux.org
Sat Jun 22 06:26:14 UTC 2019


    Date: Saturday, June 22, 2019 @ 06:26:13
  Author: felixonmars
Revision: 482654

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-22 06:26:03 UTC (rev 482653)
+++ PKGBUILD	2019-06-22 06:26:13 UTC (rev 482654)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-mongomock
-pkgname=(python-mongomock python2-mongomock)
-pkgver=3.16.0
-pkgrel=1
-pkgdesc="Fake pymongo stub for testing simple MongoDB-dependent code"
-url="https://github.com/mongomock/mongomock"
-license=('BSD')
-arch=('any')
-makedepends=('python-pbr' 'python2-pbr' 'python-sentinels' 'python2-sentinels' 'python-six'
-             'python2-six')
-checkdepends=('python-nose' 'python2-nose' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mongomock/mongomock/archive/$pkgver.tar.gz")
-sha512sums=('5c3ccf0dd22a71c2cdbd8a2a10510ade9983283a86925e1f789b78435a167859f076593ecc1ba72a466cff5ec3282225c32b78e0b2fa96da5ad3b7a23e1f942c')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  cp -a mongomock-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/mongomock-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/mongomock-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/mongomock-$pkgver
-  python setup.py nosetests
-
-  cd "$srcdir"/mongomock-$pkgver-py2
-  python2 setup.py nosetests
-}
-
-package_python-mongomock() {
-  depends=('python-sentinels' 'python-six')
-
-  cd mongomock-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-mongomock() {
-  depends=('python2-sentinels' 'python2-six')
-
-  cd mongomock-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-mongomock/repos/community-any/PKGBUILD (from rev 482653, python-mongomock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-22 06:26:13 UTC (rev 482654)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-mongomock
+pkgname=(python-mongomock python2-mongomock)
+pkgver=3.17.0
+pkgrel=1
+pkgdesc="Fake pymongo stub for testing simple MongoDB-dependent code"
+url="https://github.com/mongomock/mongomock"
+license=('BSD')
+arch=('any')
+makedepends=('python-pbr' 'python2-pbr' 'python-sentinels' 'python2-sentinels' 'python-six'
+             'python2-six')
+checkdepends=('python-nose' 'python2-nose' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/mongomock/mongomock/archive/$pkgver.tar.gz")
+sha512sums=('8e8da76df649928b5d8f21899613a5c850668aaf675a58ed7fbc5d8769841a26f7ff33e128f31df092078c346a21460b0c254a88b8781409516ed512a1ddb575')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  cp -a mongomock-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/mongomock-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/mongomock-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/mongomock-$pkgver
+  python setup.py nosetests
+
+  cd "$srcdir"/mongomock-$pkgver-py2
+  python2 setup.py nosetests
+}
+
+package_python-mongomock() {
+  depends=('python-sentinels' 'python-six')
+
+  cd mongomock-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-mongomock() {
+  depends=('python2-sentinels' 'python2-six')
+
+  cd mongomock-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list