diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-28 07:20:13 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-28 07:20:13 +0000 |
commit | 7045add0e04fb20ba20d28fa4691afe0a33a8dbf (patch) | |
tree | 095b418564c774356816706f06ae77a6df8aa8ec /main/py-nose/APKBUILD | |
parent | 1b2771624681051cd9261441cf879bcf211209b8 (diff) | |
download | aports-7045add0e04fb20ba20d28fa4691afe0a33a8dbf.tar.bz2 aports-7045add0e04fb20ba20d28fa4691afe0a33a8dbf.tar.xz |
main/py-nose: moved from testing and claim maintainership
Diffstat (limited to 'main/py-nose/APKBUILD')
-rw-r--r-- | main/py-nose/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-nose/APKBUILD b/main/py-nose/APKBUILD new file mode 100644 index 0000000000..2a5d2fbaae --- /dev/null +++ b/main/py-nose/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Eivind Uggedal <eivind@uggedal.com> +pkgname=py-nose +_pkgname=nose +pkgver=1.3.3 +pkgrel=0 +pkgdesc="A Python unittest module" +url="http://readthedocs.org/docs/nose/" +arch="noarch" +license="LGPL2+" +depends="python py-setuptools" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="http://pypi.python.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 +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="42776061bf5206670cb819176dc78654 nose-1.3.3.tar.gz" +sha256sums="b40c2ff268beb85356ada25f626ca0dabc89705f31051649772cf00fc9510326 nose-1.3.3.tar.gz" +sha512sums="aaab54fd9de8b7fda8bead58a0d6a1be43428c595a4375bc183569e50d4619f8a62027895a40dee69a5e1da2eaf43ac0864d2e57a2c754d275f66c0501290cab nose-1.3.3.tar.gz" |