aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-psutil/APKBUILD
blob: 8aeb80b6cea9f7322630e9b345c03a643c3593fb (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                  
               
            
        
                                                                         
                                         
          

                                       
                                                                                                          
                                    
 


                                                               



                      
         


                              
         


                              
           
                                                               

 
                                                                                                                                                                  
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-psutil
_pkgname=psutil
pkgver=5.7.0
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"
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

# secfixes:
#   5.6.7-r0:
#     - CVE-2019-18874

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8cee64ab396dae79866e961aeabdb9a4174e1339bcd5c0a35f23fee97ca2a61c0cb08f7152d7e0db90c387400c5c6fb3da2dd2124ce9bf97dfffe6f3b4967981  psutil-5.7.0.tar.gz"