[arch-commits] Commit in python-xattr/repos/community-testing-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 18:47:00 UTC 2018


    Date: Wednesday, August 1, 2018 @ 18:47:00
  Author: felixonmars
Revision: 367199

archrelease: copy trunk to community-testing-x86_64

Added:
  python-xattr/repos/community-testing-x86_64/PKGBUILD
    (from rev 367198, python-xattr/trunk/PKGBUILD)
Deleted:
  python-xattr/repos/community-testing-x86_64/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-01 18:46:40 UTC (rev 367198)
+++ PKGBUILD	2018-08-01 18:47:00 UTC (rev 367199)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-xattr
-pkgname=('python-xattr' 'python2-xattr')
-pkgver=0.9.4
-pkgrel=1
-pkgdesc='Python wrapper for extended filesystem attributes'
-arch=('x86_64')
-license=('MIT')
-url='https://github.com/xattr/xattr'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/xattr/xattr/archive/v$pkgver.tar.gz")
-sha512sums=('fb70d0f07189215558fc3e1565fc87b3307475703c6807b9bbecbeb0a575826a1f488107c8d66c99c96a36850598021ac58f722cbf90af63dde0b05b55b79957')
-
-prepare() {
-  cp -a xattr-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/xattr-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/xattr-$pkgver-py2
-  python2 setup.py build
-}
-
-check() { (
-  # Build env doesn't have permission for those xattrs
-  cd "$srcdir"/xattr-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/xattr-$pkgver-py2
-  python2 setup.py test
-  ) || warning "Tests failed"
-}
-
-package_python-xattr() {
-  depends=('python-cffi' 'python-setuptools')
-
-  cd xattr-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-xattr() {
-  depends=('python2-cffi' 'python2-setuptools')
-
-  cd xattr-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-
-  mv "$pkgdir"/usr/bin/xattr{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-xattr/repos/community-testing-x86_64/PKGBUILD (from rev 367198, python-xattr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-01 18:47:00 UTC (rev 367199)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-xattr
+pkgname=('python-xattr' 'python2-xattr')
+pkgver=0.9.6
+pkgrel=1
+pkgdesc='Python wrapper for extended filesystem attributes'
+arch=('x86_64')
+license=('MIT')
+url='https://github.com/xattr/xattr'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/xattr/xattr/archive/v$pkgver.tar.gz")
+sha512sums=('0f78e84da50682c1c94f755aa561bbdca6d189ca7c8339939509b1ca621768b5f46cc62c7cab8557323f046a4c9f9245851357a87d481f08fdbb34f77dcec48b')
+
+prepare() {
+  cp -a xattr-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/xattr-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/xattr-$pkgver-py2
+  python2 setup.py build
+}
+
+check() { (
+  # Build env doesn't have permission for those xattrs
+  cd "$srcdir"/xattr-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/xattr-$pkgver-py2
+  python2 setup.py test
+  ) || warning "Tests failed"
+}
+
+package_python-xattr() {
+  depends=('python-cffi' 'python-setuptools')
+
+  cd xattr-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-xattr() {
+  depends=('python2-cffi' 'python2-setuptools')
+
+  cd xattr-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+
+  mv "$pkgdir"/usr/bin/xattr{,2}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list