[arch-commits] Commit in python-vistir/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:52:03 UTC 2020
Date: Monday, November 9, 2020 @ 16:52:03
Author: foutrelis
Revision: 747627
archrelease: copy trunk to community-staging-any
Added:
python-vistir/repos/community-staging-any/
python-vistir/repos/community-staging-any/PKGBUILD
(from rev 747626, python-vistir/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-vistir/repos/community-staging-any/PKGBUILD (from rev 747626, python-vistir/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:52:03 UTC (rev 747627)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-vistir
+pkgver=0.5.2
+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=('fdeea91160f7d170af972b42a1448e0931d13dd56eddfb92274d078e5c2250b9d649cc434ccc9fe71d5ec080d2c490d730da0f38bfad0863de6ae063fc28136e')
+
+build() {
+ cd vistir-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd vistir-$pkgver
+ LC_CTYPE=en_US.UTF-8 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