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

Felix Yan felixonmars at archlinux.org
Fri Aug 23 17:36:35 UTC 2019


    Date: Friday, August 23, 2019 @ 17:36:34
  Author: felixonmars
Revision: 501346

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-23 17:36:24 UTC (rev 501345)
+++ PKGBUILD	2019-08-23 17:36:34 UTC (rev 501346)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-elasticsearch
-pkgname=('python-elasticsearch' 'python2-elasticsearch')
-pkgver=7.0.3
-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=('32bd4923cc9a9187315b1029ccd3ffd6498726f48bbb0a225b7a7f1016064c630a3d002866b7033d7410c632b25c10503baf5f2cde29606fddf9089e8bf2151d')
-
-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 501345, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-23 17:36:34 UTC (rev 501346)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-elasticsearch
+pkgname=('python-elasticsearch' 'python2-elasticsearch')
+pkgver=7.0.4
+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=('f59c095c4adf9e5896143ee195bb31a8dcb33e511c9679e115f6fcf162281d1c4b6b5ed69e16c31f2e082f86df703714d1fe3699f2102400476f97ada10dd918')
+
+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