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

Felix Yan felixonmars at archlinux.org
Sun May 5 21:28:50 UTC 2019


    Date: Sunday, May 5, 2019 @ 21:28:50
  Author: felixonmars
Revision: 460287

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-05 21:28:39 UTC (rev 460286)
+++ PKGBUILD	2019-05-05 21:28:50 UTC (rev 460287)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.4.4
-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=('9fdcb432207216f542af4a33558f0448c7002d48877d866c5305cacce1d8a8679d07ac4e6fa642047f4219cf73f1782624d136acda4509506f7fe7e01d4fe4a7')
-
-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 460286, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-05 21:28:50 UTC (rev 460287)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=2.4.5
+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=('d9a719652fabbf256c8ccfb64b4229c050fa549d0ca9552d65256ca6d2d4f8c0ef73b1bea4fc9f599a41cace998bbd347d6998fffc3d67a64469702fca0974d4')
+
+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