blob: c919d443edaf90c079d419f22aa020bd54a1b227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
pkgname=python-amoeba
pkgver=1.2
pkgrel=2
pkgdesc="Amoeba fit routine based on the method of Nelder and Meads"
url="https://stitchpanorama.sourceforge.net/Python/amoeba.py"
arch=('any')
license=('GPL2')
depends=('python')
makedepends=("python")
source=("http://stitchpanorama.sourceforge.net/Python/amoeba.py"
"deepcopy.patch"
"setup.py")
md5sums=('7e6a9ad95d8639ec3d1da7c6db0928fb'
'd741ffab04b35e88f6ca60c3987886ae'
'c68322a7608767cc03012e62b3baa546')
prepare() {
cd "$srcdir/.."
# fix an error with initial simplex
patch amoeba.py deepcopy.patch
}
package() {
python setup.py install --root="${pkgdir}/" --optimize=1
}
|