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

Felix Yan felixonmars at archlinux.org
Fri Jul 24 12:07:20 UTC 2020


    Date: Friday, July 24, 2020 @ 12:07:20
  Author: felixonmars
Revision: 392491

archrelease: copy trunk to testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-24 12:07:04 UTC (rev 392490)
+++ PKGBUILD	2020-07-24 12:07:20 UTC (rev 392491)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Yaron de Leeuw <me at jarondl.net>
-
-pkgname=python-isort
-pkgver=5.0.4
-pkgrel=1
-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=('99c8d6b6322829cdb1d1a0df935b2857edef96b166eb342f1fc3cee6d109e1a774e2b84df925dac81fc9d3d4532be008e6581230e527fda4362ba1809b237c8e')
-
-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 392490, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-24 12:07:20 UTC (rev 392491)
@@ -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.5
+pkgrel=1
+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=('d70488f824acf97ccad9b030836a9d9b9e94ccd6a4c0ac68208ee95c4a34b94a02077e83ba61a5e0c1a41f0774458dfe7e2fc14d223c43b314d5474fdbac0b5f')
+
+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