summaryrefslogtreecommitdiff
path: root/python2-wxmplot/PKGBUILD
blob: 2e79c63cd7e0953a61f3b2d42a3e1ce73583d01c (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
39
40
41
42
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python2-wxmplot
pkgver=0.9.24
pkgrel=1
pkgdesc='A library for plotting in wxPython using matplotlib'
arch=('any')
url='https://pypi.python.org/pypi/wxmplot/0.9.18'
license=('OSI Approved :: MIT License')
groups=()
depends=(
  'python2'
  'wxpython'
  'python2-matplotlib'
)
makedepends=(
  'python2-setuptools'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=(
    "${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/07/a2/e182ccc00af54bd21fb24ef94d248b0b80378393b7c65ea79efc0be4e080/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('e806ea4a7cf4afc464f93bd8830518b28c7b95e43b425a68e33e750b69c48a3d3cf5f6d32bd3249ae096846a10faf8673e3a1927a4172332af2719b38ee100b2')

build() {

    cd ${pkgname#*-}-${pkgver}
    python2 setup.py build

}

package() {

    cd ${pkgname#*-}-${pkgver}
    python2 setup.py install --skip-build --root="${pkgdir}" --prefix=/usr

}