[arch-commits] Commit in python-vistir/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 30 10:40:25 UTC 2022


    Date: Tuesday, August 30, 2022 @ 10:40:25
  Author: felixonmars
Revision: 1288567

archrelease: copy trunk to community-any

Added:
  python-vistir/repos/community-any/PKGBUILD
    (from rev 1288566, python-vistir/trunk/PKGBUILD)
Deleted:
  python-vistir/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 10:40:11 UTC (rev 1288566)
+++ PKGBUILD	2022-08-30 10:40:25 UTC (rev 1288567)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-vistir
-pkgver=0.5.6
-pkgrel=1
-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=('5f2aa01e54a9983c513333143c743de6033aa3d8697e6dcea4eb780b7f61fd7f839b60323e1a0bdd498c4eb830a7ee5e67ea5fad03a42b290384c11da483eb1e')
-
-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/
-}

Copied: python-vistir/repos/community-any/PKGBUILD (from rev 1288566, python-vistir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 10:40:25 UTC (rev 1288567)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-vistir
+pkgver=0.6.1
+pkgrel=1
+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')
+makedepends=('python-setuptools' 'python-wheel')
+checkdepends=('python-pytest' 'python-hypothesis-fspaths' 'python-pytest-timeout' 'python-requests'
+              'python-yaspin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/vistir/archive/v$pkgver.tar.gz")
+sha512sums=('96d8b3106f266ef7110fb6af38b2acfe863b06e8792626ac420eed5119b0e916f1907bebfccae291a57a8bfe16a69a0159f59b484b90a60886eca2f7db3143c7')
+
+build() {
+  cd vistir-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd vistir-$pkgver
+  PYTHONPATH="$PWD/build/lib" 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