[arch-commits] Commit in python-billiard/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Aug 19 04:38:44 UTC 2019


    Date: Monday, August 19, 2019 @ 04:38:44
  Author: felixonmars
Revision: 500133

archrelease: copy trunk to community-x86_64

Added:
  python-billiard/repos/community-x86_64/PKGBUILD
    (from rev 500132, python-billiard/trunk/PKGBUILD)
Deleted:
  python-billiard/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-19 04:38:30 UTC (rev 500132)
+++ PKGBUILD	2019-08-19 04:38:44 UTC (rev 500133)
@@ -1,53 +0,0 @@
-# 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.6.0.0
-pkgrel=1
-pkgdesc="Python multiprocessing fork with improvements and bugfixes."
-arch=('x86_64')
-url="https://pypi.org/project/billiard/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-case' 'python2-case'
-              'python-psutil' 'python2-psutil')
-source=("https://pypi.io/packages/source/b/billiard/billiard-$pkgver.tar.gz")
-sha512sums=('0a71de026d2a781b83fe2c549ecbfe9b6fbd574d8067fc46ba7eca6b76633a123620853d22696df3563d050043cfe75b14b4b69bf5217e0af964aaa0bcbe08ff')
-
-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
-  python setup.py pytest
-
-  cd "$srcdir"/billiard-$pkgver-py2
-  python2 setup.py pytest
-}
-
-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
-}
-
-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
-}

Copied: python-billiard/repos/community-x86_64/PKGBUILD (from rev 500132, python-billiard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-19 04:38:44 UTC (rev 500133)
@@ -0,0 +1,54 @@
+# 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.6.1.0
+pkgrel=1
+pkgdesc="Python multiprocessing fork with improvements and bugfixes."
+arch=('x86_64')
+url="https://pypi.org/project/billiard/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-case' 'python2-case'
+              'python-psutil' 'python2-psutil')
+source=("https://pypi.io/packages/source/b/billiard/billiard-$pkgver.tar.gz")
+sha512sums=('d0250d30bc22340ef0931df6c909c6353fcda486d0a9100c3ec922ce8284bb0b359faba2d696ddc3ddb8eb4dc7d8e07fe7e2f2cf3244b67a5ed90ebad8c5f68b')
+
+prepare() {
+  sed -i 's/< *5/<6/' billiard-$pkgver/requirements/test.txt
+  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
+  python setup.py pytest
+
+  cd "$srcdir"/billiard-$pkgver-py2
+  python2 setup.py pytest
+}
+
+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
+}
+
+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
+}


More information about the arch-commits mailing list