diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-11-13 15:20:25 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-11-13 15:20:25 +0000 |
commit | 5d706b8bdb0548a64946431fe730194b94dc4387 (patch) | |
tree | 2f0fbb645672732d0d02de9f194828efe082d9f0 | |
parent | cf0780379e5b24ab098f256d7f5c79668ad61be7 (diff) | |
download | aports-5d706b8bdb0548a64946431fe730194b94dc4387.tar.bz2 aports-5d706b8bdb0548a64946431fe730194b94dc4387.tar.xz |
community/py3-psutil-gns3: new aport. New dependency fo gns3-server
-rw-r--r-- | community/py3-psutil-gns3/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-psutil-gns3/APKBUILD b/community/py3-psutil-gns3/APKBUILD new file mode 100644 index 0000000000..8eaf7744fe --- /dev/null +++ b/community/py3-psutil-gns3/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=py3-psutil-gns3 +_pkgname=psutil +pkgver=5.6.3 +pkgrel=0 +pkgdesc="A cross-platform process and system utilities module for Python" +url="https://github.com/giampaolo/psutil" +arch="all" +license="BSD-3-Clause" +makedepends="linux-headers python3-dev" +depends="!py3-psutil" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +replaces="py-psutil" # Backwards compatibility +provides="py-psutil=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + python3 setup.py build +} + +check() { + python3 setup.py check +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="62cf120c9391705bd393d6554afa32d672470b61ebb3c0e7458bad26134b784175ba64d3eff119ace6def2aebc97df73cd0c9d213776176ce39c3d47da3f3d9c psutil-5.6.3.tar.gz" |