[arch-commits] Commit in python-isort/repos/testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Feb 13 18:24:27 UTC 2018


    Date: Tuesday, February 13, 2018 @ 18:24:26
  Author: felixonmars
Revision: 316892

archrelease: copy trunk to testing-any

Added:
  python-isort/repos/testing-any/PKGBUILD
    (from rev 316891, python-isort/trunk/PKGBUILD)
Deleted:
  python-isort/repos/testing-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-13 18:23:42 UTC (rev 316891)
+++ PKGBUILD	2018-02-13 18:24:26 UTC (rev 316892)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Yaron de Leeuw <me at jarondl.net>
-
-pkgbase=python-isort
-pkgname=('python-isort' 'python2-isort')
-pkgver=4.3.3
-pkgrel=1
-pkgdesc="A Python utility / library to sort Python imports."
-arch=('any')
-url="https://github.com/timothycrosley/isort"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-futures')
-checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/timothycrosley/isort/archive/$pkgver.tar.gz")
-sha512sums=('0bec0e035f8d8d04c92f9d35471165a4c3ea79350dc385c5ae5bafb8618e78f09c6eb1952477642c66a2113c8a7cf44e5a793a1bc2eeac22545a2ba0eda33970')
-
-prepare() {
-  cp -a isort-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/isort-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/isort-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/isort-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/isort-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-isort() {
-  depends=('python-setuptools')
-
-  cd isort-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-isort() {
-  depends=('python2-setuptools' 'python2-futures')
-
-  cd isort-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/isort{,2}
-}

Copied: python-isort/repos/testing-any/PKGBUILD (from rev 316891, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-02-13 18:24:26 UTC (rev 316892)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yaron de Leeuw <me at jarondl.net>
+
+pkgbase=python-isort
+pkgname=('python-isort' 'python2-isort')
+pkgver=4.3.4
+pkgrel=1
+pkgdesc="A Python utility / library to sort Python imports."
+arch=('any')
+url="https://github.com/timothycrosley/isort"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-futures')
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/timothycrosley/isort/archive/$pkgver.tar.gz")
+sha512sums=('cc9254c288e479a05cc20c29c9be6fa368a46e85f8eb0a22238ee3e57004a75999d35d2a736ad0a4ddc7d7c7efcc30fb97bfd16fcd0adb44d3b937dd935588b7')
+
+prepare() {
+  cp -a isort-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/isort-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/isort-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/isort-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/isort-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-isort() {
+  depends=('python-setuptools')
+
+  cd isort-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-isort() {
+  depends=('python2-setuptools' 'python2-futures')
+
+  cd isort-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/isort{,2}
+}



More information about the arch-commits mailing list