aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-protobuf
diff options
context:
space:
mode:
authorCorentin Henry <corentinhenry@gmail.com>2016-05-17 08:53:38 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-06-03 17:32:46 +0200
commit2595f01f3adc14265428e9da83772e6b183f3105 (patch)
treec67e8e180d1c0cab1b9283f8b6bc3c0a4df571b3 /testing/py-protobuf
parentdb8a6e96bd036f494517a21fd52dcf5065a13624 (diff)
downloadaports-2595f01f3adc14265428e9da83772e6b183f3105.tar.bz2
aports-2595f01f3adc14265428e9da83772e6b183f3105.tar.xz
testing/py-protobuf: new aport
https://github.com/google/protobuf Google's data interchange format.
Diffstat (limited to 'testing/py-protobuf')
-rw-r--r--testing/py-protobuf/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py-protobuf/APKBUILD b/testing/py-protobuf/APKBUILD
new file mode 100644
index 0000000000..ed067b5b0d
--- /dev/null
+++ b/testing/py-protobuf/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Corentin Henry <corentinhenry@gmail.com>
+# Contributor: Corentin Henry <corentinhenry@gmail.com>
+pkgname=py-protobuf
+_pkgname=${pkgname#py-}
+pkgver=2.6.1
+pkgrel=0
+pkgdesc="Google's data interchange format."
+url="https://github.com/google/protobuf"
+arch="noarch"
+license="BSD"
+depends="python py-six>=1.9"
+makedepends="python-dev py-setuptools py-google-apputils"
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ python setup.py build
+}
+
+package() {
+ cd "$builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+md5sums="6bf843912193f70073db7f22e2ea55e2 protobuf-2.6.1.tar.gz"
+sha256sums="8faca1fb462ee1be58d00f5efb4ca4f64bde92187fe61fde32615bbee7b3e745 protobuf-2.6.1.tar.gz"
+sha512sums="c345b5b2822e7142e27cd6ff4ca4e8cc307acd3673043428073ed260a899c48ac6afa32e290b2d2f0ee54316d1a0f0ec72287604fb372992715a2191fe5623d4 protobuf-2.6.1.tar.gz"