summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlsf2021-04-03 14:29:52 +0200
committerlsf2021-04-03 14:29:52 +0200
commite111344a287e210491188910fb26723b0c3516df (patch)
treea92ded80fc2118300567aa35b6444a7d19dce6ff
parenta7fd83c856ea7e2c9cd944ac52a8181148eecf8f (diff)
downloadaur-e111344a287e210491188910fb26723b0c3516df.tar.gz
v0.0.7 and different way to invoke (new) python flit
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c1122a292b..0113aa1b82e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,20 @@
pkgbase = python-briar-wrapper
pkgdesc = A wrapper for the Briar headless API.
- pkgver = 0.0.6
+ pkgver = 0.0.7
pkgrel = 1
url = https://code.briarproject.org/briar/python-briar-wrapper
arch = any
license = GNU Affero GPL
makedepends = python-setuptools
- makedepends = python-dephell
makedepends = git
+ makedepends = python-flit
+ makedepends = python-toml
depends = python
depends = python-websockets
depends = python-requests
depends = briar-headless
conflicts = python-briar-wrapper-git
- source = git+https://code.briarproject.org/briar/python-briar-wrapper.git#tag=0.0.6
+ source = git+https://code.briarproject.org/briar/python-briar-wrapper.git#tag=0.0.7
source = address_error.patch
sha256sums = SKIP
sha256sums = dff2e1645420e76c543065d3bedcfe17fc4669bb01627f6ba43a66c225b52f18
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