[arch-commits] Commit in python-mongomock/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 26 16:59:25 UTC 2019
Date: Tuesday, March 26, 2019 @ 16:59:25
Author: felixonmars
Revision: 443583
archrelease: copy trunk to community-any
Added:
python-mongomock/repos/community-any/PKGBUILD
(from rev 443582, python-mongomock/trunk/PKGBUILD)
Deleted:
python-mongomock/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-26 16:59:09 UTC (rev 443582)
+++ PKGBUILD 2019-03-26 16:59:25 UTC (rev 443583)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-mongomock
-pkgname=(python-mongomock python2-mongomock)
-pkgver=3.15.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=('2e230fac34858a976d114867eb3936c7c72064263a3faf4ba7b42d5f5a2994dfdcd4daa44dda9419ec494516351e2e53f44113610555db1e0d33dd163474dd35')
-
-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 443582, python-mongomock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-26 16:59:25 UTC (rev 443583)
@@ -0,0 +1,53 @@
+# 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
+}
More information about the arch-commits
mailing list