[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 08:48:13 UTC 2019
Date: Saturday, May 25, 2019 @ 08:48:11
Author: felixonmars
Revision: 469915
addpkg: python-vistir 0.4.2-1
Added:
python-vistir/
python-vistir/repos/
python-vistir/trunk/
python-vistir/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: python-vistir/trunk/PKGBUILD
===================================================================
--- python-vistir/trunk/PKGBUILD (rev 0)
+++ python-vistir/trunk/PKGBUILD 2019-05-25 08:48:11 UTC (rev 469915)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-vistir
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="Miscellaneous utilities for dealing with filesystems, paths, projects, subprocesses, and more"
+url="https://github.com/sarugaku/vistir"
+license=('BSD')
+arch=('x86_64')
+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=('11c6003f3c5c26540ca1875f93b4cb8edea7efded8076c53e8dabed4c638a045b78c4f20b0f0e0fcca2580582f127c2a6bb12df7172acdb742f91fe410f90fd8')
+
+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