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

Felix Yan felixonmars at archlinux.org
Tue Jun 6 06:25:40 UTC 2017


    Date: Tuesday, June 6, 2017 @ 06:25:39
  Author: felixonmars
Revision: 297839

archrelease: copy trunk to testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-06 06:25:03 UTC (rev 297838)
+++ PKGBUILD	2017-06-06 06:25:39 UTC (rev 297839)
@@ -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.2.13
-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')
-checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/timothycrosley/isort/archive/$pkgver.tar.gz")
-sha512sums=('e59140fae9a700a10107125808e1d158120c5ef9b713b8ca748d1bc7b165e4586e2beee7c7a4aea29bb1d7731a437e547c0ab926ad6a349718205305816acdf2')
-
-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')
-
-  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 297838, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-06-06 06:25:39 UTC (rev 297839)
@@ -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.2.14
+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')
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/timothycrosley/isort/archive/$pkgver.tar.gz")
+sha512sums=('0f7f211bde55a5fff5bd431187b3235030d39596865cbb9d431497a17dd987fcfe55388a42d11ee3ef3be44e560508ede79bb1246dfb72da64648f2e0e76c2ab')
+
+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')
+
+  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