apkbuild-pypi.in: modernize

This commit is contained in:
tmpfile 2017-07-11 08:59:19 -03:00 committed by Natanael Copa
parent 95a9455b5a
commit 0ab473f28a
1 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@ builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
python setup.py build || return 1
python setup.py build
}
package() {
@ -41,8 +41,7 @@ package() {
python setup.py install \
--prefix=/usr \
--root="$pkgdir" \
--single-version-externally-managed \
|| return 1
--single-version-externally-managed
}
EOF