[arch-commits] Commit in python-tailer/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 30 18:14:02 UTC 2018


    Date: Saturday, June 30, 2018 @ 18:14:02
  Author: felixonmars
Revision: 348912

archrelease: copy trunk to community-staging-any

Added:
  python-tailer/repos/community-staging-any/
  python-tailer/repos/community-staging-any/PKGBUILD
    (from rev 348911, python-tailer/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-tailer/repos/community-staging-any/PKGBUILD (from rev 348911, python-tailer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 18:14:02 UTC (rev 348912)
@@ -0,0 +1,31 @@
+# $Id$
+# 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=2
+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