summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 415fd145f215b9d718357c0922234079a4a2086e (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
# Maintainer: Blair Bonnett <blair dot bonnett at gmail dot com>

pkgname=python-pytest-pudb
pkgver=0.8.0
pkgrel=1
pkgdesc="Pytest plugin for PuDB debugger integration"
url="https://github.com/stdedos/pytest-pudb"
arch=('any')
license=('MIT')
depends=('python-pytest' 'python-pudb')
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')

source=(
  "git+https://github.com/stdedos/pytest-pudb.git#tag=v$pkgver"
)
sha256sums=(
  'SKIP'
)

build() {
  cd "pytest-pudb"
  python -m build --no-isolation --wheel
}

package() {
  cd "pytest-pudb"
  python -m installer --destdir="$pkgdir" "dist/pytest_pudb-$pkgver"-*.whl
  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}