X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@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 541FBDC014A for ; Tue, 16 Dec 2014 05:00:33 +0000 (UTC) Received: from [90.201.161.206] (port=53610 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (UNKNOWN:AES128-SHA256:128) (Exim 4.82) (envelope-from ) id 1Y0kFL-002Xbl-06; Tue, 16 Dec 2014 05:00:31 +0000 From: Stuart Cardall To: alpine-devel@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-devel] [PATCH] testing/py-graphiz: new aport Date: Tue, 16 Dec 2014 05:00:20 +0000 Message-Id: <1418706020-46090-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.2.0 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-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: py-graphiz is better maintained on github. This fixes a broken gui on virtualbricks. --- testing/py-graphviz/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/py-graphviz/APKBUILD diff --git a/testing/py-graphviz/APKBUILD b/testing/py-graphviz/APKBUILD new file mode 100644 index 0000000..d3547e5 --- /dev/null +++ b/testing/py-graphviz/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=py-graphviz +pkgver=1.3 +_pkgver=rc2 +pkgrel=0 +pkgdesc="Python interface to Graphviz" +url="https://pypi.python.org/pypi/pygraphviz | http://graphviz.org/" +arch="all" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev graphviz-dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-$pkgver$_pkgver.tar.gz" + +_builddir="$srcdir"/pygraphviz-pygraphviz-$pkgver$_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" + export PYTHON=python2.7 + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="91f6d57dfc63cefa12c38eba3f09db09 pygraphviz-1.3rc2.tar.gz" +sha256sums="46737437bd872788b376aeddef9176def9f87339deed739f6769ee8dbe68121f pygraphviz-1.3rc2.tar.gz" +sha512sums="f1ed6e52a07320701e788696b8dc46d0903bdbd740645f07658265bb9dea411b43d90d97ecb2ed658fec4c53fa966d89f5feef0aa62acb4157f6ba662475d876 pygraphviz-1.3rc2.tar.gz" -- 2.2.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---