[arch-commits] Commit in python-pymongo/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Dec 14 07:48:26 UTC 2019


    Date: Saturday, December 14, 2019 @ 07:48:25
  Author: felixonmars
Revision: 537607

archrelease: copy trunk to community-x86_64

Added:
  python-pymongo/repos/community-x86_64/PKGBUILD
    (from rev 537606, 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-12-14 07:48:17 UTC (rev 537606)
+++ PKGBUILD	2019-12-14 07:48:25 UTC (rev 537607)
@@ -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=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:

Copied: python-pymongo/repos/community-x86_64/PKGBUILD (from rev 537606, python-pymongo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-14 07:48:25 UTC (rev 537607)
@@ -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.10.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=('43fb571af90583eb29bf0f52a0ae12b6499fc4c3913d57655d3b58ba58c2e16c510a86136beaf8fd9c9d43fb498aa562c0816340de6d1e716eb323450100e2db')
+
+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