summaryrefslogtreecommitdiff
path: root/python-wxutils/PKGBUILD
blob: c93a19fb5f9f64f6a92b0bf58ed14e785238154d (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-wxutils
_pkgname="${pkgname#*-}"
pkgver=0.2.4
pkgrel=3
pkgdesc='A library of convenience functions for wxPython'
arch=('any')
url='https://pypi.python.org/pypi/wxutils/0.1.2'
license=('BSD')
groups=()
depends=(
  'python>=3.9'
  'python<3.10'
  'python-wxpython'
)
makedepends=(
  'python-setuptools'
)
source=(
    "https://pypi.python.org/packages/61/6e/1101de75559b7079e4f3fd2ce0d939cd5995b78acc49881327ba9b219a1b/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('9217607a23e5e41316ba39e4cae28d0899571d6dd1a4e4c9cb5de1748a778af2d2c575d9da33b26e4a7e81dba70aedb23e78b4fc91970fc8074da3da40903253')

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

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
}