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

Felix Yan felixonmars at archlinux.org
Wed Nov 15 09:31:18 UTC 2017


    Date: Wednesday, November 15, 2017 @ 09:31:16
  Author: felixonmars
Revision: 266854

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 09:30:51 UTC (rev 266853)
+++ PKGBUILD	2017-11-15 09:31:16 UTC (rev 266854)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.0.15
-pkgrel=1
-pkgdesc="Filesystem abstraction layer"
-arch=('any')
-license=('custom: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')
-checkdepends=('python-nose' 'python2-nose' 'fuse2' 'python-mock' 'python2-mock' 'python-pyftpdlib'
-              'python2-pyftpdlib')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
-sha512sums=('4ff44dad87de8884ec63f3bc1f6a0fea13a93a5bf157d6c91354cb418f4cde49bc52ace3bd3c83f181e30290386792c583119877337e84ba5c199531ee16d3eb')
-
-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.6/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
-}
-
-package_python2-fs() {
-  depends=('python2-appdirs' 'python2-enum34' 'python2-pytz' 'python2-scandir' 'python2-setuptools'
-           'python2-six')
-
-  cd pyfilesystem2-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-}

Copied: python-fs/repos/community-any/PKGBUILD (from rev 266853, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-15 09:31:16 UTC (rev 266854)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=2.0.16
+pkgrel=1
+pkgdesc="Filesystem abstraction layer"
+arch=('any')
+license=('custom: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')
+checkdepends=('python-nose' 'python2-nose' 'fuse2' 'python-mock' 'python2-mock' 'python-pyftpdlib'
+              'python2-pyftpdlib')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
+sha512sums=('b67dee043258c4453bb5d4792f06eff35642443d3a1849cc3271cbbc1aaedf6afc693f7bcd1ad5d92460ae3a0ca692c1062a9b085eb957faa66e6205ef0c25d0')
+
+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.6/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
+}
+
+package_python2-fs() {
+  depends=('python2-appdirs' 'python2-enum34' 'python2-pytz' 'python2-scandir' 'python2-setuptools'
+           'python2-six')
+
+  cd pyfilesystem2-$pkgver-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list