[arch-commits] Commit in python2-scandir/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 9 05:26:20 UTC 2016


    Date: Friday, December 9, 2016 @ 05:26:19
  Author: felixonmars
Revision: 198542

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python2-scandir/repos/community-i686/
  python2-scandir/repos/community-i686/PKGBUILD
    (from rev 198541, python2-scandir/trunk/PKGBUILD)
  python2-scandir/repos/community-x86_64/
  python2-scandir/repos/community-x86_64/PKGBUILD
    (from rev 198541, python2-scandir/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: python2-scandir/repos/community-i686/PKGBUILD (from rev 198541, python2-scandir/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-12-09 05:26:19 UTC (rev 198542)
@@ -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:

Copied: python2-scandir/repos/community-x86_64/PKGBUILD (from rev 198541, python2-scandir/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-12-09 05:26:19 UTC (rev 198542)
@@ -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:



More information about the arch-commits mailing list