diff options
author | Jeremy Asuncion | 2016-11-05 23:34:00 -0700 |
---|---|---|
committer | Jeremy Asuncion | 2016-11-05 23:34:00 -0700 |
commit | d5b5c2120bf13c72841f4181fb70ccf8852d14b9 (patch) | |
tree | b50969098f452c06b7698a0837fad1b41767732b | |
download | aur-d5b5c2120bf13c72841f4181fb70ccf8852d14b9.tar.gz |
Initial package commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ea842d94282a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-pawk + pkgdesc = A Python line-processor (like awk) based on pyline. + pkgver = 0.6 + pkgrel = 1 + url = https://github.com/alecthomas/pawk + arch = any + license = PSF + makedepends = python-setuptools + depends = python + source = https://github.com/alecthomas/pawk/archive/v0.6.tar.gz + sha256sums = e5029c57e334953a39f2023d8c6f29d954a4c6f15d509479b5a64b679fd45a97 + +pkgname = python-pawk + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad2d95c47fc8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# vim: set ts=4 sw=4 sts=4 et: +# Maintainer: Jeremy Asuncion <jeremyasuncion808@gmail.com> + +pkgname=python-pawk +pkgver=0.6 +pkgrel=1 +pkgdesc="A Python line-processor (like awk) based on pyline." +arch=('any') +url='https://github.com/alecthomas/pawk' +license=('PSF') +depends=('python') +makedepends=('python-setuptools') +source=("https://github.com/alecthomas/pawk/archive/v${pkgver}.tar.gz") +sha256sums=('e5029c57e334953a39f2023d8c6f29d954a4c6f15d509479b5a64b679fd45a97') + +build() { + cd "$srcdir/pawk-$pkgver" + python setup.py build +} + +check() { + cd "$srcdir/pawk-$pkgver" + python setup.py test +} + +package_python-pawk() { + cd "$srcdir/pawk-$pkgver" + python setup.py install --prefix=/usr --root="$pkgdir" +} + |