aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-05 01:08:45 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-08 04:38:16 +0000
commita96468562e2d29ffc2868d9b2d6dfbcbf78f715c (patch)
treee4ec1e142b7766d7deca492b7f7742459e2a36e5
parentd4149a6dd83a745d80015add5898019853a26ace (diff)
downloadaports-a96468562e2d29ffc2868d9b2d6dfbcbf78f715c.tar.bz2
aports-a96468562e2d29ffc2868d9b2d6dfbcbf78f715c.tar.xz
testing/py3-sstash: modernize
- Use modern style - Explain why check is disabled
-rw-r--r--testing/py3-sstash/APKBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/testing/py3-sstash/APKBUILD b/testing/py3-sstash/APKBUILD
index 8ef8d1d6d8..96f0ed8fe8 100644
--- a/testing/py3-sstash/APKBUILD
+++ b/testing/py3-sstash/APKBUILD
@@ -9,20 +9,16 @@ url="https://github.com/realcr/sstash"
arch="noarch"
license="MIT"
depends="python3 py3-pynacl py3-click"
-makedepends="python3-dev py3-pytest"
-install=""
-options="!check"
-subpackages=""
+makedepends="py3-setuptools py3-pytest"
+options="!check" # PYPI tarball has no tests, GitHub has no releases
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}