summaryrefslogtreecommitdiff
path: root/python-wxutils/PKGBUILD
blob: 962fef5a06d8688c70047651d0a93a1e6421a08c (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.3
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.8'
  'python<3.9'
  'python-wxpython'
)
makedepends=(
  'python-setuptools'
)
source=(
    "https://pypi.python.org/packages/55/e9/dbec604ebb961cca28c6e835d050326d87f592d4bdc8171097230ea5b407/${_pkgname}-${pkgver}.tar.gz"
)
sha512sums=('098d9b1030f16478db37960fcb9fc414222c8e3623bb6910b5281b986a43b4a6c879b1af09a836bd659b220aeb5e2d3f31d4d6474e241fe03c4893a3dea85218')

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

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