diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2015-07-29 23:17:24 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2015-07-29 23:17:24 -0400 |
commit | 0f695f3407e49cc33d1077d5df7cf3ec2b06a423 (patch) | |
tree | 5768e37b97bea1de81efb52d6d7d15e3c317855c /pcr/nevow | |
parent | 4b9a24484b3f55b017b6cdc30ff372dc310be5f7 (diff) | |
download | abslibre-0f695f3407e49cc33d1077d5df7cf3ec2b06a423.tar.gz abslibre-0f695f3407e49cc33d1077d5df7cf3ec2b06a423.tar.bz2 abslibre-0f695f3407e49cc33d1077d5df7cf3ec2b06a423.zip |
adopt and update nevow
Diffstat (limited to 'pcr/nevow')
-rw-r--r-- | pcr/nevow/PKGBUILD | 35 | ||||
-rw-r--r-- | pcr/nevow/PKGBUILD.sig | bin | 0 -> 543 bytes |
2 files changed, 23 insertions, 12 deletions
diff --git a/pcr/nevow/PKGBUILD b/pcr/nevow/PKGBUILD index 1d7732d07..99a3fdc7a 100644 --- a/pcr/nevow/PKGBUILD +++ b/pcr/nevow/PKGBUILD @@ -1,23 +1,34 @@ -# Maintainer (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 +# Contributor (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com> # Contributor (Arch): Peter Simons <simons@cryp.to> + pkgname=nevow -pkgver=0.10.0 -pkgrel=8 +pkgver=0.11.1 +pkgrel=1 pkgdesc="web application construction kit written in Python" arch=('any') url='http://pypi.python.org/pypi/Nevow' license=('custom') -depends=('python2' 'twisted') -source=( http://pypi.python.org/packages/source/N/Nevow/Nevow-$pkgver.tar.gz ) -md5sums=('66dda2ad88f42dea05911add15f4d1b2') +depends=('python2' 'python2-setuptools' 'twisted') +source=("https://pypi.python.org/packages/source/N/Nevow/Nevow-${pkgver}.tar.gz" +'PKGBUILD.sig' +'PKGBUILD') +validpgpkeys=('CB6E213A349B8DF9E96B622AC3F4FFCF3EAE8697') # PKGBUILD Maintainer's key +sha512sums=('a7e52fbf6915498e77a41fb100d4c688fcd0567deb56ec946adf1b1712bcfbec7b7a55c551e414606218146772d5274973af7851a78878635e900a4df5193a53' +'SKIP' +'SKIP') build(){ - cd "$srcdir/Nevow-$pkgver" - python2 setup.py build + gpg --verify PKGBUILD.sig PKGBUILD + echo "Note: If the GPG verification fails, import the PKGBUILD maintainer's GPG key. See: https://wiki.parabola.nu/GnuPG#Import_key" + whirlpoolsum=('a82ca1334abf201ef9fcf22e579be778e819c488df8c9f774bef7f13041aa996f630408f4a8428e74b2e79df1904dbdf2f858fb79526a9417c1872da95a24963') + [[ "$(openssl dgst -r -whirlpool Nevow-${pkgver}.tar.gz | awk '{print $1}')" = ${whirlpoolsum} ]] && echo "Whirlpool checksum passed." || { echo "Whirlpool checksum failed!!" ; exit 1; } # This is an added security layer. If SHA512 for some unlikely reason fails, whirlpool will check and abort if it too fails to match. + cd "$srcdir/Nevow-$pkgver" + python2 setup.py build } package(){ - cd "$srcdir/Nevow-$pkgver" - python2 setup.py install --prefix=/usr --root="$pkgdir" --install-data=/usr/share/"$pkgname" - install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} + cd "$srcdir/Nevow-$pkgver" + python2 setup.py install --prefix=/usr --root="$pkgdir" --install-data=/usr/share/"$pkgname" + install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
\ No newline at end of file diff --git a/pcr/nevow/PKGBUILD.sig b/pcr/nevow/PKGBUILD.sig Binary files differnew file mode 100644 index 000000000..cb8c8cc93 --- /dev/null +++ b/pcr/nevow/PKGBUILD.sig |