blob: 430d1289db3fd826ac8a314ab74298e99e25ecba (
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
|
# Maintainer: Mario Finelli <mario at finel dot li>
# Contributor: Marco Rubin <marco.rubin@protonmail.com>
# Contributor: PumpkinCheshire <me at pumpkincheshire dot com>
_name=proto-plus
pkgname=python-$_name
pkgver=1.25.0
pkgrel=1
pkgdesc="A wrapper around protocol buffers"
arch=(any)
url=https://github.com/googleapis/proto-plus-python
license=(Apache-2.0)
depends=(python python-protobuf)
makedepends=(python-build python-installer python-setuptools python-wheel)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('c6bda5f09c9e1d0ee73d6309788fcdad420df82008be9e44c6c3b74aca4f00b6')
build() {
cd $_name-python-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-python-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim: set ts=2 sw=2 et:
|