[arch-commits] Commit in python-mypy-protobuf (3 files)
Johannes Löthberg
demize at archlinux.org
Sun Mar 29 11:35:49 UTC 2020
Date: Sunday, March 29, 2020 @ 11:35:48
Author: demize
Revision: 605882
archrelease: copy trunk to community-testing-any
Added:
python-mypy-protobuf/repos/
python-mypy-protobuf/repos/community-testing-any/
python-mypy-protobuf/repos/community-testing-any/PKGBUILD
(from rev 605881, python-mypy-protobuf/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-mypy-protobuf/repos/community-testing-any/PKGBUILD (from rev 605881, python-mypy-protobuf/trunk/PKGBUILD)
===================================================================
--- repos/community-testing-any/PKGBUILD (rev 0)
+++ repos/community-testing-any/PKGBUILD 2020-03-29 11:35:48 UTC (rev 605882)
@@ -0,0 +1,25 @@
+pkgname=python-mypy-protobuf
+pkgver=1.20
+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=('2f0f7d81d6d32c1b2d7740f425450fda10fc3f85ef9b8729dfabb70b778a420e')
+
+build() {
+ cd mypy-protobuf-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd mypy-protobuf-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list