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

2015-09-19 Thread Felix Yan
Date: Saturday, September 19, 2015 @ 11:28:19
  Author: fyan
Revision: 140711

archrelease: copy trunk to community-staging-any

Added:
  python-six/repos/community-staging-any/
  python-six/repos/community-staging-any/PKGBUILD
(from rev 140710, python-six/trunk/PKGBUILD)

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

Copied: python-six/repos/community-staging-any/PKGBUILD (from rev 140710, 
python-six/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2015-09-19 09:28:19 UTC (rev 140711)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa 
+# Contributer: Allan McRae 
+
+pkgbase=python-six
+pkgname=('python2-six' 'python-six')
+pkgver=1.9.0
+pkgrel=2
+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=('476881ef4012262dfc8adc645ee786c4')
+
+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"
+}


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

2014-03-17 Thread Jelle van der Waa
Date: Monday, March 17, 2014 @ 08:35:20
  Author: jelle
Revision: 107353

archrelease: copy trunk to community-staging-any

Added:
  python-six/repos/community-staging-any/
  python-six/repos/community-staging-any/PKGBUILD
(from rev 107352, python-six/trunk/PKGBUILD)

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

Copied: python-six/repos/community-staging-any/PKGBUILD (from rev 107352, 
python-six/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2014-03-17 07:35:20 UTC (rev 107353)
@@ -0,0 +1,41 @@
+# Contributer: Allan McRae 
+# Maintainer: Jelle van der Waa 
+
+pkgbase=python-six
+pkgname=('python2-six' 'python-six')
+pkgver=1.6.1
+pkgrel=2
+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=('07d606ac08595d795bf926cc9985674f')
+
+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"
+}