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 0DA61DC0710 for ; Sun, 24 Apr 2016 13:12:11 +0000 (UTC) Received: from bactrian.maple.relay.mailchannels.net (bactrian.maple.relay.mailchannels.net [23.83.214.9]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9952FDC01BB for ; Sun, 24 Apr 2016 13:12:10 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A478A100633 for ; Sun, 24 Apr 2016 13:12:08 +0000 (UTC) Received: from ocean.mxroute.com (ip-10-213-14-133.us-west-2.compute.internal [10.213.14.133]) by relay.mailchannels.net (Postfix) with ESMTPA id BF1191003D9 for ; Sun, 24 Apr 2016 13:12:07 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from ocean.mxroute.com ([TEMPUNAVAIL]. [10.27.143.200]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.6.11); Sun, 24 Apr 2016 13:12:08 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|developer@it-offshore.co.uk X-MailChannels-Auth-Id: mxroute X-MC-Loop-Signature: 1461503527994:2453943185 X-MC-Ingress-Time: 1461503527994 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=Message-Id:Date:Subject:To:From; bh=RqhBB1xFpl+Rx4boN2S7P2jEzeVTlAtgs87fz2uGtiQ=; b=kMeEYikLCCG7es/F126Jh0F+eP sYl0Y8TThHnky7br9sow62i8j6gkrr+a6YIyi3nYUXgUM3HutrayZgA/8D4UderMjB3msC2ZONqgo kGL5sRZChGk3DcXKcyb02foxJAbUqejCC3Yqxud+MuyJWjCbx34vYrRogEBFARGt9qjk1Ipr3FhE7 CuioVoNyr85Tp8q3iyxh7UBc86ctm9bALvxhs5GB4HC4NblAAJ/Wf/4TMGWanJxfmCaE0Tr7zqrqv MNBGzbRy/6/47PCHT+k1ynJMqYVFLJtBXo0dojMkZAshLMkk7s4X7IQQOSVhN9pRxY5XuRd8sTY0R MwOTxYYQ==; Received: from [81.4.121.188] (port=43693 helo=localhost.localdomain) by ocean.mxroute.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.86_1) (envelope-from ) id 1auJpW-0004va-GB for alpine-aports@lists.alpinelinux.org; Sun, 24 Apr 2016 09:12:06 -0400 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/py-psutil: new aport Date: Sun, 24 Apr 2016 13:12:04 +0000 Message-Id: <1461503524-10390-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.8.1 X-AuthUser: developer@it-offshore.co.uk X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/py-psutil/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/py-psutil/APKBUILD diff --git a/testing/py-psutil/APKBUILD b/testing/py-psutil/APKBUILD new file mode 100644 index 0000000..18316f1 --- /dev/null +++ b/testing/py-psutil/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=py-psutil +_pkgname=psutil +pkgver=3.3.0 +pkgrel=0 +pkgdesc="A cross-platform process and system utilities module for Python" +url="https://github.com/giampaolo/psutil" +arch="all" +license="BSD" +depends="python" +makedepends="python-dev py-setuptools linux-headers" +source="https://pypi.python.org/packages/source/p/$_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" --optimize=1 || return 1 +} + +md5sums="0625db01ea46417308db94cc59362b65 psutil-3.3.0.tar.gz" +sha256sums="421b6591d16b509aaa8d8c15821d66bb94cb4a8dc4385cad5c51b85d4a096d85 psutil-3.3.0.tar.gz" +sha512sums="dd6542b8900f0884d0bdfdc6668d884f5b77f0054d3c1358d5c9d78ed54ebed7f9caf2d6c2f954f57e06931cc485d9146a3f1f1a3a1f416f66f11fa26df1f2f0 psutil-3.3.0.tar.gz" -- 2.8.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---