[arch-commits] Commit in python-mypy-protobuf/repos (3 files)
Johannes Löthberg
demize at archlinux.org
Sun Mar 29 12:17:48 UTC 2020
Date: Sunday, March 29, 2020 @ 12:17:48
Author: demize
Revision: 605883
db-move: moved python-mypy-protobuf from [community-testing] to [community] (any)
Added:
python-mypy-protobuf/repos/community-any/
python-mypy-protobuf/repos/community-any/PKGBUILD
(from rev 605882, python-mypy-protobuf/repos/community-testing-any/PKGBUILD)
Deleted:
python-mypy-protobuf/repos/community-testing-any/
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-mypy-protobuf/repos/community-any/PKGBUILD (from rev 605882, python-mypy-protobuf/repos/community-testing-any/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-29 12:17:48 UTC (rev 605883)
@@ -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