From 21c4b84eb30afc752dd0ba5965c61dfc3bebac3d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 11 Jan 2020 01:54:54 +0000 Subject: user/*: Modernise / fix syntax / metadata / deps --- user/py3-requests-toolbelt/APKBUILD | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'user/py3-requests-toolbelt/APKBUILD') diff --git a/user/py3-requests-toolbelt/APKBUILD b/user/py3-requests-toolbelt/APKBUILD index 189ad887d..8ecddaa88 100644 --- a/user/py3-requests-toolbelt/APKBUILD +++ b/user/py3-requests-toolbelt/APKBUILD @@ -8,7 +8,7 @@ pkgrel=0 pkgdesc="Useful classes and functions to be used with python-requests" url="https://github.com/requests/toolbelt" arch="noarch" -options="!check" # needs betamax +options="!check" # Needs betamax license="Apache-2.0" depends="python3" makedepends="python3-dev" @@ -17,13 +17,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/requests/$_pkgname/archive/$ builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" python3 setup.py build } package() { mkdir -p "$pkgdir" - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -- cgit v1.2.3-70-g09d2