[arch-commits] Commit in python-mongoengine/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jul 20 18:35:24 UTC 2018
Date: Friday, July 20, 2018 @ 18:35:24
Author: felixonmars
Revision: 362625
archrelease: copy trunk to community-staging-any
Added:
python-mongoengine/repos/community-staging-any/PKGBUILD
(from rev 362624, python-mongoengine/trunk/PKGBUILD)
Deleted:
python-mongoengine/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-20 18:34:59 UTC (rev 362624)
+++ PKGBUILD 2018-07-20 18:35:24 UTC (rev 362625)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-mongoengine
-pkgname=(python-mongoengine python2-mongoengine)
-pkgver=0.15.2
-pkgrel=1
-pkgdesc="A Python Object-Document-Mapper for working with MongoDB"
-url="https://github.com/MongoEngine/mongoengine"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pymongo' 'python2-pymongo')
-checkdepends=('python-nose' 'python2-nose' 'python-coverage' 'python2-coverage'
- 'python-blinker' 'python2-blinker' 'python-pillow' 'python2-pillow' 'pifpaf' 'mongodb')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/MongoEngine/mongoengine/archive/v$pkgver.tar.gz")
-sha512sums=('e24b4857118a12844e7736b3f357533b5ec7fc62c730344f95a345e39bd57319e559ec1a4931fa36d5c34880336d1d52019a9ffb247c62f2bef661dab775d822')
-
-prepare() {
- sed -i 's/coverage==/coverage>=/' mongoengine-$pkgver/setup.py
- cp -a mongoengine-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/mongoengine-$pkgver
- python setup.py build
-
- cd "$srcdir"/mongoengine-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/mongoengine-$pkgver
- pifpaf run mongodb --port 27017 python setup.py nosetests || warning "Tests failed"
-
- cd "$srcdir"/mongoengine-$pkgver-py2
- pifpaf run mongodb --port 27017 python2 setup.py nosetests || warning "Tests failed"
-}
-
-package_python-mongoengine() {
- depends=('python-pymongo' 'python-six')
- optdepends=('python-dateutil: for DateTimeField'
- 'python-pillow: for ImageField / ImageGridFsProxy')
-
- cd mongoengine-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-mongoengine() {
- depends=('python2-pymongo' 'python2-six')
- optdepends=('python2-dateutil: for DateTimeField'
- 'python2-pillow: for ImageField / ImageGridFsProxy')
-
- cd mongoengine-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-mongoengine/repos/community-staging-any/PKGBUILD (from rev 362624, python-mongoengine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-20 18:35:24 UTC (rev 362625)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-mongoengine
+pkgname=(python-mongoengine python2-mongoengine)
+pkgver=0.15.3
+pkgrel=1
+pkgdesc="A Python Object-Document-Mapper for working with MongoDB"
+url="https://github.com/MongoEngine/mongoengine"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pymongo' 'python2-pymongo')
+checkdepends=('python-nose' 'python2-nose' 'python-coverage' 'python2-coverage'
+ 'python-blinker' 'python2-blinker' 'python-pillow' 'python2-pillow' 'pifpaf' 'mongodb')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/MongoEngine/mongoengine/archive/v$pkgver.tar.gz")
+sha512sums=('6f50442d0e503f8c8db7e8fab39ea938e2b627f4d2de17c4aefabf154b93285d95629773e0cd02fe5100bf672e9af73bb4855c1b903976c6bdc5be058bd81cb9')
+
+prepare() {
+ sed -i 's/coverage==/coverage>=/' mongoengine-$pkgver/setup.py
+ cp -a mongoengine-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/mongoengine-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/mongoengine-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/mongoengine-$pkgver
+ pifpaf run mongodb --port 27017 python setup.py nosetests || warning "Tests failed"
+
+ cd "$srcdir"/mongoengine-$pkgver-py2
+ pifpaf run mongodb --port 27017 python2 setup.py nosetests || warning "Tests failed"
+}
+
+package_python-mongoengine() {
+ depends=('python-pymongo' 'python-six')
+ optdepends=('python-dateutil: for DateTimeField'
+ 'python-pillow: for ImageField / ImageGridFsProxy')
+
+ cd mongoengine-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-mongoengine() {
+ depends=('python2-pymongo' 'python2-six')
+ optdepends=('python2-dateutil: for DateTimeField'
+ 'python2-pillow: for ImageField / ImageGridFsProxy')
+
+ cd mongoengine-$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