[arch-commits] Commit in python-elasticsearch/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 21 13:59:10 UTC 2018
Date: Thursday, June 21, 2018 @ 13:59:09
Author: felixonmars
Revision: 344308
archrelease: copy trunk to community-any
Added:
python-elasticsearch/repos/community-any/PKGBUILD
(from rev 344307, python-elasticsearch/trunk/PKGBUILD)
Deleted:
python-elasticsearch/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-21 13:58:45 UTC (rev 344307)
+++ PKGBUILD 2018-06-21 13:59:09 UTC (rev 344308)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-elasticsearch
-pkgname=('python-elasticsearch' 'python2-elasticsearch')
-pkgver=6.2.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=('f7205db8b8608ce52657a114a38f59b95ed0ea5acb0a5f18197be6baebde80fd88210a5f88fb5d2770f82f1dc7212d038d801f96c7d18cfe1e77c16ee0fa5208')
-
-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
- python setup.py nosetests
-
- cd "$srcdir"/elasticsearch-py-$pkgver-py2
- python2 setup.py nosetests
-}
-
-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 344307, python-elasticsearch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-21 13:59:09 UTC (rev 344308)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-elasticsearch
+pkgname=('python-elasticsearch' 'python2-elasticsearch')
+pkgver=6.3.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=('ee60840b7e9706141a650821f705f1bb92fe3c4c282ecad71b3912ad25025519f456b45af85109a900094a53c47c374e450d771c1ef3a3690400272c6f8a47bc')
+
+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
+ python setup.py nosetests
+
+ cd "$srcdir"/elasticsearch-py-$pkgver-py2
+ python2 setup.py nosetests
+}
+
+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