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

Felix Yan felixonmars at archlinux.org
Fri Apr 12 10:17:12 UTC 2019


    Date: Friday, April 12, 2019 @ 10:17:11
  Author: felixonmars
Revision: 451232

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-12 10:16:54 UTC (rev 451231)
+++ PKGBUILD	2019-04-12 10:17:11 UTC (rev 451232)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-elasticsearch
-pkgname=('python-elasticsearch' 'python2-elasticsearch')
-pkgver=6.3.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=('b975a6b446b760bf62289e855768a26b9e104aba9cd399cf275f59f2755efa00bd55c99a746751dad2f7a18f581a1b124c1bb9b91f5c3dc9fb00138c9d198aea')
-
-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 451231, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-12 10:17:11 UTC (rev 451232)
@@ -0,0 +1,52 @@
+# 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
+}


More information about the arch-commits mailing list