aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-fs/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 00:24:41 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 10:23:33 +0000
commit332a3180c9e70f98ef5f328c6d281bef0f8196e3 (patch)
tree1777005c9dedfd7b81f24485b6afcabdbf365113 /testing/py-fs/APKBUILD
parent09335491ac1dee80b41fcc69b7681b3b73ee09fb (diff)
downloadaports-332a3180c9e70f98ef5f328c6d281bef0f8196e3.tar.gz
aports-332a3180c9e70f98ef5f328c6d281bef0f8196e3.tar.bz2
aports-332a3180c9e70f98ef5f328c6d281bef0f8196e3.tar.xz
testing/py-fs: modernize, fix license
Diffstat (limited to 'testing/py-fs/APKBUILD')
-rw-r--r--testing/py-fs/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/testing/py-fs/APKBUILD b/testing/py-fs/APKBUILD
index a62f8874b8..da7dbe2796 100644
--- a/testing/py-fs/APKBUILD
+++ b/testing/py-fs/APKBUILD
@@ -3,37 +3,23 @@
pkgname=py-fs
_pkgname=fs
pkgver=0.5.1
-pkgrel=0
+pkgrel=1
pkgdesc="A Python Filesystem abstraction layer"
url="https://pypi.python.org/pypi/fs"
arch="noarch"
-license="BSD"
+license="BSD-3-Clause"
depends="python2 py-boto py-paramiko py-six py-django py-dexml"
-depends_dev=""
-makedepends="python2-dev py-setuptools py-six"
-install=""
-subpackages=""
+makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
md5sums="7abd892a7534cab3a81775b92ca949ad fs-0.5.1.tar.gz"