summaryrefslogtreecommitdiff
path: root/python2-wxmplot/PKGBUILD
blob: badeb7d537d6610a08795e239fa87dd251b40335 (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.21
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/cd/66/c82412ffad4c1f761429b4c687d29980ffbbf7f2d507edb905282df5d269/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('38cb1cfcdbf276939493c2759bf3717ca76722a12b881d767145501ee0ca18f763c2ca03dd162100dcc561844f7ad90c0e54dc07df878a00b55679818a8ec87c')

build() {

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

}

package() {

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

}