aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-py/APKBUILD
blob: 42c4210669706bf58515898307bba360b784fcc9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                               
              
           
            
        
                                                                                       
                               

             

                            


                                                                                                          


                                                           

                      
                              

 

                      


                              
           
                      
                                                               

 
                                                                                                                                                              
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-py
_pkgname=py
pkgver=1.8.0
pkgrel=2
pkgdesc="Python3 library with cross-python path, ini-parsing, io, code, log facilities"
url="https://py.readthedocs.io"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-py" # Backwards compatibility
provides="py-py=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="37b9a66229b834a034d9ba6769a46addf098380b494c1eb863607a52d00b7ec5b9157dd7ac6ffc52535a05006648c775c78716d7f85cf44966065b225be6e95b  py-1.8.0.tar.gz"