Date: Monday, February 22, 2016 @ 08:17:45 Author: fyan Revision: 163115
addpkg: python-betamax-serializers 0.1.1-1 Added: python-betamax-serializers/ python-betamax-serializers/repos/ python-betamax-serializers/trunk/ python-betamax-serializers/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-betamax-serializers/trunk/PKGBUILD =================================================================== --- python-betamax-serializers/trunk/PKGBUILD (rev 0) +++ python-betamax-serializers/trunk/PKGBUILD 2016-02-22 07:17:45 UTC (rev 163115) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@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 +} Property changes on: python-betamax-serializers/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property