[arch-commits] Commit in python-black/trunk (PKGBUILD)

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 15:08:09
  Author: felixonmars
Revision: 750897

upgpkg: python-black 20.8b1-4: Python 3.9 rebuild

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 15:08:08 UTC (rev 750896)
+++ PKGBUILD2020-11-11 15:08:09 UTC (rev 750897)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=20.8b1
-pkgrel=3
+pkgrel=4
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 16:47:59
  Author: foutrelis
Revision: 747539

upgpkg: python-black 20.8b1-3: Python 3.9 rebuild

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 16:47:48 UTC (rev 747538)
+++ PKGBUILD2020-11-09 16:47:59 UTC (rev 747539)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=20.8b1
-pkgrel=2
+pkgrel=3
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2020-08-26 Thread Daniel M. Capella via arch-commits
Date: Thursday, August 27, 2020 @ 02:04:07
  Author: polyzen
Revision: 689222

upgpkg: python-black 20.8b1-2 Fix colorama optdep

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-27 01:59:47 UTC (rev 689221)
+++ PKGBUILD2020-08-27 02:04:07 UTC (rev 689222)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=20.8b1
-pkgrel=1
+pkgrel=2
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black
@@ -13,9 +13,9 @@
  'python-pathspec' 'python-regex' 'python-setuptools' 'python-toml'
  'python-typed-ast' 'python-typing_extensions')
 checkdepends=('python-aiohttp' 'python-aiohttp-cors')
-optdepends=('colorama: for colored diffs'
-'python-aiohttp: for the blackd HTTP server'
-'python-aiohttp-cors: for the blackd HTTP server')
+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=('1c02557aa099101b9d21496f8a914e9edef70336404eeeac8edba836fbea')
 


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2020-08-26 Thread Daniel M. Capella via arch-commits
Date: Thursday, August 27, 2020 @ 01:59:26
  Author: polyzen
Revision: 689220

upgpkg: python-black 20.8b1-1

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |   16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-27 00:39:23 UTC (rev 689219)
+++ PKGBUILD2020-08-27 01:59:26 UTC (rev 689220)
@@ -3,20 +3,21 @@
 # Contributor: James Zhu 
 
 pkgname=python-black
-pkgver=19.10b0
+pkgver=20.8b1
 pkgrel=1
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black
 license=('MIT')
-depends=('python' 'python-appdirs' 'python-attrs' 'python-click'
+depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions'
  'python-pathspec' 'python-regex' 'python-setuptools' 'python-toml'
- 'python-typed-ast')
+ 'python-typed-ast' 'python-typing_extensions')
 checkdepends=('python-aiohttp' 'python-aiohttp-cors')
-optdepends=('python-aiohttp: for the blackd HTTP server'
+optdepends=('colorama: for colored diffs'
+'python-aiohttp: for the blackd HTTP server'
 'python-aiohttp-cors: for the blackd HTTP server')
 
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz;)
-sha256sums=('c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539')
+sha256sums=('1c02557aa099101b9d21496f8a914e9edef70336404eeeac8edba836fbea')
 
 build() {
   cd "black-$pkgver"
@@ -25,7 +26,10 @@
 
 check() {
   cd "black-$pkgver"
-  python -m unittest tests/test_black.py
+  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() {


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2019-11-11 Thread Daniel M. Capella via arch-commits
Date: Monday, November 11, 2019 @ 20:20:54
  Author: polyzen
Revision: 526818

upgpkg: python-black 19.10b0-1

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-11 20:04:55 UTC (rev 526817)
+++ PKGBUILD2019-11-11 20:20:54 UTC (rev 526818)
@@ -3,19 +3,20 @@
 # Contributor: James Zhu 
 
 pkgname=python-black
-pkgver=19.3b0
-pkgrel=4
+pkgver=19.10b0
+pkgrel=1
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black
 license=('MIT')
-depends=('python' 'python-appdirs' 'python-attrs' 'python-click' 
'python-setuptools'
- 'python-toml')
-checkdepends=('python-aiohttp')
+depends=('python' 'python-appdirs' 'python-attrs' 'python-click'
+ 'python-pathspec' 'python-regex' 'python-setuptools' 'python-toml'
+ 'python-typed-ast')
+checkdepends=('python-aiohttp' 'python-aiohttp-cors')
 optdepends=('python-aiohttp: for the blackd HTTP server'
 'python-aiohttp-cors: for the blackd HTTP server')
 
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz;)
-sha256sums=('68950ffd4d9169716bcb8719a56c07a2f4485354fec061cdd5910aa07369731c')
+sha256sums=('c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539')
 
 build() {
   cd "black-$pkgver"


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2019-11-01 Thread Felix Yan via arch-commits
Date: Friday, November 1, 2019 @ 13:31:04
  Author: felixonmars
Revision: 521853

Python 3.8 rebuild

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:30:56 UTC (rev 521852)
+++ PKGBUILD2019-11-01 13:31:04 UTC (rev 521853)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=19.3b0
-pkgrel=3
+pkgrel=4
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 20:03:11
  Author: foutrelis
Revision: 519696

Python 3.8 rebuild

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 20:03:02 UTC (rev 519695)
+++ PKGBUILD2019-10-25 20:03:11 UTC (rev 519696)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=19.3b0
-pkgrel=2
+pkgrel=3
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2019-08-14 Thread Daniel M. Capella via arch-commits
Date: Thursday, August 15, 2019 @ 03:32:00
  Author: polyzen
Revision: 499310

upgpkg: python-black 19.3b0-2

- Add missing python-aiohttp-cors opt dep for blackd

- Use upstream checksum, as can be found by:
  `curl -s https://pypi.org/pypi/black/json | jq -r '.urls[1].digests.sha256'`

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-15 03:31:50 UTC (rev 499309)
+++ PKGBUILD2019-08-15 03:32:00 UTC (rev 499310)
@@ -4,17 +4,18 @@
 
 pkgname=python-black
 pkgver=19.3b0
-pkgrel=1
+pkgrel=2
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
-url=https://github.com/ambv/black
+url=https://github.com/psf/black
 license=('MIT')
 depends=('python' 'python-appdirs' 'python-attrs' 'python-click' 
'python-setuptools'
  'python-toml')
 checkdepends=('python-aiohttp')
-optdepends=('python-aiohttp: for the blackd HTTP server')
+optdepends=('python-aiohttp: for the blackd HTTP server'
+'python-aiohttp-cors: for the blackd HTTP server')
 
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz;)
-sha512sums=('db241d13c76b0c6fd218d9a741adce3c28447140add1346e540d6ba9238fe87bbd9b159fc9c36c685734da57a001144b4dc3a63c868a267aee36ceb4faa1fbc1')
+sha256sums=('68950ffd4d9169716bcb8719a56c07a2f4485354fec061cdd5910aa07369731c')
 
 build() {
   cd "black-$pkgver"


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2019-06-13 Thread Daniel M. Capella via arch-commits
Date: Thursday, June 13, 2019 @ 13:58:33
  Author: polyzen
Revision: 481273

Update email

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-13 13:02:28 UTC (rev 481272)
+++ PKGBUILD2019-06-13 13:58:33 UTC (rev 481273)
@@ -1,5 +1,5 @@
 # Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Daniel M. Capella 
+# Maintainer: Daniel M. Capella 
 # Contributor: James Zhu 
 
 pkgname=python-black
@@ -11,8 +11,8 @@
 license=('MIT')
 depends=('python' 'python-appdirs' 'python-attrs' 'python-click' 
'python-setuptools'
  'python-toml')
+checkdepends=('python-aiohttp')
 optdepends=('python-aiohttp: for the blackd HTTP server')
-checkdepends=('python-aiohttp')
 
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz;)
 
sha512sums=('db241d13c76b0c6fd218d9a741adce3c28447140add1346e540d6ba9238fe87bbd9b159fc9c36c685734da57a001144b4dc3a63c868a267aee36ceb4faa1fbc1')
 


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2019-03-14 Thread Maxim Baz via arch-commits
Date: Thursday, March 14, 2019 @ 18:01:44
  Author: maximbaz
Revision: 441047

upgpkg: python-black 19.3b0-1

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-14 17:49:39 UTC (rev 441046)
+++ PKGBUILD2019-03-14 18:01:44 UTC (rev 441047)
@@ -3,8 +3,8 @@
 # Contributor: James Zhu 
 
 pkgname=python-black
-pkgver=18.9b0
-pkgrel=3
+pkgver=19.3b0
+pkgrel=1
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/ambv/black
@@ -14,7 +14,7 @@
 optdepends=('python-aiohttp: for the blackd HTTP server')
 checkdepends=('python-aiohttp')
 
source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz;)
-sha512sums=('80f94867220f7511dfc72aa8886586530d33187e10c57a7721cb0c97e906941ef811811ef0b2afa77d5454ce00114f3724063a890c41af4d7b68ec59dee29a48')
+sha512sums=('db241d13c76b0c6fd218d9a741adce3c28447140add1346e540d6ba9238fe87bbd9b159fc9c36c685734da57a001144b4dc3a63c868a267aee36ceb4faa1fbc1')
 
 build() {
   cd "black-$pkgver"


[arch-commits] Commit in python-black/trunk (PKGBUILD)

2018-12-01 Thread Maxim Baz via arch-commits
Date: Saturday, December 1, 2018 @ 20:42:40
  Author: maximbaz
Revision: 410711

upgpkg: python-black 18.9b0-3

python-black: import from AUR

Added:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: PKGBUILD
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-12-01 20:42:40 UTC (rev 410711)
@@ -0,0 +1,35 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Daniel M. Capella 
+# Contributor: James Zhu 
+
+pkgname=python-black
+pkgver=18.9b0
+pkgrel=3
+pkgdesc='Uncompromising Python code formatter'
+arch=('any')
+url=https://github.com/ambv/black
+license=('MIT')
+depends=('python' 'python-appdirs' 'python-attrs' 'python-click' 
'python-setuptools'
+ 'python-toml')
+optdepends=('python-aiohttp: for the blackd HTTP server')
+checkdepends=('python-aiohttp')
+source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz;)
+sha512sums=('80f94867220f7511dfc72aa8886586530d33187e10c57a7721cb0c97e906941ef811811ef0b2afa77d5454ce00114f3724063a890c41af4d7b68ec59dee29a48')
+
+build() {
+  cd "black-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "black-$pkgver"
+  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: