Commit 7b2e0e60 authored by August Klein's avatar August Klein Committed by Jakub Jirutka
Browse files

community/py-cryptography: upgrade to 1.3.2

parent 5be75306
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=py-cryptography
_pkgname=cryptography
pkgver=1.3.1
_pkgname=${pkgname#py-}
pkgver=1.3.2
pkgrel=0
pkgdesc="A package which provides cryptographic recipes and primitives"
url="http://pypi.python.org/pypi/cryptography"
arch="all"
license="ASL 2.0"
license="ASL-2.0"
depends=""
depends_dev="python-dev"
makedepends="$depends_dev py-setuptools libffi-dev openssl-dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/c/cryptography/$_pkgname-$pkgver.tar.gz"
makedepends="python-dev py-setuptools libffi-dev openssl-dev"
source="https://pypi.io/packages/source/c/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$_builddir"
cd "$builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="bc8148d2ff2d80fef8ef2d2e856b3a7f cryptography-1.3.1.tar.gz"
sha256sums="b4b36175e0f95ddc88435c26dbe3397edce48e2ff5fe41d504cdb3beddcd53e2 cryptography-1.3.1.tar.gz"
sha512sums="8b833619d0aec5e6630c8e069e886f6b708b0b3a4f4ca4e37797a24c69be4cacf162f20c068deaecc3222ee0323583582d384e49fa3dbaeaeefc0d7d8c92918a cryptography-1.3.1.tar.gz"
md5sums="0359190f291824dc8ad9e6d477a607b2 cryptography-1.3.2.tar.gz"
sha256sums="fbaafa8827966dc588ccb00be813d3149fa8de04aec96e418ea0fdd5f0312088 cryptography-1.3.2.tar.gz"
sha512sums="6d63d65c6584167192030e471c007d0cdc3b9ac79763d961578de454ef754e9d9387ba7984b88b6dd9ff44eaa94890bf53b33cc5ff1f0b202006a699f4d47baa cryptography-1.3.2.tar.gz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment