[arch-commits] Commit in curator/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed May 22 18:38:44 UTC 2019
Date: Wednesday, May 22, 2019 @ 18:38:44
Author: anthraxx
Revision: 468650
upgpkg: curator 5.7.6-1
Modified:
curator/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++------------------------
1 file changed, 9 insertions(+), 24 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-22 18:33:39 UTC (rev 468649)
+++ PKGBUILD 2019-05-22 18:38:44 UTC (rev 468650)
@@ -2,8 +2,8 @@
# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
pkgbase=curator
-pkgname=(python-elasticsearch-curator python2-elasticsearch-curator curator)
-pkgver=5.6.0
+pkgname=(python-elasticsearch-curator curator)
+pkgver=5.7.6
pkgrel=1
pkgdesc='Curator: Tending your Elasticsearch indices'
url='https://github.com/elastic/curator'
@@ -12,19 +12,16 @@
makedepends=('python' 'python-setuptools' 'python-elasticsearch' 'python-boto3'
'python-requests-aws4auth' 'python-click' 'python-urllib3' 'python-yaml'
'python-voluptuous' 'python-certifi' 'python-six' 'python-sphinx'
- 'python2' 'python2-setuptools' 'python2-elasticsearch' 'python2-boto3'
- 'python2-requests-aws4auth' 'python2-click' 'python2-urllib3' 'python2-yaml'
- 'python2-voluptuous' 'python2-certifi' 'python2-six' 'python2-sphinx')
-checkdepends=('python-pytest' 'python-mock'
- 'python2-pytest' 'python2-mock')
+ 'python-cx_freeze' 'xz' 'mpdecimal')
+checkdepends=('python-pytest' 'python-mock')
options=('!makeflags')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/elastic/curator/archive/v${pkgver}.tar.gz)
-sha512sums=('7dc02b5d15228ea96254dc7dd8069d8396c5d3df883b7ab42936c7612b0f16f5399131563703ccd05469facee7ddf20a720daf62a2713943a4b9a0c9448dd676')
+source=(https://github.com/elastic/curator/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('a48486cacf0b32038358babfc5a8755c9a24992ff5279226b923298b426fe253')
+sha512sums=('d4f46fad5d8107899fc4c9ee1b7dad595749415cee53f55993c517743df6119ff7680f3ad96f1a937d793dad395416257b56a4b3cdcd6a99b162ad7f77196051')
build() {
cd curator-${pkgver}
python setup.py build
- python2 setup.py build
make -C docs man text
}
@@ -31,7 +28,6 @@
check() {
cd curator-${pkgver}
py.test test/unit
- py.test2 test/unit
}
package_python-elasticsearch-curator() {
@@ -38,7 +34,8 @@
pkgdesc+=' (python API)'
depends=('python' 'python-elasticsearch' 'python-elasticsearch' 'python-boto3'
'python-requests-aws4auth' 'python-click' 'python-urllib3' 'python-yaml'
- 'python-voluptuous' 'python-certifi' 'python-six')
+ 'python-voluptuous' 'python-certifi' 'python-six' 'python-cx_freeze'
+ 'xz' 'mpdecimal')
cd curator-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
@@ -46,18 +43,6 @@
rm -rf "${pkgdir}"/usr/bin
}
-package_python2-elasticsearch-curator() {
- pkgdesc+=' (python2 API)'
- depends=('python2' 'python2-elasticsearch' 'python2-elasticsearch' 'python2-boto3'
- 'python2-requests-aws4auth' 'python2-click' 'python2-urllib3' 'python2-yaml'
- 'python2-voluptuous' 'python2-certifi' 'python2-six')
- cd curator-${pkgver}
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 docs/_build/man/curator.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- rm -rf "${pkgdir}"/usr/bin
-}
-
package_curator() {
depends=('python' 'python-setuptools' 'python-elasticsearch-curator')
provides=("elasticsearch-curator=${pkgver}-${pkgrel}")
More information about the arch-commits
mailing list