[arch-commits] Commit in python-fs/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 10 16:38:28 UTC 2018
Date: Saturday, November 10, 2018 @ 16:38:27
Author: felixonmars
Revision: 405691
archrelease: copy trunk to community-any
Added:
python-fs/repos/community-any/PKGBUILD
(from rev 405690, python-fs/trunk/PKGBUILD)
Deleted:
python-fs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-10 16:38:11 UTC (rev 405690)
+++ PKGBUILD 2018-11-10 16:38:27 UTC (rev 405691)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=2.1.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=('6b958b81a6a149a0828b3e5525e89b3d6dfcef5e13d8d8678401e1034a3f3f6cb6b21f63dc3973814929d71a8fa29662b1e55ee1a26714f282c5f9ff5cd35ab5')
-
-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 405690, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-10 16:38:27 UTC (rev 405691)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=2.1.2
+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=('a673811f3c63ce619e4321b2ebfab90324a1e13f749c2f5f56ec7e140c563ba8879f82e7e04bf0ca7cba33788cb665f8befd77fb1c160d486bc501591df3c9a4')
+
+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