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

Jelle van der Waa jelle at archlinux.org
Thu May 14 09:22:59 UTC 2020


    Date: Thursday, May 14, 2020 @ 09:22:58
  Author: jelle
Revision: 627904

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   73 +++++++++++++++++++++++--------------------------------------
 1 file changed, 28 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-14 09:22:51 UTC (rev 627903)
+++ PKGBUILD	2020-05-14 09:22:58 UTC (rev 627904)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# 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.1
-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')
-source=("https://pypi.io/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
-sha512sums=('5a73ac17ef6f6783a573facd90879dbefa0c95d69123bc67c1a6af0987cb5786f637b8fa81a6810387acc34829a4cde33b848ac0f7b08f7d07faa90a8e13b595')
-
-prepare() {
-  cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
-}
-
-build() {
-  cd "$srcdir"/pymongo-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pymongo2-$pkgver
-  python2 setup.py build
-}
-
-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 627903, python-pymongo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-14 09:22:58 UTC (rev 627904)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=python-pymongo
+pkgver=3.10.1
+pkgrel=2
+pkgdesc='Python module for using MongoDB'
+arch=('x86_64')
+license=('APACHE')
+url='https://pypi.python.org/pypi/pymongo/'
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
+sha512sums=('5a73ac17ef6f6783a573facd90879dbefa0c95d69123bc67c1a6af0987cb5786f637b8fa81a6810387acc34829a4cde33b848ac0f7b08f7d07faa90a8e13b595')
+
+build() {
+  cd "$srcdir"/pymongo-$pkgver
+  python setup.py build
+}
+
+package() {
+  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