aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-nose
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-06-29 18:35:38 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-06-30 00:11:46 +0200
commitb16c1e47001d6a97b758ee5fb6fc47caa797d02c (patch)
tree89155c706ee3218fcb886f21490b3e75966f5f02 /main/py-nose
parenta2b3482f7f79afc6f21b37a920201e8e260740a8 (diff)
downloadaports-b16c1e47001d6a97b758ee5fb6fc47caa797d02c.tar.bz2
aports-b16c1e47001d6a97b758ee5fb6fc47caa797d02c.tar.xz
main/py-nose: modernize abuild
Diffstat (limited to 'main/py-nose')
-rw-r--r--main/py-nose/APKBUILD25
1 files changed, 5 insertions, 20 deletions
diff --git a/main/py-nose/APKBUILD b/main/py-nose/APKBUILD
index 7476876388..d92a86ddbd 100644
--- a/main/py-nose/APKBUILD
+++ b/main/py-nose/APKBUILD
@@ -9,33 +9,18 @@ url="http://readthedocs.org/docs/nose/"
arch="noarch"
license="LGPL2+"
depends="python2 py-setuptools"
-depends_dev=""
makedepends="python2-dev"
-install=""
-subpackages=""
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
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="4d3ad0ff07b61373d2cefc89c5d0b20b nose-1.3.7.tar.gz"
-sha256sums="f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98 nose-1.3.7.tar.gz"
sha512sums="e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62 nose-1.3.7.tar.gz"