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

Jelle van der Waa jelle at archlinux.org
Sat May 8 21:44:26 UTC 2021


    Date: Saturday, May 8, 2021 @ 21:44:26
  Author: jelle
Revision: 928909

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 31 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-08 21:44:20 UTC (rev 928908)
+++ PKGBUILD	2021-05-08 21:44:26 UTC (rev 928909)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-fs
-pkgver=2.4.13
-pkgrel=1
-pkgdesc="Filesystem abstraction layer"
-arch=('any')
-license=('BSD')
-url="https://pypi.python.org/pypi/fs/"
-depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
-checkdepends=('python-pytest-runner' 'fuse2' 'python-pyftpdlib' 'python-psutil' 'python-pysendfile')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
-sha512sums=('c07bf6a8d373a11019709ada392153dbf953399631fa388433f9b7b73d9ae1072ea70b8ed9896752161a4737a399520f030b7875dc23137f418268c5acc24f48')
-
-build() {
-  cd pyfilesystem2-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pyfilesystem2-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" python setup.py pytest
-}
-
-package() {
-  cd pyfilesystem2-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-fs/repos/community-any/PKGBUILD (from rev 928908, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-08 21:44:26 UTC (rev 928909)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-fs
+pkgver=2.4.13
+pkgrel=2
+pkgdesc="Filesystem abstraction layer"
+arch=('any')
+license=('BSD')
+url="https://pypi.python.org/pypi/fs/"
+depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
+checkdepends=('python-pytest-runner' 'fuse2' 'python-pyftpdlib' 'python-psutil' 'python-pysendfile')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
+sha512sums=('c07bf6a8d373a11019709ada392153dbf953399631fa388433f9b7b73d9ae1072ea70b8ed9896752161a4737a399520f030b7875dc23137f418268c5acc24f48')
+
+build() {
+  cd pyfilesystem2-$pkgver
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+check() {
+  cd pyfilesystem2-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" python setup.py pytest
+}
+
+package() {
+  cd pyfilesystem2-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list