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

Felix Yan felixonmars at archlinux.org
Sat May 25 08:48:27 UTC 2019


    Date: Saturday, May 25, 2019 @ 08:48:27
  Author: felixonmars
Revision: 469916

archrelease: copy trunk to community-x86_64

Added:
  python-vistir/repos/community-x86_64/
  python-vistir/repos/community-x86_64/PKGBUILD
    (from rev 469915, python-vistir/trunk/PKGBUILD)

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

Copied: python-vistir/repos/community-x86_64/PKGBUILD (from rev 469915, python-vistir/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-05-25 08:48:27 UTC (rev 469916)
@@ -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