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

                                                           
                  
               
             
        



                                                        
                                
                                                                                                
                                    
 

                                                               
 
         




                              
                      
                              


           
                                                               

 
                                                                                                                                                                       
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-future
_pkgname=future
pkgver=0.18.2
pkgrel=1
pkgdesc="Easy, clean, reliable Python 2/3 compatibility"
url="http://python-future.org/"
arch="noarch"
license="MIT"
depends="python3 py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/f/future/future-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

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

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

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

sha512sums="91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2  py3-future-0.18.2.tar.gz"