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

Felix Yan felixonmars at archlinux.org
Mon Jul 20 03:32:01 UTC 2020


    Date: Monday, July 20, 2020 @ 03:32:00
  Author: felixonmars
Revision: 392296

archrelease: copy trunk to testing-any

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

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-20 03:31:49 UTC (rev 392295)
+++ PKGBUILD	2020-07-20 03:32:00 UTC (rev 392296)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Yaron de Leeuw <me at jarondl.net>
-
-pkgname=python-isort
-pkgver=5.0.0
-pkgrel=1
-pkgdesc="A Python utility / library to sort Python imports."
-arch=('any')
-url="https://github.com/timothycrosley/isort"
-license=('MIT')
-depends=('python-dephell')
-checkdepends=('pylama' 'python-hypothesis-auto' 'python-pip' 'python-pip-api' 'python-pipreqs'
-              'python-pytest' 'python-requirementslib')
-source=("https://github.com/timothycrosley/isort/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b78eb3d4c633da76d88e95e2c5bd74b74565d1b1da004436c6aa8553c3b5715eaad003e67cad40e580ebac4de7d468bc27a8d1d1664d123a3896e105fe9b6f3e')
-
-prepare() {
-  cd isort-$pkgver
-  # poetry-generated setup.py are fatally broken, see:
-  # https://github.com/sdispater/poetry/issues/866
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
-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.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest --deselect tests/test_importable.py::test_importable
-}
-
-package() {
-  cd isort-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-isort/repos/testing-any/PKGBUILD (from rev 392295, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-20 03:32:00 UTC (rev 392296)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yaron de Leeuw <me at jarondl.net>
+
+pkgname=python-isort
+pkgver=5.0.0
+pkgrel=2
+pkgdesc="A Python utility / library to sort Python imports."
+arch=('any')
+url="https://github.com/timothycrosley/isort"
+license=('MIT')
+depends=('python')
+makedepends=('python-dephell')
+checkdepends=('pylama' 'python-hypothesis-auto' 'python-pip' 'python-pip-api' 'python-pipreqs'
+              'python-pytest' 'python-requirementslib')
+source=("https://github.com/timothycrosley/isort/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b78eb3d4c633da76d88e95e2c5bd74b74565d1b1da004436c6aa8553c3b5715eaad003e67cad40e580ebac4de7d468bc27a8d1d1664d123a3896e105fe9b6f3e')
+
+prepare() {
+  cd isort-$pkgver
+  # poetry-generated setup.py are fatally broken, see:
+  # https://github.com/sdispater/poetry/issues/866
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+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.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest --deselect tests/test_importable.py::test_importable
+}
+
+package() {
+  cd isort-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list