[arch-commits] Commit in (4 files)
Felix Yan
fyan at archlinux.org
Tue Aug 11 06:04:41 UTC 2015
Date: Tuesday, August 11, 2015 @ 08:04:41
Author: fyan
Revision: 138198
addpkg: python-betamax-matchers 0.2.0-1
Added:
python-betamax-matchers/
python-betamax-matchers/repos/
python-betamax-matchers/trunk/
python-betamax-matchers/trunk/PKGBUILD
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Added: python-betamax-matchers/trunk/PKGBUILD
===================================================================
--- python-betamax-matchers/trunk/PKGBUILD (rev 0)
+++ python-betamax-matchers/trunk/PKGBUILD 2015-08-11 06:04:41 UTC (rev 138198)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-betamax-matchers
+pkgname=('python-betamax-matchers' 'python2-betamax-matchers')
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Experimental set of Matchers for Betamax that may possibly end up in the main package"
+arch=('any')
+license=('GPL')
+url='https://github.com/sigmavirus24/betamax_matchers'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-betamax' 'python2-betamax'
+ 'python-requests-toolbelt' 'python2-requests-toolbelt' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://github.com/sigmavirus24/betamax_matchers.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a betamax_matchers{,-py2}
+}
+
+check() {
+ cd "$srcdir/betamax_matchers"
+ python setup.py ptr
+
+ cd "$srcdir/betamax_matchers-py2"
+ python2 setup.py ptr
+}
+
+package_python-betamax-matchers() {
+ depends=('python-requests-toolbelt' 'python-betamax')
+
+ cd "${srcdir}/betamax_matchers"
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-betamax-matchers() {
+ depends=('python2-requests-toolbelt' 'python2-betamax')
+
+ cd "${srcdir}/betamax_matchers-py2"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Property changes on: python-betamax-matchers/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list