X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 98AB3DC033E for ; Thu, 11 Dec 2014 10:25:20 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id bs8so14054912wib.4 for ; Thu, 11 Dec 2014 02:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=P8Ker46bwUuOPR/ToeO06m6UK9btTCtDOHZuPRvy2sc=; b=edn5lD4Xc+lugoyFfdwuP/pGgkqgllcZ0HpmbeV3nTnl28CA978GQFbyM2ZvOMAZ61 bbRyZ18etKmvNgFB+5ok+40NaIuH6dphHKFeJUu8/K3DkX9WtK/0ADmR7mr1vmWyR621 ltHJE+VDZQBadLg6TlVHThNP6llI3ta4P5mt6Fm9uE2THw+6dwgyNT1g27OfY/IleRe+ kyVDbleg1acPMgA1Fi3Zt/J9oWt3XIepiZHPhaiDRNbCnud1xYCbYIMmLYrnbGUjmS0m OPylzlMwdHIoCF/02MMAn3W0pA9AyGhL9hKaOBgCC4Po4O9+cGVJnJwNmAe1aEvYpq1d o9JA== X-Received: by 10.180.103.6 with SMTP id fs6mr14163507wib.11.1418293519256; Thu, 11 Dec 2014 02:25:19 -0800 (PST) Received: from alpine.my.domain (84.127.141.73.dyn.user.ono.com. [84.127.141.73]) by mx.google.com with ESMTPSA id fo12sm2349480wic.19.2014.12.11.02.25.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Dec 2014 02:25:18 -0800 (PST) From: AmatCoder To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] testing/py-cryptography: new aport Date: Thu, 11 Dec 2014 10:20:29 +0000 Message-Id: <1418293229-9213-1-git-send-email-amatcoder@gmail.com> X-Mailer: git-send-email 2.2.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/py-cryptography/APKBUILD | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-cryptography/APKBUILD diff --git a/testing/py-cryptography/APKBUILD b/testing/py-cryptography/APKBUILD new file mode 100644 index 0000000..84c8ad8 --- /dev/null +++ b/testing/py-cryptography/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: August Klein +# Maintainer: August Klein +pkgname=py-cryptography +_pkgname=cryptography +pkgver=0.6.1 +pkgrel=0 +pkgdesc="A package which provides cryptographic recipes and primitives" +url="http://pypi.python.org/pypi/cryptography" +arch="all" +license="ASL 2.0" +depends="" +depends_dev="python-dev" +makedepends="$depends_dev py-setuptools" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/c/cryptography/$_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 +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="1c48fd78742d85c9cffdcceb6809e45b cryptography-0.6.1.tar.gz" +sha256sums="024910130a01eda0ce969764d893d2e397168ebb94181ca1ea3e23e19912329e cryptography-0.6.1.tar.gz" +sha512sums="b99338bbbeb70f37e0bfcc6ef33ddff5beb74f7876a30d34deb3a433ddd77f821e5cc5dde228f792362ae7a261d4ceb3b702fb1a8c30ce15a1e6e4de98ef1afa cryptography-0.6.1.tar.gz" -- 2.2.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---