[arch-commits] Commit in python-elasticsearch/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu May 14 18:52:48 UTC 2020
Date: Thursday, May 14, 2020 @ 18:52:47
Author: felixonmars
Revision: 627975
archrelease: copy trunk to community-any
Added:
python-elasticsearch/repos/community-any/PKGBUILD
(from rev 627974, python-elasticsearch/trunk/PKGBUILD)
Deleted:
python-elasticsearch/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-14 18:52:32 UTC (rev 627974)
+++ PKGBUILD 2020-05-14 18:52:47 UTC (rev 627975)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-elasticsearch
-pkgver=7.6.0
-pkgrel=2
-arch=('any')
-pkgdesc='Python client for Elasticsearch'
-url='https://github.com/elastic/elasticsearch-py'
-license=('Apache')
-depends=('python-urllib3')
-makedepends=('python-setuptools' 'git')
-checkdepends=('python-nose' 'python-requests' 'python-coverage' 'python-mock' 'python-pyaml'
- 'python-nosexcover')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz"
- git+https://github.com/elastic/elasticsearch.git)
-sha512sums=('f8a54cd222af94d659087d654bcbe52da5ee90570ff04dbdd6793b870b8fd7e4b5b896620424f85057f2274ed3a16ecd97f53f704c2a97931b4876d246311ea9'
- 'SKIP')
-
-prepare() {
- sed -i 's/urllib3<.*,>/urllib3>/' elasticsearch-py-$pkgver/setup.py
- sed -i 's|CA_CERTS = None|CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"|' elasticsearch-py-$pkgver/elasticsearch/connection/http_urllib3.py
-}
-
-build() {
- cd elasticsearch-py-$pkgver
- python setup.py build
-}
-
-check() {
- cd elasticsearch-py-$pkgver
- TEST_ES_REPO="$srcdir"/elasticsearch python setup.py test
-}
-
-package() {
- cd elasticsearch-py-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1
-}
Copied: python-elasticsearch/repos/community-any/PKGBUILD (from rev 627974, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-14 18:52:47 UTC (rev 627975)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-elasticsearch
+pkgver=7.7.0
+pkgrel=1
+arch=('any')
+pkgdesc='Python client for Elasticsearch'
+url='https://github.com/elastic/elasticsearch-py'
+license=('Apache')
+depends=('python-urllib3')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-nose' 'python-requests' 'python-coverage' 'python-mock' 'python-pyaml'
+ 'python-nosexcover' 'python-numpy' 'python-pandas')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz"
+ git+https://github.com/elastic/elasticsearch.git)
+sha512sums=('6da382c5056f61dde2bf509c902a4ca33548ee937d037dc977e8c8864ebc09385f630b5c99ab8b24b69390773a241786495d1c01a5684ea3892d834e7a1550b1'
+ 'SKIP')
+
+prepare() {
+ sed -i 's/, "certifi"//' elasticsearch-py-$pkgver/setup.py
+ sed -i 's|CA_CERTS = None|CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"|' elasticsearch-py-$pkgver/elasticsearch/connection/http_urllib3.py
+}
+
+build() {
+ cd elasticsearch-py-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd elasticsearch-py-$pkgver
+ TEST_ES_REPO="$srcdir"/elasticsearch python setup.py test
+}
+
+package() {
+ cd elasticsearch-py-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list