diff options
Diffstat (limited to 'main/py-nose')
-rw-r--r-- | main/py-nose/APKBUILD | 25 |
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" |