blob: 76963e35eba9cbb17f0715599d5b1cdb5dd90f32 (
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
30
31
|
# Maintainer: Giorgi Taba K'obakhidze <t@gtk.ge>
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
pkgname=python-slidge-git
pkgver=0.1.0.r9.gc45818f
pkgrel=2
pkgdesc='XMPP puppeteer gateway library in python'
arch=('x86_64' 'armv7h' 'aarch64')
url="https://git.sr.ht/~nicoco/slidge"
license=('AGPL3')
depends=('python' 'python-slixmpp' 'python-aiohttp' 'python-qrcode' 'python-magic' 'python-configargparse' 'python-pillow' 'python-pickle-secure' 'python-blurhash')
makedepends=('git' 'python-build' 'python-wheel' 'python-installer' 'python-setuptools' 'python-poetry-core')
provides=("python-slidge=$pkgver")
conflicts=('python-slidge')
source=('git+https://git.sr.ht/~nicoco/slidge')
sha256sums=('SKIP')
pkgver() {
cd slidge
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd slidge
python -m build --wheel --no-isolation
}
package() {
cd slidge
python -m installer --destdir="$pkgdir" dist/*.whl
}
|