X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id D1721DCCA1F for ; Wed, 3 Jun 2015 06:04:42 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id B4646DCAC57 for ; Wed, 3 Jun 2015 06:04:37 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so104829379igb.0 for ; Tue, 02 Jun 2015 23:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RKXn73eflkNeR+V7NSXT8mnz8Xei3YsJFT/LoK7TO8s=; b=eqoKAvs4qxpkTiroAOPJGwXJgnZMgvOmYJ2NSps/8UlCxZ6X50bzzw8bTvW4/FyrgO eQyIQoz23VAoBmpvAzzJyyBCo+loVdrumzuntGs+rOOp4UIsBAm22sI+XJna2qCnOLMU YurqRy2ZgEThxMnihL40ciCWsT0q3BqRCh26McOwGAkF6xLC3wLXObPAWkKnpdUNJmlr ZGJrITec1Fk2XJNj3BYQt7nRKBmK+MgBaep8szC6ABE5z+2578qnP3Sm5gt5zwIFlDle 7uLfev+NzgVRcN64qYCClEXLV4se2sdXrMzP+Z7hGcGRUF+TlpfvwqHsmDDv8Wn8L8BZ T2aQ== X-Received: by 10.107.15.149 with SMTP id 21mr39860374iop.44.1433311477240; Tue, 02 Jun 2015 23:04:37 -0700 (PDT) Received: from localhost.localdomain (97-90-234-80.dhcp.eucl.wi.charter.com. [97.90.234.80]) by mx.google.com with ESMTPSA id cy11sm11607921igc.14.2015.06.02.23.04.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Jun 2015 23:04:36 -0700 (PDT) From: Peter Bui To: alpine-aports@lists.alpinelinux.org Cc: Peter Bui Subject: [alpine-aports] [PATCH 3/9] testing/py-gflags: new aport Date: Wed, 3 Jun 2015 01:04:05 -0500 Message-Id: <1433311451-26735-3-git-send-email-pnutzh4x0r@gmail.com> X-Mailer: git-send-email 2.4.1 In-Reply-To: <1433311451-26735-1-git-send-email-pnutzh4x0r@gmail.com> References: <1433311451-26735-1-git-send-email-pnutzh4x0r@gmail.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://code.google.com/p/python-gflags Commandline flags module for Python --- testing/py-gflags/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/py-gflags/APKBUILD diff --git a/testing/py-gflags/APKBUILD b/testing/py-gflags/APKBUILD new file mode 100644 index 0000000..aa5b3e3 --- /dev/null +++ b/testing/py-gflags/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Peter Bui +# Maintainer: Peter Bui +pkgname=py-gflags +pkgver=2.0 +pkgrel=0 +pkgdesc="Commandline flags module for Python" +url="http://code.google.com/p/python-gflags" +arch="noarch" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://python-gflags.googlecode.com/files/python-gflags-${pkgver}.tar.gz" + +_builddir="$srcdir"/python-gflags-$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="c3ab70218dbf945cc32c0cd64c51d162 python-gflags-2.0.tar.gz" +sha256sums="311066217acb8cd8519a4c872cb3fe64f02bcf105802bb761ab0de55c2386cd6 python-gflags-2.0.tar.gz" +sha512sums="28566acffd092f09105f3b9ad3be4ada11f024f940914e6efb103907f3779283c63bdfe13edad83aa470c5e887b49ad8b05031fc1895f3bad9b5d9c368bbfe18 python-gflags-2.0.tar.gz" -- 2.4.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---