[arch-commits] Commit in python-xattr/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 13 15:27:55 UTC 2021
Date: Wednesday, January 13, 2021 @ 15:27:54
Author: felixonmars
Revision: 820502
upgpkg: python-xattr 0.9.7-5: setuptools is no longer needed as runtime dependency
Modified:
python-xattr/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-13 15:25:57 UTC (rev 820501)
+++ PKGBUILD 2021-01-13 15:27:54 UTC (rev 820502)
@@ -2,24 +2,24 @@
pkgname=python-xattr
pkgver=0.9.7
-pkgrel=4
+pkgrel=5
pkgdesc='Python wrapper for extended filesystem attributes'
arch=('x86_64')
license=('MIT')
url='https://github.com/xattr/xattr'
-depends=('python-cffi' 'python-setuptools')
-makedepends=('python-setuptools' 'python-cffi')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/xattr/xattr/archive/v$pkgver.tar.gz")
+depends=('python-cffi')
+makedepends=('python-setuptools')
+source=("https://github.com/xattr/xattr/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('4d94e929057a39c0f332e24aee1c2883580c71df94c9041313d4af2f11885803ab2c007546d5510ed647abcc70804e2fbaecf38f84d0a8457129c1336e5c8874')
build() {
- cd "$srcdir"/xattr-$pkgver
+ cd xattr-$pkgver
python setup.py build
}
check() { (
# Build env doesn't have permission for those xattrs
- cd "$srcdir"/xattr-$pkgver
+ cd xattr-$pkgver
python setup.py test
) || echo "Tests failed"
}
@@ -27,7 +27,7 @@
package() {
cd xattr-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list