summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-07-30 16:50:04 -0400
committerGaming4JC <g4jc@openmailbox.org>2015-07-30 16:50:04 -0400
commit26fd6a015b283bd3bbcac2f852ace17a38e16000 (patch)
treeff21614792684b04666dfe0f5b79d8f75510c7b2
parent2ba2a6165e5b9e2710765da9eb0f4d55beb4e772 (diff)
downloadabslibre-26fd6a015b283bd3bbcac2f852ace17a38e16000.tar.gz
abslibre-26fd6a015b283bd3bbcac2f852ace17a38e16000.tar.bz2
abslibre-26fd6a015b283bd3bbcac2f852ace17a38e16000.zip
Adding python2-foolscap
-rw-r--r--pcr/python2-foolscap/PKGBUILD40
-rw-r--r--pcr/python2-foolscap/PKGBUILD.sigbin0 -> 543 bytes
2 files changed, 40 insertions, 0 deletions
diff --git a/pcr/python2-foolscap/PKGBUILD b/pcr/python2-foolscap/PKGBUILD
new file mode 100644
index 000000000..831d539dc
--- /dev/null
+++ b/pcr/python2-foolscap/PKGBUILD
@@ -0,0 +1,40 @@
+# 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"
+}
diff --git a/pcr/python2-foolscap/PKGBUILD.sig b/pcr/python2-foolscap/PKGBUILD.sig
new file mode 100644
index 000000000..27553a449
--- /dev/null
+++ b/pcr/python2-foolscap/PKGBUILD.sig
Binary files differ