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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon May 16 20:41:09 UTC 2022


    Date: Monday, May 16, 2022 @ 20:41:08
  Author: polyzen
Revision: 1207619

archrelease: copy trunk to community-any

Added:
  python-flake8-black/repos/community-any/PKGBUILD
    (from rev 1207618, 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-05-16 20:40:40 UTC (rev 1207618)
+++ PKGBUILD	2022-05-16 20:41:08 UTC (rev 1207619)
@@ -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.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:

Copied: python-flake8-black/repos/community-any/PKGBUILD (from rev 1207618, python-flake8-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-16 20:41:08 UTC (rev 1207619)
@@ -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.3.3
+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://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('8211f5e20e954cb57c709acccf2f3281ce27016d4c4b989c3e51f878bb7ce12a')
+b2sums=('35b782024519ca75075b0389b0cec3746c30e2dc4c5f07a9bee54636fa3708936eebf6ab0e1e203f1227db97778373b5c2127714c10bf7f2c801a96d010eaea3')
+
+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