summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-11 08:59:19 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 11:59:18 +0000
commit0ab473f28a0ced98100cb2e7ffded501610d936f (patch)
tree4fcf749bf7ed4d062e38452d35ba5637f2426413
parent95a9455b5afb72a27f2480ed025414c469920a14 (diff)
downloadabuild-0ab473f28a0ced98100cb2e7ffded501610d936f.tar.gz
abuild-0ab473f28a0ced98100cb2e7ffded501610d936f.tar.bz2
abuild-0ab473f28a0ced98100cb2e7ffded501610d936f.tar.xz
abuild-0ab473f28a0ced98100cb2e7ffded501610d936f.zip
apkbuild-pypi.in: modernize
-rw-r--r--apkbuild-pypi.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/apkbuild-pypi.in b/apkbuild-pypi.in
index 6693887..55c9987 100644
--- a/apkbuild-pypi.in
+++ b/apkbuild-pypi.in
@@ -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