blob: f56bddbc34bb058e7798d458bc47d3198752688a (
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
32
33
34
35
36
|
# Maintainer: Jose Lopes <josemslopes at gmail dot com>
_pkgname=python3-xcaplib
pkgname=python-xcaplib
pkgver=2.0.1
pkgrel=2
pkgdesc="XCAP (RFC4825) client library"
license=('LGPL-2.1+')
arch=('aarch64' 'x86_64')
url="https://github.com/AGProjects/python3-xcaplib"
makedepends=('python-build' 'python-installer' 'python-wheel')
depends=(
'python-eventlib'
'python-application'
'python-lxml'
'python-gevent'
)
conflicts=('python3-xcaplib')
provides=('python3-xcaplib')
replaces=('python3-xcaplib')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AGProjects/${_pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('4dedeb7d347d5a69e090fef98d498854b84a71d471df2cf438ceee5944979d2028dd380a729b980372b69d444f5a4c3071f48f75386c028d9192e09ba20780de')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
# license
install -Dm644 LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|