[arch-commits] Commit in python-betamax-serializers/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jul 8 13:43:02 UTC 2018
Date: Sunday, July 8, 2018 @ 13:43:01
Author: foutrelis
Revision: 354894
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 354893, python-betamax-serializers/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-betamax-serializers/repos/community-staging-any/PKGBUILD (from rev 354893, python-betamax-serializers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-08 13:43:01 UTC (rev 354894)
@@ -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=3
+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