diff options
author | Levente Polyak | 2019-05-22 18:38:44 +0000 |
---|---|---|
committer | Levente Polyak | 2019-05-22 18:38:44 +0000 |
commit | 9d81cc1f34e4f9a005b70d00878fb62ce4ab6ca2 (patch) | |
tree | 288cd26bf6ed9412fc22c0f4dfebbbaf1ffa04f2 | |
parent | a3d19bd41ac284b0de41ddf2158bcd22da42dd68 (diff) | |
download | aur-9d81cc1f34e4f9a005b70d00878fb62ce4ab6ca2.tar.gz |
upgpkg: 5.7.6-1
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 9 insertions, 24 deletions
@@ -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,33 +12,30 @@ license=('APACHE') 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 } check() { cd curator-${pkgver} py.test test/unit - py.test2 test/unit } package_python-elasticsearch-curator() { 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 @@ package_python-elasticsearch-curator() { 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}") |