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

Felix Yan felixonmars at archlinux.org
Wed Dec 6 02:38:05 UTC 2017


    Date: Wednesday, December 6, 2017 @ 02:37:55
  Author: felixonmars
Revision: 272353

archrelease: copy trunk to community-x86_64

Added:
  python-pymongo/repos/community-x86_64/PKGBUILD
    (from rev 272352, python-pymongo/trunk/PKGBUILD)
Deleted:
  python-pymongo/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 02:37:21 UTC (rev 272352)
+++ PKGBUILD	2017-12-06 02:37:55 UTC (rev 272353)
@@ -1,58 +0,0 @@
-# $Id$
-# 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.5.1
-pkgrel=1
-pkgdesc='Python module for using MongoDB'
-arch=('x86_64' 'i686')
-license=('APACHE')
-url='http://pypi.python.org/pypi/pymongo/'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'python2-monotonic' 'python-pifpaf')
-checkdepends_x86_64=('mongodb')
-source=("https://pypi.io/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
-sha512sums=('67526bcc27233b85226d7ef6aacce6dfb848efc88730fb8207c3b610f3943ac813f6c2842b7e514d733a65a2b7ea4f255574732e42372551b1b333e3437fd82f')
-
-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 272352, python-pymongo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-06 02:37:55 UTC (rev 272353)
@@ -0,0 +1,58 @@
+# $Id$
+# 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.6.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' 'python-pifpaf')
+checkdepends_x86_64=('mongodb')
+source=("https://pypi.io/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
+sha512sums=('9bf25f006abab096f8288d46f8ddf5fbdc6b37c49f36c1eedeab7c7bc96ffda225d178c4a9a8b7f15af90486f6a8b6392f5c74716f3a0814dbc8fbf001c78774')
+
+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