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

Felix Yan felixonmars at archlinux.org
Thu Jan 14 15:11:38 UTC 2021


    Date: Thursday, January 14, 2021 @ 15:11:37
  Author: felixonmars
Revision: 820821

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 31 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-14 15:11:27 UTC (rev 820820)
+++ PKGBUILD	2021-01-14 15:11:37 UTC (rev 820821)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-fs
-pkgver=2.4.11
-pkgrel=3
-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-mock' 'python-pyftpdlib' 'python-psutil'
-              'python-pysendfile')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz"
-        $pkgname-python3.9.patch::https://github.com/PyFilesystem/pyfilesystem2/pull/424.patch)
-sha512sums=('fe4596bf213f9b1721cd3c665e6af180d6617eea07afbaa9d83847dc3f7dfe64bca16c8ccb337d48bbb49bf0d2fef90903e3c4aecc63f61faac6a2b6f6c59cf6'
-            '2d1088f46174700ef36d0759993650feccdbd231830d316fdda6dd8fd03e4831ba009cc37a3ed19a6ae1a3cbb6fcce292212b56cdbe87fd3d2af261de4648120')
-
-prepare() {
-  patch -d pyfilesystem2-$pkgver -p1 < $pkgname-python3.9.patch || :
-}
-
-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 820820, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-14 15:11:37 UTC (rev 820821)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-fs
+pkgver=2.4.12
+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-mock' 'python-pyftpdlib' 'python-psutil'
+              'python-pysendfile')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
+sha512sums=('8b4727ea21cb9e1b69e31688c46f0732bb1536490549e353c1f88ab0c794b867c5212d1003b094cc86f562108ab4a7ee9dbc7e9aa5dc1349371de583277eb93d')
+
+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
+}



More information about the arch-commits mailing list