diff options
Diffstat (limited to 'testing/py-pygtail/APKBUILD')
-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 0000000000..4ad783d9f8 --- /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" |