[arch-commits] Commit in python-elasticsearch/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 31 09:00:26 UTC 2020
Date: Friday, July 31, 2020 @ 09:00:26
Author: felixonmars
Revision: 666141
archrelease: copy trunk to community-any
Added:
python-elasticsearch/repos/community-any/PKGBUILD
(from rev 666140, python-elasticsearch/trunk/PKGBUILD)
Deleted:
python-elasticsearch/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-31 09:00:10 UTC (rev 666140)
+++ PKGBUILD 2020-07-31 09:00:26 UTC (rev 666141)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-elasticsearch
-pkgver=7.8.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-requests' 'python-mock' 'python-yaml' 'python-pytest' 'python-numpy'
- 'python-pandas' 'python-aiohttp' 'python-pytest-asyncio')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz"
- git+https://github.com/elastic/elasticsearch.git)
-sha512sums=('94d65c0a3e8d509214ed7ad63ebd47da6cdb53e4966694f23f2071f6c21106e6be634bbcf1253f6dae37c5528fe9b564e34660aef155caf6659ed572f6cceadb'
- '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,_async/http_aiohttp.py}
-}
-
-build() {
- cd elasticsearch-py-$pkgver
- python setup.py build
-}
-
-check() {
- cd elasticsearch-py-$pkgver
- # Skip tests that requires a running elasticsearch server
- TEST_ES_REPO="$srcdir"/elasticsearch pytest --deselect test_elasticsearch/test_async/test_server
-}
-
-package() {
- cd elasticsearch-py-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1
-}
Copied: python-elasticsearch/repos/community-any/PKGBUILD (from rev 666140, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-31 09:00:26 UTC (rev 666141)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-elasticsearch
+pkgver=7.8.1
+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-requests' 'python-mock' 'python-yaml' 'python-pytest' 'python-numpy'
+ 'python-pandas' 'python-aiohttp' 'python-pytest-asyncio')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz"
+ git+https://github.com/elastic/elasticsearch.git)
+sha512sums=('46f4295bca0da9b1fb4e8dea6ef511e4f37c342394e24c36712f63e3c75bc76c60f37a81350b7873465e129a635cbf70dd7039daae13e851cfbcc995f91bd432'
+ '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,_async/http_aiohttp.py}
+}
+
+build() {
+ cd elasticsearch-py-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd elasticsearch-py-$pkgver
+ # Skip tests that requires a running elasticsearch server
+ TEST_ES_REPO="$srcdir"/elasticsearch pytest --deselect test_elasticsearch/test_async/test_server
+}
+
+package() {
+ cd elasticsearch-py-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list