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

Felix Yan felixonmars at archlinux.org
Wed Aug 28 00:45:38 UTC 2019


    Date: Wednesday, August 28, 2019 @ 00:45:37
  Author: felixonmars
Revision: 503337

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-28 00:45:26 UTC (rev 503336)
+++ PKGBUILD	2019-08-28 00:45:37 UTC (rev 503337)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.4.8
-pkgrel=1
-pkgdesc="Filesystem abstraction layer"
-arch=('any')
-license=('BSD')
-url="http://pypi.python.org/pypi/fs/"
-makedepends=('python-appdirs' 'python2-appdirs' 'python2-enum34' 'python-pytz' 'python2-pytz'
-             'python2-scandir' 'python-setuptools' 'python2-setuptools' 'python-six' 'python2-six'
-             'python2-typing' 'python2-backports.os')
-checkdepends=('python-nose' 'python2-nose' 'fuse2' 'python-mock' 'python2-mock' 'python-pyftpdlib'
-              'python2-pyftpdlib' 'python-psutil' 'python2-psutil' 'python-pysendfile'
-              'python2-pysendfile')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
-sha512sums=('c079f89033ec0a8afc494b65106803d2f992397bd4df24c95e75b46c584322b2f69863c43038f3ac9adb4d18ef6d687653f8de1d40bf4c1431accd899f966c66')
-
-prepare() {
-  cp -a pyfilesystem2-$pkgver{,-py2}
-
-  sed -e '/enum34/d' -e '/scandir/d' -i pyfilesystem2-$pkgver/setup.py
-}
-
-build() {
-  cd "$srcdir"/pyfilesystem2-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pyfilesystem2-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  export LC_CTYPE=en_US.UTF-8
-
-  cd "$srcdir"/pyfilesystem2-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" nosetests3 tests
-
-  cd "$srcdir"/pyfilesystem2-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" nosetests2 tests
-}
-
-package_python-fs() {
-  depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
-
-  cd pyfilesystem2-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-fs() {
-  depends=('python2-appdirs' 'python2-enum34' 'python2-pytz' 'python2-scandir' 'python2-setuptools'
-           'python2-six' 'python2-typing' 'python2-backports.os')
-
-  cd pyfilesystem2-$pkgver-py2
-  python2 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 503336, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-28 00:45:37 UTC (rev 503337)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-fs
+pkgver=2.4.10
+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-nose' '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=('ebb252e6c7f67fcce4fe1c98405e4c2892860d68e1b015d44b9ba62ae33445fbe7050270762ef19035bceb9fd0881aefe709e75ec1b5169a8aeb5c23b960036c')
+
+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.7/site-packages:$PYTHONPATH" nosetests3 tests
+}
+
+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