aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-psutil
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-12-09 13:36:50 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-12-09 13:36:50 +0100
commit15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2 (patch)
treedf4c2d69dbcda1059524061bd66259f1cd4734ca /community/py-psutil
parenta66174411f51be92d56e3937f790e1fca75c91d5 (diff)
downloadaports-15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2.tar.bz2
aports-15d1ec2d5e5d36fc7e78d96f34d9c3583bf56dc2.tar.xz
move letsencrypt deps to community
Diffstat (limited to 'community/py-psutil')
-rw-r--r--community/py-psutil/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/py-psutil/APKBUILD b/community/py-psutil/APKBUILD
new file mode 100644
index 0000000000..b397d907aa
--- /dev/null
+++ b/community/py-psutil/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=py-psutil
+_pkgname=psutil
+pkgver=2.1.1
+pkgrel=0
+pkgdesc="A cross-platform process and system utilities module for Python"
+url="https://github.com/giampaolo/psutil"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="python-dev"
+makedepends="$depends_dev"
+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 --root=$pkgdir/ --optimize=1 || return 1
+}
+
+md5sums="72a6b15d589fab11f6ca245b775bc3c6 psutil-2.1.1.tar.gz"
+sha256sums="bf812a4aa6a41147d0e96e63d826eb7582fda6b54ad8f22534354b7f8ac45593 psutil-2.1.1.tar.gz"
+sha512sums="c2194b49e450d243aaed4d846f95702e789dc422dc0199c04c8cd2f7695a2e3983dd7df21d7cc8aaec3abe38c19272ad958323c5c3e3eb9b548b507dd5b98587 psutil-2.1.1.tar.gz"