[arch-commits] Commit in stratis-cli/repos (2 files)
Jiachen Yang
farseerfc at archlinux.org
Fri May 14 07:17:23 UTC 2021
Date: Friday, May 14, 2021 @ 07:17:23
Author: farseerfc
Revision: 933955
archrelease: copy trunk to community-testing-any
Added:
stratis-cli/repos/community-testing-any/
stratis-cli/repos/community-testing-any/PKGBUILD
(from rev 933954, stratis-cli/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: stratis-cli/repos/community-testing-any/PKGBUILD (from rev 933954, stratis-cli/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-05-14 07:17:23 UTC (rev 933955)
@@ -0,0 +1,45 @@
+# Maintainer: Jiachen YANG <farseerfc at archlinux.org>
+# Contributor: Dan Beste <Dan.Ray.Beste at gmail.com>
+
+pkgname='stratis-cli'
+pkgver=2.4.0
+_pkgver=$pkgver
+pkgrel=1
+pkgdesc='A CLI for the Stratis Project.'
+arch=('any')
+license=('Apache')
+url='https://stratis-storage.github.io/'
+depends=('python-dbus-client-gen' 'python-into-dbus' 'python-justbytes' 'python-dateutil' 'python-semantic-version' 'python-psutil')
+makedepends=('dbus-glib' 'git' 'mpfr' 'python-argparse' 'python-dbus' 'python-pip' 'asciidoc')
+#checkdepends=('python-nose' 'python-hypothesis' 'stratisd')
+source=(
+ "${pkgname}-${_pkgver}.tar.gz::https://github.com/stratis-storage/stratis-cli/archive/v${_pkgver}.tar.gz"
+)
+sha256sums=('eb84c077e2f1af08e00907cc6255d210be45b70153a8cc232c548c1bd698d8e0')
+
+### ignore tests because it requires root permission to access stratisd
+#check() {
+# cd "${pkgname}-${_pkgver}"
+# export STRATISD="/usr/lib/stratisd"
+# nosetests
+#}
+
+build () {
+ cd "${pkgname}-${_pkgver}/docs"
+ make stratis.8
+}
+package() {
+ cd "${pkgname}-${_pkgver}"
+
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -D -m644 "shell-completion/bash/stratis" "$pkgdir/usr/share/bash-completion/completions/stratis"
+ install -D -m644 "shell-completion/zsh/_stratis" "$pkgdir/usr/share/zsh/site-functions/_stratis"
+ install -D -m644 "shell-completion/fish/stratis.fish" "$pkgdir/usr/share/fish/completions/stratis.fish"
+
+ cd "docs"
+ install -D -m644 stratis.8 "${pkgdir}/usr/share/man/man8/stratis.8"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list