[arch-commits] Commit in python-isort/repos/testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 31 07:12:55 UTC 2020
Date: Friday, July 31, 2020 @ 07:12:55
Author: felixonmars
Revision: 392753
archrelease: copy trunk to testing-any
Added:
python-isort/repos/testing-any/PKGBUILD
(from rev 392752, 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-31 07:12:40 UTC (rev 392752)
+++ PKGBUILD 2020-07-31 07:12:55 UTC (rev 392753)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Yaron de Leeuw <me at jarondl.net>
-
-pkgname=python-isort
-pkgver=5.1.0
-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=('aea0bcd5327167b5aaf5df778f07bedc71808c30bbd4d12b48f0558e59da977bd1d36dc8c73b5ca72e88adeb27e385e3eb5798b9c12a28c5fc2d0c5a34fbde41')
-
-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 392752, python-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-31 07:12:55 UTC (rev 392753)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yaron de Leeuw <me at jarondl.net>
+
+pkgname=python-isort
+pkgver=5.1.1
+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=('960ee0b97d9c69192118e73a5d0db74b7e1278a744a2cb0813148464d67347ac8592ff9c2c55cd6063c709ef25479e72b958e3423fa9d34cf8879cb3ed96b30f')
+
+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