upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / mitmproxy2swagger / trunk / PKGBUILD
blobeecc37f6a901742b5187277f70d0d0528cdefec1
1 # Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
3 pkgname=mitmproxy2swagger
4 pkgver=0.9.0
5 pkgrel=1
6 pkgdesc='Automagically reverse-engineer REST APIs via capturing traffic'
7 url='https://github.com/alufers/mitmproxy2swagger'
8 arch=('any')
9 license=('MIT')
10 depends=(python mitmproxy python-ruamel-yaml python-json-stream)
11 makedepends=(python-build python-installer python-wheel python-poetry-core)
12 source=(https://github.com/alufers/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
13 b2sums=('246d1dd765849b4ed522d8b21e476cc34b51c240903a51b594908ee812c9405aadb8ccb11ac75077fd59182583148fedeedc0ade7ffaed25964fdb724d9ac695')
15 build() {
16   cd ${pkgname}-${pkgver}
17   python -m build --wheel --no-isolation
20 package() {
21   cd ${pkgname}-${pkgver}
22   python -m installer --destdir="${pkgdir}" dist/*.whl
25 # vim: ts=2 sw=2 et: