summaryrefslogtreecommitdiff
path: root/pcr/python2-foolscap/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-05 12:13:36 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-08-05 12:13:36 -0500
commitd054a4291b64575e61dbb05ae137f330a72e76cc (patch)
tree1d8a4af40a5e2230c80c43da1463ef8766d129ec /pcr/python2-foolscap/PKGBUILD
parent5341c0ef7c239693602378a275955a2d4c8f37ab (diff)
Removing python2-foolscap: This package is in community repo
Diffstat (limited to 'pcr/python2-foolscap/PKGBUILD')
-rw-r--r--pcr/python2-foolscap/PKGBUILD40
1 files changed, 0 insertions, 40 deletions
diff --git a/pcr/python2-foolscap/PKGBUILD b/pcr/python2-foolscap/PKGBUILD
deleted file mode 100644
index 831d539dc..000000000
--- a/pcr/python2-foolscap/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-# Contributor (Arch): Alexander Rødseth <rodseth@gmail.com>
-# Contributor (Arch): Chris Brannon <cmbrannon79@gmail.com>
-# Contributor (Arch): giniu <gginiu@gmail.com>
-
-pkgbase=python-foolscap
-pkgname=python2-foolscap
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='RPC protocol for Python and Twisted'
-arch=('any')
-url='http://foolscap.lothar.com/'
-license=('MIT')
-depends=('python2-twisted' 'python2-pyopenssl')
-makedepends=('python2-setuptools')
-conflicts=('python-foolscap<=0.6.3')
-replaces=('python-foolscap<=0.6.3')
-options=('!emptydirs')
-source=("http://foolscap.lothar.com/releases/foolscap-$pkgver.tar.gz"
-"http://foolscap.lothar.com/releases/foolscap-0.8.0.tar.gz.asc"
-'PKGBUILD'
-'PKGBUILD.sig')
-validpgpkeys=('CB6E213A349B8DF9E96B622AC3F4FFCF3EAE8697' # PKGBUILD Maintainer's key
-'734145FEBE70E5D059C7EDCD3E8692AFAF1B4A2A') # Foolscap Release-Signing Key
-sha512sums=('4f491ac1e35e76b7fcee5994312e34696921eb7a9b0913e919142fe2807e32aad5ddbbffec3bfe5e1f4333ec38e0ee607ea9cfe5007b385ab6a15ea913c80f45'
-'aa69e8a16f8178d1fffa0442fb795e5be9fb8f978c5992c184644cffb41facd4e0fc2c6b6bd7c4cf889c371930ccb527f8c421004fcd930eb769614f01bbe101'
-'SKIP'
-'SKIP')
-
-package_python2-foolscap() {
- 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=('5b8c26eb081cf211683d6a8ed3177267793fe2aa3258b2e6b381aaa4d367ae4c0fb61b0902a186874efad9d2150303378d4468c573992047ac0994998ba2f534')
- [[ "$(openssl dgst -r -whirlpool foolscap-$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.
- gpg --verify foolscap-$pkgver.tar.gz.asc foolscap-$pkgver.tar.gz
- cd "foolscap-$pkgver"
-
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}