[arch-commits] Commit in python-fs/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Sep 7 14:25:43 UTC 2015
Date: Monday, September 7, 2015 @ 16:25:43
Author: fyan
Revision: 139495
archrelease: copy trunk to community-any
Added:
python-fs/repos/community-any/PKGBUILD
(from rev 139494, python-fs/trunk/PKGBUILD)
Deleted:
python-fs/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-07 14:25:30 UTC (rev 139494)
+++ PKGBUILD 2015-09-07 14:25:43 UTC (rev 139495)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-fs
-pkgname=('python-fs' 'python2-fs')
-pkgver=0.5.2
-pkgrel=1
-pkgdesc="Filesystem abstraction layer"
-arch=('any')
-license=('custom:BSD')
-url="http://pypi.python.org/pypi/fs/"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'fuse' 'python2-paramiko')
-source=("https://pypi.python.org/packages/source/f/fs/fs-$pkgver.tar.gz")
-sha512sums=('4589fa81c16a6351ec7aa22fca7973f44d16732be1bee32c8ba359f9f0a2b3d99497b457f6339f5d0e0f24ce292963ee5db114c92e05eb78836e31a0dc1bb95e')
-
-prepare() {
- cp -a fs-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/fs-$pkgver"
- python setup.py build
-
- cd "$srcdir/fs-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/fs-$pkgver"
- LC_CTYPE=en_US.utf8 python setup.py ptr || warning "Tests failed"
-
- cd "$srcdir/fs-$pkgver-py2"
- LC_CTYPE=en_US.utf8 python2 setup.py ptr || warning "Tests failed"
-}
-
-package_python-fs() {
- depends=('python-setuptools' 'python-six')
-
- cd fs-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-fs() {
- depends=('python2-setuptools' 'python2-six')
-
- cd fs-$pkgver-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- for f in fscat fscp fsinfo fsls fsmkdir fsmount fsmv fsrm fsserve fstree; do
- mv "$pkgdir/usr/bin/$f"{,2}
- done
-}
Copied: python-fs/repos/community-any/PKGBUILD (from rev 139494, python-fs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-07 14:25:43 UTC (rev 139495)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-fs
+pkgname=('python-fs' 'python2-fs')
+pkgver=0.5.3
+pkgrel=1
+pkgdesc="Filesystem abstraction layer"
+arch=('any')
+license=('custom:BSD')
+url="http://pypi.python.org/pypi/fs/"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'fuse' 'python2-paramiko')
+source=("https://pypi.python.org/packages/source/f/fs/fs-$pkgver.tar.gz")
+sha512sums=('fb0023a22c924b45ef0c4495f2890a3a757f1a2c5d53dba74a5d9e7f5944ee5b0a00f389d5352d7536e54da2a2ac46162f81608d3588bf2eeb16099af1b4fda0')
+
+prepare() {
+ cp -a fs-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/fs-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/fs-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/fs-$pkgver"
+ LC_CTYPE=en_US.utf8 python setup.py ptr || warning "Tests failed"
+
+ cd "$srcdir/fs-$pkgver-py2"
+ LC_CTYPE=en_US.utf8 python2 setup.py ptr || warning "Tests failed"
+}
+
+package_python-fs() {
+ depends=('python-setuptools' 'python-six')
+
+ cd fs-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-fs() {
+ depends=('python2-setuptools' 'python2-six')
+
+ cd fs-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+
+ for f in fscat fscp fsinfo fsls fsmkdir fsmount fsmv fsrm fsserve fstree; do
+ mv "$pkgdir/usr/bin/$f"{,2}
+ done
+}
More information about the arch-commits
mailing list