aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-fs/APKBUILD
blob: 162741a54be515c3b4d6766e78a208412621218b (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
              
           



                                                
             





                                                                     
                                                                                                          
                                    

         




                              


           
                                                               

 
                                                                                                                                                              
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-fs
_pkgname=fs
pkgver=2.4.5
pkgrel=0
pkgdesc="Python's filesystem abstraction layer."
url="https://pypi.org/project/fs/"
arch="noarch"
license="MIT"
replaces="py-fs" # for backwards compatibility
provides="py-fs=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3 py3-appdirs py3-six py3-tz"
makedepends="py3-setuptools"
checkdepends="py3-mock py3-nose py3-openssl py3-psutil py3-pyftpdlib"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="384f99213015f2c70beb4e27e25eae574eb407f061251c505874af989cf82d44f5cc0b9d4857a9ddef1fd2d2e93aad870e2c85f9eacd3e7e496777ac4ea613c7  fs-2.4.5.tar.gz"