summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 020da0e4229dc1bb85e00d04a9f2ab39a751c3ef (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
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Excitable Snowball <excitablesnowball@gmail.com>
# Maintainer: Emil Vatai <emil.vatai@gmail.com>
 
pkgbase="python-sacred"
pkgname=("python-sacred")
_pkgname="sacred"

pkgver=0.8.5
pkgrel=0
epoch=0

pkgdesc='Sacred is a tool to configure, organize, log and reproduce computational experiments.'
arch=('any')
url='https://github.com/IDSIA/sacred'
license=('MIT')

makedepends=('python-distribute')
checkdepends=('python-pymongo')
source=("${url}/archive/${pkgver}.tar.gz")
md5sums=('57c7ea61c94d5d5a64c53d0ad3723f6c')

build() {
  msg "Building Python 3"
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py build
}

# check() {
#   cd "$srcdir/$_pkgname-$pkgver"
#   pytest
# }

package_python-sacred() {
  depends=('python' 'python-docopt' 'python-wrapt' 'python-jsonpickle' 'python-mock' 'python-munch' 'python-py' 'python-pbr' 'python-pytest' 'python-py-cpuinfo' 'python-gitpython')
  optdepends=('python-numpy' 'python-pymongo')
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}