[arch-commits] Commit in python-elasticsearch/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 8 11:52:53 UTC 2020
Date: Sunday, March 8, 2020 @ 11:52:52
Author: felixonmars
Revision: 591890
archrelease: copy trunk to community-any
Added:
python-elasticsearch/repos/community-any/PKGBUILD
(from rev 591889, python-elasticsearch/trunk/PKGBUILD)
Deleted:
python-elasticsearch/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 11:52:41 UTC (rev 591889)
+++ PKGBUILD 2020-03-08 11:52:52 UTC (rev 591890)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-elasticsearch
-pkgname=('python-elasticsearch' 'python2-elasticsearch')
-pkgver=7.5.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=('fbb35849826adeb4370c96a3b8215b309ca27649225aac4b4da1ca8b9ad6d0ed3d04e4f8f13addc36e7a973d2068fdaabee96391544b105e2ba295270b585f1c')
-
-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 591889, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-08 11:52:52 UTC (rev 591890)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-elasticsearch
+pkgname=('python-elasticsearch' 'python2-elasticsearch')
+pkgver=7.5.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=('9a82715031fbe60e5d795ca31cd7ba3fa653b3100e8d1b53e0088c55ad3ed7f4c4309a07327d41d1ca1abe2fdbb9f4b6e97d6ab39ae5dcde46b7c2b1642a92b2')
+
+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