Date: Monday, January 2, 2023 @ 03:13:22
Author: grawlinson
Revision: 1372861
archrelease: copy trunk to community-any
Added:
python-flake8-isort/repos/community-any/PKGBUILD
(from rev 1372860, python-flake8-isort/trunk/PKGBUILD)
Deleted:
python-flake8-isort/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 52 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-02 03:11:22 UTC (rev 1372860)
+++ PKGBUILD 2023-01-02 03:13:22 UTC (rev 1372861)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: neodarz <neodarz at neodarz dot net>
-
-_name=flake8-isort
-pkgname=python-flake8-isort
-pkgver=5.0.3
-pkgrel=1
-pkgdesc='Flake8 plugin to validate annotations complexity'
-arch=('any')
-url=https://github.com/gforcada/flake8-isort
-license=('GPL3')
-depends=('flake8' 'python-isort')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-pytest' 'python-toml')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('0951398c343c67f4933407adbbfb495d4df7c038650c5d05753a006efcfeb390')
-b2sums=('0a8d233f0dc70a0e8edf578f473c2819b83edf836f36332cfb4ae5e2422fe1f86e75217203a5bf8a26cb58cabdbc1dd05697d21c3ee865fb1c5279c4cca7a0cf')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- pytest run_tests.py
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: python-flake8-isort/repos/community-any/PKGBUILD (from rev 1372860,
python-flake8-isort/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-02 03:13:22 UTC (rev 1372861)
@@ -0,0 +1,52 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Daniel M. Capella <[email protected]>
+# Contributor: neodarz <neodarz at neodarz dot net>
+
+pkgname=python-flake8-isort
+pkgver=6.0.0
+pkgrel=1
+pkgdesc='Flake8 plugin to validate annotations complexity'
+arch=('any')
+url='https://github.com/gforcada/flake8-isort'
+license=('GPL3')
+depends=(
+ 'python'
+ 'flake8'
+ 'python-isort'
+ 'python-setuptools'
+)
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+)
+checkdepends=('python-pytest' 'python-toml')
+_commit='5d55a7e66841f60ac25395957ff3cb02f3b5ac17'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ pytest run_tests.py
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}