diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-15 14:14:39 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-15 14:14:39 +0200 |
commit | e83efe677ab545847a0d8b880ebdf4da5c089b0a (patch) | |
tree | 53c3bb4da3e8ff9cc7b4d10b125a973dac32e476 /main/py-munkres | |
parent | 0cacdd740303ce9aa600ef2ec3838841d6bee08e (diff) | |
download | aports-e83efe677ab545847a0d8b880ebdf4da5c089b0a.tar.bz2 aports-e83efe677ab545847a0d8b880ebdf4da5c089b0a.tar.xz |
main/beets: move to main including deps
Diffstat (limited to 'main/py-munkres')
-rw-r--r-- | main/py-munkres/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-munkres/APKBUILD b/main/py-munkres/APKBUILD new file mode 100644 index 0000000000..2783d9bb22 --- /dev/null +++ b/main/py-munkres/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-munkres +pkgver=1.0.6 +pkgrel=0 +pkgdesc="Munkres algorithm for the assignment problem" +url="http://bmc.github.com/munkres/" +arch="noarch" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/m/munkres/munkres-$pkgver.tar.gz" + +_builddir="$srcdir"/munkres-$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="d7ba3b8c5001578ae229a2d5a655872f munkres-1.0.6.tar.gz" +sha256sums="c78f803b9b776bfb20a25c9c7bb44adbf0f9202c2024d51aa5969d21e560208d munkres-1.0.6.tar.gz" +sha512sums="0c8b8fb0f41e8d23f09b0ff35900f6161de5efa972be2c77b6e4b5bf9951cbc498ac251aef587b5a2c4254bf8aa68ccda40af179b83ca5e2d4abca3fa4b303b4 munkres-1.0.6.tar.gz" |