Date: Wednesday, August 14, 2019 @ 04:31:11 Author: felixonmars Revision: 499095
archrelease: copy trunk to community-x86_64 Added: python-pymongo/repos/community-x86_64/PKGBUILD (from rev 499094, python-pymongo/trunk/PKGBUILD) Deleted: python-pymongo/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-08-14 04:31:00 UTC (rev 499094) +++ PKGBUILD 2019-08-14 04:31:11 UTC (rev 499095) @@ -1,57 +0,0 @@ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Thomas S Hatch <thatc...@gmail.com> -# Contributor: Jelle van der Waa <je...@vdwaa.nl> - -pkgbase=python-pymongo -pkgname=('python-pymongo' 'python2-pymongo') -pkgver=3.8.0 -pkgrel=1 -pkgdesc='Python module for using MongoDB' -arch=('x86_64') -license=('APACHE') -url='http://pypi.python.org/pypi/pymongo/' -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'python2-monotonic' 'pifpaf') -checkdepends_x86_64=('mongodb') -source=("https://pypi.io/packages/source/p/pymongo/pymongo-$pkgver.tar.gz") -sha512sums=('15b6f67427fc43f549bc7b1a8c242b42069dcc799c17a9d3c5e71a24705c959b68c7b1a1c1c83e965578f7c7c2acf250a9345b718e29f6a37cef2d31c2e858bc') - -prepare() { - cp -a "pymongo-$pkgver" "pymongo2-$pkgver" -} - -build() { - cd "$srcdir"/pymongo-$pkgver - python setup.py build - - cd "$srcdir"/pymongo2-$pkgver - python2 setup.py build -} - -check_x86_64() { - export DB_PORT=29000 - - cd "$srcdir"/pymongo-$pkgver - pifpaf run mongodb python setup.py test - - cd "$srcdir"/pymongo2-$pkgver - pifpaf run mongodb python2 setup.py test -} - -package_python2-pymongo() { - depends=('python2') - optdepends=('python2-monotonic: enable support for a monotonic clock') - - cd "pymongo2-$pkgver" - python2 setup.py install --root="$pkgdir" --skip-build --optimize=1 -} - -package_python-pymongo() { - depends=('python') - - cd "pymongo-$pkgver" - python setup.py install --root="$pkgdir" --skip-build --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-pymongo/repos/community-x86_64/PKGBUILD (from rev 499094, python-pymongo/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-08-14 04:31:11 UTC (rev 499095) @@ -0,0 +1,57 @@ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Thomas S Hatch <thatc...@gmail.com> +# Contributor: Jelle van der Waa <je...@vdwaa.nl> + +pkgbase=python-pymongo +pkgname=('python-pymongo' 'python2-pymongo') +pkgver=3.9.0 +pkgrel=1 +pkgdesc='Python module for using MongoDB' +arch=('x86_64') +license=('APACHE') +url='https://pypi.python.org/pypi/pymongo/' +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'python2-monotonic' 'pifpaf') +checkdepends_x86_64=('mongodb') +source=("https://pypi.io/packages/source/p/pymongo/pymongo-$pkgver.tar.gz") +sha512sums=('3ac8831ffd82c27bfbf8429a38fe26aed177ba68b89d0ddf043adfde326b8c01eea9be449bb985421f42677fab4dd5ab44e1c1c9eeb3aff41d792c660fe23e0b') + +prepare() { + cp -a "pymongo-$pkgver" "pymongo2-$pkgver" +} + +build() { + cd "$srcdir"/pymongo-$pkgver + python setup.py build + + cd "$srcdir"/pymongo2-$pkgver + python2 setup.py build +} + +check_x86_64() { + export DB_PORT=29000 + + cd "$srcdir"/pymongo-$pkgver + pifpaf run mongodb python setup.py test + + cd "$srcdir"/pymongo2-$pkgver + pifpaf run mongodb python2 setup.py test +} + +package_python2-pymongo() { + depends=('python2') + optdepends=('python2-monotonic: enable support for a monotonic clock') + + cd "pymongo2-$pkgver" + python2 setup.py install --root="$pkgdir" --skip-build --optimize=1 +} + +package_python-pymongo() { + depends=('python') + + cd "pymongo-$pkgver" + python setup.py install --root="$pkgdir" --skip-build --optimize=1 +} + +# vim:set ts=2 sw=2 et: