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

Felix Yan felixonmars at archlinux.org
Thu Aug 29 02:01:05 UTC 2019


    Date: Thursday, August 29, 2019 @ 02:01:04
  Author: felixonmars
Revision: 361347

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-29 02:00:53 UTC (rev 361346)
+++ PKGBUILD	2019-08-29 02:01:04 UTC (rev 361347)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Yaron de Leeuw <me at jarondl.net>
-
-pkgname=python-isort
-pkgver=4.3.21
-pkgrel=1
-pkgdesc="A Python utility / library to sort Python imports."
-arch=('any')
-url="https://github.com/timothycrosley/isort"
-license=('MIT')
-depends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'python-pip' 'python-pip-api' 'pylama' 'python-pipreqs'
-              'python-requirementslib')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/timothycrosley/isort/archive/$pkgver.tar.gz")
-sha512sums=('a393956a997687996b025c2a37c655efebdd988c52f6d6914db79613a5e0febbf92b0c6007c6db07af079db78e4c235cad0578089b565cb474cdfbbac9031e6d')
-
-build() {
-  cd isort-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd isort-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest || warning "Tests failed"
-}
-
-package() {
-  cd isort-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-isort/repos/extra-any/PKGBUILD (from rev 361346, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-29 02:01:04 UTC (rev 361347)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yaron de Leeuw <me at jarondl.net>
+
+pkgname=python-isort
+pkgver=4.3.21.2
+_tag=4.3.21-2
+pkgrel=1
+pkgdesc="A Python utility / library to sort Python imports."
+arch=('any')
+url="https://github.com/timothycrosley/isort"
+license=('MIT')
+depends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-pip' 'python-pip-api' 'pylama' 'python-pipreqs'
+              'python-requirementslib')
+source=("$pkgname-$_tag.tar.gz::https://github.com/timothycrosley/isort/archive/$_tag.tar.gz")
+sha512sums=('fc2aa00c87196864864d2516b8be7acdedcf40d71d1931510e4b878dbd2b6da0b579661b50221f03f4aa5560c8bf23d5e1e10a2694d2b741ca09a92e40a4c687')
+
+build() {
+  cd isort-$_tag
+  python setup.py build
+}
+
+check() {
+  cd isort-$_tag
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest || warning "Tests failed"
+}
+
+package() {
+  cd isort-$_tag
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list