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

Felix Yan felixonmars at archlinux.org
Mon Feb 11 22:03:36 UTC 2019


    Date: Monday, February 11, 2019 @ 22:03:35
  Author: felixonmars
Revision: 431772

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-11 22:03:15 UTC (rev 431771)
+++ PKGBUILD	2019-02-11 22:03:35 UTC (rev 431772)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.3.0
-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=('47de3be370667298698584f74f6c0423b8010e648cc44171e61564f54f7cb36c5a282832dad12aae6e089f1981d2b012b3cbb6ff2cfe635b6d7626b812416afb')
-
-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 431771, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-11 22:03:35 UTC (rev 431772)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=2.3.1
+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=('feca5b6f57b24e5d2d21cdaabf5ff061212bac5f4a90becf563a8a3901b3546b82e5e0ea20ea1791c83eabb9ab5a23f0922f1dabaac36401ad8039bcee6c6cc7')
+
+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
+}



More information about the arch-commits mailing list