diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-09-14 14:51:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-17 15:01:32 +0000 |
commit | 51c1606c1e1cc27f86825654824716f626ec08f0 (patch) | |
tree | c641ea6bff2731bb396c1aa25c36cb7c99f46b0f | |
parent | 6986966900cc8610ccc3ab43a0e90d6f820d4cc5 (diff) | |
download | aports-51c1606c1e1cc27f86825654824716f626ec08f0.tar.bz2 aports-51c1606c1e1cc27f86825654824716f626ec08f0.tar.xz |
testing/py-pygtail: new aport
Reads log file lines that have not been read
http://github.com/bgreenlee/pygtail
-rw-r--r-- | testing/py-pygtail/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-pygtail/APKBUILD b/testing/py-pygtail/APKBUILD new file mode 100644 index 000000000..4ad783d9f --- /dev/null +++ b/testing/py-pygtail/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-pygtail +_pkgname=pygtail +pkgver=0.2.2 +pkgrel=0 +pkgdesc="Reads log file lines that have not been read" +url=" http://github.com/bgreenlee/pygtail" +arch="noarch" +license="GPL2+" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="42814a02ce3b55fbf06357b14c67c626 pygtail-0.2.2.tar.gz" +sha256sums="71153aec5c35f6b6b28f546155b8bc0a9cd93670693da49cdafe4a503f1383fd pygtail-0.2.2.tar.gz" +sha512sums="54ea6d5d73b7a62c4dce7f6f896dde6569673812ffaf6ce29139f16726ca7283317a4af041f9f74186f58edeae4ea8270b9cb66a668b4f7346396314c42e1f42 pygtail-0.2.2.tar.gz" |