blob: 8eec41ea562e619a99a2df540e3ae80464d77ccb (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-wxmplot
_pkgname="${pkgname#*-}"
pkgver=0.9.44
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')
depends=(
'python<3.10'
'python>=3.9'
'python-matplotlib>=2.0'
'python-numpy>=1.12'
'python-six>=1.10'
'python-wxpython>=4.0.3')
makedepends=(
'python-setuptools')
source=(
"https://pypi.python.org/packages/0f/26/eb54601c65c81e360634a7299855be45895c03cc324be2c34d40c0c74f85/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('62f04913b221147725d81e90353f4843e794d672ff50f00ac42765de8c6bec80f288626ac6d8888f54c9b2396a1611601b77517a82b940cd5fbd9ec4db51b185')
build() {
cd "${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
}
|