summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlsf2021-04-03 14:29:52 +0200
committerlsf2021-04-03 14:29:52 +0200
commite111344a287e210491188910fb26723b0c3516df (patch)
treea92ded80fc2118300567aa35b6444a7d19dce6ff /PKGBUILD
parenta7fd83c856ea7e2c9cd944ac52a8181148eecf8f (diff)
downloadaur-e111344a287e210491188910fb26723b0c3516df.tar.gz
v0.0.7 and different way to invoke (new) python flit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3a3450e075b..4a574a083ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
pkgname=python-briar-wrapper
conflicts=('python-briar-wrapper-git')
-pkgver=0.0.6
+pkgver=0.0.7
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')
source=("git+https://code.briarproject.org/briar/python-briar-wrapper.git#tag=${pkgver}"
'address_error.patch')
@@ -15,8 +15,9 @@ sha256sums=('SKIP'
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