[arch-commits] Commit in python-vistir/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 19:55:30 UTC 2019
Date: Friday, October 25, 2019 @ 19:55:28
Author: foutrelis
Revision: 519625
archrelease: copy trunk to community-staging-any
Added:
python-vistir/repos/community-staging-any/
python-vistir/repos/community-staging-any/PKGBUILD
(from rev 519623, python-vistir/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-vistir/repos/community-staging-any/PKGBUILD (from rev 519623, python-vistir/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 19:55:28 UTC (rev 519625)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-vistir
+pkgver=0.4.3
+pkgrel=2
+pkgdesc="Miscellaneous utilities for dealing with filesystems, paths, projects, subprocesses, and more"
+url="https://github.com/sarugaku/vistir"
+license=('BSD')
+arch=('any')
+depends=('python-colorama' 'python-requests' 'python-six')
+makedepends=('python-setuptools' 'python-wheel')
+checkdepends=('python-pytest-runner' 'python-hypothesis-fspaths' 'python-pytest-cov'
+ 'python-pytest-timeout' 'python-yaspin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/vistir/archive/$pkgver.tar.gz")
+sha512sums=('60da4b1886fc0642530f3d3159844a2ff9401952584d72acdb9fe1a8e3578f05ba5a784f3f77a7379dcb1d93f2aa5aecd48a392b8acea1126b8e5be99d3d2eec')
+
+build() {
+ cd vistir-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd vistir-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd vistir-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list