[arch-commits] Commit in python-billiard/repos (4 files)

Felix Yan fyan at archlinux.org
Sat Sep 19 13:06:36 UTC 2015


    Date: Saturday, September 19, 2015 @ 15:06:36
  Author: fyan
Revision: 140799

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-billiard/repos/community-staging-i686/
  python-billiard/repos/community-staging-i686/PKGBUILD
    (from rev 140798, python-billiard/trunk/PKGBUILD)
  python-billiard/repos/community-staging-x86_64/
  python-billiard/repos/community-staging-x86_64/PKGBUILD
    (from rev 140798, python-billiard/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   59 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   59 ++++++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

Copied: python-billiard/repos/community-staging-i686/PKGBUILD (from rev 140798, python-billiard/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-19 13:06:36 UTC (rev 140799)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
+# Source: https://github.com/zancarius/archlinux-pkgbuilds
+
+pkgbase=python-billiard
+pkgname=('python-billiard' 'python2-billiard')
+pkgver=3.3.0.20
+pkgrel=2
+pkgdesc="Python multiprocessing fork with improvements and bugfixes."
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/billiard"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose-cover3' 'python2-nose-cover3' 'python-mock' 'python2-mock')
+source=("https://pypi.python.org/packages/source/b/billiard/billiard-${pkgver}.tar.gz")
+md5sums=('2cb556e5390fa922a8d6a56149ac8f0c')
+
+prepare() {
+  cp -a billiard-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/billiard-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/billiard-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/billiard-$pkgver"
+  nosetests3
+
+  cd "$srcdir/billiard-$pkgver-py2"
+  nosetests2
+}
+
+package_python-billiard() {
+  depends=('python')
+
+  cd "$srcdir/billiard-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm0664 "$srcdir/billiard-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Avoid conflicts
+  mv "$pkgdir"/usr/lib/python3.5/site-packages/{funtests,billiard/}
+}
+
+package_python2-billiard() {
+  depends=('python2')
+
+  cd "$srcdir/billiard-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm0664 "$srcdir/billiard-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Avoid conflicts
+  mv "$pkgdir"/usr/lib/python2.7/site-packages/{funtests,billiard/}
+}

Copied: python-billiard/repos/community-staging-x86_64/PKGBUILD (from rev 140798, python-billiard/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-19 13:06:36 UTC (rev 140799)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
+# Source: https://github.com/zancarius/archlinux-pkgbuilds
+
+pkgbase=python-billiard
+pkgname=('python-billiard' 'python2-billiard')
+pkgver=3.3.0.20
+pkgrel=2
+pkgdesc="Python multiprocessing fork with improvements and bugfixes."
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/billiard"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose-cover3' 'python2-nose-cover3' 'python-mock' 'python2-mock')
+source=("https://pypi.python.org/packages/source/b/billiard/billiard-${pkgver}.tar.gz")
+md5sums=('2cb556e5390fa922a8d6a56149ac8f0c')
+
+prepare() {
+  cp -a billiard-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/billiard-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/billiard-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/billiard-$pkgver"
+  nosetests3
+
+  cd "$srcdir/billiard-$pkgver-py2"
+  nosetests2
+}
+
+package_python-billiard() {
+  depends=('python')
+
+  cd "$srcdir/billiard-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm0664 "$srcdir/billiard-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Avoid conflicts
+  mv "$pkgdir"/usr/lib/python3.5/site-packages/{funtests,billiard/}
+}
+
+package_python2-billiard() {
+  depends=('python2')
+
+  cd "$srcdir/billiard-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm0664 "$srcdir/billiard-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Avoid conflicts
+  mv "$pkgdir"/usr/lib/python2.7/site-packages/{funtests,billiard/}
+}



More information about the arch-commits mailing list