[arch-commits] Commit in python-elasticsearch/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 11 17:42:51 UTC 2019


    Date: Saturday, May 11, 2019 @ 17:42:50
  Author: felixonmars
Revision: 465459

archrelease: copy trunk to community-any

Added:
  python-elasticsearch/repos/community-any/PKGBUILD
    (from rev 465458, python-elasticsearch/trunk/PKGBUILD)
Deleted:
  python-elasticsearch/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-11 17:42:38 UTC (rev 465458)
+++ PKGBUILD	2019-05-11 17:42:50 UTC (rev 465459)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-elasticsearch
-pkgname=('python-elasticsearch' 'python2-elasticsearch')
-pkgver=7.0.0
-pkgrel=1
-arch=('any')
-pkgdesc='Python client for Elasticsearch'
-url='https://github.com/elastic/elasticsearch-py'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-urllib3' 'python2-urllib3')
-checkdepends=('python-nose' 'python2-nose' 'python-requests' 'python2-requests' 'python-coverage'
-              'python2-coverage' 'python-mock' 'python2-mock' 'python-pyaml' 'python2-pyaml'
-              'python-nosexcover' 'python2-nosexcover')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz")
-sha512sums=('c9dcee663af3c6757ceaf953e20ebca5221a13ce7fdfbaa8138f03c66aaa1822922f8aa0beef9a72009ccb4f206dd8887d4ebc2b1881f34156c02d8a31464dee')
-
-prepare() {
-  sed -i 's/urllib3<.*,>/urllib3>/' elasticsearch-py-$pkgver/setup.py
-  cp -a elasticsearch-py-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/elasticsearch-py-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/elasticsearch-py-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/elasticsearch-py-$pkgver
-  # https://github.com/elastic/elasticsearch-py/issues/816
-  # python setup.py test
-
-  cd "$srcdir"/elasticsearch-py-$pkgver-py2
-  # python2 setup.py test
-}
-
-package_python-elasticsearch() {
-  depends=('python-urllib3')
-
-  cd elasticsearch-py-$pkgver
-  python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-elasticsearch() {
-  depends=('python2-urllib3')
-
-  cd elasticsearch-py-$pkgver-py2
-  python2 setup.py install --root "$pkgdir" --optimize=1
-}

Copied: python-elasticsearch/repos/community-any/PKGBUILD (from rev 465458, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-11 17:42:50 UTC (rev 465459)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-elasticsearch
+pkgname=('python-elasticsearch' 'python2-elasticsearch')
+pkgver=7.0.1
+pkgrel=1
+arch=('any')
+pkgdesc='Python client for Elasticsearch'
+url='https://github.com/elastic/elasticsearch-py'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-urllib3' 'python2-urllib3')
+checkdepends=('python-nose' 'python2-nose' 'python-requests' 'python2-requests' 'python-coverage'
+              'python2-coverage' 'python-mock' 'python2-mock' 'python-pyaml' 'python2-pyaml'
+              'python-nosexcover' 'python2-nosexcover')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz")
+sha512sums=('e5b4826e77873f47c3b8c74712745d922fb758faf1801ff44f1b69e3b75c31a514d005f6a3358b069214885d508fe8797e2b47392881653f1b4f0c447d444deb')
+
+prepare() {
+  sed -i 's/urllib3<.*,>/urllib3>/' elasticsearch-py-$pkgver/setup.py
+  cp -a elasticsearch-py-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/elasticsearch-py-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/elasticsearch-py-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/elasticsearch-py-$pkgver
+  # https://github.com/elastic/elasticsearch-py/issues/816
+  # python setup.py test
+
+  cd "$srcdir"/elasticsearch-py-$pkgver-py2
+  # python2 setup.py test
+}
+
+package_python-elasticsearch() {
+  depends=('python-urllib3')
+
+  cd elasticsearch-py-$pkgver
+  python setup.py install --root "$pkgdir" --optimize=1
+}
+
+package_python2-elasticsearch() {
+  depends=('python2-urllib3')
+
+  cd elasticsearch-py-$pkgver-py2
+  python2 setup.py install --root "$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list