[arch-commits] Commit in (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Dec 27 16:57:12 UTC 2019
Date: Friday, December 27, 2019 @ 16:57:11
Author: svenstaro
Revision: 543160
Add python-xtarfile for internetarchive
Added:
python-xtarfile/
python-xtarfile/repos/
python-xtarfile/trunk/
python-xtarfile/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: python-xtarfile/trunk/PKGBUILD
===================================================================
--- python-xtarfile/trunk/PKGBUILD (rev 0)
+++ python-xtarfile/trunk/PKGBUILD 2019-12-27 16:57:11 UTC (rev 543160)
@@ -0,0 +1,28 @@
+# Maintainer: Robin Broda <coderobe at archlinux dot org>
+
+pkgname=python-xtarfile
+pkgver=0.0.2
+pkgrel=1
+pkgdesc='Wrapper around tarfile to add support for more compression formats'
+arch=('any')
+url=https://github.com/ascoderu/xtarfile
+license=('Apache')
+depends=('python-zstandard')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/x/xtarfile/xtarfile-$pkgver.tar.gz")
+sha256sums=('592c86932e8df7d08ca36b13a666af119908ededb139d77d122f6a6776142dfa')
+
+build() {
+ cd xtarfile-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd xtarfile-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd xtarfile-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list