[arch-commits] Commit in python-betamax-serializers/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 25 17:55:55 UTC 2016


    Date: Sunday, December 25, 2016 @ 17:55:54
  Author: foutrelis
Revision: 202179

archrelease: copy trunk to community-staging-any

Added:
  python-betamax-serializers/repos/community-staging-any/
  python-betamax-serializers/repos/community-staging-any/PKGBUILD
    (from rev 202178, python-betamax-serializers/trunk/PKGBUILD)

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

Copied: python-betamax-serializers/repos/community-staging-any/PKGBUILD (from rev 202178, python-betamax-serializers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-25 17:55:54 UTC (rev 202179)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-betamax-serializers
+pkgname=('python-betamax-serializers' 'python2-betamax-serializers')
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="A set of third-party serializers for Betamax"
+arch=('any')
+license=('Apache')
+url='https://gitlab.com/betamax/serializers'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-betamax' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://gitlab.com/betamax/serializers.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a serializers{,-py2}
+}
+
+package_python-betamax-serializers() {
+  depends=('python-betamax')
+
+  cd serializers
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-betamax-serializers() {
+  depends=('python2-betamax')
+
+  cd serializers-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list