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

Felix Yan fyan at archlinux.org
Mon Feb 22 07:18:05 UTC 2016


    Date: Monday, February 22, 2016 @ 08:18:05
  Author: fyan
Revision: 163116

archrelease: copy trunk to community-any

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

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

Copied: python-betamax-serializers/repos/community-any/PKGBUILD (from rev 163115, python-betamax-serializers/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-02-22 07:18:05 UTC (rev 163116)
@@ -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.1.1
+pkgrel=1
+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 "${srcdir}/serializers"
+  python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-betamax-serializers() {
+  depends=('python2-betamax')
+
+  cd "${srcdir}/serializers-py2"
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}



More information about the arch-commits mailing list