[arch-commits] Commit in python-flake8-black/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Apr 30 00:55:59 UTC 2022


    Date: Saturday, April 30, 2022 @ 00:55:59
  Author: polyzen
Revision: 1191863

archrelease: copy trunk to community-any

Added:
  python-flake8-black/repos/community-any/PKGBUILD
    (from rev 1191862, python-flake8-black/trunk/PKGBUILD)
Deleted:
  python-flake8-black/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 00:55:37 UTC (rev 1191862)
+++ PKGBUILD	2022-04-30 00:55:59 UTC (rev 1191863)
@@ -1,39 +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.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:

Copied: python-flake8-black/repos/community-any/PKGBUILD (from rev 1191862, python-flake8-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-30 00:55:59 UTC (rev 1191863)
@@ -0,0 +1,38 @@
+# 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.3.2
+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-tomli')
+makedepends=('python-setuptools')
+source=("https://github.com/peterjc/$_name/archive/v$pkgver/$_name-$pkgver.tar.gz")
+b2sums=('7eaac0f263efc7e3dcb697fefbef17142b45f9333d33baa8cfe61786e66ecba378a59aab0283764d09b0688c546b31481d468aa41aae9dd39bc4b14e0d4513ad')
+
+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