blob: f6e4290f1716ca690c72ef9ce92e60eee49a0357 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: BigfootACA <bigfoot@classfun.cn>
_pyname=etcd3
pkgname=python-$_pyname
pkgver=0.12.0
pkgrel=1
pkgdesc="Python client for the etcd3 API"
arch=('any')
url="https://github.com/kragniz/python-etcd3"
license=('Apache')
depends=(
python
python-grpcio
python-protobuf
python-six
python-tenacity
)
makedepends=(python-setuptools)
checkdepends=(
python-pytest
bump2version
python-coverage
python-flake8-docstrings
python-flake8-import-order
flake8
python-grpcio-tools
python-hypothesis
python-mock
python-more-itertools
python-pifpaf
python-pydocstyle
python-pytest-cov
python-pytest
python-pyaml
python-sphinx
python-tox
)
source=(https://pypi.io/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
md5sums=('f40a94e5e93194a9591a20bd600f4c84')
sha256sums=('89a704cb389bf0a010a1fa050ce19342d23bf6371ebda1c21cfe8ff3ed488726')
sha512sums=('d31cf0059036af91b489d6197fcda71314b5dcd068b6095212e1fec39d55b0bc4e943da3fdda6131fd1a6d48741334f5659e470c3284f0c6ab1a39d662d7d78a')
build(){
cd $_pyname-$pkgver
python setup.py build
}
package(){
cd $_pyname-$pkgver
python setup.py install --root "$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|