[arch-commits] Commit in pathod/repos (2 files)
Date: Monday, February 15, 2016 @ 01:31:14 Author: fyan Revision: 161578 archrelease: copy trunk to community-staging-any Added: pathod/repos/community-staging-any/ pathod/repos/community-staging-any/PKGBUILD (from rev 161577, pathod/trunk/PKGBUILD) --+ PKGBUILD | 31 +++ 1 file changed, 31 insertions(+) Copied: pathod/repos/community-staging-any/PKGBUILD (from rev 161577, pathod/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-02-15 00:31:14 UTC (rev 161578) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=pathod +pkgver=0.16 +pkgrel=1 +pkgdesc="A pathological web daemon" +url="http://pathod.net"; +depends=('python2-netlib' 'python2-requests' 'python2-flask' 'python2-pyparsing') +checkdepends=('python2-mock' 'python2-pytest-runner') +arch=('any') +license=('MIT') +source=("https://pypi.python.org/packages/source/p/pathod/pathod-$pkgver.tar.gz";) +sha256sums=('e7e1f7f377ee00d33437386fb31914d83548a5f813e877506b91017b3f90b6bf') + +build() { + cd $pkgname-$pkgver + python2 setup.py build +} + +check() { + cd $pkgname-$pkgver + python2 setup.py ptr +} + +package() { + cd $pkgname-$pkgver + python2 setup.py install -O1 --skip-build --root="$pkgdir" + + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in pathod/repos (2 files)
Date: Friday, December 4, 2015 @ 03:48:34 Author: fyan Revision: 148255 archrelease: copy trunk to community-staging-any Added: pathod/repos/community-staging-any/ pathod/repos/community-staging-any/PKGBUILD (from rev 148254, pathod/trunk/PKGBUILD) --+ PKGBUILD | 33 + 1 file changed, 33 insertions(+) Copied: pathod/repos/community-staging-any/PKGBUILD (from rev 148254, pathod/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2015-12-04 02:48:34 UTC (rev 148255) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=pathod +pkgver=0.15 +pkgrel=1 +pkgdesc="A pathological web daemon" +url="http://pathod.net"; +depends=('python2-netlib' 'python2-requests' 'python2-flask' 'python2-pyparsing') +checkdepends=('python2-mock' 'python2-nose') +arch=('any') +license=('MIT') +source=("https://pypi.python.org/packages/source/p/pathod/pathod-$pkgver.tar.gz";) +sha256sums=('295b6468feed7037d8e4ab486c52851b145ce954f62c92669b9c51e3f0f5079f') + +build() { + cd $pkgname-$pkgver + python2 setup.py build +} + +check() { + # One test failed: https://github.com/mitmproxy/pathod/issues/24 + + cd $pkgname-$pkgver + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2 || warning "Tests failed" +} + +package() { + cd $pkgname-$pkgver + python2 setup.py install -O1 --skip-build --root="$pkgdir" + + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in pathod/repos (2 files)
Date: Wednesday, June 10, 2015 @ 17:24:50 Author: fyan Revision: 135148 archrelease: copy trunk to community-testing-any Added: pathod/repos/community-testing-any/ pathod/repos/community-testing-any/PKGBUILD (from rev 135147, pathod/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: pathod/repos/community-testing-any/PKGBUILD (from rev 135147, pathod/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2015-06-10 15:24:50 UTC (rev 135148) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=pathod +pkgver=0.12.1 +pkgrel=1 +pkgdesc="A pathological web daemon" +url="http://pathod.net"; +depends=('python2-netlib' 'python2-requests' 'python2-flask' 'python2-pyparsing') +checkdepends=('python2-mock' 'python2-nose') +arch=('any') +license=('MIT') +source=("https://pypi.python.org/packages/source/p/pathod/pathod-$pkgver.tar.gz";) +sha256sums=('0777c1acd7e627900461351be011a3ddfeafd89fddf76896681c21b3dfee841a') + +prepare() { + cd $pkgname-$pkgver + sed -e '1s/env python$/env python2/g' -i libpathod/cmdline.py +} + +build() { + cd $pkgname-$pkgver + python2 setup.py build +} + +check() { + # One test failed: https://github.com/mitmproxy/pathod/issues/24 + + cd $pkgname-$pkgver + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2 || warning "Tests failed" +} + +package() { + cd $pkgname-$pkgver + python2 setup.py install -O1 --skip-build --root="$pkgdir" + + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}