[arch-commits] Commit in python-fs/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 13 03:07:23 UTC 2018
Date: Monday, August 13, 2018 @ 03:07:22
Author: felixonmars
Revision: 371241
archrelease: copy trunk to community-any
Added:
python-fs/repos/community-any/PKGBUILD
(from rev 371240, python-fs/trunk/PKGBUILD)
Deleted:
python-fs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-13 03:07:01 UTC (rev 371240)
+++ PKGBUILD 2018-08-13 03:07:22 UTC (rev 371241)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.0.27
-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=('19f36c724f074080948282ac6380362c9829be73bd1f1c1de3d1703c9aa4c0b6067d87f8c1e9cb58a6b09c771b235da1840a37e000e00a23e3fa101af9920f89')
-
-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 371240, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-13 03:07:22 UTC (rev 371241)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=2.1.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=('5ec63c95e47b6540f9fb7421fa1fd55dcc41ca83fc118e69de6bc626efa8bf82a5f99ad4a5892011ccb36342d07d6ede94738609374578b3cc43684fcb44ae13')
+
+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