[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Dec 9 05:25:53 UTC 2016
Date: Friday, December 9, 2016 @ 05:25:52
Author: felixonmars
Revision: 198541
addpkg: python2-scandir
Added:
python2-scandir/
python2-scandir/repos/
python2-scandir/trunk/
python2-scandir/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: python2-scandir/trunk/PKGBUILD
===================================================================
--- python2-scandir/trunk/PKGBUILD (rev 0)
+++ python2-scandir/trunk/PKGBUILD 2016-12-09 05:25:52 UTC (rev 198541)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-scandir
+pkgver=1.4
+pkgrel=1
+pkgdesc="A better directory iterator and faster os.walk()"
+arch=('i686' 'x86_64')
+url="https://github.com/benhoyt/scandir"
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools' 'git')
+source=("git+https://github.com/benhoyt/scandir.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+build() {
+ cd scandir
+ python2 setup.py build
+}
+
+check() {
+ cd scandir
+ LC_CTYPE=en_US.UTF-8 python2 test/run_tests.py
+}
+
+package() {
+ cd scandir
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: python2-scandir/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list