Date: Monday, July 6, 2020 @ 15:13:03 Author: demize Revision: 658032
archrelease: copy trunk to community-testing-any Added: python-mypy-protobuf/repos/community-testing-any/ python-mypy-protobuf/repos/community-testing-any/PKGBUILD (from rev 658030, python-mypy-protobuf/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: python-mypy-protobuf/repos/community-testing-any/PKGBUILD (from rev 658030, python-mypy-protobuf/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-07-06 15:13:03 UTC (rev 658032) @@ -0,0 +1,25 @@ +pkgname=python-mypy-protobuf +pkgver=1.23 +pkgrel=1 + +pkgdesc='Generate mypy stub files from protobuf specs' +url='https://github.com/dropbox/mypy-protobuf' +arch=('any') +license=('Apache') + +depends=('mypy' 'protobuf' 'python' 'python-protobuf') +makedepends=('python-setuptools') + +source=("https://files.pythonhosted.org/packages/source/m/mypy-protobuf/mypy-protobuf-$pkgver.tar.gz") + +sha256sums=('cf79c77e828a2de9bdc74b43ad4abd4c2a3a30f0471b46e9b4e01b9877f166fb') + +build() { + cd mypy-protobuf-$pkgver + python setup.py build +} + +package() { + cd mypy-protobuf-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}