X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 97DA3DC00C1 for ; Mon, 23 Mar 2015 21:24:18 +0000 (UTC) Received: from [2.123.116.93] (port=61316 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1Ya9pW-001UGm-G0; Mon, 23 Mar 2015 21:24:14 +0000 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH] testing/cython: new aport Date: Mon, 23 Mar 2015 21:24:08 +0000 Message-Id: <1427145848-1507-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.3.3 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/cython/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/cython/APKBUILD diff --git a/testing/cython/APKBUILD b/testing/cython/APKBUILD new file mode 100644 index 0000000..14c3594 --- /dev/null +++ b/testing/cython/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=cython +pkgver=0.22 +pkgrel=0 +pkgdesc="Cython is an optimising static compiler for both the Python & the extended Cython programming languages." +url="http://cython.org" +arch="all" +license="Apache 2.0" +depends="" +depends_dev="python-dev py-pgen" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="saveas-https://github.com/cython/cython/archive/$pkgver.tar.gz/$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="e67b03e8b3667c8e4e7c774ef2e2b638 cython-0.22.tar.gz" +sha256sums="4f9b52df027fc64a9426f3d7a3c9fbbc5d43734446be6bb3519e59c16d8ddd7f cython-0.22.tar.gz" +sha512sums="d8cab4f5dae0c6bb1ec49879473916bfceebfa017799c45d9f4affefc4534932e172374b0c95ffb89d78eeba86888d8a71f96a5dd001ed1a5e002e303c6c4770 cython-0.22.tar.gz" -- 2.3.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---