[arch-commits] Commit in curator/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:36:43 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:36:43
  Author: felixonmars
Revision: 752711

archrelease: copy trunk to community-staging-x86_64

Added:
  curator/repos/community-staging-x86_64/
  curator/repos/community-staging-x86_64/PKGBUILD
    (from rev 752709, curator/trunk/PKGBUILD)

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

Copied: curator/repos/community-staging-x86_64/PKGBUILD (from rev 752709, curator/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-12 17:36:43 UTC (rev 752711)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
+
+pkgbase=curator
+pkgname=(python-elasticsearch-curator curator)
+pkgver=5.7.6
+pkgrel=4
+pkgdesc='Curator: Tending your Elasticsearch indices'
+url='https://github.com/elastic/curator'
+arch=('x86_64')
+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'
+             'python-cx_freeze' 'xz' 'mpdecimal')
+checkdepends=('python-pytest' 'python-mock')
+options=('!makeflags')
+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
+  make -C docs man text
+}
+
+check() {
+  cd curator-${pkgver}
+  py.test 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-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}"
+  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}")
+  cd curator-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  rm -rf "${pkgdir}"/usr/lib
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list