[arch-commits] Commit in python-pymongo/repos/community-staging-x86_64 (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:57:00 UTC 2019
Date: Thursday, October 31, 2019 @ 17:56:59
Author: foutrelis
Revision: 521479
archrelease: copy trunk to community-staging-x86_64
Added:
python-pymongo/repos/community-staging-x86_64/PKGBUILD
(from rev 521478, python-pymongo/trunk/PKGBUILD)
Deleted:
python-pymongo/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:56:55 UTC (rev 521478)
+++ PKGBUILD 2019-10-31 17:56:59 UTC (rev 521479)
@@ -1,57 +0,0 @@
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgbase=python-pymongo
-pkgname=('python-pymongo' 'python2-pymongo')
-pkgver=3.9.0
-pkgrel=2
-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:
Copied: python-pymongo/repos/community-staging-x86_64/PKGBUILD (from rev 521478, python-pymongo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:56:59 UTC (rev 521479)
@@ -0,0 +1,57 @@
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgbase=python-pymongo
+pkgname=('python-pymongo' 'python2-pymongo')
+pkgver=3.9.0
+pkgrel=3
+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:
More information about the arch-commits
mailing list