summaryrefslogtreecommitdiff
path: root/python2-wxmplot/PKGBUILD
blob: 01596fb59c7965313da0ffb729f035b783238c88 (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.25
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/26/49/1b78de307ca9148a48060d1370cbcbfb460e8de37cc0b721107d3d9bd9ee/${pkgname#*-}-${pkgver}.tar.gz"
)
sha512sums=('f4ae04ecccc94edd592d9473b26f7a015b6cf7ffed94894c2c35fe1f09e8a1adcd8d049f2deff105c90bae319e88e40fec739dbb91295a37018225f4d56f2b11')

build() {

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

}

package() {

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

}