[arch-commits] Commit in python-mypy-protobuf (trunk trunk/PKGBUILD)

Johannes Löthberg demize at archlinux.org
Sun Mar 29 11:35:39 UTC 2020


    Date: Sunday, March 29, 2020 @ 11:35:39
  Author: demize
Revision: 605881

upgpkg: python-mypy-protobuf 1.20-1

Added:
  python-mypy-protobuf/trunk/
  python-mypy-protobuf/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2020-03-29 11:35:39 UTC (rev 605881)
@@ -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