Date: Friday, July 8, 2016 @ 05:25:24
  Author: felixonmars
Revision: 271171

community2extra: Moving python-six from community to extra

Added:
  python-six/
  python-six/repos/
  python-six/trunk/
  python-six/trunk/PKGBUILD

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

Added: python-six/trunk/PKGBUILD
===================================================================
--- python-six/trunk/PKGBUILD                           (rev 0)
+++ python-six/trunk/PKGBUILD   2016-07-08 05:25:24 UTC (rev 271171)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <je...@vdwaa.nl>
+# Contributer: Allan McRae <al...@archlinux.org>
+
+pkgbase=python-six
+pkgname=('python2-six' 'python-six')
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Python 2 and 3 compatibility utilities"
+arch=('any')
+url="http://pypi.python.org/pypi/six/";
+license=('MIT')
+makedepends=('python' 'python2')
+source=(http://pypi.python.org/packages/source/s/six/six-$pkgver.tar.gz)
+md5sums=('34eed507548117b2ab523ab14b2f8b55')
+
+build() {
+  cd $srcdir
+  cp -r six-$pkgver six2-$pkgver
+}
+
+check() {
+  cd $srcdir/six-$pkgver 
+  python3 setup.py check
+
+  cd $srcdir/six2-$pkgver 
+  python2 setup.py check
+}
+
+package_python-six() {
+  depends=('python')
+  cd $srcdir/six-$pkgver 
+  python3 setup.py install --root "${pkgdir}" --optimize=1
+  install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-six() {
+  depends=('python2')
+  cd $srcdir/six2-$pkgver 
+  python2 setup.py install --root "${pkgdir}" --optimize=1
+  install -Dm644 "${srcdir}/six-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


Property changes on: python-six/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to