diff options
Diffstat (limited to 'testing/py3-fs/APKBUILD')
-rw-r--r-- | testing/py3-fs/APKBUILD | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/testing/py3-fs/APKBUILD b/testing/py3-fs/APKBUILD index da7dbe27964..162741a54be 100644 --- a/testing/py3-fs/APKBUILD +++ b/testing/py3-fs/APKBUILD @@ -1,27 +1,31 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-fs +pkgname=py3-fs _pkgname=fs -pkgver=0.5.1 -pkgrel=1 -pkgdesc="A Python Filesystem abstraction layer" -url="https://pypi.python.org/pypi/fs" +pkgver=2.4.5 +pkgrel=0 +pkgdesc="Python's filesystem abstraction layer." +url="https://pypi.org/project/fs/" arch="noarch" -license="BSD-3-Clause" -depends="python2 py-boto py-paramiko py-six py-django py-dexml" -makedepends="py-setuptools" +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() { - python2 setup.py build + python3 setup.py build +} + +check() { + python3 setup.py test } package() { - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="7abd892a7534cab3a81775b92ca949ad fs-0.5.1.tar.gz" -sha256sums="18e0f3b183bedb326a3c95a320ad202730aa1358affdebedb27b939a18f87f8b fs-0.5.1.tar.gz" -sha512sums="237e8352c9b070b8ffc7e14db38ad442edd463c212851b1be569c84134052d2c1b58c9f32988c7500a1363e459abb99ca47a4908186f681fc9fcac8c1c55cbd4 fs-0.5.1.tar.gz" +sha512sums="384f99213015f2c70beb4e27e25eae574eb407f061251c505874af989cf82d44f5cc0b9d4857a9ddef1fd2d2e93aad870e2c85f9eacd3e7e496777ac4ea613c7 fs-2.4.5.tar.gz" |