[arch-commits] Commit in python-flake8-black/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Jan 30 23:15:51 UTC 2022
Date: Sunday, January 30, 2022 @ 23:15:51
Author: polyzen
Revision: 1120934
archrelease: copy trunk to community-any
Added:
python-flake8-black/repos/community-any/PKGBUILD
(from rev 1120933, python-flake8-black/trunk/PKGBUILD)
Deleted:
python-flake8-black/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-30 23:15:32 UTC (rev 1120933)
+++ PKGBUILD 2022-01-30 23:15:51 UTC (rev 1120934)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: George Rawlinson <george at rawlinson.net.nz>
-
-_name=flake8-black
-pkgname=python-flake8-black
-pkgver=0.2.2
-pkgrel=2
-pkgdesc='Flake8 plugin to call black as a code style validator'
-arch=('any')
-url=https://github.com/peterjc/flake8-black
-license=('MIT')
-depends=('flake8' 'python-black' 'python-toml')
-makedepends=('python-setuptools')
-source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('5c38e6ce506c61638526622f716736fbc33a95bdcf80fcd182048a714d107601cadf164456b23e754aeb24181a4ad10ad141fbc5309362c101a7ae08dda56458')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-check() {
- cd $_name-$pkgver
- python -m venv --system-site-packages test-env
- source test-env/bin/activate
- python setup.py install --optimize=1 --skip-build
- cd tests
- ./run_tests.sh
- deactivate
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-flake8-black/repos/community-any/PKGBUILD (from rev 1120933, python-flake8-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-30 23:15:51 UTC (rev 1120934)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: George Rawlinson <george at rawlinson.net.nz>
+
+_name=flake8-black
+pkgname=python-flake8-black
+pkgver=0.2.4
+pkgrel=1
+pkgdesc='Flake8 plugin to call black as a code style validator'
+arch=('any')
+url=https://github.com/peterjc/flake8-black
+license=('MIT')
+depends=('flake8' 'python-black' 'python-toml')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('a7871bfd1cbff431a1fc91ba60ae154510c80f575e6b9a2bbb13dfb4650afd22')
+b2sums=('5dc3e00958d68015b3dffc649a905c78f1db72bbd58ec938f4dc2445619d6ac3b04447debfd03a5140352d55faa29aef3e55828f38bc0a9b3203af979cd90993')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ python -m venv --system-site-packages test-env
+ source test-env/bin/activate
+ python setup.py install --optimize=1 --skip-build
+ cd tests
+ ./run_tests.sh
+ deactivate
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list