diff options
author | lsf | 2021-04-03 14:30:44 +0200 |
---|---|---|
committer | lsf | 2021-04-03 14:30:44 +0200 |
commit | 6e386628e00cab306b2dc929b2ba521e3f9a7740 (patch) | |
tree | 1dc309e2338b6186bf252a0c2917c7d77be23f76 /PKGBUILD | |
parent | 2342bc8f32b74fa2c8ecbd10c4255fdb73599054 (diff) | |
download | aur-6e386628e00cab306b2dc929b2ba521e3f9a7740.tar.gz |
flit instead of dephell
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,13 +1,13 @@ pkgname=python-briar-wrapper-git _pkgname=python-briar-wrapper conflicts=('python-briar-wrapper') -pkgver=0.0.6.r1.g79a7889 +pkgver=0.0.7.r0.g8a59c71 pkgrel=1 pkgdesc='A wrapper for the Briar headless API.' arch=('any') url='https://code.briarproject.org/briar/python-briar-wrapper' license=('GNU Affero GPL') -makedepends=('python-setuptools' 'python-dephell' 'git') +makedepends=('python-setuptools' 'git' 'python-flit' 'python-toml') depends=('python' 'python-websockets' 'python-requests' 'briar-headless-git') source=("git+https://code.briarproject.org/briar/python-briar-wrapper.git" 'address_error.patch') @@ -21,8 +21,9 @@ pkgver() { prepare() { cd "${_pkgname}" - dephell deps convert --prereleases --from pyproject.toml --to setup.py - sed -E 's/packages=\[.*/packages=\["briar_wrapper", "briar_wrapper.models"\],/' -i setup.py + python -m flit build + + tar -xvf dist/*.tar.gz --wildcards --no-anchored '*/setup.py' --strip=1 # fix uncaught OSError / 'Cannot assign requested address' while waiting for briar-headless to come up patch -Np1 -i ../address_error.patch |