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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 15:08:23 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:08:23
  Author: felixonmars
Revision: 750904

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:08:21 UTC (rev 750903)
+++ PKGBUILD	2020-11-11 15:08:23 UTC (rev 750904)
@@ -1,41 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: James Zhu <jameszhu at berkeley.edu>
-
-pkgname=python-black
-pkgver=20.8b1
-pkgrel=3
-pkgdesc='Uncompromising Python code formatter'
-arch=('any')
-url=https://github.com/psf/black
-license=('MIT')
-depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions'
-         'python-pathspec' 'python-regex' 'python-setuptools' 'python-toml'
-         'python-typed-ast' 'python-typing_extensions')
-checkdepends=('python-aiohttp' 'python-aiohttp-cors')
-optdepends=('python-aiohttp: for the blackd HTTP server'
-            'python-aiohttp-cors: for the blackd HTTP server'
-            'python-colorama: for colored diffs')
-source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz")
-sha256sums=('1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea')
-
-build() {
-  cd "black-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "black-$pkgver"
-  mkdir -p temp
-  local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
-  python setup.py install --skip-build --root=temp
-  PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python -m unittest tests/test_black.py
-}
-
-package() {
-  cd "black-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-black/repos/community-staging-any/PKGBUILD (from rev 750901, python-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:08:23 UTC (rev 750904)
@@ -0,0 +1,41 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: James Zhu <jameszhu at berkeley.edu>
+
+pkgname=python-black
+pkgver=20.8b1
+pkgrel=4
+pkgdesc='Uncompromising Python code formatter'
+arch=('any')
+url=https://github.com/psf/black
+license=('MIT')
+depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions'
+         'python-pathspec' 'python-regex' 'python-setuptools' 'python-toml'
+         'python-typed-ast' 'python-typing_extensions')
+checkdepends=('python-aiohttp' 'python-aiohttp-cors')
+optdepends=('python-aiohttp: for the blackd HTTP server'
+            'python-aiohttp-cors: for the blackd HTTP server'
+            'python-colorama: for colored diffs')
+source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz")
+sha256sums=('1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea')
+
+build() {
+  cd "black-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "black-$pkgver"
+  mkdir -p temp
+  local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
+  python setup.py install --skip-build --root=temp
+  PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python -m unittest tests/test_black.py
+}
+
+package() {
+  cd "black-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list