aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-07 02:57:16 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 10:02:46 -0300
commit92451f9d321cda5b94fb65ef3d128e0f72059d87 (patch)
tree3cd1b62ea3bb26a17f7dc1ecb167d5da63724f3f
parent468d3f1b31440a21b82a73bb24ad2982cdd46401 (diff)
downloadaports-92451f9d321cda5b94fb65ef3d128e0f72059d87.tar.gz
aports-92451f9d321cda5b94fb65ef3d128e0f72059d87.tar.bz2
aports-92451f9d321cda5b94fb65ef3d128e0f72059d87.tar.xz
testing/py3-fs: upgrade to 2.4.5
-rw-r--r--testing/py3-fs/APKBUILD32
1 files changed, 18 insertions, 14 deletions
diff --git a/testing/py3-fs/APKBUILD b/testing/py3-fs/APKBUILD
index da7dbe2796..162741a54b 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"