X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 131BCDC01CF for ; Wed, 24 Dec 2014 07:33:10 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id rd18so7219564iec.36 for ; Tue, 23 Dec 2014 23:33:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=OLdo9tv+yiboL9n19TqN/CfqCmtlwzp7YnVzdoefp3U=; b=yVUksoONDhSaDyKJD3RBZQmAk/tKGsostbp6dmkqUVcY/2Y/qDUDv82KzS/NBubxOV wlBWsQdD5TUI4Wcp8q7LjBNVG3YrFFItokB4PDvr6PkNpLKL9pVue7PrymUMGMAqK6i5 Gsdcq4fGCm5X5MqYTeYBk6KfBrUqdFolmzepnw0X1p/wDrsfH2radmn3e2QCUr87AukH bMDSXlZSBdkVizdSofjC3uEIQGI5/V3JfEMuxxo8BsOZmHo4HwgztVuUPQ+T5jbNAeNX 3WZNABga+lShB4IkCezPqASX3Ezxp/tUIOjB6SraD3OvwnFcddsk+J15/MshfQO7k1BR c/Nw== X-Received: by 10.43.100.67 with SMTP id cv3mr25423699icc.92.1419406390611; Tue, 23 Dec 2014 23:33:10 -0800 (PST) Received: from localhost.localdomain (97-90-234-80.dhcp.eucl.wi.charter.com. [97.90.234.80]) by mx.google.com with ESMTPSA id h3sm7174379igh.21.2014.12.23.23.33.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Dec 2014 23:33:10 -0800 (PST) From: Peter Bui To: alpine-aports@lists.alpinelinux.org Cc: Peter Bui Subject: [alpine-aports] [PATCH] testing/py-requests-oauth: new aport Date: Wed, 24 Dec 2014 01:32:59 -0600 Message-Id: <1419406379-21741-1-git-send-email-pnutzh4x0r@gmail.com> X-Mailer: git-send-email 2.2.0 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/py-requests-oauth/APKBUILD | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py-requests-oauth/APKBUILD diff --git a/testing/py-requests-oauth/APKBUILD b/testing/py-requests-oauth/APKBUILD new file mode 100644 index 0000000..142ab00 --- /dev/null +++ b/testing/py-requests-oauth/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui +# Maintainer: +pkgname=py-requests-oauthlib +_pkgname=requests-oauthlib +pkgver=0.4.1 +pkgrel=0 +pkgdesc="First-class OAuth library support for Requests" +url="https://pypi.python.org/pypi/requests-oauthlib" +arch="noarch" +license="GPL" +depends="python py-requests py-oauthlib" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_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 +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="4e5125f249580ae4f815d7291f505124 requests-oauthlib-0.4.1.tar.gz" +sha256sums="c6d2550c4fefc2a03d7422caf61e72ca7827854e0deefe201deb34a91527d88e requests-oauthlib-0.4.1.tar.gz" +sha512sums="ebe3f891e4ca4cfd36a704ac711041390bb1b1d11d7c66473159183e5479053c7f515f4bd64d6969166258d1960863cd6427bf42ccd30d08baad90b388e535de requests-oauthlib-0.4.1.tar.gz" -- 2.2.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---