[arch-commits] Commit in python-fs/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed May 23 05:03:48 UTC 2018
Date: Wednesday, May 23, 2018 @ 05:03:47
Author: felixonmars
Revision: 327967
archrelease: copy trunk to community-any
Added:
python-fs/repos/community-any/PKGBUILD
(from rev 327966, python-fs/trunk/PKGBUILD)
Deleted:
python-fs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 60 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-23 05:03:16 UTC (rev 327966)
+++ PKGBUILD 2018-05-23 05:03:47 UTC (rev 327967)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.0.20
-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=('b5524c662f378c765dcb228b6c5988e0d3a796fec546cd3b2d4e10b6c6d1167dcece549a7b78a4f0217e3e636ed91b4c6d38aaba36d8dd7ff7e4d89fe48b2889')
-
-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 327966, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-23 05:03:47 UTC (rev 327967)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=2.0.23
+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'
+ '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=('fb3cf4fff46c37ff1e6628e0aa2f2dcc303751b0dc4da9627a3380f0ed708d060665d44b1ec0719b6b20908c45e4643bea84b59e3ecf494fff76f85fe0cb8325')
+
+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' 'python2-typing' 'python2-backports.os')
+
+ cd pyfilesystem2-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list