[arch-commits] Commit in python-tailer/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:15:36 UTC 2020
Date: Thursday, November 12, 2020 @ 17:15:35
Author: felixonmars
Revision: 752397
archrelease: copy trunk to community-staging-any
Added:
python-tailer/repos/community-staging-any/
python-tailer/repos/community-staging-any/PKGBUILD
(from rev 752396, python-tailer/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-tailer/repos/community-staging-any/PKGBUILD (from rev 752396, python-tailer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:15:35 UTC (rev 752397)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-tailer
+pkgver=0.4.1
+pkgrel=5
+pkgdesc="A simple implementation of GNU tail and head"
+url="https://github.com/six8/pytailer"
+license=('MIT')
+arch=('any')
+depends=('python')
+source=("https://pypi.io/packages/source/t/tailer/tailer-$pkgver.tar.gz")
+sha512sums=('c1f0f4cf9356c58366e3d86087bc922378a5d5d9833385e8b0f9acd16211a7ff486c4ea3be13208b85a9766b3fa163071216de54c7170395c18ba6da61650da3')
+
+build() {
+ cd tailer-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd tailer-$pkgver
+ python -m doctest -v src/tailer/__init__.py
+}
+
+package() {
+ cd tailer-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list