[arch-commits] Commit in dehydrated/repos/community-any (6 files)

2022-09-09 Thread Daniel M. Capella via arch-commits
Date: Friday, September 9, 2022 @ 18:41:07
  Author: polyzen
Revision: 1297400

archrelease: copy trunk to community-any

Added:
  dehydrated/repos/community-any/PKGBUILD
(from rev 1297399, dehydrated/trunk/PKGBUILD)
  dehydrated/repos/community-any/dehydrated.service
(from rev 1297399, dehydrated/trunk/dehydrated.service)
  dehydrated/repos/community-any/dehydrated.timer
(from rev 1297399, dehydrated/trunk/dehydrated.timer)
Deleted:
  dehydrated/repos/community-any/PKGBUILD
  dehydrated/repos/community-any/dehydrated.service
  dehydrated/repos/community-any/dehydrated.timer

+
 PKGBUILD   |   62 ---
 dehydrated.service |   12 -
 dehydrated.timer   |   17 +++--
 3 files changed, 45 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-09 18:40:42 UTC (rev 1297399)
+++ PKGBUILD2022-09-09 18:41:07 UTC (rev 1297400)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: VVL 
-# Contributor: Alexander Görtz 
-# Contributor: Patrick Burroughs (Celti) 
-
-pkgname=dehydrated
-pkgver=0.7.0
-pkgrel=2
-pkgdesc='letsencrypt/acme client implemented as a shell-script – just add 
water'
-arch=('any')
-url=https://dehydrated.io
-license=('MIT')
-depends=('curl' 'diffutils' 'openssl')
-optdepends=('sudo: for the DEHYDRATED_USER option')
-source=("https://github.com/$pkgname-io/$pkgname/archive/v$pkgver/$pkgname-v$pkgver.tar.gz";
-"$pkgname".{service,timer})
-b2sums=('35a3b0b7592126ca65003a6c9eb8934a76584710d028057e5add7f77bb2fa3799e89a060306da3b98a62d291229a2a78f23e0f95f19e033796aee31e97b94488'
-
'd897cdf34621b377e6f9e6ba6d6a351f3290f6b08fd57fce723a85e44fe73b75003941bfa625e2213f4bb26e0753ab7d3e1f50a2530d0b6c37766b3061bec2ce'
-
'96dedbba91da53e7ceffbd8463021fc77dc11fa4e54d7f8869b71a7cc25e826a154e903ff154fa40ae2c75dbd8abfc9ad724ac4e60f4ae629684633dead2f4a6')
-
-package() {
-  cd $pkgname-$pkgver
-  install -d "$pkgdir"/etc/$pkgname
-  install -Dt "$pkgdir"/usr/bin $pkgname
-  install -Dm644 -t "$pkgdir"/usr/lib/systemd/system 
../$pkgname.{service,timer}
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname docs/*.md
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname/examples docs/examples/*
-  install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/man/$pkgname.1
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dehydrated/repos/community-any/PKGBUILD (from rev 1297399, 
dehydrated/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-09 18:41:07 UTC (rev 1297400)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: VVL 
+# Contributor: Alexander Görtz 
+# Contributor: Patrick Burroughs (Celti) 
+
+pkgname=dehydrated
+pkgver=0.7.0
+pkgrel=3
+pkgdesc='letsencrypt/acme client implemented as a shell-script – just add 
water'
+arch=('any')
+url=https://dehydrated.io
+license=('MIT')
+depends=('curl' 'diffutils' 'openssl')
+optdepends=('sudo: for the DEHYDRATED_USER option')
+source=("https://github.com/$pkgname-io/$pkgname/archive/v$pkgver/$pkgname-v$pkgver.tar.gz";
+"$pkgname".{service,timer})
+b2sums=('35a3b0b7592126ca65003a6c9eb8934a76584710d028057e5add7f77bb2fa3799e89a060306da3b98a62d291229a2a78f23e0f95f19e033796aee31e97b94488'
+
'd897cdf34621b377e6f9e6ba6d6a351f3290f6b08fd57fce723a85e44fe73b75003941bfa625e2213f4bb26e0753ab7d3e1f50a2530d0b6c37766b3061bec2ce'
+
'df0d85ae33cbd27502bbbcf3f3055a29b2d38b2863a59dc6ea4fce1c7811b68bea14c404377dfde18ed32b1232331db020ca8d015f471fb6f8e919e7b0a32d2a')
+
+package() {
+  cd $pkgname-$pkgver
+  install -d "$pkgdir"/etc/$pkgname
+  install -Dt "$pkgdir"/usr/bin $pkgname
+  install -Dm644 -t "$pkgdir"/usr/lib/systemd/system 
../$pkgname.{service,timer}
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname docs/*.md
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname/examples docs/examples/*
+  install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/man/$pkgname.1
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}

Deleted: dehydrated.service
===
--- dehydrated.service  2022-09-09 18:40:42 UTC (rev 1297399)
+++ dehydrated.service  2022-09-09 18:41:07 UTC (rev 1297400)
@@ -1,6 +0,0 @@
-[Unit]
-Description=Check and renew ACME TLS certificates
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/dehydrated -c

Copied: dehydrated/repos/community-any/dehydrated.service (from rev 1297399, 
dehydrated/trunk/dehydrated.service)
===
--- dehydrated.service  (rev 0)
+++ dehydrated.service  2022-09-09 18:41:07 UTC (rev 1297400)
@@ -0,0 +1,6 @@
+[Unit]
+Description=Check and renew ACME TLS certificates
+
+[Service]
+Typ

[arch-commits] Commit in dehydrated/trunk (PKGBUILD dehydrated.timer)

2022-09-09 Thread Daniel M. Capella via arch-commits
Date: Friday, September 9, 2022 @ 18:40:42
  Author: polyzen
Revision: 1297399

upgpkg: dehydrated 0.7.0-3

Modified:
  dehydrated/trunk/PKGBUILD
  dehydrated/trunk/dehydrated.timer

--+
 PKGBUILD |4 ++--
 dehydrated.timer |1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-09 18:38:54 UTC (rev 1297398)
+++ PKGBUILD2022-09-09 18:40:42 UTC (rev 1297399)
@@ -5,7 +5,7 @@
 
 pkgname=dehydrated
 pkgver=0.7.0
-pkgrel=2
+pkgrel=3
 pkgdesc='letsencrypt/acme client implemented as a shell-script – just add 
water'
 arch=('any')
 url=https://dehydrated.io
@@ -16,7 +16,7 @@
 "$pkgname".{service,timer})
 
b2sums=('35a3b0b7592126ca65003a6c9eb8934a76584710d028057e5add7f77bb2fa3799e89a060306da3b98a62d291229a2a78f23e0f95f19e033796aee31e97b94488'
 
'd897cdf34621b377e6f9e6ba6d6a351f3290f6b08fd57fce723a85e44fe73b75003941bfa625e2213f4bb26e0753ab7d3e1f50a2530d0b6c37766b3061bec2ce'
-
'96dedbba91da53e7ceffbd8463021fc77dc11fa4e54d7f8869b71a7cc25e826a154e903ff154fa40ae2c75dbd8abfc9ad724ac4e60f4ae629684633dead2f4a6')
+
'df0d85ae33cbd27502bbbcf3f3055a29b2d38b2863a59dc6ea4fce1c7811b68bea14c404377dfde18ed32b1232331db020ca8d015f471fb6f8e919e7b0a32d2a')
 
 package() {
   cd $pkgname-$pkgver

Modified: dehydrated.timer
===
--- dehydrated.timer2022-09-09 18:38:54 UTC (rev 1297398)
+++ dehydrated.timer2022-09-09 18:40:42 UTC (rev 1297399)
@@ -3,6 +3,7 @@
 
 [Timer]
 OnCalendar=daily UTC
+RandomizedDelaySec=8m
 
 [Install]
 WantedBy=timers.target



[arch-commits] Commit in go-yq/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-09-08 Thread Daniel M. Capella via arch-commits
Date: Friday, September 9, 2022 @ 02:47:10
  Author: polyzen
Revision: 1296940

archrelease: copy trunk to community-x86_64

Added:
  go-yq/repos/community-x86_64/PKGBUILD
(from rev 1296939, go-yq/trunk/PKGBUILD)
Deleted:
  go-yq/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-09 02:46:47 UTC (rev 1296939)
+++ PKGBUILD2022-09-09 02:47:10 UTC (rev 1296940)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Maintainer: Caleb Maclennan 
-# Contributor: Mario Finelli 
-
-pkgname=go-yq
-pkgver=4.27.3
-pkgrel=1
-pkgdesc='Portable command-line YAML processor'
-arch=('x86_64')
-url=https://github.com/mikefarah/yq
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-conflicts=('yq')
-source=("$url/archive/v$pkgver/yq-$pkgver.tar.gz")
-b2sums=('efb9cc868b36739a42c3e1763cc90c1ddef447370f3b5590e1e191bdbbcaec871614f388452b23c1e691f55571064eff744340e51bf1449e5c16c8b7e0a96f5c')
-
-prepare() {
-  cd yq-$pkgver
-  go mod vendor
-}
-
-build() {
-  cd yq-$pkgver
-  export CGO_CPPFLAGS="$CPPFLAGS"
-  export CGO_CFLAGS="$CFLAGS"
-  export CGO_CXXFLAGS="$CXXFLAGS"
-  export CGO_LDFLAGS="$LDFLAGS"
-  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-modcacherw"
-  go build .
-}
-
-check() {
-  cd yq-$pkgver
-  go test ./...
-}
-
-package() {
-  cd yq-$pkgver
-  install -Dt "$pkgdir"/usr/bin yq
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
-
-  ./yq shell-completion bash | install -Dm644 /dev/stdin \
-"$pkgdir"/usr/share/bash-completion/completions/yq
-  ./yq shell-completion zsh | install -Dm644 /dev/stdin \
-"$pkgdir"/usr/share/zsh/site-functions/_yq
-  ./yq shell-completion fish | install -Dm644 /dev/stdin \
-"$pkgdir"/usr/share/fish/vendor_completions.d/yq.fish
-}
-
-# vim:set ts=2 sw=2 et:

Copied: go-yq/repos/community-x86_64/PKGBUILD (from rev 1296939, 
go-yq/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-09 02:47:10 UTC (rev 1296940)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella 
+# Maintainer: Caleb Maclennan 
+# Contributor: Mario Finelli 
+
+pkgname=go-yq
+pkgver=4.27.4
+pkgrel=1
+pkgdesc='Portable command-line YAML processor'
+arch=('x86_64')
+url=https://github.com/mikefarah/yq
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+conflicts=('yq')
+source=("$url/archive/v$pkgver/yq-$pkgver.tar.gz")
+b2sums=('2bc3d40f416f178c846954c1e6f52dd8c3bd7a109ba1132176c7181c6712f5712f61af0c51128e53f3ea0a7080eef850de2e921c9392b9ff05e3122c7bb232db')
+
+prepare() {
+  cd yq-$pkgver
+  go mod vendor
+}
+
+build() {
+  cd yq-$pkgver
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export CGO_LDFLAGS="$LDFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-modcacherw"
+  go build .
+}
+
+check() {
+  cd yq-$pkgver
+  go test ./...
+}
+
+package() {
+  cd yq-$pkgver
+  install -Dt "$pkgdir"/usr/bin yq
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
+
+  ./yq shell-completion bash | install -Dm644 /dev/stdin \
+"$pkgdir"/usr/share/bash-completion/completions/yq
+  ./yq shell-completion zsh | install -Dm644 /dev/stdin \
+"$pkgdir"/usr/share/zsh/site-functions/_yq
+  ./yq shell-completion fish | install -Dm644 /dev/stdin \
+"$pkgdir"/usr/share/fish/vendor_completions.d/yq.fish
+}
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in go-yq/trunk (PKGBUILD)

2022-09-08 Thread Daniel M. Capella via arch-commits
Date: Friday, September 9, 2022 @ 02:46:47
  Author: polyzen
Revision: 1296939

upgpkg: go-yq 4.27.4-1

Modified:
  go-yq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-09 01:35:55 UTC (rev 1296938)
+++ PKGBUILD2022-09-09 02:46:47 UTC (rev 1296939)
@@ -3,7 +3,7 @@
 # Contributor: Mario Finelli 
 
 pkgname=go-yq
-pkgver=4.27.3
+pkgver=4.27.4
 pkgrel=1
 pkgdesc='Portable command-line YAML processor'
 arch=('x86_64')
@@ -13,7 +13,7 @@
 makedepends=('go')
 conflicts=('yq')
 source=("$url/archive/v$pkgver/yq-$pkgver.tar.gz")
-b2sums=('efb9cc868b36739a42c3e1763cc90c1ddef447370f3b5590e1e191bdbbcaec871614f388452b23c1e691f55571064eff744340e51bf1449e5c16c8b7e0a96f5c')
+b2sums=('2bc3d40f416f178c846954c1e6f52dd8c3bd7a109ba1132176c7181c6712f5712f61af0c51128e53f3ea0a7080eef850de2e921c9392b9ff05e3122c7bb232db')
 
 prepare() {
   cd yq-$pkgver



[arch-commits] Commit in borgmatic/repos/community-any (PKGBUILD PKGBUILD)

2022-09-08 Thread Daniel M. Capella via arch-commits
Date: Thursday, September 8, 2022 @ 18:48:52
  Author: polyzen
Revision: 1296873

archrelease: copy trunk to community-any

Added:
  borgmatic/repos/community-any/PKGBUILD
(from rev 1296872, borgmatic/trunk/PKGBUILD)
Deleted:
  borgmatic/repos/community-any/PKGBUILD

--+
 PKGBUILD |   98 ++---
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-08 18:48:30 UTC (rev 1296872)
+++ PKGBUILD2022-09-08 18:48:52 UTC (rev 1296873)
@@ -1,49 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Kr1ss $(echo \|sed s/\+/./g\;s/\-/@/)
-# Contributor: Alexander Görtz 
-# Contributor: Dan Beste 
-# Contributor: Julien Nicoulaud 
-# Contributor: stef204 
-
-pkgname=borgmatic
-pkgver=1.7.1
-pkgrel=2
-pkgdesc='Simple, configuration-driven backup software for servers and 
workstations'
-arch=('any')
-url=https://torsion.org/borgmatic
-license=('GPL3')
-depends=('borg' 'python-colorama' 'python-jsonschema' 'python-requests'
- 'python-ruamel-yaml' 'python-setuptools')
-makedepends=('python-build' 'python-installer' 'python-wheel')
-checkdepends=('python-flexmock' 'python-pytest')
-optdepends=('python-llfuse: for mount action')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('250045b4bfd77ff1ef288b8967c8643036f1cb1e5410d874f56bbc1fd8b49b4c')
-b2sums=('0076fac9a01715d24dd8dfa9ca93099c94cfe33f65850c089a337b3f95b6c52706d0e6b15200532c0fcca9401f97c02d6ebabd700e42f5d9bb3516e04e7fa0a4')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest -c /dev/null \
---ignore=tests/end-to-end
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm644 -t "$pkgdir"/usr/lib/systemd/system sample/systemd/*
-  install -d "$pkgdir"/usr/share/bash-completion/completions
-  ./test-env/bin/borgmatic --bash-completion > \
-"$pkgdir"/usr/share/bash-completion/completions/$pkgname
-}

Copied: borgmatic/repos/community-any/PKGBUILD (from rev 1296872, 
borgmatic/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-08 18:48:52 UTC (rev 1296873)
@@ -0,0 +1,49 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Kr1ss $(echo \|sed s/\+/./g\;s/\-/@/)
+# Contributor: Alexander Görtz 
+# Contributor: Dan Beste 
+# Contributor: Julien Nicoulaud 
+# Contributor: stef204 
+
+pkgname=borgmatic
+pkgver=1.7.2
+pkgrel=1
+pkgdesc='Simple, configuration-driven backup software for servers and 
workstations'
+arch=('any')
+url=https://torsion.org/borgmatic
+license=('GPL3')
+depends=('borg' 'python-colorama' 'python-jsonschema' 'python-requests'
+ 'python-ruamel-yaml' 'python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-flexmock' 'python-pytest')
+optdepends=('python-llfuse: for mount action')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha256sums=('d28dad2a0ec17e190db7f93c5dd6756a069227128ee4ec41e5a691815f483de5')
+b2sums=('fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's,root/.local,usr,' sample/systemd/$pkgname.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest -c /dev/null \
+--ignore=tests/end-to-end
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 -t "$pkgdir"/usr/lib/systemd/system sample/systemd/*
+  install -d "$pkgdir"/usr/share/bash-completion/completions
+  ./test-env/bin/borgmatic --bash-completion > \
+"$pkgdir"/usr/share/bash-completion/completions/$pkgname
+}



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

2022-09-08 Thread Daniel M. Capella via arch-commits
Date: Thursday, September 8, 2022 @ 18:48:30
  Author: polyzen
Revision: 1296872

upgpkg: borgmatic 1.7.2-1

Modified:
  borgmatic/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-08 17:41:44 UTC (rev 1296871)
+++ PKGBUILD2022-09-08 18:48:30 UTC (rev 1296872)
@@ -6,8 +6,8 @@
 # Contributor: stef204 
 
 pkgname=borgmatic
-pkgver=1.7.1
-pkgrel=2
+pkgver=1.7.2
+pkgrel=1
 pkgdesc='Simple, configuration-driven backup software for servers and 
workstations'
 arch=('any')
 url=https://torsion.org/borgmatic
@@ -18,8 +18,8 @@
 checkdepends=('python-flexmock' 'python-pytest')
 optdepends=('python-llfuse: for mount action')
 
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('250045b4bfd77ff1ef288b8967c8643036f1cb1e5410d874f56bbc1fd8b49b4c')
-b2sums=('0076fac9a01715d24dd8dfa9ca93099c94cfe33f65850c089a337b3f95b6c52706d0e6b15200532c0fcca9401f97c02d6ebabd700e42f5d9bb3516e04e7fa0a4')
+sha256sums=('d28dad2a0ec17e190db7f93c5dd6756a069227128ee4ec41e5a691815f483de5')
+b2sums=('fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in pacman-contrib/repos/community-x86_64 (4 files)

2022-09-07 Thread Daniel M. Capella via arch-commits
Date: Thursday, September 8, 2022 @ 03:47:35
  Author: polyzen
Revision: 1296136

archrelease: copy trunk to community-x86_64

Added:
  
pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
(from rev 1296135, 
pacman-contrib/trunk/0001-pactree-fix-compilation-with-pacman-6.patch)
  pacman-contrib/repos/community-x86_64/PKGBUILD
(from rev 1296135, pacman-contrib/trunk/PKGBUILD)
Deleted:
  
pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
  pacman-contrib/repos/community-x86_64/PKGBUILD

--+
 0001-pactree-fix-compilation-with-pacman-6.patch |   88 +--
 PKGBUILD |   94 ++---
 2 files changed, 91 insertions(+), 91 deletions(-)

Deleted: 0001-pactree-fix-compilation-with-pacman-6.patch
===
--- 0001-pactree-fix-compilation-with-pacman-6.patch2022-09-08 03:47:13 UTC 
(rev 1296135)
+++ 0001-pactree-fix-compilation-with-pacman-6.patch2022-09-08 03:47:35 UTC 
(rev 1296136)
@@ -1,44 +0,0 @@
-From fd21ee241c85856be941e41942d6c179ca713c41 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz via pacman-contrib 
-Date: Fri, 21 May 2021 00:30:07 -0400
-Subject: [PATCH] pactree: fix compilation with pacman 6
-
-In "add front-end provided context to callbacks", libalpm gained a new
-argument to callbacks which we don't use and is only needed by some
-frontends wishing to do stuff with the callback state. NULL it and move
-on with life, just like pacman itself did.
-
-Signed-off-by: Eli Schwartz 
-Signed-off-by: Daniel M. Capella 

- src/pactree.c | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/pactree.c b/src/pactree.c
-index e8f5086..9e6ac1b 100644
 a/src/pactree.c
-+++ b/src/pactree.c
-@@ -135,8 +135,10 @@ static const char *dbpath = DBPATH;
- static const char *configfile = CONFFILE;
- static const char *gpgdir = GPGDIR;
- 
--void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
-+void cb_log(void *ctx, alpm_loglevel_t level, const char *fmt, va_list args)
- {
-+  (void)ctx;
-+
-   switch(level) {
-   case ALPM_LOG_ERROR:
-   fprintf(stderr, "%s%s%s", color->error, "error: ",
-@@ -621,7 +623,7 @@ int main(int argc, char *argv[])
-   }
- 
-   if(debug) {
--  alpm_option_set_logcb(handle, cb_log);
-+  alpm_option_set_logcb(handle, cb_log, NULL);
-   }
- 
-   /* no need to fail on error here */
--- 
-2.31.1
-

Copied: 
pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
 (from rev 1296135, 
pacman-contrib/trunk/0001-pactree-fix-compilation-with-pacman-6.patch)
===
--- 0001-pactree-fix-compilation-with-pacman-6.patch
(rev 0)
+++ 0001-pactree-fix-compilation-with-pacman-6.patch2022-09-08 03:47:35 UTC 
(rev 1296136)
@@ -0,0 +1,44 @@
+From fd21ee241c85856be941e41942d6c179ca713c41 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz via pacman-contrib 
+Date: Fri, 21 May 2021 00:30:07 -0400
+Subject: [PATCH] pactree: fix compilation with pacman 6
+
+In "add front-end provided context to callbacks", libalpm gained a new
+argument to callbacks which we don't use and is only needed by some
+frontends wishing to do stuff with the callback state. NULL it and move
+on with life, just like pacman itself did.
+
+Signed-off-by: Eli Schwartz 
+Signed-off-by: Daniel M. Capella 
+---
+ src/pactree.c | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/pactree.c b/src/pactree.c
+index e8f5086..9e6ac1b 100644
+--- a/src/pactree.c
 b/src/pactree.c
+@@ -135,8 +135,10 @@ static const char *dbpath = DBPATH;
+ static const char *configfile = CONFFILE;
+ static const char *gpgdir = GPGDIR;
+ 
+-void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
++void cb_log(void *ctx, alpm_loglevel_t level, const char *fmt, va_list args)
+ {
++  (void)ctx;
++
+   switch(level) {
+   case ALPM_LOG_ERROR:
+   fprintf(stderr, "%s%s%s", color->error, "error: ",
+@@ -621,7 +623,7 @@ int main(int argc, char *argv[])
+   }
+ 
+   if(debug) {
+-  alpm_option_set_logcb(handle, cb_log);
++  alpm_option_set_logcb(handle, cb_log, NULL);
+   }
+ 
+   /* no need to fail on error here */
+-- 
+2.31.1
+

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-08 03:47:13 UTC (rev 1296135)
+++ PKGBUILD2022-09-08 03:47:35 UTC (rev 1296136)
@@ -1,47 +0,0 @@
-# Maintainer: Johannes Löthberg 
-# Maintainer: Daniel M. Capella 
-
-pkgname=pacman-contrib
-pkgver=1.7.0
-pkgrel=1
-pkgdesc='Contributed scripts and tools for pacman systems'
-arch=('x86_64')
-url=https://gitlab.archlinux.org/pacma

[arch-commits] Commit in pacman-contrib/trunk (PKGBUILD)

2022-09-07 Thread Daniel M. Capella via arch-commits
Date: Thursday, September 8, 2022 @ 03:47:13
  Author: polyzen
Revision: 1296135

upgpkg: pacman-contrib 1.7.1-1

Modified:
  pacman-contrib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-08 02:09:05 UTC (rev 1296134)
+++ PKGBUILD2022-09-08 03:47:13 UTC (rev 1296135)
@@ -2,7 +2,7 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=pacman-contrib
-pkgver=1.7.0
+pkgver=1.7.1
 pkgrel=1
 pkgdesc='Contributed scripts and tools for pacman systems'
 arch=('x86_64')
@@ -16,7 +16,7 @@
 'sudo: privilege elevation for several scripts'
 'vim: default merge program for pacdiff')
 source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-b2sums=('6c6710d55dce0f8189b3f821f50df25a312a2b05801fdfad23638422ea314156523349ffc0a9247f6a22ce618d0e45ccf551d2ae13de05a0a1c1366242313fb0')
+b2sums=('ab708c285cb19320a01aadfdce2cea7152278411d59f2c0f353e30061f415bd1feb926f18d8ef1f8ab43950ed9c4dd1e91deaad9562564a8cf01655e390c5d9d')
 #validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5'  # Johannes Löthberg 

 #  '04DC3FB1445FECA813C27EFAEA4F7B321A906AD9') # Daniel M. Capella 

 



[arch-commits] Commit in ttf-nerd-fonts-symbols/repos/community-any (4 files)

2022-09-07 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 17:47:40
  Author: polyzen
Revision: 1296101

archrelease: copy trunk to community-any

Added:
  ttf-nerd-fonts-symbols/repos/community-any/PKGBUILD
(from rev 1296100, ttf-nerd-fonts-symbols/trunk/PKGBUILD)
  ttf-nerd-fonts-symbols/repos/community-any/ttf-nerd-fonts-symbols.install
(from rev 1296100, 
ttf-nerd-fonts-symbols/trunk/ttf-nerd-fonts-symbols.install)
Deleted:
  ttf-nerd-fonts-symbols/repos/community-any/PKGBUILD
  ttf-nerd-fonts-symbols/repos/community-any/ttf-nerd-fonts-symbols.install

+
 PKGBUILD   |  138 +++
 ttf-nerd-fonts-symbols.install |   26 +++
 2 files changed, 82 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-07 17:47:15 UTC (rev 1296100)
+++ PKGBUILD2022-09-07 17:47:40 UTC (rev 1296101)
@@ -1,69 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Asger Hautop Drewsen 
-
-pkgname=('ttf-nerd-fonts-symbols-1000-em' 
'ttf-nerd-fonts-symbols-1000-em-mono' 'ttf-nerd-fonts-symbols-2048-em' 
'ttf-nerd-fonts-symbols-2048-em-mono')
-pkgbase=ttf-nerd-fonts-symbols
-pkgver=2.2.1
-pkgrel=5
-pkgdesc="High number of extra glyphs from popular 'iconic fonts'"
-arch=('any')
-url=https://github.com/ryanoasis/nerd-fonts
-license=('MIT')
-provides=('nerd-fonts' 'ttf-font-nerd')
-install=$pkgbase.install
-source=("Symbols-1000-em_Nerd_Font_Complete-$pkgver.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/patched-fonts/NerdFontsSymbolsOnly/complete/Symbols-1000-em%20Nerd%20Font%20Complete.ttf";
-
"Symbols-1000-em_Nerd_Font_Complete_Mono-$pkgver.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/patched-fonts/NerdFontsSymbolsOnly/complete/Symbols-1000-em%20Nerd%20Font%20Complete%20Mono.ttf";
-
"Symbols-2048-em_Nerd_Font_Complete-$pkgver.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/patched-fonts/NerdFontsSymbolsOnly/complete/Symbols-2048-em%20Nerd%20Font%20Complete.ttf";
-
"Symbols-2048-em_Nerd_Font_Complete_Mono-$pkgver.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/patched-fonts/NerdFontsSymbolsOnly/complete/Symbols-2048-em%20Nerd%20Font%20Complete%20Mono.ttf";
-
"10-nerd-font-symbols-$pkgver.conf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/10-nerd-font-symbols.conf";
-
"Nerd_Fonts-$pkgver-LICENSE::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/LICENSE";)
-b2sums=('675aac8cc9e663764b5ae2972bf87a5022aea1f1629c4fa4b40d658b10c250c18026587c72a30e0dcb178472d157879172b58de2b254e68f62c90ec33f16e8f4'
-
'fe88f228c8b5ce6e1405462c6f18036cbb8669fc2e84988362f2b3345e8af7e0bd0f7da671c3cd046fc68e3999d77b29afa3a5037db3857b7a97f4d25e07c76a'
-
'b2268d0b71afabe9faf00b3fdfdb037d7aa2f1aae8c295668763e21c681b3708f142f3be926e2ba933c9eaab25bc9cbc78475b3dd9984b5658a9f165f64f63af'
-
'eb584868a70400b76a3649e2e82d600f3c271ab02ee637df23eba8310f4715bee192cb427d1de2d40aa158e2ce371801fb8c58cc1fa3e3ed9d8068ef3ae48ea5'
-
'd73e826f433d42428bc467a734d3fd6280876b2fe23a1384730b2bc0fd4521a6d372654f835350d28b346e3cad8e7d6fa47dd11be8d3fae6e61d4707e7fd397b'
-
'386dfcb5ead367bfc44fc55f7e94548c03bdb24ca088ab56f9609e7cdaa3eab9c56b548966feaf7312da606b645e9af35556fc212132733efcdbcc17397c808a')
-
-_package() {
-  case "$1" in
-ttf-nerd-fonts-symbols-1000-em)
-  pkgdesc+=' (1000-em)'
-  conflicts=('ttf-nerd-fonts-symbols-mono' 
'ttf-nerd-fonts-symbols-1000-em-mono' 'ttf-nerd-fonts-symbols-2048-em' 
'ttf-nerd-fonts-symbols-2048-em-mono')
-  replaces=('ttf-nerd-fonts-symbols-mono')
-
-  install -Dm644 "Symbols-1000-em_Nerd_Font_Complete-$pkgver.ttf" \
-"$pkgdir/usr/share/fonts/TTF/Symbols-1000-em Nerd Font Complete.ttf"
-;;
-ttf-nerd-fonts-symbols-1000-em-mono)
-  pkgdesc+=' (1000-em monospace)'
-  conflicts=('ttf-nerd-fonts-symbols-1000-em' 
'ttf-nerd-fonts-symbols-2048-em' 'ttf-nerd-fonts-symbols-2048-em-mono')
-
-  install -Dm644 "Symbols-1000-em_Nerd_Font_Complete_Mono-$pkgver.ttf" \
-"$pkgdir/usr/share/fonts/TTF/Symbols-1000-em Nerd Font Complete 
Mono.ttf"
-;;
-ttf-nerd-fonts-symbols-2048-em)
-  pkgdesc+=' (2048-em)'
-  conflicts=('ttf-nerd-fonts-symbols' 'ttf-nerd-fonts-symbols-1000-em' 
'ttf-nerd-fonts-symbols-1000-em-mono' 'ttf-nerd-fonts-symbols-2048-em-mono')
-  replaces=('ttf-nerd-fonts-symbols')
-
-  install -Dm644 "Symbols-2048-em_Nerd_Font_Complete-$pkgver.ttf" \
-"$pkgdir/usr/share/fonts/TTF/Symbols-2048-em Nerd Font Complete.ttf"
-;;
-ttf-nerd-fonts-symbols-2048-em-mono)
-  pkgdesc+=' (2048-em monospace)'
-  conflicts=('ttf-nerd-fonts-symbols-1000-em' 
'ttf-nerd-fonts-symbols-1000-em-mono' 'ttf-nerd-fonts-symbols-2048-em')
-
-  install -Dm644 "Symbols-2048-em_Nerd_Font_Complete_Mono-$pkgver.ttf"

[arch-commits] Commit in ttf-nerd-fonts-symbols/trunk (PKGBUILD)

2022-09-07 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 17:47:15
  Author: polyzen
Revision: 1296100

upgpkg: ttf-nerd-fonts-symbols 2.2.2-1

Modified:
  ttf-nerd-fonts-symbols/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-07 15:22:43 UTC (rev 1296099)
+++ PKGBUILD2022-09-07 17:47:15 UTC (rev 1296100)
@@ -3,8 +3,8 @@
 
 pkgname=('ttf-nerd-fonts-symbols-1000-em' 
'ttf-nerd-fonts-symbols-1000-em-mono' 'ttf-nerd-fonts-symbols-2048-em' 
'ttf-nerd-fonts-symbols-2048-em-mono')
 pkgbase=ttf-nerd-fonts-symbols
-pkgver=2.2.1
-pkgrel=5
+pkgver=2.2.2
+pkgrel=1
 pkgdesc="High number of extra glyphs from popular 'iconic fonts'"
 arch=('any')
 url=https://github.com/ryanoasis/nerd-fonts
@@ -17,10 +17,10 @@
 
"Symbols-2048-em_Nerd_Font_Complete_Mono-$pkgver.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/patched-fonts/NerdFontsSymbolsOnly/complete/Symbols-2048-em%20Nerd%20Font%20Complete%20Mono.ttf";
 
"10-nerd-font-symbols-$pkgver.conf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/10-nerd-font-symbols.conf";
 
"Nerd_Fonts-$pkgver-LICENSE::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v$pkgver/LICENSE";)
-b2sums=('675aac8cc9e663764b5ae2972bf87a5022aea1f1629c4fa4b40d658b10c250c18026587c72a30e0dcb178472d157879172b58de2b254e68f62c90ec33f16e8f4'
-
'fe88f228c8b5ce6e1405462c6f18036cbb8669fc2e84988362f2b3345e8af7e0bd0f7da671c3cd046fc68e3999d77b29afa3a5037db3857b7a97f4d25e07c76a'
-
'b2268d0b71afabe9faf00b3fdfdb037d7aa2f1aae8c295668763e21c681b3708f142f3be926e2ba933c9eaab25bc9cbc78475b3dd9984b5658a9f165f64f63af'
-
'eb584868a70400b76a3649e2e82d600f3c271ab02ee637df23eba8310f4715bee192cb427d1de2d40aa158e2ce371801fb8c58cc1fa3e3ed9d8068ef3ae48ea5'
+b2sums=('f784ec1f770dd3fd796d253cb7332914ed649cc2832320c61d0c8a7ca6ecd07a205ac69c4162416632634d179bdfac0886f90b972273f7b6ecb03e21044a63da'
+
'bbc63fa7760753832511d1e6ca3e6f8d840ba075944a5a81c72932be3c010742f7aa3ccffdce53fab0cbde52a39a7864e4e9d32f616beaf8e79eb1a8c4e843c8'
+
'4b747286be4e3939d10cd4fabed6bd031cc62bd59b10127bced85f1bd7f2ce0db7749322054b220fd2d1950be1ab1d0fb5a8ec1b4cc7c96b949d904cc10d039b'
+
'77a12675e8357d8f323e6d116d2f50a735c2254dc266ef1f3c77f8310b5f00790e7713634f64e5b955d8078c64f0138ce33fd40c490bdd6e50d9280e4f186cdb'
 
'd73e826f433d42428bc467a734d3fd6280876b2fe23a1384730b2bc0fd4521a6d372654f835350d28b346e3cad8e7d6fa47dd11be8d3fae6e61d4707e7fd397b'
 
'386dfcb5ead367bfc44fc55f7e94548c03bdb24ca088ab56f9609e7cdaa3eab9c56b548966feaf7312da606b645e9af35556fc212132733efcdbcc17397c808a')
 



[arch-commits] Commit in pacman-contrib/repos/community-x86_64 (4 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 05:59:41
  Author: polyzen
Revision: 1296032

archrelease: copy trunk to community-x86_64

Added:
  
pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
(from rev 1296031, 
pacman-contrib/trunk/0001-pactree-fix-compilation-with-pacman-6.patch)
  pacman-contrib/repos/community-x86_64/PKGBUILD
(from rev 1296031, pacman-contrib/trunk/PKGBUILD)
Deleted:
  
pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
  pacman-contrib/repos/community-x86_64/PKGBUILD

--+
 0001-pactree-fix-compilation-with-pacman-6.patch |   88 +--
 PKGBUILD |   94 ++---
 2 files changed, 91 insertions(+), 91 deletions(-)

Deleted: 0001-pactree-fix-compilation-with-pacman-6.patch
===
--- 0001-pactree-fix-compilation-with-pacman-6.patch2022-09-07 05:59:19 UTC 
(rev 1296031)
+++ 0001-pactree-fix-compilation-with-pacman-6.patch2022-09-07 05:59:41 UTC 
(rev 1296032)
@@ -1,44 +0,0 @@
-From fd21ee241c85856be941e41942d6c179ca713c41 Mon Sep 17 00:00:00 2001
-From: Eli Schwartz via pacman-contrib 
-Date: Fri, 21 May 2021 00:30:07 -0400
-Subject: [PATCH] pactree: fix compilation with pacman 6
-
-In "add front-end provided context to callbacks", libalpm gained a new
-argument to callbacks which we don't use and is only needed by some
-frontends wishing to do stuff with the callback state. NULL it and move
-on with life, just like pacman itself did.
-
-Signed-off-by: Eli Schwartz 
-Signed-off-by: Daniel M. Capella 

- src/pactree.c | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/pactree.c b/src/pactree.c
-index e8f5086..9e6ac1b 100644
 a/src/pactree.c
-+++ b/src/pactree.c
-@@ -135,8 +135,10 @@ static const char *dbpath = DBPATH;
- static const char *configfile = CONFFILE;
- static const char *gpgdir = GPGDIR;
- 
--void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
-+void cb_log(void *ctx, alpm_loglevel_t level, const char *fmt, va_list args)
- {
-+  (void)ctx;
-+
-   switch(level) {
-   case ALPM_LOG_ERROR:
-   fprintf(stderr, "%s%s%s", color->error, "error: ",
-@@ -621,7 +623,7 @@ int main(int argc, char *argv[])
-   }
- 
-   if(debug) {
--  alpm_option_set_logcb(handle, cb_log);
-+  alpm_option_set_logcb(handle, cb_log, NULL);
-   }
- 
-   /* no need to fail on error here */
--- 
-2.31.1
-

Copied: 
pacman-contrib/repos/community-x86_64/0001-pactree-fix-compilation-with-pacman-6.patch
 (from rev 1296031, 
pacman-contrib/trunk/0001-pactree-fix-compilation-with-pacman-6.patch)
===
--- 0001-pactree-fix-compilation-with-pacman-6.patch
(rev 0)
+++ 0001-pactree-fix-compilation-with-pacman-6.patch2022-09-07 05:59:41 UTC 
(rev 1296032)
@@ -0,0 +1,44 @@
+From fd21ee241c85856be941e41942d6c179ca713c41 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz via pacman-contrib 
+Date: Fri, 21 May 2021 00:30:07 -0400
+Subject: [PATCH] pactree: fix compilation with pacman 6
+
+In "add front-end provided context to callbacks", libalpm gained a new
+argument to callbacks which we don't use and is only needed by some
+frontends wishing to do stuff with the callback state. NULL it and move
+on with life, just like pacman itself did.
+
+Signed-off-by: Eli Schwartz 
+Signed-off-by: Daniel M. Capella 
+---
+ src/pactree.c | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/pactree.c b/src/pactree.c
+index e8f5086..9e6ac1b 100644
+--- a/src/pactree.c
 b/src/pactree.c
+@@ -135,8 +135,10 @@ static const char *dbpath = DBPATH;
+ static const char *configfile = CONFFILE;
+ static const char *gpgdir = GPGDIR;
+ 
+-void cb_log(alpm_loglevel_t level, const char *fmt, va_list args)
++void cb_log(void *ctx, alpm_loglevel_t level, const char *fmt, va_list args)
+ {
++  (void)ctx;
++
+   switch(level) {
+   case ALPM_LOG_ERROR:
+   fprintf(stderr, "%s%s%s", color->error, "error: ",
+@@ -621,7 +623,7 @@ int main(int argc, char *argv[])
+   }
+ 
+   if(debug) {
+-  alpm_option_set_logcb(handle, cb_log);
++  alpm_option_set_logcb(handle, cb_log, NULL);
+   }
+ 
+   /* no need to fail on error here */
+-- 
+2.31.1
+

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-07 05:59:19 UTC (rev 1296031)
+++ PKGBUILD2022-09-07 05:59:41 UTC (rev 1296032)
@@ -1,47 +0,0 @@
-# Maintainer: Johannes Löthberg 
-# Maintainer: Daniel M. Capella 
-
-pkgname=pacman-contrib
-pkgver=1.6.0
-pkgrel=1
-pkgdesc='Contributed scripts and tools for pacman systems'
-arch=('x86_64')
-url=https://gitlab.archlinux.org/pacm

[arch-commits] Commit in pacman-contrib/trunk (PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 05:59:19
  Author: polyzen
Revision: 1296031

upgpkg: pacman-contrib 1.7.0-1

Modified:
  pacman-contrib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-07 04:38:48 UTC (rev 1296030)
+++ PKGBUILD2022-09-07 05:59:19 UTC (rev 1296031)
@@ -2,7 +2,7 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=pacman-contrib
-pkgver=1.6.0
+pkgver=1.7.0
 pkgrel=1
 pkgdesc='Contributed scripts and tools for pacman systems'
 arch=('x86_64')
@@ -16,7 +16,7 @@
 'sudo: privilege elevation for several scripts'
 'vim: default merge program for pacdiff')
 source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-b2sums=('cef246cb17fa2e2d70f3134b0f29e2424bccfb9ffeeb7e618977a5bedeaf01fc704bba9a5f6c0a08d9a885e5df53ea0f76740f0a49fdb7f7c5c88f8fd729d5ae')
+b2sums=('6c6710d55dce0f8189b3f821f50df25a312a2b05801fdfad23638422ea314156523349ffc0a9247f6a22ce618d0e45ccf551d2ae13de05a0a1c1366242313fb0')
 #validpgpkeys=('5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5'  # Johannes Löthberg 

 #  '04DC3FB1445FECA813C27EFAEA4F7B321A906AD9') # Daniel M. Capella 

 



[arch-commits] Commit in ipython/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 01:36:56
  Author: polyzen
Revision: 1296014

archrelease: copy trunk to community-any

Added:
  ipython/repos/community-any/PKGBUILD
(from rev 1296013, ipython/trunk/PKGBUILD)
Deleted:
  ipython/repos/community-any/PKGBUILD

--+
 PKGBUILD |  126 ++---
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-07 01:36:36 UTC (rev 1296013)
+++ PKGBUILD2022-09-07 01:36:56 UTC (rev 1296014)
@@ -1,63 +0,0 @@
-# Maintainer: Kyle Keen 
-# Maintainer: Daniel M. Capella 
-# Contributor: PepeSmith
-# Contributor: Aron Asor 
-# Contributor: Chris Brannon 
-# Contributor: Douglas Soares de Andrade 
-
-pkgname=ipython
-pkgver=8.4.0
-pkgrel=1
-pkgdesc="An enhanced Interactive Python shell."
-arch=('any')
-url="https://ipython.org";
-license=('BSD')
-depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite'
- 'python-pickleshare' 'python-prompt_toolkit'
- 'python-jedi' 'python-pygments' 'python-backcall'
- 'python-matplotlib-inline' 'python-stack-data')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
-# texlive-bin checkdep excluded due to test_latex_to_png_color failure
-checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-testpath'
-  'jupyter-nbformat' 'python-ipykernel' 'python-numpy' 
'python-trio'
-  'python-matplotlib' 'python-curio' 'python-pandas' 'tcsh')
-optdepends=('python-black: to auto format with Black'
-'yapf: to auto format with YAPF')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";
-
"IPython-icon.png::https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png";)
-sha256sums=('f2db3a10254241d9b447232cec8b424847f338d9d36f9a577a6192c332a46abd'
-'3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8')
-b2sums=('4a5804ad115b45568ddbc0b8fcd181ae0088690ae2d7dda8580588d1e1caa087582a279449142e0144568815270b3a9476893525c0e90320f9ec580a06126d1d'
-
'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2')
-
-# confirm that an update does not break sage?
-
-build() {
-  cd $pkgname-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  test-env/bin/python -m pytest
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  cd "examples/IPython Kernel"
-  # FS#45120
-  sed -i 's/gnome-netstatus-idle/ipython/' ipython.desktop
-  install -Dm644 -t "$pkgdir/usr/share/applications" ipython.desktop
-  # FS#47046
-  install -Dm644 "$srcdir/IPython-icon.png" 
"$pkgdir/usr/share/pixmaps/ipython.png"
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
-"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: ipython/repos/community-any/PKGBUILD (from rev 1296013, 
ipython/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-07 01:36:56 UTC (rev 1296014)
@@ -0,0 +1,63 @@
+# Maintainer: Kyle Keen 
+# Maintainer: Daniel M. Capella 
+# Contributor: PepeSmith
+# Contributor: Aron Asor 
+# Contributor: Chris Brannon 
+# Contributor: Douglas Soares de Andrade 
+
+pkgname=ipython
+pkgver=8.5.0
+pkgrel=1
+pkgdesc="An enhanced Interactive Python shell."
+arch=('any')
+url="https://ipython.org";
+license=('BSD')
+depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite'
+ 'python-pickleshare' 'python-prompt_toolkit'
+ 'python-jedi' 'python-pygments' 'python-backcall'
+ 'python-matplotlib-inline' 'python-stack-data')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+# texlive-bin checkdep excluded due to test_latex_to_png_color failure
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-testpath'
+  'jupyter-nbformat' 'python-ipykernel' 'python-numpy' 
'python-trio'
+  'python-matplotlib' 'python-curio' 'python-pandas' 'tcsh')
+optdepends=('python-black: to auto format with Black'
+'yapf: to auto format with YAPF')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";
+
"IPython-icon.png::https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png";)
+sha256sums=('097bdf5cd87576f

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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 01:36:36
  Author: polyzen
Revision: 1296013

upgpkg: ipython 8.5.0-1

Modified:
  ipython/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-07 01:30:32 UTC (rev 1296012)
+++ PKGBUILD2022-09-07 01:36:36 UTC (rev 1296013)
@@ -6,7 +6,7 @@
 # Contributor: Douglas Soares de Andrade 
 
 pkgname=ipython
-pkgver=8.4.0
+pkgver=8.5.0
 pkgrel=1
 pkgdesc="An enhanced Interactive Python shell."
 arch=('any')
@@ -25,9 +25,9 @@
 'yapf: to auto format with YAPF')
 
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";
 
"IPython-icon.png::https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png";)
-sha256sums=('f2db3a10254241d9b447232cec8b424847f338d9d36f9a577a6192c332a46abd'
+sha256sums=('097bdf5cd87576fd066179c9f7f208004f7a6864ee1b20f37d346c0bcb099f84'
 '3c44a6fa1e3a8afc24754c90469404770b639cb960361988999a4cdd677699d8')
-b2sums=('4a5804ad115b45568ddbc0b8fcd181ae0088690ae2d7dda8580588d1e1caa087582a279449142e0144568815270b3a9476893525c0e90320f9ec580a06126d1d'
+b2sums=('6ab330ffe99611478bdcf1211a500c08edd4aff802a1121156c302cb8a49b9c5f2fa98012dbaf80996574789bdb98d87924492181e45f00f46f600789c1ae6e4'
 
'd445e2bc7a037db8715ea103611720e965987e155c32e445b0ef783e519fca8a0301b16c5763fd9a5d8d169c3b0d7b4db6c0bd0f9772842258b135dcb1d6d5a2')
 
 # confirm that an update does not break sage?



[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 01:30:32
  Author: polyzen
Revision: 1296012

archrelease: copy trunk to community-any

Added:
  pyright/repos/community-any/PKGBUILD
(from rev 1296011, pyright/trunk/PKGBUILD)
Deleted:
  pyright/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-07 01:30:12 UTC (rev 1296011)
+++ PKGBUILD2022-09-07 01:30:32 UTC (rev 1296012)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Kaizhao Zhang 
-
-pkgname=pyright
-pkgver=1.1.269
-pkgrel=1
-pkgdesc='Type checker for the Python language'
-arch=('any')
-url=https://github.com/microsoft/pyright
-license=('MIT')
-depends=('nodejs>=12')
-makedepends=('npm')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('eb4426107475ef25889cff4a3ea7befcceff97574a436e46cfd3bc1b709e63729f0675c255d76487ebdc7802d485032a36fcb711d5fe1455239d51ebee6a7345')
-
-prepare() {
-  cd $pkgname-$pkgver
-  npm ci
-}
-
-build() {
-  cd $pkgname-$pkgver/packages/$pkgname
-  npm run build
-}
-
-package() {
-  local _npmdir=/usr/lib/node_modules/$pkgname
-  install -d "$pkgdir"/{usr/bin,$_npmdir,usr/share/doc/$pkgname}
-  ln -s $_npmdir/index.js "$pkgdir"/usr/bin/$pkgname
-  ln -s $_npmdir/langserver.index.js \
-"$pkgdir"/usr/bin/$pkgname-langserver
-
-  cd $pkgname-$pkgver
-  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
-
-  cd packages/$pkgname
-  cp -r dist {,langserver.}index.js "$pkgdir"/$_npmdir
-}

Copied: pyright/repos/community-any/PKGBUILD (from rev 1296011, 
pyright/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-07 01:30:32 UTC (rev 1296012)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Kaizhao Zhang 
+
+pkgname=pyright
+pkgver=1.1.270
+pkgrel=1
+pkgdesc='Type checker for the Python language'
+arch=('any')
+url=https://github.com/microsoft/pyright
+license=('MIT')
+depends=('nodejs>=12')
+makedepends=('npm')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('78b5ff7307f7451588f7e8ae2f90491f43c959ce9e93a5785fd42e2d4f749476177f242b867b0978b779a5fbb1620843da2e6c3df2de569528b92e0964feb426')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm ci
+}
+
+build() {
+  cd $pkgname-$pkgver/packages/$pkgname
+  npm run build
+}
+
+package() {
+  local _npmdir=/usr/lib/node_modules/$pkgname
+  install -d "$pkgdir"/{usr/bin,$_npmdir,usr/share/doc/$pkgname}
+  ln -s $_npmdir/index.js "$pkgdir"/usr/bin/$pkgname
+  ln -s $_npmdir/langserver.index.js \
+"$pkgdir"/usr/bin/$pkgname-langserver
+
+  cd $pkgname-$pkgver
+  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
+
+  cd packages/$pkgname
+  cp -r dist {,langserver.}index.js "$pkgdir"/$_npmdir
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 01:30:12
  Author: polyzen
Revision: 1296011

upgpkg: pyright 1.1.270-1

Modified:
  pyright/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-07 01:23:19 UTC (rev 1296010)
+++ PKGBUILD2022-09-07 01:30:12 UTC (rev 1296011)
@@ -2,7 +2,7 @@
 # Contributor: Kaizhao Zhang 
 
 pkgname=pyright
-pkgver=1.1.269
+pkgver=1.1.270
 pkgrel=1
 pkgdesc='Type checker for the Python language'
 arch=('any')
@@ -11,7 +11,7 @@
 depends=('nodejs>=12')
 makedepends=('npm')
 source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('eb4426107475ef25889cff4a3ea7befcceff97574a436e46cfd3bc1b709e63729f0675c255d76487ebdc7802d485032a36fcb711d5fe1455239d51ebee6a7345')
+b2sums=('78b5ff7307f7451588f7e8ae2f90491f43c959ce9e93a5785fd42e2d4f749476177f242b867b0978b779a5fbb1620843da2e6c3df2de569528b92e0964feb426')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in python-jq/repos/community-x86_64 (4 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 01:23:19
  Author: polyzen
Revision: 1296010

archrelease: copy trunk to community-x86_64

Added:
  python-jq/repos/community-x86_64/PKGBUILD
(from rev 1296009, python-jq/trunk/PKGBUILD)
  python-jq/repos/community-x86_64/jq-py-setup.patch
(from rev 1296009, python-jq/trunk/jq-py-setup.patch)
Deleted:
  python-jq/repos/community-x86_64/PKGBUILD
  python-jq/repos/community-x86_64/jq-py-setup.patch

---+
 PKGBUILD  |  102 +-
 jq-py-setup.patch |  288 ++--
 2 files changed, 194 insertions(+), 196 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-07 01:22:53 UTC (rev 1296009)
+++ PKGBUILD2022-09-07 01:23:19 UTC (rev 1296010)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Mubashshir 
-
-_name=jq.py
-pkgname=python-jq
-pkgver=1.2.1
-pkgrel=2
-pkgdesc='Python bindings for jq'
-arch=('x86_64')
-url=https://github.com/mwilliamson/jq.py
-license=('BSD')
-depends=('jq' 'python')
-makedepends=('cython' 'python-build' 'python-install' 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-pytest')
-source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz"
-'jq-py-setup.patch')
-b2sums=('8bc2c88ae553dd53137c11d4f599e01398d21811a02b4f33f81aeeafa9009f58a56074c0bcadcc6382d86d2c7ada792d442f9c660787e131d0e85c95fb7cab32'
-
'3424a91e0e6330e8d25e167b862554e466f469cdeb5672d4d4e5ff4d4475bfe9c7a575f3c93cd03687e10cc6afac2bb94294c0fef50feec03eaa55684e2907bc')
-
-# Devendor
-prepare() {
-  cd $_name-$pkgver
-  sed -i '/certifi\|requests/d' pyproject.toml
-  patch --forward --strip=1 --input=../jq-py-setup.patch
-}
-
-build() {
-  cd $_name-$pkgver
-  cython jq.pyx
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m install --optimize=1 dist/*.whl
-  test-env/bin/python -m pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/jq-$pkgver.dist-info/LICENSE \
-"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-jq/repos/community-x86_64/PKGBUILD (from rev 1296009, 
python-jq/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-07 01:23:19 UTC (rev 1296010)
@@ -0,0 +1,50 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Mubashshir 
+
+_name=jq.py
+pkgname=python-jq
+pkgver=1.2.3
+pkgrel=1
+pkgdesc='Python bindings for jq'
+arch=('x86_64')
+url=https://github.com/mwilliamson/jq.py
+license=('BSD')
+depends=('jq' 'python')
+makedepends=('cython' 'python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest')
+source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz"
+'jq-py-setup.patch')
+b2sums=('72ebe4137d21bfd06dce337da1c7bcbfaa10ea55d06d128c901daa605557d7f6bd3bc219242127dfd36908089f312a6120306028bccb66e03274194e179175ee'
+
'3424a91e0e6330e8d25e167b862554e466f469cdeb5672d4d4e5ff4d4475bfe9c7a575f3c93cd03687e10cc6afac2bb94294c0fef50feec03eaa55684e2907bc')
+
+# Devendor
+prepare() {
+  cd $_name-$pkgver
+  sed -i '/certifi\|requests/d' pyproject.toml
+  patch --forward --strip=1 --input=../jq-py-setup.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  cython jq.pyx
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/jq-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: jq-py-setup.patch
===
--- jq-py-setup.patch   2022-09-07 01:22:53 UTC (rev 1296009)
+++ jq-py-setup.patch   2022-09-07 01:23:19 UTC (rev 1296010)
@@ -1,144 +0,0 @@
-From bef841b73ba7c9a79211146798ac888fce9bb55a Mon Sep 17 00:00:00 2001
-From: "Robert T. McGibbon" 
-Date: Fri, 7 May 2021 19:14:20 -0400
-Subject: [PATCH 1/1] Vastly simplify setup.py for distro compatibility
-

- setup.py | 98 +---
- 1 file changed, 1 insertion(+), 97 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 663792c..3ebcabe 100644
 a/setup.py
-+++ 

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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Wednesday, September 7, 2022 @ 01:22:53
  Author: polyzen
Revision: 1296009

upgpkg: python-jq 1.2.3-1

Modified:
  python-jq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 23:19:34 UTC (rev 1296008)
+++ PKGBUILD2022-09-07 01:22:53 UTC (rev 1296009)
@@ -3,8 +3,8 @@
 
 _name=jq.py
 pkgname=python-jq
-pkgver=1.2.1
-pkgrel=2
+pkgver=1.2.3
+pkgrel=1
 pkgdesc='Python bindings for jq'
 arch=('x86_64')
 url=https://github.com/mwilliamson/jq.py
@@ -15,7 +15,7 @@
 checkdepends=('python-pytest')
 source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz"
 'jq-py-setup.patch')
-b2sums=('8bc2c88ae553dd53137c11d4f599e01398d21811a02b4f33f81aeeafa9009f58a56074c0bcadcc6382d86d2c7ada792d442f9c660787e131d0e85c95fb7cab32'
+b2sums=('72ebe4137d21bfd06dce337da1c7bcbfaa10ea55d06d128c901daa605557d7f6bd3bc219242127dfd36908089f312a6120306028bccb66e03274194e179175ee'
 
'3424a91e0e6330e8d25e167b862554e466f469cdeb5672d4d4e5ff4d4475bfe9c7a575f3c93cd03687e10cc6afac2bb94294c0fef50feec03eaa55684e2907bc')
 
 # Devendor



[arch-commits] Commit in python-dulwich/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 23:19:34
  Author: polyzen
Revision: 1296008

archrelease: copy trunk to community-x86_64

Added:
  python-dulwich/repos/community-x86_64/PKGBUILD
(from rev 1296007, python-dulwich/trunk/PKGBUILD)
Deleted:
  python-dulwich/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 23:19:15 UTC (rev 1296007)
+++ PKGBUILD2022-09-06 23:19:34 UTC (rev 1296008)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Timothée Ravier 
-
-_name=dulwich
-pkgname=python-dulwich
-pkgver=0.20.45
-pkgrel=2
-pkgdesc='Pure-Python implementation of the Git file formats and protocols'
-arch=('x86_64')
-url=https://www.dulwich.io
-license=('GPL')
-depends=('python-certifi' 'python-urllib3')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-gpgme' 'python-paramiko')
-optdepends=('python-fastimport: for fast-import support'
-'python-gpgme: for PGP signature support'
-'python-idna: for HTTPS support via urllib3'
-'python-paramiko: for use as the SSH implementation'
-'python-pyopenssl: for HTTPS support via urllib3'
-'python-pyinotify: to watch for changes to refs')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('70710dd9ca2a442190c7e506892db074c318ac762e221f7529b8ce34802041b7')
-b2sums=('4eb6731312bd8bb45d35efdc1e640dd2cfb118b633de461c4f9ffa2a9e50258bada2c77b4d4bf2e72bc9947f143f89fd720e4e9411f0f84d67ab208f39f7b4b8')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  test-env/bin/python -m unittest dulwich.tests.test_suite
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-}

Copied: python-dulwich/repos/community-x86_64/PKGBUILD (from rev 1296007, 
python-dulwich/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 23:19:34 UTC (rev 1296008)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Timothée Ravier 
+
+_name=dulwich
+pkgname=python-dulwich
+pkgver=0.20.46
+pkgrel=1
+pkgdesc='Pure-Python implementation of the Git file formats and protocols'
+arch=('x86_64')
+url=https://www.dulwich.io
+license=('GPL')
+depends=('python-urllib3')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-gpgme' 'python-paramiko')
+optdepends=('python-fastimport: for fast-import support'
+'python-gpgme: for PGP signature support'
+'python-idna: for HTTPS support via urllib3'
+'python-paramiko: for use as the SSH implementation'
+'python-pyopenssl: for HTTPS support via urllib3'
+'python-pyinotify: to watch for changes to refs')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('4f0e885db1523d93d92f1525fe5fa161318ffbaad502c1b9b3be7a067172')
+b2sums=('702564597a0367f454a396e4917d4fcd8b963d1847ddef688dccc7d7501f0073ae9a0ab422f31b8b0648210dafa953744ccf496b41fc75c7bea5090d75bf142c')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m unittest dulwich.tests.test_suite
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 23:19:15
  Author: polyzen
Revision: 1296007

upgpkg: python-dulwich 0.20.46-1

Modified:
  python-dulwich/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 23:10:29 UTC (rev 1296006)
+++ PKGBUILD2022-09-06 23:19:15 UTC (rev 1296007)
@@ -3,13 +3,13 @@
 
 _name=dulwich
 pkgname=python-dulwich
-pkgver=0.20.45
-pkgrel=2
+pkgver=0.20.46
+pkgrel=1
 pkgdesc='Pure-Python implementation of the Git file formats and protocols'
 arch=('x86_64')
 url=https://www.dulwich.io
 license=('GPL')
-depends=('python-certifi' 'python-urllib3')
+depends=('python-urllib3')
 makedepends=('python-build' 'python-installer' 'python-setuptools'
  'python-wheel')
 checkdepends=('python-gpgme' 'python-paramiko')
@@ -20,8 +20,8 @@
 'python-pyopenssl: for HTTPS support via urllib3'
 'python-pyinotify: to watch for changes to refs')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('70710dd9ca2a442190c7e506892db074c318ac762e221f7529b8ce34802041b7')
-b2sums=('4eb6731312bd8bb45d35efdc1e640dd2cfb118b633de461c4f9ffa2a9e50258bada2c77b4d4bf2e72bc9947f143f89fd720e4e9411f0f84d67ab208f39f7b4b8')
+sha256sums=('4f0e885db1523d93d92f1525fe5fa161318ffbaad502c1b9b3be7a067172')
+b2sums=('702564597a0367f454a396e4917d4fcd8b963d1847ddef688dccc7d7501f0073ae9a0ab422f31b8b0648210dafa953744ccf496b41fc75c7bea5090d75bf142c')
 
 build() {
   cd $_name-$pkgver



[arch-commits] Commit in afew/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 23:10:29
  Author: polyzen
Revision: 1296006

archrelease: copy trunk to community-any

Added:
  afew/repos/community-any/PKGBUILD
(from rev 1296005, afew/trunk/PKGBUILD)
Deleted:
  afew/repos/community-any/PKGBUILD

--+
 PKGBUILD |   79 -
 1 file changed, 42 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 23:07:51 UTC (rev 1296005)
+++ PKGBUILD2022-09-06 23:10:29 UTC (rev 1296006)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Lucas Hoffmann
-# Contributor: Giancarlo Razzolini 
-# Contributor: Kazuo Teramoto 
-
-pkgname=afew
-pkgver=3.0.1
-pkgrel=4
-pkgdesc='Initial tagging script for notmuch mail'
-arch=(any)
-url=https://github.com/afewmail/afew
-license=('custom:BSD')
-depends=('notmuch' 'python-chardet' 'python-dkim' 'python-setuptools')
-makedepends=('python-setuptools-scm' 'python-sphinx')
-checkdepends=('python-freezegun')
-source=("https://files.pythonhosted.org/packages/source/a/afew/afew-$pkgver.tar.gz";)
-sha256sums=('ce857fe1a3bc0982c1dac81aef66cacc148e4f9db06da720f869392af1c2ee72')
-
-build() {
-  cd afew-$pkgver
-  python setup.py build
-  python setup.py build_sphinx -b man
-}
-
-check() {
-  cd afew-$pkgver
-  python -m unittest discover afew/tests
-}
-
-package() {
-  cd afew-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/man/man1 build/sphinx/man/afew.1
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/afew LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: afew/repos/community-any/PKGBUILD (from rev 1296005, 
afew/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 23:10:29 UTC (rev 1296006)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Lucas Hoffmann
+# Contributor: Giancarlo Razzolini 
+# Contributor: Kazuo Teramoto 
+
+pkgname=afew
+pkgver=3.0.1
+pkgrel=5
+pkgdesc='Initial tagging script for notmuch mail'
+arch=('any')
+url=https://github.com/afewmail/afew
+license=('custom:BSD')
+depends=('notmuch' 'python-chardet' 'python-dkim' 'python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+ 'python-sphinx' 'python-wheel')
+checkdepends=('python-freezegun')
+source=("https://files.pythonhosted.org/packages/source/a/afew/afew-$pkgver.tar.gz";)
+sha256sums=('ce857fe1a3bc0982c1dac81aef66cacc148e4f9db06da720f869392af1c2ee72')
+b2sums=('9ce125ec2359f7cf4630b9602b3068327adc06a699d325c90bc9b545df9ce7f3a62623cc733dfec55ee3e51523e4512ebec04e7186470fc56bb1589a7141cbc9')
+
+build() {
+  cd afew-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+  PYTHONPATH="build:$PYTHONPATH" sphinx-build -b man docs build
+}
+
+check() {
+  cd afew-$pkgver
+  python -m unittest discover afew/tests
+}
+
+package() {
+  cd afew-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 -t "$pkgdir"/usr/share/man/man1 build/afew.1
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 23:07:51
  Author: polyzen
Revision: 1296005

Fix maintainer line

Modified:
  python-pycodestyle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 23:05:08 UTC (rev 1296004)
+++ PKGBUILD2022-09-06 23:07:51 UTC (rev 1296005)
@@ -1,5 +1,5 @@
 # Maintainer: Felix Yan 
-# Maintainer: Daniel M. cape...@archlinux.org>
+# Maintainer: Daniel M. Capella 
 # Contributor: Ismael Carnales 
 # Contributor: Sergey Mastykov 
 



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 23:05:08
  Author: polyzen
Revision: 1296004

archrelease: copy trunk to community-any

Added:
  python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 1296003, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
  python-jsbeautifier/repos/community-any/PKGBUILD

--+
 PKGBUILD |   95 +++--
 1 file changed, 49 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 23:04:46 UTC (rev 1296003)
+++ PKGBUILD2022-09-06 23:05:08 UTC (rev 1296004)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Daniel M. Capella 
-
-pkgname=('python-jsbeautifier' 'python-cssbeautifier')
-pkgbase=python-jsbeautifier
-pkgver=1.14.6
-pkgrel=1
-arch=('any')
-license=('MIT')
-url='https://github.com/beautify-web/js-beautify'
-depends=('python-editorconfig' 'python-six')
-makedepends=('python-setuptools')
-source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz";)
-b2sums=('71b5c53a8dc6fbcf1317b6fd6d6d105c35f4a33ab2d727909cfa4cfdb73d5f83b87aef70271bfc1a31847e4093c22ce99a4986f9e7f2dff237b7e190186a1541')
-
-prepare() {
-  cd js-beautify-$pkgver
-  cp -a python python-css
-}
-
-build() {
-  cd js-beautify-$pkgver/python
-  python setup-js.py build
-  cd ../python-css
-  python setup-css.py build
-}
-
-check() {
-  cd js-beautify-$pkgver
-  python python/js-beautify-test.py
-}
-
-package_python-jsbeautifier() {
-  pkgdesc='JavaScript unobfuscator and beautifier'
-  cd js-beautify-$pkgver/python
-  python setup-js.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[0]}" ../LICENSE
-}
-
-package_python-cssbeautifier() {
-  pkgdesc='CSS unobfuscator and beautifier'
-  depends+=('python-jsbeautifier')
-  cd js-beautify-$pkgver/python-css
-  python setup-css.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
-}

Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 1296003, 
python-jsbeautifier/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 23:05:08 UTC (rev 1296004)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Maintainer: Daniel M. Capella 
+
+pkgname=('python-jsbeautifier' 'python-cssbeautifier')
+pkgbase=python-jsbeautifier
+pkgver=1.14.6
+pkgrel=2
+arch=('any')
+license=('MIT')
+url='https://github.com/beautify-web/js-beautify'
+depends=('python-editorconfig' 'python-six')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz";)
+b2sums=('71b5c53a8dc6fbcf1317b6fd6d6d105c35f4a33ab2d727909cfa4cfdb73d5f83b87aef70271bfc1a31847e4093c22ce99a4986f9e7f2dff237b7e190186a1541')
+
+prepare() {
+  cd js-beautify-$pkgver
+  cp -a python python-css
+}
+
+build() {
+  cd js-beautify-$pkgver/python
+  mv setup-js.py setup.py
+  python -m build --wheel --skip-dependency-check --no-isolation
+  cd ../python-css
+  mv setup-css.py setup.py
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd js-beautify-$pkgver
+  python python/js-beautify-test.py
+}
+
+package_python-jsbeautifier() {
+  pkgdesc='JavaScript unobfuscator and beautifier'
+  cd js-beautify-$pkgver/python
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[0]}" ../LICENSE
+}
+
+package_python-cssbeautifier() {
+  pkgdesc='CSS unobfuscator and beautifier'
+  depends+=('python-jsbeautifier')
+  cd js-beautify-$pkgver/python-css
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 23:04:46
  Author: polyzen
Revision: 1296003

upgpkg: python-jsbeautifier 1.14.6-2: Use PEP 517

Modified:
  python-jsbeautifier/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:44:33 UTC (rev 1296002)
+++ PKGBUILD2022-09-06 23:04:46 UTC (rev 1296003)
@@ -4,12 +4,13 @@
 pkgname=('python-jsbeautifier' 'python-cssbeautifier')
 pkgbase=python-jsbeautifier
 pkgver=1.14.6
-pkgrel=1
+pkgrel=2
 arch=('any')
 license=('MIT')
 url='https://github.com/beautify-web/js-beautify'
 depends=('python-editorconfig' 'python-six')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz";)
 
b2sums=('71b5c53a8dc6fbcf1317b6fd6d6d105c35f4a33ab2d727909cfa4cfdb73d5f83b87aef70271bfc1a31847e4093c22ce99a4986f9e7f2dff237b7e190186a1541')
 
@@ -20,9 +21,11 @@
 
 build() {
   cd js-beautify-$pkgver/python
-  python setup-js.py build
+  mv setup-js.py setup.py
+  python -m build --wheel --skip-dependency-check --no-isolation
   cd ../python-css
-  python setup-css.py build
+  mv setup-css.py setup.py
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -33,7 +36,7 @@
 package_python-jsbeautifier() {
   pkgdesc='JavaScript unobfuscator and beautifier'
   cd js-beautify-$pkgver/python
-  python setup-js.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[0]}" ../LICENSE
 }
 
@@ -41,6 +44,6 @@
   pkgdesc='CSS unobfuscator and beautifier'
   depends+=('python-jsbeautifier')
   cd js-beautify-$pkgver/python-css
-  python setup-css.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
 }



[arch-commits] Commit in python-build/repos/community-any (PKGBUILD PKGBUILD keys)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:44:33
  Author: polyzen
Revision: 1296002

archrelease: copy trunk to community-any

Added:
  python-build/repos/community-any/PKGBUILD
(from rev 1296001, python-build/trunk/PKGBUILD)
  python-build/repos/community-any/keys/
Deleted:
  python-build/repos/community-any/PKGBUILD

--+
 PKGBUILD |   94 +++--
 1 file changed, 49 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:44:07 UTC (rev 1296001)
+++ PKGBUILD2022-09-06 22:44:33 UTC (rev 1296002)
@@ -1,45 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) 
-
-_pkgname=build
-pkgname=python-$_pkgname
-pkgver=0.8.0
-pkgrel=1
-pkgdesc='A simple, correct PEP 517 build frontend'
-arch=('any')
-url='https://github.com/pypa/build'
-license=('MIT')
-depends=('python-tomli' 'python-pep517' 'python-packaging')
-optdepends=('python-virtualenv: Use virtualenv for build isolation')
-makedepends=('git' 'python-setuptools'
- 'python-sphinx' 'python-sphinx-argparse-cli' 
'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
-checkdepends=('python-pytest' 'python-pytest-mock' 
'python-pytest-rerunfailures' 'python-filelock' 'python-toml' 'python-wheel')
-source=("git+$url#tag=$pkgver?signed")
-validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns 
(FFY00) 
-sha512sums=('SKIP')
-
-build() {
-  cd $_pkgname
-
-  python setup.py build
-
-  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
-}
-
-check() {
-  cd $_pkgname
-
-  PYTHONPATH=src pytest
-}
-
-package() {
-  cd $_pkgname
-
-  python setup.py install --root="$pkgdir" --skip-build
-  python -m compileall --invalidation-mode=checked-hash "$pkgdir"
-
-  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  cp -r -a --no-preserve=ownership docs/build/html 
"$pkgdir"/usr/share/doc/$pkgname
-  rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-build/repos/community-any/PKGBUILD (from rev 1296001, 
python-build/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:44:33 UTC (rev 1296002)
@@ -0,0 +1,49 @@
+# Maintainer: Filipe Laíns (FFY00) 
+# Maintainer: Daniel M. Capella 
+
+_pkgname=build
+pkgname=python-$_pkgname
+pkgver=0.8.0
+pkgrel=2
+pkgdesc='A simple, correct PEP 517 build frontend'
+arch=('any')
+url='https://github.com/pypa/build'
+license=('MIT')
+depends=('python-tomli' 'python-pep517' 'python-packaging')
+optdepends=('python-virtualenv: Use virtualenv for build isolation')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel'
+ 'python-sphinx' 'python-sphinx-argparse-cli' 
'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
+checkdepends=('python-pytest' 'python-pytest-mock' 
'python-pytest-rerunfailures' 'python-filelock' 'python-toml' 'python-wheel')
+source=("git+$url#tag=$pkgver?signed")
+validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns 
(FFY00) 
+sha512sums=('SKIP')
+
+build() {
+  cd $_pkgname
+
+  python -m build --wheel --skip-dependency-check --no-isolation
+
+  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
+}
+
+check() {
+  cd $_pkgname
+
+  PYTHONPATH=src pytest
+}
+
+package() {
+  cd $_pkgname
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r -a --no-preserve=ownership docs/build/html 
"$pkgdir"/usr/share/doc/$pkgname
+  rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_pkgname-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:44:07
  Author: polyzen
Revision: 1296001

upgpkg: python-build 0.8.0-2: Use PEP 517

Modified:
  python-build/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:33:39 UTC (rev 1296000)
+++ PKGBUILD2022-09-06 22:44:07 UTC (rev 1296001)
@@ -1,9 +1,10 @@
 # Maintainer: Filipe Laíns (FFY00) 
+# Maintainer: Daniel M. Capella 
 
 _pkgname=build
 pkgname=python-$_pkgname
 pkgver=0.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A simple, correct PEP 517 build frontend'
 arch=('any')
 url='https://github.com/pypa/build'
@@ -10,7 +11,7 @@
 license=('MIT')
 depends=('python-tomli' 'python-pep517' 'python-packaging')
 optdepends=('python-virtualenv: Use virtualenv for build isolation')
-makedepends=('git' 'python-setuptools'
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel'
  'python-sphinx' 'python-sphinx-argparse-cli' 
'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
 checkdepends=('python-pytest' 'python-pytest-mock' 
'python-pytest-rerunfailures' 'python-filelock' 'python-toml' 'python-wheel')
 source=("git+$url#tag=$pkgver?signed")
@@ -20,7 +21,7 @@
 build() {
   cd $_pkgname
 
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 
   PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
 }
@@ -34,12 +35,15 @@
 package() {
   cd $_pkgname
 
-  python setup.py install --root="$pkgdir" --skip-build
-  python -m compileall --invalidation-mode=checked-hash "$pkgdir"
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
   cp -r -a --no-preserve=ownership docs/build/html 
"$pkgdir"/usr/share/doc/$pkgname
   rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
 
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_pkgname-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in ueberzug/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:33:39
  Author: polyzen
Revision: 1296000

archrelease: copy trunk to community-x86_64

Added:
  ueberzug/repos/community-x86_64/PKGBUILD
(from rev 1295999, ueberzug/trunk/PKGBUILD)
Deleted:
  ueberzug/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   57 -
 1 file changed, 28 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:33:19 UTC (rev 1295999)
+++ PKGBUILD2022-09-06 22:33:39 UTC (rev 1296000)
@@ -1,29 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: arkhan 
-
-pkgname=ueberzug
-pkgver=18.1.9
-pkgrel=3
-pkgdesc='Command line util which allows to display images in combination with 
X11'
-arch=('x86_64')
-url=https://github.com/seebye/ueberzug
-license=('GPL3')
-depends=('libxext' 'python-attrs' 'python-docopt' 'python-pillow' 
'python-xlib')
-makedepends=('python-setuptools')
-provides=("python-$pkgname")
-replaces=("python-$pkgname")
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('7ce49f351132c7d1b0f8097f6e4c5635376151ca59318540da3e296e5b21adc3')
-b2sums=('96a925cc2212512dcbf05aa47015c2611f9f36bcf3dcf65d62dc6212c567165faeb798abff55b092f174fd57ff5740734dde74006af8cd7e974598813c8c3adb')
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ueberzug/repos/community-x86_64/PKGBUILD (from rev 1295999, 
ueberzug/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:33:39 UTC (rev 1296000)
@@ -0,0 +1,28 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: arkhan 
+
+pkgname=ueberzug
+pkgver=18.1.9
+pkgrel=4
+pkgdesc='Command line util which allows to display images in combination with 
X11'
+arch=('x86_64')
+url=https://github.com/seebye/ueberzug
+license=('GPL3')
+depends=('libxext' 'python-attrs' 'python-docopt' 'python-pillow' 
'python-xlib')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+provides=("python-$pkgname")
+replaces=("python-$pkgname")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha256sums=('7ce49f351132c7d1b0f8097f6e4c5635376151ca59318540da3e296e5b21adc3')
+b2sums=('96a925cc2212512dcbf05aa47015c2611f9f36bcf3dcf65d62dc6212c567165faeb798abff55b092f174fd57ff5740734dde74006af8cd7e974598813c8c3adb')
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:33:19
  Author: polyzen
Revision: 1295999

upgpkg: ueberzug 18.1.9-4: Use PEP 517

Modified:
  ueberzug/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:31:21 UTC (rev 1295998)
+++ PKGBUILD2022-09-06 22:33:19 UTC (rev 1295999)
@@ -3,13 +3,14 @@
 
 pkgname=ueberzug
 pkgver=18.1.9
-pkgrel=3
+pkgrel=4
 pkgdesc='Command line util which allows to display images in combination with 
X11'
 arch=('x86_64')
 url=https://github.com/seebye/ueberzug
 license=('GPL3')
 depends=('libxext' 'python-attrs' 'python-docopt' 'python-pillow' 
'python-xlib')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 provides=("python-$pkgname")
 replaces=("python-$pkgname")
 
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
@@ -18,10 +19,10 @@
 
 build() {
   cd $pkgname-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 package() {
   cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



[arch-commits] Commit in termdown/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:31:21
  Author: polyzen
Revision: 1295998

archrelease: copy trunk to community-any

Added:
  termdown/repos/community-any/PKGBUILD
(from rev 1295997, termdown/trunk/PKGBUILD)
Deleted:
  termdown/repos/community-any/PKGBUILD

--+
 PKGBUILD |   53 ++---
 1 file changed, 26 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:31:02 UTC (rev 1295997)
+++ PKGBUILD2022-09-06 22:31:21 UTC (rev 1295998)
@@ -1,27 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-pkgname=termdown
-pkgver=1.18.0
-pkgrel=2
-pkgdesc='Countdown timer and stopwatch in your terminal'
-arch=('any')
-url=https://github.com/trehn/termdown
-license=('GPL3')
-depends=('python-click' 'python-dateutil' 'python-pyfiglet')
-makedepends=('python-setuptools')
-optdepends=('espeak-ng: for spoken countdown')
-source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";)
-sha256sums=('9165df7afd74a442432ba1755c6da3e017801995cf0a17f794295fcb2fd6dd1e')
-b2sums=('6a04dba81de96bb7197c68ac0cea981b19f8ba5e0be683d2f748df9289dba85ef2394648e8a0cfd593c93567d4e182d148d967f7944c44743fa8e809c94525e7')
-
-build() {
-  cd termdown-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd termdown-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim:set ts=2 sw=2 et:

Copied: termdown/repos/community-any/PKGBUILD (from rev 1295997, 
termdown/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:31:21 UTC (rev 1295998)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella 
+
+pkgname=termdown
+pkgver=1.18.0
+pkgrel=3
+pkgdesc='Countdown timer and stopwatch in your terminal'
+arch=('any')
+url=https://github.com/trehn/termdown
+license=('GPL3')
+depends=('python-click' 'python-dateutil' 'python-pyfiglet')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+optdepends=('espeak-ng: for spoken countdown')
+source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";)
+sha256sums=('9165df7afd74a442432ba1755c6da3e017801995cf0a17f794295fcb2fd6dd1e')
+b2sums=('6a04dba81de96bb7197c68ac0cea981b19f8ba5e0be683d2f748df9289dba85ef2394648e8a0cfd593c93567d4e182d148d967f7944c44743fa8e809c94525e7')
+
+build() {
+  cd termdown-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd termdown-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:31:02
  Author: polyzen
Revision: 1295997

upgpkg: termdown 1.18.0-3: Use PEP 517

Modified:
  termdown/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:29:46 UTC (rev 1295996)
+++ PKGBUILD2022-09-06 22:31:02 UTC (rev 1295997)
@@ -2,13 +2,14 @@
 
 pkgname=termdown
 pkgver=1.18.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Countdown timer and stopwatch in your terminal'
 arch=('any')
 url=https://github.com/trehn/termdown
 license=('GPL3')
 depends=('python-click' 'python-dateutil' 'python-pyfiglet')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 optdepends=('espeak-ng: for spoken countdown')
 
source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";)
 sha256sums=('9165df7afd74a442432ba1755c6da3e017801995cf0a17f794295fcb2fd6dd1e')
@@ -16,10 +17,10 @@
 
 build() {
   cd termdown-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 package() {
   cd termdown-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



[arch-commits] Commit in xandikos/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:29:46
  Author: polyzen
Revision: 1295996

archrelease: copy trunk to community-any

Added:
  xandikos/repos/community-any/PKGBUILD
(from rev 1295995, xandikos/trunk/PKGBUILD)
Deleted:
  xandikos/repos/community-any/PKGBUILD

--+
 PKGBUILD |   73 ++---
 1 file changed, 36 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:29:27 UTC (rev 1295995)
+++ PKGBUILD2022-09-06 22:29:46 UTC (rev 1295996)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-pkgname=xandikos
-pkgver=0.2.8
-pkgrel=1
-pkgdesc='Lightweight yet complete CardDAV/CalDAV server that backs onto a Git 
repository'
-arch=('any')
-url=https://www.xandikos.org
-license=('GPL3')
-depends=('python-aiohttp' 'python-defusedxml' 'python-dulwich'
- 'python-icalendar' 'python-jinja' 'python-multidict')
-makedepends=('python-setuptools')
-optdepends=('python-aiohttp-openmetrics: for metrics with the standalone 
server'
-'uwsgi-plugin-python: for the WSGI interface')
-source=("https://files.pythonhosted.org/packages/source/x/xandikos/xandikos-$pkgver.tar.gz";)
-sha256sums=('16f174f75d0b4a766f9a41e2fe2700e5d77e77d9a9990cee3d619dc1d8aff001')
-b2sums=('9e4ac9eb668bddcf186c35e2927f079887388e42dc269d9be4999a479fe8f4bcf42b383e2d155cd5b70e0f5b2c7c08cb4d8313ee0583eca7297661a89462f82e')
-
-build() {
-  cd xandikos-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd xandikos-$pkgver
-  python -m unittest xandikos.tests.test_suite
-}
-
-package() {
-  cd xandikos-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos README.rst
-  install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos/examples examples/*
-  #install -Dm644 -t "$pkgdir"/usr/share/man/man8 man/xandikos.8
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xandikos/repos/community-any/PKGBUILD (from rev 1295995, 
xandikos/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:29:46 UTC (rev 1295996)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella 
+
+pkgname=xandikos
+pkgver=0.2.8
+pkgrel=2
+pkgdesc='Lightweight yet complete CardDAV/CalDAV server that backs onto a Git 
repository'
+arch=('any')
+url=https://www.xandikos.org
+license=('GPL3')
+depends=('python-aiohttp' 'python-defusedxml' 'python-dulwich'
+ 'python-icalendar' 'python-jinja' 'python-multidict')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+optdepends=('python-aiohttp-openmetrics: for metrics with the standalone 
server'
+'uwsgi-plugin-python: for the WSGI interface')
+source=("https://files.pythonhosted.org/packages/source/x/xandikos/xandikos-$pkgver.tar.gz";)
+sha256sums=('16f174f75d0b4a766f9a41e2fe2700e5d77e77d9a9990cee3d619dc1d8aff001')
+b2sums=('9e4ac9eb668bddcf186c35e2927f079887388e42dc269d9be4999a479fe8f4bcf42b383e2d155cd5b70e0f5b2c7c08cb4d8313ee0583eca7297661a89462f82e')
+
+build() {
+  cd xandikos-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd xandikos-$pkgver
+  python -m unittest xandikos.tests.test_suite
+}
+
+package() {
+  cd xandikos-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos README.rst
+  install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos/examples examples/*
+  #install -Dm644 -t "$pkgdir"/usr/share/man/man8 man/xandikos.8
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:29:27
  Author: polyzen
Revision: 1295995

upgpkg: xandikos 0.2.8-2: Use PEP 517

Modified:
  xandikos/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:26:00 UTC (rev 1295994)
+++ PKGBUILD2022-09-06 22:29:27 UTC (rev 1295995)
@@ -2,7 +2,7 @@
 
 pkgname=xandikos
 pkgver=0.2.8
-pkgrel=1
+pkgrel=2
 pkgdesc='Lightweight yet complete CardDAV/CalDAV server that backs onto a Git 
repository'
 arch=('any')
 url=https://www.xandikos.org
@@ -9,7 +9,8 @@
 license=('GPL3')
 depends=('python-aiohttp' 'python-defusedxml' 'python-dulwich'
  'python-icalendar' 'python-jinja' 'python-multidict')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 optdepends=('python-aiohttp-openmetrics: for metrics with the standalone 
server'
 'uwsgi-plugin-python: for the WSGI interface')
 
source=("https://files.pythonhosted.org/packages/source/x/xandikos/xandikos-$pkgver.tar.gz";)
@@ -18,7 +19,7 @@
 
 build() {
   cd xandikos-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -28,7 +29,7 @@
 
 package() {
   cd xandikos-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos README.rst
   install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos/examples examples/*
   #install -Dm644 -t "$pkgdir"/usr/share/man/man8 man/xandikos.8



[arch-commits] Commit in vint/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:26:00
  Author: polyzen
Revision: 1295994

archrelease: copy trunk to community-any

Added:
  vint/repos/community-any/PKGBUILD
(from rev 1295993, vint/trunk/PKGBUILD)
Deleted:
  vint/repos/community-any/PKGBUILD

--+
 PKGBUILD |   72 -
 1 file changed, 38 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:25:41 UTC (rev 1295993)
+++ PKGBUILD2022-09-06 22:26:00 UTC (rev 1295994)
@@ -1,34 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Darshit Shah 
-
-pkgname=vint
-pkgver=0.3.20
-pkgrel=4
-pkgdesc='Lint tool for Vim script Language'
-arch=('any')
-url=https://github.com/Vimjas/vint
-license=('MIT')
-depends=('python-ansicolor' 'python-chardet' 'python-setuptools' 'python-yaml')
-checkdepends=('python-pytest')
-conflicts=('python-vint')
-replaces=('python-vint')
-source=("$url/archive/v$pkgver/vint-v$pkgver.tar.gz")
-sha512sums=('a71437cf20361d86fccfdccc05bebd30b40941ebbf65d587eb158d5e4ed3fdcb807b2291de082df7b9f66f4ccf1832ee0797156133a6c152536bd1915ffc4da4')
-
-build() {
-  cd vint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd vint-$pkgver
-  pytest
-}
-
-package() {
-  cd vint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: vint/repos/community-any/PKGBUILD (from rev 1295993, 
vint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:26:00 UTC (rev 1295994)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Darshit Shah 
+
+pkgname=vint
+pkgver=0.3.20
+pkgrel=5
+pkgdesc='Lint tool for Vim script Language'
+arch=('any')
+url=https://github.com/Vimjas/vint
+license=('MIT')
+depends=('python-ansicolor' 'python-chardet' 'python-setuptools' 'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('python-pytest')
+conflicts=('python-vint')
+replaces=('python-vint')
+source=("$url/archive/v$pkgver/vint-v$pkgver.tar.gz")
+sha512sums=('a71437cf20361d86fccfdccc05bebd30b40941ebbf65d587eb158d5e4ed3fdcb807b2291de082df7b9f66f4ccf1832ee0797156133a6c152536bd1915ffc4da4')
+
+build() {
+  cd vint-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd vint-$pkgver
+  pytest
+}
+
+package() {
+  cd vint-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/vint
+  ln -s "$site_packages"/vint-$pkgver.dist-info/LICENSE.txt \
+"$pkgdir"/usr/share/licenses/vint/LICENSE.txt
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:25:41
  Author: polyzen
Revision: 1295993

upgpkg: vint 0.3.20-5: Use PEP 517

Modified:
  vint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:25:24 UTC (rev 1295992)
+++ PKGBUILD2022-09-06 22:25:41 UTC (rev 1295993)
@@ -3,12 +3,13 @@
 
 pkgname=vint
 pkgver=0.3.20
-pkgrel=4
+pkgrel=5
 pkgdesc='Lint tool for Vim script Language'
 arch=('any')
 url=https://github.com/Vimjas/vint
 license=('MIT')
 depends=('python-ansicolor' 'python-chardet' 'python-setuptools' 'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 checkdepends=('python-pytest')
 conflicts=('python-vint')
 replaces=('python-vint')
@@ -17,7 +18,7 @@
 
 build() {
   cd vint-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -27,6 +28,11 @@
 
 package() {
   cd vint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/vint
+  ln -s "$site_packages"/vint-$pkgver.dist-info/LICENSE.txt \
+"$pkgdir"/usr/share/licenses/vint/LICENSE.txt
 }



[arch-commits] Commit in urlwatch/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:22:09
  Author: polyzen
Revision: 1295988

archrelease: copy trunk to community-any

Added:
  urlwatch/repos/community-any/PKGBUILD
(from rev 1295987, urlwatch/trunk/PKGBUILD)
Deleted:
  urlwatch/repos/community-any/PKGBUILD

--+
 PKGBUILD |  100 +++--
 1 file changed, 52 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:21:50 UTC (rev 1295987)
+++ PKGBUILD2022-09-06 22:22:09 UTC (rev 1295988)
@@ -1,48 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Balló György 
-# Contributor: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Skydrome 
-# Contributor: Allan McRae 
-
-pkgname=urlwatch
-pkgver=2.25
-pkgrel=1
-pkgdesc='Tool for monitoring webpages for updates'
-arch=('any')
-url=https://thp.io/2008/urlwatch/
-license=('BSD')
-depends=('python-appdirs' 'python-cssselect' 'python-keyring' 'python-lxml'
- 'python-minidb' 'python-requests' 'python-yaml')
-makedepends=('python-setuptools')
-checkdepends=('python-docutils' 'python-pycodestyle' 'python-pytesseract'
-  'python-pytest')
-optdepends=('lynx: for one of the html2text filter methods'
-'python-beautifulsoup4: for the beautify filter and one of the 
html2text filter methods'
-'python-cssbeautifier: for the beautify filter'
-'python-html2text: for one of the html2text filter methods'
-'python-jq: for the jq filter'
-'python-jsbeautifier: for the beautify filter'
-'python-pdftotext: for the pdf2text filter'
-'python-pyppeteer: for the browser job'
-'python-pytesseract: for the ocr filter')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('6802297d3318286e7f3d36b9a4567a2fb09b0ae779d4b76811dd29a7281c1f8a')
-b2sums=('85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40')
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  pytest
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname COPYING
-}
-
-# vim:set ts=2 sw=2 et:

Copied: urlwatch/repos/community-any/PKGBUILD (from rev 1295987, 
urlwatch/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:22:09 UTC (rev 1295988)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Balló György 
+# Contributor: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Skydrome 
+# Contributor: Allan McRae 
+
+pkgname=urlwatch
+pkgver=2.25
+pkgrel=2
+pkgdesc='Tool for monitoring webpages for updates'
+arch=('any')
+url=https://thp.io/2008/urlwatch/
+license=('BSD')
+depends=('python-appdirs' 'python-cssselect' 'python-keyring' 'python-lxml'
+ 'python-minidb' 'python-requests' 'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-docutils' 'python-pycodestyle' 'python-pytesseract'
+  'python-pytest')
+optdepends=('lynx: for one of the html2text filter methods'
+'python-beautifulsoup4: for the beautify filter and one of the 
html2text filter methods'
+'python-cssbeautifier: for the beautify filter'
+'python-html2text: for one of the html2text filter methods'
+'python-jq: for the jq filter'
+'python-jsbeautifier: for the beautify filter'
+'python-pdftotext: for the pdf2text filter'
+'python-pyppeteer: for the browser job'
+'python-pytesseract: for the ocr filter')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha256sums=('6802297d3318286e7f3d36b9a4567a2fb09b0ae779d4b76811dd29a7281c1f8a')
+b2sums=('85f76e849495f5457f43ccd37035aae84c6ae4c8649005e617a6a585bf3b73d30914f8c7a89c0fb9bb04cc07a8797d77be07807e8d7c64976355749417b39e40')
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $pkgname-$pkgver
+  pytest
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$pkgname-$pkgver.dist-info/COPYING \
+"$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:21:50
  Author: polyzen
Revision: 1295987

upgpkg: urlwatch 2.25-2: Use PEP 517

Modified:
  urlwatch/trunk/PKGBUILD

--+
 PKGBUILD |   16 +++-
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:18:32 UTC (rev 1295986)
+++ PKGBUILD2022-09-06 22:21:50 UTC (rev 1295987)
@@ -6,7 +6,7 @@
 
 pkgname=urlwatch
 pkgver=2.25
-pkgrel=1
+pkgrel=2
 pkgdesc='Tool for monitoring webpages for updates'
 arch=('any')
 url=https://thp.io/2008/urlwatch/
@@ -13,7 +13,8 @@
 license=('BSD')
 depends=('python-appdirs' 'python-cssselect' 'python-keyring' 'python-lxml'
  'python-minidb' 'python-requests' 'python-yaml')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-docutils' 'python-pycodestyle' 'python-pytesseract'
   'python-pytest')
 optdepends=('lynx: for one of the html2text filter methods'
@@ -31,7 +32,7 @@
 
 build() {
   cd $pkgname-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -41,6 +42,11 @@
 
 package() {
   cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname COPYING
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$pkgname-$pkgver.dist-info/COPYING \
+"$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }



[arch-commits] Commit in yamllint/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:18:00
  Author: polyzen
Revision: 1295938

archrelease: copy trunk to community-any

Added:
  yamllint/repos/community-any/PKGBUILD
(from rev 1295926, yamllint/trunk/PKGBUILD)
Deleted:
  yamllint/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:17:59 UTC (rev 1295937)
+++ PKGBUILD2022-09-06 22:18:00 UTC (rev 1295938)
@@ -1,35 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-pkgname=yamllint
-pkgver=1.27.1
-pkgrel=1
-pkgdesc='Linter for YAML files'
-arch=('any')
-url=https://github.com/adrienverge/yamllint
-license=('GPL3')
-depends=('python-pathspec' 'python-yaml')
-makedepends=('python-setuptools')
-checkdepends=('python-nose')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
-sha256sums=('e688324b58560ab68a1a3cff2c0a474e3fed371dfe8da5d1b9817b7df55039ce')
-b2sums=('37021bd577384821b75ddd747f1dd3c4261317582d42179e0731214cb67f79bf9302c34acaa721440edb118ef8900cc2952d1f8e441def9e3143b57e03af87bd')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i '/setuptools/d' setup.cfg
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python -m unittest discover tests
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: yamllint/repos/community-any/PKGBUILD (from rev 1295926, 
yamllint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:18:00 UTC (rev 1295938)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella 
+
+pkgname=yamllint
+pkgver=1.27.1
+pkgrel=2
+pkgdesc='Linter for YAML files'
+arch=('any')
+url=https://github.com/adrienverge/yamllint
+license=('GPL3')
+depends=('python-pathspec' 'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-nose')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha256sums=('e688324b58560ab68a1a3cff2c0a474e3fed371dfe8da5d1b9817b7df55039ce')
+b2sums=('37021bd577384821b75ddd747f1dd3c4261317582d42179e0731214cb67f79bf9302c34acaa721440edb118ef8900cc2952d1f8e441def9e3143b57e03af87bd')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/setuptools/d' setup.cfg
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python -m unittest discover tests
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:17:41
  Author: polyzen
Revision: 1295910

upgpkg: yamllint 1.27.1-2: Use PEP 517

Modified:
  yamllint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:17:40 UTC (rev 1295909)
+++ PKGBUILD2022-09-06 22:17:41 UTC (rev 1295910)
@@ -2,13 +2,14 @@
 
 pkgname=yamllint
 pkgver=1.27.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Linter for YAML files'
 arch=('any')
 url=https://github.com/adrienverge/yamllint
 license=('GPL3')
 depends=('python-pathspec' 'python-yaml')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-nose')
 
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";)
 sha256sums=('e688324b58560ab68a1a3cff2c0a474e3fed371dfe8da5d1b9817b7df55039ce')
@@ -21,7 +22,7 @@
 
 build() {
   cd $pkgname-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -31,5 +32,5 @@
 
 package() {
   cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



[arch-commits] Commit in vdirsyncer/repos/community-any (9 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:15:51
  Author: polyzen
Revision: 1295769

archrelease: copy trunk to community-any

Added:
  vdirsyncer/repos/community-any/PKGBUILD
(from rev 1295751, vdirsyncer/trunk/PKGBUILD)
  vdirsyncer/repos/community-any/keys/
  
vdirsyncer/repos/community-any/vdirsyncer-0.18.0-remove_broken_fingerprint_test.patch
(from rev 1295756, 
vdirsyncer/trunk/vdirsyncer-0.18.0-remove_broken_fingerprint_test.patch)
  vdirsyncer/repos/community-any/vdirsyncer.service
(from rev 1295757, vdirsyncer/trunk/vdirsyncer.service)
  vdirsyncer/repos/community-any/vdirsyncer.timer
(from rev 1295760, vdirsyncer/trunk/vdirsyncer.timer)
Deleted:
  vdirsyncer/repos/community-any/PKGBUILD
  
vdirsyncer/repos/community-any/vdirsyncer-0.18.0-remove_broken_fingerprint_test.patch
  vdirsyncer/repos/community-any/vdirsyncer.service
  vdirsyncer/repos/community-any/vdirsyncer.timer

+
 PKGBUILD   |  124 +++
 vdirsyncer-0.18.0-remove_broken_fingerprint_test.patch |   76 -
 vdirsyncer.service |   14 -
 vdirsyncer.timer   |   20 +-
 4 files changed, 120 insertions(+), 114 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 22:15:49 UTC (rev 1295768)
+++ PKGBUILD2022-09-06 22:15:51 UTC (rev 1295769)
@@ -1,59 +0,0 @@
-# Maintainer: David Runge 
-# Maintainer: Daniel M. Capella 
-# Contributor: Hugo Osvaldo Barrera 
-
-pkgname=vdirsyncer
-pkgver=0.18.0
-pkgrel=3
-pkgdesc="Synchronize CalDAV and CardDAV."
-arch=(any)
-url="https://vdirsyncer.pimutils.org/en/stable/";
-license=(BSD)
-depends=(python-atomicwrites python-click python-click-log
-python-click-threading python-requests python-requests-toolbelt)
-makedepends=(git python-setuptools-scm python-sphinx)
-checkdepends=(python-hypothesis python-pytest python-pytest-localserver
-python-pytest-subtesthack)
-optdepends=('python-requests-oauthlib: Google support'
-'python-etesync: Etesync support'
-'python-django: Etesync support')
-source=(
-  "git+https://github.com/pimutils/vdirsyncer.git#tag=${pkgver}?signed";
-  "${pkgname}-0.18.0-remove_broken_fingerprint_test.patch"
-)
-sha512sums=('SKIP'
-
'91cdd6350771025478d44aa260b41357a8142d8bbbf7b63cd821b54d3645b7049a4d44ddb82de37425747c32dfa9a1d3b9ad08c77ec142b30a8281741e0c062d')
-validpgpkeys=('951082781CA308E4A529DEFD6F9FFF122B98C0CD') # Hugo Osvaldo 
Barrera 
-
-prepare() {
-  cd "${pkgname}"
-  # remove broken test. upstream will replace it with differing dependencies 
in an upcoming version
-  # 
https://github.com/pimutils/vdirsyncer/commit/1f6cc6f8beebd644d6570ce98fe56c33a8846daf
-  patch -Np1 -i ../"${pkgname}-0.18.0-remove_broken_fingerprint_test.patch"
-}
-
-build() {
-  cd "${pkgname}"
-  python setup.py build
-  export PYTHONPATH="build:${PYTHONPATH}"
-  sphinx-build -b man docs/ build/
-}
-
-check() {
-  cd "${pkgname}"
-  export DETERMINISTIC_TESTS=true
-  pytest --tb=short -c /dev/null
-}
-
-package() {
-  cd "${pkgname}"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  # license
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-  # systemd
-  install -vDm 644 "contrib/${pkgname}."{service,timer} -t 
"${pkgdir}/usr/lib/systemd/user/"
-  # man page
-  install -vDm 644 "build/${pkgname}.1" -t "${pkgdir}/usr/share/man/man1"
-  # docs
-  install -vDm 644 {AUTHORS,CHANGELOG,README}.rst -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: vdirsyncer/repos/community-any/PKGBUILD (from rev 1295751, 
vdirsyncer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 22:15:51 UTC (rev 1295769)
@@ -0,0 +1,65 @@
+# Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
+# Contributor: Hugo Osvaldo Barrera 
+
+pkgname=vdirsyncer
+pkgver=0.18.0
+pkgrel=4
+pkgdesc="Synchronize CalDAV and CardDAV."
+arch=(any)
+url="https://vdirsyncer.pimutils.org/en/stable/";
+license=(BSD)
+depends=(python-atomicwrites python-click python-click-log
+python-click-threading python-requests python-requests-toolbelt)
+makedepends=(git python-build python-installer python-setuptools-scm
+ python-sphinx python-wheel)
+checkdepends=(python-hypothesis python-pytest python-pytest-localserver
+python-pytest-subtesthack)
+optdepends=('python-requests-oauthlib: Google support'
+'python-etesync: Etesync support'
+'python-django: Etesync support')
+source=(
+  "git+https://github.com/pimutils/vdirsyncer.git#tag=${pkgver}?signed";
+  "${pkgname}-0.18.0-remove_broken_fingerprint_test.patch"
+)
+sha512sums=('SKIP'
+
'91cdd6350771025478d44aa260b41357a8142d8bbbf7b63cd821b54d3645b7049a4d44ddb82de37425747c32dfa9a1d3b9ad08c77ec142b30a8281741e0c0

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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 22:15:16
  Author: polyzen
Revision: 1295738

upgpkg: vdirsyncer 0.18.0-4: Use PEP 517

Modified:
  vdirsyncer/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 22:15:15 UTC (rev 1295737)
+++ PKGBUILD2022-09-06 22:15:16 UTC (rev 1295738)
@@ -4,7 +4,7 @@
 
 pkgname=vdirsyncer
 pkgver=0.18.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Synchronize CalDAV and CardDAV."
 arch=(any)
 url="https://vdirsyncer.pimutils.org/en/stable/";
@@ -11,7 +11,8 @@
 license=(BSD)
 depends=(python-atomicwrites python-click python-click-log
 python-click-threading python-requests python-requests-toolbelt)
-makedepends=(git python-setuptools-scm python-sphinx)
+makedepends=(git python-build python-installer python-setuptools-scm
+ python-sphinx python-wheel)
 checkdepends=(python-hypothesis python-pytest python-pytest-localserver
 python-pytest-subtesthack)
 optdepends=('python-requests-oauthlib: Google support'
@@ -34,7 +35,8 @@
 
 build() {
   cd "${pkgname}"
-  python setup.py build
+  export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
+  python -m build --wheel --skip-dependency-check --no-isolation
   export PYTHONPATH="build:${PYTHONPATH}"
   sphinx-build -b man docs/ build/
 }
@@ -47,9 +49,7 @@
 
 package() {
   cd "${pkgname}"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  # license
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   # systemd
   install -vDm 644 "contrib/${pkgname}."{service,timer} -t 
"${pkgdir}/usr/lib/systemd/user/"
   # man page
@@ -56,4 +56,10 @@
   install -vDm 644 "build/${pkgname}.1" -t "${pkgdir}/usr/share/man/man1"
   # docs
   install -vDm 644 {AUTHORS,CHANGELOG,README}.rst -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  # symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  ln -s "${site_packages}"/${pkgname}-${pkgver}.dist-info/LICENSE \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



[arch-commits] Commit in rss2email/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 21:48:51
  Author: polyzen
Revision: 1295137

archrelease: copy trunk to community-any

Added:
  rss2email/repos/community-any/PKGBUILD
(from rev 1295136, rss2email/trunk/PKGBUILD)
Deleted:
  rss2email/repos/community-any/PKGBUILD

--+
 PKGBUILD |   55 ---
 1 file changed, 28 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 21:48:32 UTC (rev 1295136)
+++ PKGBUILD2022-09-06 21:48:51 UTC (rev 1295137)
@@ -1,27 +0,0 @@
-# Maintainer: Christian Hesse 
-# Maintainer: Daniel M. Capella 
-# Contributor: Chris Brannon 
-# Contributor: Dag Odenhall 
-
-pkgname=rss2email
-pkgver=3.14
-pkgrel=2
-pkgdesc='A tool for delivering news from RSS feeds to your email program'
-arch=('any')
-url='https://github.com/rss2email/rss2email'
-license=('GPL')
-depends=('python' 'python-html2text' 'python-feedparser')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('ea09b68f6a5421b0bd50e98e24d49a0a33bd54a5f59d0f1be1f6f3f05b8c6087')
-
-build() {
-   cd ${pkgname}-${pkgver}
-   python setup.py build
-}
-
-package() {
-   cd ${pkgname}-${pkgver}
-   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-   install -Dm644 -t "${pkgdir}"/usr/share/man/man1 r2e.1
-   install -Dm644 completion/r2e.zsh 
"${pkgdir}"/usr/share/zsh/site-functions/_r2e
-}

Copied: rss2email/repos/community-any/PKGBUILD (from rev 1295136, 
rss2email/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 21:48:51 UTC (rev 1295137)
@@ -0,0 +1,28 @@
+# Maintainer: Christian Hesse 
+# Maintainer: Daniel M. Capella 
+# Contributor: Chris Brannon 
+# Contributor: Dag Odenhall 
+
+pkgname=rss2email
+pkgver=3.14
+pkgrel=3
+pkgdesc='A tool for delivering news from RSS feeds to your email program'
+arch=('any')
+url='https://github.com/rss2email/rss2email'
+license=('GPL')
+depends=('python' 'python-html2text' 'python-feedparser')
+makedepends=('python-build' 'python-installer' 'python-poetry')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('ea09b68f6a5421b0bd50e98e24d49a0a33bd54a5f59d0f1be1f6f3f05b8c6087')
+
+build() {
+   cd ${pkgname}-${pkgver}
+   python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+   cd ${pkgname}-${pkgver}
+   python -m installer --destdir="${pkgdir}" dist/*.whl
+   install -Dm644 -t "${pkgdir}"/usr/share/man/man1 r2e.1
+   install -Dm644 completion/r2e.zsh 
"${pkgdir}"/usr/share/zsh/site-functions/_r2e
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 21:48:32
  Author: polyzen
Revision: 1295136

upgpkg: rss2email 3.14-3: Use PEP 517

Modified:
  rss2email/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 21:46:57 UTC (rev 1295135)
+++ PKGBUILD2022-09-06 21:48:32 UTC (rev 1295136)
@@ -5,23 +5,24 @@
 
 pkgname=rss2email
 pkgver=3.14
-pkgrel=2
+pkgrel=3
 pkgdesc='A tool for delivering news from RSS feeds to your email program'
 arch=('any')
 url='https://github.com/rss2email/rss2email'
 license=('GPL')
 depends=('python' 'python-html2text' 'python-feedparser')
+makedepends=('python-build' 'python-installer' 'python-poetry')
 source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha256sums=('ea09b68f6a5421b0bd50e98e24d49a0a33bd54a5f59d0f1be1f6f3f05b8c6087')
 
 build() {
cd ${pkgname}-${pkgver}
-   python setup.py build
+   python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 package() {
cd ${pkgname}-${pkgver}
-   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+   python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 -t "${pkgdir}"/usr/share/man/man1 r2e.1
install -Dm644 completion/r2e.zsh 
"${pkgdir}"/usr/share/zsh/site-functions/_r2e
 }



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 21:39:00
  Author: polyzen
Revision: 1295101

archrelease: copy trunk to community-any

Added:
  python-vobject/repos/community-any/PKGBUILD
(from rev 1295100, python-vobject/trunk/PKGBUILD)
Deleted:
  python-vobject/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 21:38:40 UTC (rev 1295100)
+++ PKGBUILD2022-09-06 21:39:00 UTC (rev 1295101)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge 
-# Maintainer: Daniel M. Capella 
-# Contributor: Carsten Feuls 
-
-_name=vobject
-pkgname=python-vobject
-pkgver=0.9.6.1
-pkgrel=9
-pkgdesc='Module for parsing and generating vCard and vCalendar files'
-url="https://eventable.github.io/vobject/";
-license=('Apache')
-arch=('any')
-depends=('python-dateutil')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha256sums=('96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101')
-b2sums=('74f9a7dc8058bb792492b1ac44a0310f58c603e677aedda35be0d8e94743e6e1e001a4ae888625f314f706891b7a31db77efa4c268482bbaf44ca37fff236cd6')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  python tests.py
-}
-
-package() {
-  cd "${_name}-${pkgver}"
-  python setup.py install --skip-build \
---optimize=1 \
---prefix=/usr \
---root="${pkgdir}"
-  install -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md} \
--t "${pkgdir}/usr/share/${pkgname}"
-}

Copied: python-vobject/repos/community-any/PKGBUILD (from rev 1295100, 
python-vobject/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 21:39:00 UTC (rev 1295101)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
+# Contributor: Carsten Feuls 
+
+_name=vobject
+pkgname=python-vobject
+pkgver=0.9.6.1
+pkgrel=10
+pkgdesc='Module for parsing and generating vCard and vCalendar files'
+url="https://eventable.github.io/vobject/";
+license=('Apache')
+arch=('any')
+depends=('python-dateutil')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha256sums=('96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101')
+b2sums=('74f9a7dc8058bb792492b1ac44a0310f58c603e677aedda35be0d8e94743e6e1e001a4ae888625f314f706891b7a31db77efa4c268482bbaf44ca37fff236cd6')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  python tests.py
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md} \
+-t "${pkgdir}/usr/share/${pkgname}"
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 21:38:40
  Author: polyzen
Revision: 1295100

upgpkg: python-vobject 0.9.6.1-10: Use PEP 517

Modified:
  python-vobject/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 21:32:54 UTC (rev 1295099)
+++ PKGBUILD2022-09-06 21:38:40 UTC (rev 1295100)
@@ -5,13 +5,14 @@
 _name=vobject
 pkgname=python-vobject
 pkgver=0.9.6.1
-pkgrel=9
+pkgrel=10
 pkgdesc='Module for parsing and generating vCard and vCalendar files'
 url="https://eventable.github.io/vobject/";
 license=('Apache')
 arch=('any')
 depends=('python-dateutil')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
 sha256sums=('96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101')
 
b2sums=('74f9a7dc8058bb792492b1ac44a0310f58c603e677aedda35be0d8e94743e6e1e001a4ae888625f314f706891b7a31db77efa4c268482bbaf44ca37fff236cd6')
@@ -18,7 +19,7 @@
 
 build() {
   cd "${_name}-${pkgver}"
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -28,10 +29,7 @@
 
 package() {
   cd "${_name}-${pkgver}"
-  python setup.py install --skip-build \
---optimize=1 \
---prefix=/usr \
---root="${pkgdir}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   install -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md} \
 -t "${pkgdir}/usr/share/${pkgname}"
 }



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 21:32:54
  Author: polyzen
Revision: 1295099

archrelease: copy trunk to community-any

Added:
  python-tzlocal/repos/community-any/PKGBUILD
(from rev 1295098, python-tzlocal/trunk/PKGBUILD)
Deleted:
  python-tzlocal/repos/community-any/PKGBUILD

--+
 PKGBUILD |  118 +++--
 1 file changed, 61 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 21:32:32 UTC (rev 1295098)
+++ PKGBUILD2022-09-06 21:32:54 UTC (rev 1295099)
@@ -1,57 +0,0 @@
-# Maintainer: David Runge 
-# Contributor: eolianoe 
-# Contributor: Étienne Deparis 
-# Contributor: Patrice Peterson 
-# Contributor: Patrick Burroughs 
-
-_name=tzlocal
-pkgname=python-tzlocal
-pkgver=2.1
-pkgrel=1
-epoch=1
-pkgdesc="Tzinfo object for the local timezone"
-arch=('any')
-url="https://github.com/regebro/tzlocal";
-license=('MIT')
-depends=('python-pytz')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha256sums=('643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44')
-b2sums=('5437dd5ffa1259dc6e159078302eccd5c6573366d6adbfd276f4e036fde5bf2d67c9ec2ebbcd9d263efcb52eb8a57d19453d7db4307d044acc55d9de79fca6a7')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  # fix symlink, required for test: 
https://github.com/regebro/tzlocal/issues/53
-  cd tests/test_data/symlink_localtime/etc
-  ln -sfv ../usr/share/zoneinfo/Africa/Harare localtime
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  # disable failing timezone test:
-  # https://github.com/regebro/tzlocal/issues/89
-  pytest -v tests/tests.py -k 'not test_fail'
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-  --optimize=1 \
-  --prefix=/usr \
-  --root="${pkgdir}"
-  # license
-  install -vDm 644 LICENSE.txt \
--t "${pkgdir}/usr/share/licenses/${pkgname}"
-  # docs
-  install -vDm 644 {CHANGES.txt,README.rst} \
--t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-# vim:set ts=2 sw=2 et:

Copied: python-tzlocal/repos/community-any/PKGBUILD (from rev 1295098, 
python-tzlocal/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 21:32:54 UTC (rev 1295099)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
+# Contributor: eolianoe 
+# Contributor: Étienne Deparis 
+# Contributor: Patrice Peterson 
+# Contributor: Patrick Burroughs 
+
+_name=tzlocal
+pkgname=python-tzlocal
+# https://archlinux.org/todo/python-tzlocal-4x-blockers/
+pkgver=2.1
+pkgrel=2
+epoch=1
+pkgdesc="Tzinfo object for the local timezone"
+arch=('any')
+url="https://github.com/regebro/tzlocal";
+license=('MIT')
+depends=('python-pytz')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha256sums=('643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44')
+b2sums=('5437dd5ffa1259dc6e159078302eccd5c6573366d6adbfd276f4e036fde5bf2d67c9ec2ebbcd9d263efcb52eb8a57d19453d7db4307d044acc55d9de79fca6a7')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # fix symlink, required for test: 
https://github.com/regebro/tzlocal/issues/53
+  cd tests/test_data/symlink_localtime/etc
+  ln -sfv ../usr/share/zoneinfo/Africa/Harare localtime
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  # disable failing timezone test:
+  # https://github.com/regebro/tzlocal/issues/89
+  pytest -v tests/tests.py -k 'not test_fail'
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  # docs
+  install -vDm 644 {CHANGES.txt,README.rst} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  ln -s "${site_packages}"/${_name}-${pkgver}.dist-info/LICENSE.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 21:32:32
  Author: polyzen
Revision: 1295098

upgpkg: python-tzlocal 1:2.1-2: Use PEP 517

Modified:
  python-tzlocal/trunk/PKGBUILD

--+
 PKGBUILD |   23 +--
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 21:07:07 UTC (rev 1295097)
+++ PKGBUILD2022-09-06 21:32:32 UTC (rev 1295098)
@@ -1,4 +1,5 @@
 # Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
 # Contributor: eolianoe 
 # Contributor: Étienne Deparis 
 # Contributor: Patrice Peterson 
@@ -8,7 +9,7 @@
 pkgname=python-tzlocal
 # https://archlinux.org/todo/python-tzlocal-4x-blockers/
 pkgver=2.1
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="Tzinfo object for the local timezone"
 arch=('any')
@@ -15,7 +16,8 @@
 url="https://github.com/regebro/tzlocal";
 license=('MIT')
 depends=('python-pytz')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest' 'python-mock')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
 sha256sums=('643c97c5294aedc737780a49d9df30889321cbe1204eac2c2ec6134035a92e44')
@@ -31,7 +33,7 @@
 
 build() {
   cd "${pkgname}-${pkgver}"
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -44,15 +46,16 @@
 
 package() {
   cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-  --optimize=1 \
-  --prefix=/usr \
-  --root="${pkgdir}"
-  # license
-  install -vDm 644 LICENSE.txt \
--t "${pkgdir}/usr/share/licenses/${pkgname}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   # docs
   install -vDm 644 {CHANGES.txt,README.rst} \
 -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  ln -s "${site_packages}"/${_name}-${pkgver}.dist-info/LICENSE.txt \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
 }
+
 # vim:set ts=2 sw=2 et:



[arch-commits] Commit in python-toml/repos/community-any (4 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:40:24
  Author: polyzen
Revision: 1294989

archrelease: copy trunk to community-any

Added:
  python-toml/repos/community-any/PKGBUILD
(from rev 1294987, python-toml/trunk/PKGBUILD)
  python-toml/repos/community-any/python-toml-0.10.1-install_type_hints.patch
(from rev 1294988, 
python-toml/trunk/python-toml-0.10.1-install_type_hints.patch)
Deleted:
  python-toml/repos/community-any/PKGBUILD
  python-toml/repos/community-any/python-toml-0.10.1-install_type_hints.patch

-+
 PKGBUILD|   99 +-
 python-toml-0.10.1-install_type_hints.patch |   22 ++---
 2 files changed, 62 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 20:40:14 UTC (rev 1294988)
+++ PKGBUILD2022-09-06 20:40:24 UTC (rev 1294989)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge 
-# Maintainer: Daniel M. Capella 
-
-_name=toml
-pkgname=python-toml
-pkgver=0.10.2
-pkgrel=7
-pkgdesc="A Python library for parsing and creating TOML"
-arch=('any')
-url="https://github.com/uiri/toml";
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-numpy' 'python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";
-"${pkgname}-0.10.1-install_type_hints.patch")
-sha256sums=('b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f'
-'7597ca115ba497797cf7c1330f5e93146ff5a924ef3bc331a8e77da12ee880cf')
-b2sums=('a613d5e86fc77279f2d7b130309627eed1cab3a65fe8647cb1dc3e58d09a9d58c078472638f06f45394b00c142bcb2bc75e9c0c649d58aade2f4f6bdab23f12e'
-
'23449773cb0c7004d6c367c4cef666561e16fcd38166d17428a8192f6649bdfa76277f20bd4662f7571bc020fba6e5614e8f7dcf8502d18eb1e0ede6cb3ddde2')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  patch -Np1 -i ../"${pkgname}-0.10.1-install_type_hints.patch"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="../build/lib/:${PYTHONPATH}"
-  # disable useless tests
-  pytest -v tests -k 'not test_invalid_tests and not test_valid_tests'
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
---optimize=1 \
---prefix=/usr \
---root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-toml/repos/community-any/PKGBUILD (from rev 1294987, 
python-toml/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 20:40:24 UTC (rev 1294989)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
+
+_name=toml
+pkgname=python-toml
+pkgver=0.10.2
+pkgrel=8
+pkgdesc="A Python library for parsing and creating TOML"
+arch=('any')
+url="https://github.com/uiri/toml";
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-numpy' 'python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";
+"${pkgname}-0.10.1-install_type_hints.patch")
+sha256sums=('b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f'
+'7597ca115ba497797cf7c1330f5e93146ff5a924ef3bc331a8e77da12ee880cf')
+b2sums=('a613d5e86fc77279f2d7b130309627eed1cab3a65fe8647cb1dc3e58d09a9d58c078472638f06f45394b00c142bcb2bc75e9c0c649d58aade2f4f6bdab23f12e'
+
'23449773cb0c7004d6c367c4cef666561e16fcd38166d17428a8192f6649bdfa76277f20bd4662f7571bc020fba6e5614e8f7dcf8502d18eb1e0ede6cb3ddde2')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i ../"${pkgname}-0.10.1-install_type_hints.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="../build/lib/:${PYTHONPATH}"
+  # disable useless tests
+  pytest -v tests -k 'not test_invalid_tests and not test_valid_tests'
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: python-toml-0.10.1-install_type_hints.patch
===
--- python-toml-0.10.1-install_type_hints.pat

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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:40:01
  Author: polyzen
Revision: 1294987

upgpkg: python-toml 0.10.2-8: Use PEP 517

Modified:
  python-toml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 20:39:56 UTC (rev 1294986)
+++ PKGBUILD2022-09-06 20:40:01 UTC (rev 1294987)
@@ -4,13 +4,14 @@
 _name=toml
 pkgname=python-toml
 pkgver=0.10.2
-pkgrel=7
+pkgrel=8
 pkgdesc="A Python library for parsing and creating TOML"
 arch=('any')
 url="https://github.com/uiri/toml";
 license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-numpy' 'python-pytest')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";
 "${pkgname}-0.10.1-install_type_hints.patch")
@@ -27,7 +28,7 @@
 
 build() {
   cd "$pkgname-$pkgver"
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -39,10 +40,12 @@
 
 package() {
   cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
---optimize=1 \
---prefix=/usr \
---root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-tokenize-rt/repos/community-any (PKGBUILD PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:33:27
  Author: polyzen
Revision: 1294958

archrelease: copy trunk to community-any

Added:
  python-tokenize-rt/repos/community-any/PKGBUILD
(from rev 1294957, python-tokenize-rt/trunk/PKGBUILD)
Deleted:
  python-tokenize-rt/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 20:33:20 UTC (rev 1294957)
+++ PKGBUILD2022-09-06 20:33:27 UTC (rev 1294958)
@@ -1,35 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=tokenize-rt
-pkgname=python-tokenize-rt
-pkgver=4.2.1
-pkgrel=3
-pkgdesc='Wrapper around the stdlib `tokenize` which roundtrips'
-arch=('any')
-url=https://github.com/asottile/tokenize-rt
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('b8cee02bbb9bb559a92645d8230abc29a58f100b9d03a496106bf9301ff2fa6b47e472970dc71203c61a7d1d3b95f6bb88ef8da15641c509efd10a7711e85d2b')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m pytest
-}
-
-package() {
-  cd $_name-$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-tokenize-rt/repos/community-any/PKGBUILD (from rev 1294957, 
python-tokenize-rt/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 20:33:27 UTC (rev 1294958)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel M. Capella 
+
+_name=tokenize-rt
+pkgname=python-tokenize-rt
+pkgver=4.2.1
+pkgrel=4
+pkgdesc='Wrapper around the stdlib `tokenize` which roundtrips'
+arch=('any')
+url=https://github.com/asottile/tokenize-rt
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest')
+source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
+b2sums=('b8cee02bbb9bb559a92645d8230abc29a58f100b9d03a496106bf9301ff2fa6b47e472970dc71203c61a7d1d3b95f6bb88ef8da15641c509efd10a7711e85d2b')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/tokenize_rt-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:33:08
  Author: polyzen
Revision: 1294956

upgpkg: python-tokenize-rt 4.2.1-4: Use PEP 517

Modified:
  python-tokenize-rt/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 20:33:02 UTC (rev 1294955)
+++ PKGBUILD2022-09-06 20:33:08 UTC (rev 1294956)
@@ -3,13 +3,14 @@
 _name=tokenize-rt
 pkgname=python-tokenize-rt
 pkgver=4.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc='Wrapper around the stdlib `tokenize` which roundtrips'
 arch=('any')
 url=https://github.com/asottile/tokenize-rt
 license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest')
 source=("$url/archive/v$pkgver/$_name-$pkgver.tar.gz")
 
b2sums=('b8cee02bbb9bb559a92645d8230abc29a58f100b9d03a496106bf9301ff2fa6b47e472970dc71203c61a7d1d3b95f6bb88ef8da15641c509efd10a7711e85d2b')
@@ -16,18 +17,23 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd $_name-$pkgver
   python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -m pytest
 }
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/tokenize_rt-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-sphinxcontrib-serializinghtml/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:29:15
  Author: polyzen
Revision: 1294938

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-serializinghtml/repos/community-any/PKGBUILD
(from rev 1294936, python-sphinxcontrib-serializinghtml/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-serializinghtml/repos/community-any/PKGBUILD

--+
 PKGBUILD |   70 -
 1 file changed, 37 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 20:29:10 UTC (rev 1294937)
+++ PKGBUILD2022-09-06 20:29:15 UTC (rev 1294938)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-serializinghtml
-pkgname=python-sphinxcontrib-serializinghtml
-pkgver=1.1.5
-pkgrel=3
-pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and 
pickle)'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-serializinghtml
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952')
-b2sums=('e2da8b1e1300a327b8d508ce98e7c0d3eff1e0cea28cd874df4fbd9ed0bd4de6c17e107e622ec72e00bb237025ae26b2c5aaa33b2156cee2fad7c8f8d2c65ed5')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$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-sphinxcontrib-serializinghtml/repos/community-any/PKGBUILD (from 
rev 1294936, python-sphinxcontrib-serializinghtml/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 20:29:15 UTC (rev 1294938)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-serializinghtml
+pkgname=python-sphinxcontrib-serializinghtml
+pkgver=1.1.5
+pkgrel=4
+pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and 
pickle)'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-serializinghtml
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952')
+b2sums=('e2da8b1e1300a327b8d508ce98e7c0d3eff1e0cea28cd874df4fbd9ed0bd4de6c17e107e622ec72e00bb237025ae26b2c5aaa33b2156cee2fad7c8f8d2c65ed5')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s 
"$site_packages"/sphinxcontrib_serializinghtml-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:28:57
  Author: polyzen
Revision: 1294935

upgpkg: python-sphinxcontrib-serializinghtml 1.1.5-4: Use PEP 517

Modified:
  python-sphinxcontrib-serializinghtml/trunk/PKGBUILD

--+
 PKGBUILD |   16 +++-
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 20:28:48 UTC (rev 1294934)
+++ PKGBUILD2022-09-06 20:28:57 UTC (rev 1294935)
@@ -3,12 +3,13 @@
 _name=sphinxcontrib-serializinghtml
 pkgname=python-sphinxcontrib-serializinghtml
 pkgver=1.1.5
-pkgrel=3
+pkgrel=4
 pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and 
pickle)'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-serializinghtml
 license=('BSD')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest' 'python-sphinx')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952')
@@ -16,7 +17,7 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -26,6 +27,11 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s 
"$site_packages"/sphinxcontrib_serializinghtml-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-sphinxcontrib-qthelp/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:24:43
  Author: polyzen
Revision: 1294916

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-qthelp/repos/community-any/PKGBUILD
(from rev 1294915, python-sphinxcontrib-qthelp/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-qthelp/repos/community-any/PKGBUILD

--+
 PKGBUILD |   78 +++--
 1 file changed, 46 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 20:24:26 UTC (rev 1294915)
+++ PKGBUILD2022-09-06 20:24:43 UTC (rev 1294916)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-qthelp
-pkgname=python-sphinxcontrib-qthelp
-pkgver=1.0.3
-pkgrel=8
-pkgdesc='Sphinx extension which outputs QtHelp document'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-qthelp
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$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-sphinxcontrib-qthelp/repos/community-any/PKGBUILD (from rev 
1294915, python-sphinxcontrib-qthelp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 20:24:43 UTC (rev 1294916)
@@ -0,0 +1,46 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-qthelp
+pkgname=python-sphinxcontrib-qthelp
+pkgver=1.0.3
+pkgrel=9
+pkgdesc='Sphinx extension which outputs QtHelp document'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-qthelp
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'qthelp-read_text.patch::https://github.com/sphinx-doc/sphinxcontrib-qthelp/commit/42ca78b178c640cd024f16bfa291ae5093ce4920.patch')
+sha256sums=('4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72'
+'8bfb2d888541298270dd6ac8eba0b3b9703fe90ecfa93a8721d0aa31b82197ab')
+b2sums=('7a82e8941d49836cf3e64aabe05ba65b34596f7ba0287b4dc7ed2c5940f6944d1853790d1d52637b03d934effbba8fc5094089e2924322cf1b373432c60bce6a'
+
'ee9338ed25c058754498d980e2baa08d50f7c59c8b2854c80929cf5e6ce3b4de0f1a18e9372d0abe9bec0f331b1328fa4068cb1c7a44adbac262c00b22123a51')
+
+prepare() {
+  cd $_name-$pkgver
+  # https://github.com/sphinx-doc/sphinxcontrib-qthelp/pull/14
+  patch --forward --strip=1 --input=../qthelp-read_text.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_qthelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:24:24
  Author: polyzen
Revision: 1294914

upgpkg: python-sphinxcontrib-qthelp 1.0.3-9: Use PEP 517

Modified:
  python-sphinxcontrib-qthelp/trunk/PKGBUILD

--+
 PKGBUILD |   30 +++---
 1 file changed, 23 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 20:24:13 UTC (rev 1294913)
+++ PKGBUILD2022-09-06 20:24:24 UTC (rev 1294914)
@@ -3,19 +3,30 @@
 _name=sphinxcontrib-qthelp
 pkgname=python-sphinxcontrib-qthelp
 pkgver=1.0.3
-pkgrel=8
+pkgrel=9
 pkgdesc='Sphinx extension which outputs QtHelp document'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-qthelp
 license=('BSD')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'qthelp-read_text.patch::https://github.com/sphinx-doc/sphinxcontrib-qthelp/commit/42ca78b178c640cd024f16bfa291ae5093ce4920.patch')
+sha256sums=('4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72'
+'8bfb2d888541298270dd6ac8eba0b3b9703fe90ecfa93a8721d0aa31b82197ab')
+b2sums=('7a82e8941d49836cf3e64aabe05ba65b34596f7ba0287b4dc7ed2c5940f6944d1853790d1d52637b03d934effbba8fc5094089e2924322cf1b373432c60bce6a'
+
'ee9338ed25c058754498d980e2baa08d50f7c59c8b2854c80929cf5e6ce3b4de0f1a18e9372d0abe9bec0f331b1328fa4068cb1c7a44adbac262c00b22123a51')
 
+prepare() {
+  cd $_name-$pkgver
+  # https://github.com/sphinx-doc/sphinxcontrib-qthelp/pull/14
+  patch --forward --strip=1 --input=../qthelp-read_text.patch
+}
+
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -25,6 +36,11 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_qthelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-sphinxcontrib-htmlhelp/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:16:27
  Author: polyzen
Revision: 1294882

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-htmlhelp/repos/community-any/PKGBUILD
(from rev 1294881, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-htmlhelp/repos/community-any/PKGBUILD

--+
 PKGBUILD |   84 +
 1 file changed, 46 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 20:16:20 UTC (rev 1294881)
+++ PKGBUILD2022-09-06 20:16:27 UTC (rev 1294882)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-htmlhelp
-pkgname=python-sphinxcontrib-htmlhelp
-pkgver=2.0.0
-pkgrel=4
-pkgdesc='Sphinx extension which renders HTML help files'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
-license=('BSD')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
-b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  # Deselect tests that have begun to fail at some point
-  pytest -k 'not test_build_htmlhelp and not test_htmlhelp_hhc'
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/sphinxcontrib_htmlhelp-$pkgver.dist-info/LICENSE \
-"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-sphinxcontrib-htmlhelp/repos/community-any/PKGBUILD (from rev 
1294881, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 20:16:27 UTC (rev 1294882)
@@ -0,0 +1,46 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-htmlhelp
+pkgname=python-sphinxcontrib-htmlhelp
+pkgver=2.0.0
+pkgrel=5
+pkgdesc='Sphinx extension which renders HTML help files'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'htmlhelp-read_txt.patch::https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commit/248ff52b3c3d39c20cdaef3052ac7507a407733a.patch')
+sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2'
+'064d99933b5b922181f7a6f89f745d32c7d7ae7f8cd864e9dca76c76b56e106a')
+b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749'
+
'a82d788549acacbcd3a5b056fea76c7f1dfe9a0ca3b367c0f456cbe32d394e21a07766e407311dd3b62b49fb7cec94a05fe26780ab2ec615e23bc9c255bba0ce')
+
+prepare() {
+  cd $_name-$pkgver
+  # https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/pull/16
+  patch --forward --strip=1 --input=../htmlhelp-read_txt.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_htmlhelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:16:08
  Author: polyzen
Revision: 1294879

upgpkg: python-sphinxcontrib-htmlhelp 2.0.0-5: Use PEP 517

Modified:
  python-sphinxcontrib-htmlhelp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 20:15:51 UTC (rev 1294878)
+++ PKGBUILD2022-09-06 20:16:08 UTC (rev 1294879)
@@ -3,7 +3,7 @@
 _name=sphinxcontrib-htmlhelp
 pkgname=python-sphinxcontrib-htmlhelp
 pkgver=2.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Sphinx extension which renders HTML help files'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
@@ -11,10 +11,19 @@
 makedepends=('python-build' 'python-installer' 'python-setuptools'
  'python-wheel')
 checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
-b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'htmlhelp-read_txt.patch::https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commit/248ff52b3c3d39c20cdaef3052ac7507a407733a.patch')
+sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2'
+'064d99933b5b922181f7a6f89f745d32c7d7ae7f8cd864e9dca76c76b56e106a')
+b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749'
+
'a82d788549acacbcd3a5b056fea76c7f1dfe9a0ca3b367c0f456cbe32d394e21a07766e407311dd3b62b49fb7cec94a05fe26780ab2ec615e23bc9c255bba0ce')
 
+prepare() {
+  cd $_name-$pkgver
+  # https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/pull/16
+  patch --forward --strip=1 --input=../htmlhelp-read_txt.patch
+}
+
 build() {
   cd $_name-$pkgver
   python -m build --wheel --skip-dependency-check --no-isolation
@@ -22,8 +31,7 @@
 
 check() {
   cd $_name-$pkgver
-  # Deselect tests that have begun to fail at some point
-  pytest -k 'not test_build_htmlhelp and not test_htmlhelp_hhc'
+  pytest
 }
 
 package() {



[arch-commits] Commit in python-sphinxcontrib-jsmath/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:11:29
  Author: polyzen
Revision: 1294860

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-jsmath/repos/community-any/PKGBUILD
(from rev 1294858, python-sphinxcontrib-jsmath/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-jsmath/repos/community-any/PKGBUILD

--+
 PKGBUILD |   78 +++--
 1 file changed, 46 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 20:11:27 UTC (rev 1294859)
+++ PKGBUILD2022-09-06 20:11:29 UTC (rev 1294860)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-jsmath
-pkgname=python-sphinxcontrib-jsmath
-pkgver=1.0.1
-pkgrel=11
-pkgdesc='Sphinx extension which renders display math in HTML via JavaScript'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-jsmath
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$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-sphinxcontrib-jsmath/repos/community-any/PKGBUILD (from rev 
1294858, python-sphinxcontrib-jsmath/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 20:11:29 UTC (rev 1294860)
@@ -0,0 +1,46 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-jsmath
+pkgname=python-sphinxcontrib-jsmath
+pkgver=1.0.1
+pkgrel=12
+pkgdesc='Sphinx extension which renders display math in HTML via JavaScript'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-jsmath
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'jsmath-read_text.patch::https://github.com/sphinx-doc/sphinxcontrib-jsmath/commit/3297b27177ab4862d1b2408a2db66235397fe212.patch')
+sha256sums=('a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8'
+'697764efeaa1a6ef234d516a4a6b3fde0c77197a89eaae3246daf8b3ad1f12df')
+b2sums=('055ff298e11678d7d30975e4bef509ece0128be30ca0c5fd2be1323c2eb4fe92f861826ea5ddfcbd2d3e3a80535b374d2b1a13446c2604f3e448d5a8982b9881'
+
'028e21e345de13f86e11bd5e7b5bd80c1add25b50321c983db3c61ebf5de9c776750fc763584abab0485a6e5e470b19dcbdbd1a068be35ddd18e4b4285fe569a')
+
+prepare() {
+  cd $_name-$pkgver
+  # https://github.com/sphinx-doc/sphinxcontrib-jsmath/pull/10
+  patch --forward --strip=1 --input=../jsmath-read_text.patch
+}
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_jsmath-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 20:11:07
  Author: polyzen
Revision: 1294857

upgpkg: python-sphinxcontrib-jsmath 1.0.1-12: Use PEP 517

Modified:
  python-sphinxcontrib-jsmath/trunk/PKGBUILD

--+
 PKGBUILD |   30 +++---
 1 file changed, 23 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 20:10:55 UTC (rev 1294856)
+++ PKGBUILD2022-09-06 20:11:07 UTC (rev 1294857)
@@ -3,19 +3,30 @@
 _name=sphinxcontrib-jsmath
 pkgname=python-sphinxcontrib-jsmath
 pkgver=1.0.1
-pkgrel=11
+pkgrel=12
 pkgdesc='Sphinx extension which renders display math in HTML via JavaScript'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-jsmath
 license=('BSD')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'jsmath-read_text.patch::https://github.com/sphinx-doc/sphinxcontrib-jsmath/commit/3297b27177ab4862d1b2408a2db66235397fe212.patch')
+sha256sums=('a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8'
+'697764efeaa1a6ef234d516a4a6b3fde0c77197a89eaae3246daf8b3ad1f12df')
+b2sums=('055ff298e11678d7d30975e4bef509ece0128be30ca0c5fd2be1323c2eb4fe92f861826ea5ddfcbd2d3e3a80535b374d2b1a13446c2604f3e448d5a8982b9881'
+
'028e21e345de13f86e11bd5e7b5bd80c1add25b50321c983db3c61ebf5de9c776750fc763584abab0485a6e5e470b19dcbdbd1a068be35ddd18e4b4285fe569a')
 
+prepare() {
+  cd $_name-$pkgver
+  # https://github.com/sphinx-doc/sphinxcontrib-jsmath/pull/10
+  patch --forward --strip=1 --input=../jsmath-read_text.patch
+}
+
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -25,6 +36,11 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_jsmath-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-sphinxcontrib-htmlhelp/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 19:56:19
  Author: polyzen
Revision: 1294802

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-htmlhelp/repos/community-any/PKGBUILD
(from rev 1294801, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-htmlhelp/repos/community-any/PKGBUILD

--+
 PKGBUILD |   71 -
 1 file changed, 38 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 19:56:12 UTC (rev 1294801)
+++ PKGBUILD2022-09-06 19:56:19 UTC (rev 1294802)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-htmlhelp
-pkgname=python-sphinxcontrib-htmlhelp
-pkgver=2.0.0
-pkgrel=3
-pkgdesc='Sphinx extension which renders HTML help files'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
-b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$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-sphinxcontrib-htmlhelp/repos/community-any/PKGBUILD (from rev 
1294801, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 19:56:19 UTC (rev 1294802)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-htmlhelp
+pkgname=python-sphinxcontrib-htmlhelp
+pkgver=2.0.0
+pkgrel=4
+pkgdesc='Sphinx extension which renders HTML help files'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
+b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  # Deselect tests that have begun to fail at some point
+  pytest -k 'not test_build_htmlhelp and not test_htmlhelp_hhc'
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_htmlhelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 19:55:57
  Author: polyzen
Revision: 1294799

upgpkg: python-sphinxcontrib-htmlhelp 2.0.0-4: Use PEP 517

Modified:
  python-sphinxcontrib-htmlhelp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 19:55:43 UTC (rev 1294798)
+++ PKGBUILD2022-09-06 19:55:57 UTC (rev 1294799)
@@ -3,12 +3,13 @@
 _name=sphinxcontrib-htmlhelp
 pkgname=python-sphinxcontrib-htmlhelp
 pkgver=2.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Sphinx extension which renders HTML help files'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
 license=('BSD')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
@@ -16,16 +17,22 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd $_name-$pkgver
-  pytest
+  # Deselect tests that have begun to fail at some point
+  pytest -k 'not test_build_htmlhelp and not test_htmlhelp_hhc'
 }
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_htmlhelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-sphinx/repos/community-any (6 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 19:08:11
  Author: polyzen
Revision: 1294587

archrelease: copy trunk to community-any

Added:
  
python-sphinx/repos/community-any/0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch
(from rev 1294585, 
python-sphinx/trunk/0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch)
  python-sphinx/repos/community-any/PKGBUILD
(from rev 1294585, python-sphinx/trunk/PKGBUILD)
  python-sphinx/repos/community-any/keys/
Deleted:
  
python-sphinx/repos/community-any/0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch
  python-sphinx/repos/community-any/PKGBUILD
  python-sphinx/repos/community-any/keys/

-+
 0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch |  260 
+-
 PKGBUILD|  120 ++--
 2 files changed, 193 insertions(+), 187 deletions(-)

Deleted: 0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch
===
--- 0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch 
2022-09-06 19:08:10 UTC (rev 1294586)
+++ 0001-Revert-Close-7996-manpage-Make-a-section-directory-o.patch 
2022-09-06 19:08:11 UTC (rev 1294587)
@@ -1,130 +0,0 @@
-From 413d1008d96a44cba5bf82030f7e95450ae82554 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= 
-Date: Sat, 15 May 2021 12:25:10 +0200
-Subject: [PATCH] Revert "Close #7996: manpage: Make a section directory on
- build manpage by default"
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This reverts commit a843fd3db8b588be93b576049a8a291bc4b3ec9d.
-
-Signed-off-by: Johannes Löthberg 

- CHANGES |  2 --
- doc/usage/configuration.rst |  4 +---
- sphinx/builders/manpage.py  |  2 +-
- tests/test_build_manpage.py | 12 ++--
- tests/test_smartquotes.py   |  4 ++--
- 5 files changed, 10 insertions(+), 14 deletions(-)
-
-diff --git a/CHANGES b/CHANGES
-index b7e4c7f0e..7ca08a6ac 100644
 a/CHANGES
-+++ b/CHANGES
-@@ -50,8 +50,6 @@ Incompatible changes
- * #7784: i18n: The msgid for alt text of image is changed
- * #5560: napoleon: :confval:`napoleon_use_param` also affect "other 
parameters"
-   section
--* #7996: manpage: Make a section directory on build manpage by default (see
--  :confval:`man_make_section_directory`)
- * #7849: html: Change the default setting of
-   :confval:`html_codeblock_linenos_style` to ``'inline'``
- * #8380: html search: search results are wrapped with  instead of
-diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst
-index 7b7a0a1d4..3bc402c9a 100644
 a/doc/usage/configuration.rst
-+++ b/doc/usage/configuration.rst
-@@ -2332,12 +2332,10 @@ These options influence manual page output.
- 
- .. confval:: man_make_section_directory
- 
--   If true, make a section directory on build man page.  Default is True.
-+   If true, make a section directory on build man page.  Default is False.
- 
-.. versionadded:: 3.3
--   .. versionchanged:: 4.0
- 
--  The default is changed to ``False`` from ``True``.
- 
- .. _texinfo-options:
- 
-diff --git a/sphinx/builders/manpage.py b/sphinx/builders/manpage.py
-index b993a2df4..532d2b8fe 100644
 a/sphinx/builders/manpage.py
-+++ b/sphinx/builders/manpage.py
-@@ -118,7 +118,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:
- 
- app.add_config_value('man_pages', default_man_pages, None)
- app.add_config_value('man_show_urls', False, None)
--app.add_config_value('man_make_section_directory', True, None)
-+app.add_config_value('man_make_section_directory', False, None)
- 
- return {
- 'version': 'builtin',
-diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py
-index 2affb8ba3..a017abc69 100644
 a/tests/test_build_manpage.py
-+++ b/tests/test_build_manpage.py
-@@ -17,9 +17,9 @@ from sphinx.config import Config
- @pytest.mark.sphinx('man')
- def test_all(app, status, warning):
- app.builder.build_all()
--assert (app.outdir / '1' / 'sphinxtests.1').exists()
-+assert (app.outdir / 'sphinxtests.1').exists()
- 
--content = (app.outdir / '1' / 'sphinxtests.1').read_text()
-+content = (app.outdir / 'sphinxtests.1').read_text()
- assert r'\fBprint \fP\fIi\fP\fB\en\fP' in content
- assert r'\fBmanpage\en\fP' in content
- 
-@@ -31,16 +31,16 @@ def test_all(app, status, warning):
- 
- 
- @pytest.mark.sphinx('man', testroot='basic',
--confoverrides={'man_make_section_directory': False})
-+confoverrides={'man_make_section_directory': True})
- def test_man_make_section_directory(app, status, warning):
- app.build()
--assert (app.outdir / 'python.1').exists()
-+assert (app.outdir / '1' / 'python.1').exists()
- 
- 
- @pytest.mark.sphinx('man', testroot='directive-code')
- def test_captioned_code

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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 19:07:39
  Author: polyzen
Revision: 1294583

upgpkg: python-sphinx 5.1.1-2: Use PEP 517

Modified:
  python-sphinx/trunk/PKGBUILD

--+
 PKGBUILD |   16 +++-
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 19:07:31 UTC (rev 1294582)
+++ PKGBUILD2022-09-06 19:07:39 UTC (rev 1294583)
@@ -6,7 +6,7 @@
 
 pkgname=python-sphinx
 pkgver=5.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Python documentation generator'
 arch=('any')
 url=http://www.sphinx-doc.org/
@@ -21,7 +21,8 @@
  'python-snowballstemmer'
  'python-sphinx-alabaster-theme'
  
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('cython'
   'imagemagick' 'librsvg'
   'python-html5lib'
@@ -40,7 +41,7 @@
 
 build() {
   cd Sphinx-$pkgver
-  make build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -50,8 +51,13 @@
 
 package() {
   cd Sphinx-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinx-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



[arch-commits] Commit in python-sphinxcontrib-devhelp/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 17:31:12
  Author: polyzen
Revision: 1294469

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-devhelp/repos/community-any/PKGBUILD
(from rev 1294468, python-sphinxcontrib-devhelp/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-devhelp/repos/community-any/PKGBUILD

--+
 PKGBUILD |   69 -
 1 file changed, 37 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 17:30:51 UTC (rev 1294468)
+++ PKGBUILD2022-09-06 17:31:12 UTC (rev 1294469)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-devhelp
-pkgname=python-sphinxcontrib-devhelp
-pkgver=1.0.2
-pkgrel=8
-pkgdesc='Sphinx extension which outputs Devhelp document'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-devhelp
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$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-sphinxcontrib-devhelp/repos/community-any/PKGBUILD (from rev 
1294468, python-sphinxcontrib-devhelp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 17:31:12 UTC (rev 1294469)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-devhelp
+pkgname=python-sphinxcontrib-devhelp
+pkgver=1.0.2
+pkgrel=9
+pkgdesc='Sphinx extension which outputs Devhelp document'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-devhelp
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4')
+b2sums=('fcf04148bc4a77963517d9011c20a6b77eee499f1a5dcd4a9631b4f415f80a9f7091b254f74ba2fbc9b7106dfb741dc839e14813e088d5a0802793ed457e95df')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_devhelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 17:30:51
  Author: polyzen
Revision: 1294468

upgpkg: python-sphinxcontrib-devhelp 1.0.2-9: Use PEP 517

Modified:
  python-sphinxcontrib-devhelp/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 17:29:26 UTC (rev 1294467)
+++ PKGBUILD2022-09-06 17:30:51 UTC (rev 1294468)
@@ -3,19 +3,21 @@
 _name=sphinxcontrib-devhelp
 pkgname=python-sphinxcontrib-devhelp
 pkgver=1.0.2
-pkgrel=8
+pkgrel=9
 pkgdesc='Sphinx extension which outputs Devhelp document'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-devhelp
 license=('BSD')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest' 'python-sphinx')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4')
+b2sums=('fcf04148bc4a77963517d9011c20a6b77eee499f1a5dcd4a9631b4f415f80a9f7091b254f74ba2fbc9b7106dfb741dc839e14813e088d5a0802793ed457e95df')
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -25,6 +27,11 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_devhelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-sphinxcontrib-applehelp/repos/community-any (2 files)

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 17:29:26
  Author: polyzen
Revision: 1294467

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD
(from rev 1294466, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD

--+
 PKGBUILD |   69 -
 1 file changed, 37 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 17:29:06 UTC (rev 1294466)
+++ PKGBUILD2022-09-06 17:29:26 UTC (rev 1294467)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-_name=sphinxcontrib-applehelp
-pkgname=python-sphinxcontrib-applehelp
-pkgver=1.0.2
-pkgrel=8
-pkgdesc='Sphinx extension which outputs Apple help books'
-arch=('any')
-url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
-license=('BSD')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-sphinx')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$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-sphinxcontrib-applehelp/repos/community-any/PKGBUILD (from rev 
1294466, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 17:29:26 UTC (rev 1294467)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella 
+
+_name=sphinxcontrib-applehelp
+pkgname=python-sphinxcontrib-applehelp
+pkgver=1.0.2
+pkgrel=9
+pkgdesc='Sphinx extension which outputs Apple help books'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
+license=('BSD')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
+b2sums=('9532cb990ed97c6773388a66895a066958187e9100d226e2274c26ba07fc5832e42ba407864b69b002da926a79e71ac2d6315125906156214df3920b585d9f71')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_applehelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-06 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 17:29:06
  Author: polyzen
Revision: 1294466

upgpkg: python-sphinxcontrib-applehelp 1.0.2-9: Use PEP 517

Modified:
  python-sphinxcontrib-applehelp/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 17:28:01 UTC (rev 1294465)
+++ PKGBUILD2022-09-06 17:29:06 UTC (rev 1294466)
@@ -3,19 +3,21 @@
 _name=sphinxcontrib-applehelp
 pkgname=python-sphinxcontrib-applehelp
 pkgver=1.0.2
-pkgrel=8
+pkgrel=9
 pkgdesc='Sphinx extension which outputs Apple help books'
 arch=('any')
 url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
 license=('BSD')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest' 'python-sphinx')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
+b2sums=('9532cb990ed97c6773388a66895a066958187e9100d226e2274c26ba07fc5832e42ba407864b69b002da926a79e71ac2d6315125906156214df3920b585d9f71')
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -25,6 +27,11 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinxcontrib_applehelp-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 06:26:54
  Author: polyzen
Revision: 1294183

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |  134 -
 1 file changed, 71 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 06:26:34 UTC (rev 1294182)
+++ PKGBUILD2022-09-06 06:26:54 UTC (rev 1294183)
@@ -1,63 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Daniel M. Capella 
-# Contributor: James Zhu 
-
-pkgname=python-black
-pkgver=22.8.0
-pkgrel=1
-pkgdesc='Uncompromising Python code formatter'
-arch=('any')
-url=https://github.com/psf/black
-license=('MIT')
-depends=('python' 'python-click' 'python-mypy_extensions' 'python-pathspec'
- 'python-platformdirs' 'python-tomli' 'python-typing_extensions')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
- 'python-wheel')
-checkdepends=('ipython' 'python-aiohttp' 'python-parameterized' 'python-pytest'
-  'python-typed-ast' 'python-tokenize-rt')
-optdepends=('ipython: for Jupyter notebook support'
-'python-tokenize-rt: for Jupyter notebook support'
-'python-aiohttp: for the blackd HTTP server'
-'python-colorama: for colored diffs')
-source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";)
-sha256sums=('792f7eb540ba9a17e8656538701d3eb1afcb134e3b45b71f20b25c77a8db7e6e')
-b2sums=('47f449896b26fb7a5ae2ed7ca4d8cddc1b918078b922723a66b021aabf5496f15348a0f911ed900ddb57562986f7abe08a3f4dd5800d95820f1f1d19da2d8c6e')
-
-build() {
-  cd "black-$pkgver"
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd "black-$pkgver"
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest
-}
-
-package() {
-  cd "black-$pkgver"
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/black-$pkgver.dist-info/LICENSE \
-"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # Completions
-  install -vd \
-
"$pkgdir/usr/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
-  _BLACK_COMPLETE=bash_source test-env/bin/black > \
-"$pkgdir/usr/share/bash-completion/completions/black"
-  _BLACK_COMPLETE=fish_source test-env/bin/black > \
-"$pkgdir/usr/share/fish/vendor_completions.d/black.fish"
-  _BLACK_COMPLETE=zsh_source test-env/bin/black > \
-"$pkgdir/usr/share/zsh/site-functions/_black"
-
-  # Vim plugin
-  install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/plugin" plugin/black.vim
-  install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/autoload" 
autoload/black.vim
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-black/repos/community-any/PKGBUILD (from rev 1294182, 
python-black/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 06:26:54 UTC (rev 1294183)
@@ -0,0 +1,71 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Daniel M. Capella 
+# Contributor: James Zhu 
+
+pkgname=python-black
+pkgver=22.8.0
+pkgrel=2
+pkgdesc='Uncompromising Python code formatter'
+arch=('any')
+url=https://github.com/psf/black
+license=('MIT')
+depends=('python' 'python-click' 'python-mypy_extensions' 'python-pathspec'
+ 'python-platformdirs' 'python-tomli' 'python-typing_extensions')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
+ 'python-wheel')
+checkdepends=('ipython' 'python-aiohttp' 'python-parameterized' 'python-pytest'
+  'python-typed-ast' 'python-tokenize-rt')
+optdepends=('ipython: for Jupyter notebook support'
+'python-tokenize-rt: for Jupyter notebook support'
+'python-aiohttp: for the blackd HTTP server'
+'python-colorama: for colored diffs')
+source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";)
+sha256sums=('792f7eb540ba9a17e8656538701d3eb1afcb134e3b45b71f20b25c77a8db7e6e')
+b2sums=('47f449896b26fb7a5ae2ed7ca4d8cddc1b918078b922723a66b021aabf5496f15348a0f911ed900ddb57562986f7abe08a3f4dd5800d95820f1f1d19da2d8c6e')
+
+build() {
+  cd "black-$pkgver"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "black-$pkgver"
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  # https://github.com/psf/black/issues/3251#issuecomment-1236413890
+  ul

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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 06:26:34
  Author: polyzen
Revision: 1294182

upgpkg: python-black 22.8.0-2: Install blackd completions

Fixes FS#75820

Modified:
  python-black/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 05:38:23 UTC (rev 1294181)
+++ PKGBUILD2022-09-06 06:26:34 UTC (rev 1294182)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=22.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black
@@ -32,6 +32,8 @@
   cd "black-$pkgver"
   python -m venv --system-site-packages test-env
   test-env/bin/python -m installer dist/*.whl
+  # https://github.com/psf/black/issues/3251#issuecomment-1236413890
+  ulimit -n 2048
   PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest
 }
 
@@ -54,6 +56,12 @@
 "$pkgdir/usr/share/fish/vendor_completions.d/black.fish"
   _BLACK_COMPLETE=zsh_source test-env/bin/black > \
 "$pkgdir/usr/share/zsh/site-functions/_black"
+  _BLACKD_COMPLETE=bash_source test-env/bin/blackd > \
+"$pkgdir/usr/share/bash-completion/completions/black"
+  _BLACKD_COMPLETE=fish_source test-env/bin/blackd > \
+"$pkgdir/usr/share/fish/vendor_completions.d/black.fish"
+  _BLACKD_COMPLETE=zsh_source test-env/bin/blackd > \
+"$pkgdir/usr/share/zsh/site-functions/_black"
 
   # Vim plugin
   install -Dm644 -t "$pkgdir/usr/share/vim/vimfiles/plugin" plugin/black.vim



[arch-commits] Commit in python-sphinx-autoapi/repos/community-any (PKGBUILD PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:38:23
  Author: polyzen
Revision: 1294181

archrelease: copy trunk to community-any

Added:
  python-sphinx-autoapi/repos/community-any/PKGBUILD
(from rev 1294180, python-sphinx-autoapi/trunk/PKGBUILD)
Deleted:
  python-sphinx-autoapi/repos/community-any/PKGBUILD

--+
 PKGBUILD |   84 +++--
 1 file changed, 44 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 05:38:04 UTC (rev 1294180)
+++ PKGBUILD2022-09-06 05:38:23 UTC (rev 1294181)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge 
-# Maintainer: Daniel M. Capella 
-
-_name=sphinx-autoapi
-pkgname=python-sphinx-autoapi
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="A new approach to API documentation in Sphinx."
-arch=('any')
-url="https://github.com/readthedocs/sphinx-autoapi";
-license=('MIT')
-depends=('python-astroid' 'python-jinja' 'python-sphinx' 'python-unidecode'
-'python-yaml')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest')
-# TODO: package python-go and python-dotnet
-# optdepends=('python-go' 'python-dotnet')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha256sums=('c897ea337df16ad0cde307cbdfe2bece207788dde1587fa4fc8b857d1fc5dcba')
-b2sums=('0c9cae319dec6169cdc9498139295994bb24f2d55ac00ffb7a582c04b80199cd2f5e5d6137dbf03dedcc56dd2c4ead9c0d4668c79f5e441d4b358c4f31ce9202')
-
-build() {
-  cd "$_name-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$_name-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$_name-$pkgver"
-  python setup.py install --skip-build \
---optimize=1 \
---root="${pkgdir}"
-  install -vDm 644 {CHANGELOG,README}.rst -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-sphinx-autoapi/repos/community-any/PKGBUILD (from rev 1294180, 
python-sphinx-autoapi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 05:38:23 UTC (rev 1294181)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
+
+_name=sphinx-autoapi
+pkgname=python-sphinx-autoapi
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="A new approach to API documentation in Sphinx."
+arch=('any')
+url="https://github.com/readthedocs/sphinx-autoapi";
+license=('MIT')
+depends=('python-astroid' 'python-jinja' 'python-sphinx' 'python-unidecode'
+'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-mock' 'python-pytest')
+# TODO: package python-go and python-dotnet
+# optdepends=('python-go' 'python-dotnet')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha256sums=('c897ea337df16ad0cde307cbdfe2bece207788dde1587fa4fc8b857d1fc5dcba')
+b2sums=('0c9cae319dec6169cdc9498139295994bb24f2d55ac00ffb7a582c04b80199cd2f5e5d6137dbf03dedcc56dd2c4ead9c0d4668c79f5e441d4b358c4f31ce9202')
+
+build() {
+  cd "$_name-$pkgver"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "$_name-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 {CHANGELOG,README}.rst -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinx_autoapi-$pkgver.dist-info/LICENSE.rst \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:38:04
  Author: polyzen
Revision: 1294180

upgpkg: python-sphinx-autoapi 1.9.0-2: Use PEP 517

Modified:
  python-sphinx-autoapi/trunk/PKGBUILD

--+
 PKGBUILD |   18 +++---
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 05:28:26 UTC (rev 1294179)
+++ PKGBUILD2022-09-06 05:38:04 UTC (rev 1294180)
@@ -4,7 +4,7 @@
 _name=sphinx-autoapi
 pkgname=python-sphinx-autoapi
 pkgver=1.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A new approach to API documentation in Sphinx."
 arch=('any')
 url="https://github.com/readthedocs/sphinx-autoapi";
@@ -11,7 +11,8 @@
 license=('MIT')
 depends=('python-astroid' 'python-jinja' 'python-sphinx' 'python-unidecode'
 'python-yaml')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-mock' 'python-pytest')
 # TODO: package python-go and python-dotnet
 # optdepends=('python-go' 'python-dotnet')
@@ -21,7 +22,7 @@
 
 build() {
   cd "$_name-$pkgver"
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -32,9 +33,12 @@
 
 package() {
   cd "$_name-$pkgver"
-  python setup.py install --skip-build \
---optimize=1 \
---root="${pkgdir}"
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 {CHANGELOG,README}.rst -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/sphinx_autoapi-$pkgver.dist-info/LICENSE.rst \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
 }



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:28:26
  Author: polyzen
Revision: 1294179

archrelease: copy trunk to community-any

Added:
  python-pyfiglet/repos/community-any/PKGBUILD
(from rev 1294178, python-pyfiglet/trunk/PKGBUILD)
Deleted:
  python-pyfiglet/repos/community-any/PKGBUILD

--+
 PKGBUILD |   64 ++---
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 05:28:08 UTC (rev 1294178)
+++ PKGBUILD2022-09-06 05:28:26 UTC (rev 1294179)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Victor Häggqvist 
-
-_name=pyfiglet
-pkgname=python-pyfiglet
-pkgver=0.8.post1
-pkgrel=5
-pkgdesc='Pure-python FIGlet implementation'
-url=https://github.com/pwaller/pyfiglet
-license=('GPL')
-arch=('any')
-depends=('python-setuptools')
-checkdepends=('figlet')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  PYTHONPATH=. python pyfiglet/test.py
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pyfiglet/repos/community-any/PKGBUILD (from rev 1294178, 
python-pyfiglet/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 05:28:26 UTC (rev 1294179)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Victor Häggqvist 
+
+_name=pyfiglet
+pkgname=python-pyfiglet
+pkgver=0.8.post1
+pkgrel=6
+pkgdesc='Pure-python FIGlet implementation'
+url=https://github.com/pwaller/pyfiglet
+license=('GPL')
+arch=('any')
+depends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+checkdepends=('figlet')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
+b2sums=('49268581974e72f28ddb11785a1629a4ac2696bcdd57710147cafdcf7709be8c67bdf03e5ccdb1655a9be6eb8a83baf4ca5ae0a6412e2318d0923376558b8d49')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  PYTHONPATH=. python pyfiglet/test.py
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:28:08
  Author: polyzen
Revision: 1294178

upgpkg: python-pyfiglet 0.8.post1-6: Use PEP 517

Modified:
  python-pyfiglet/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 05:23:24 UTC (rev 1294177)
+++ PKGBUILD2022-09-06 05:28:08 UTC (rev 1294178)
@@ -4,19 +4,21 @@
 _name=pyfiglet
 pkgname=python-pyfiglet
 pkgver=0.8.post1
-pkgrel=5
+pkgrel=6
 pkgdesc='Pure-python FIGlet implementation'
 url=https://github.com/pwaller/pyfiglet
 license=('GPL')
 arch=('any')
 depends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 checkdepends=('figlet')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
+b2sums=('49268581974e72f28ddb11785a1629a4ac2696bcdd57710147cafdcf7709be8c67bdf03e5ccdb1655a9be6eb8a83baf4ca5ae0a6412e2318d0923376558b8d49')
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -26,5 +28,5 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:23:24
  Author: polyzen
Revision: 1294177

archrelease: copy trunk to community-any

Added:
  python-pyee/repos/community-any/PKGBUILD
(from rev 1294176, python-pyee/trunk/PKGBUILD)
Deleted:
  python-pyee/repos/community-any/PKGBUILD

--+
 PKGBUILD |   90 -
 1 file changed, 48 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 05:23:05 UTC (rev 1294176)
+++ PKGBUILD2022-09-06 05:23:24 UTC (rev 1294177)
@@ -1,42 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Josh Holbrook 
-
-pkgname=python-pyee
-pkgver=9.0.4
-pkgrel=1
-pkgdesc="Port of node.js's EventEmitter to python"
-arch=('any')
-url=https://github.com/jfhbrook/pyee
-license=('MIT')
-depends=('python-typing-extensions')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest-asyncio' 'python-pytest-trio'
-  'python-twisted')
-optdepends=('python-trio' 'python-twisted')
-source=("https://files.pythonhosted.org/packages/source/p/pyee/pyee-$pkgver.tar.gz";)
-sha256sums=('2770c4928abc721f46b705e6a72b0c59480c4a69c9a83ca0b00bb994f1ea4b32')
-b2sums=('4402d50f5de27ccda64e731450d90cc62f80584e8603a0fda385f6b5598e905d6abaa760aa8e987443dc5990600535f2bd756334cf5b6d0e9d8bf59b4fcdba60')
-
-prepare() {
-  cd pyee-$pkgver
-  # Remove setup_requires list
-  sed -i '/setup_requires/,/\],/d' setup.py
-}
-
-build() {
-  cd pyee-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pyee-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m pytest
-}
-
-package() {
-  cd pyee-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}

Copied: python-pyee/repos/community-any/PKGBUILD (from rev 1294176, 
python-pyee/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 05:23:24 UTC (rev 1294177)
@@ -0,0 +1,48 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Josh Holbrook 
+
+pkgname=python-pyee
+pkgver=9.0.4
+pkgrel=2
+pkgdesc="Port of node.js's EventEmitter to python"
+arch=('any')
+url=https://github.com/jfhbrook/pyee
+license=('MIT')
+depends=('python-typing-extensions')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-mock' 'python-pytest-asyncio' 'python-pytest-trio'
+  'python-twisted')
+optdepends=('python-trio' 'python-twisted')
+source=("https://files.pythonhosted.org/packages/source/p/pyee/pyee-$pkgver.tar.gz";)
+sha256sums=('2770c4928abc721f46b705e6a72b0c59480c4a69c9a83ca0b00bb994f1ea4b32')
+b2sums=('4402d50f5de27ccda64e731450d90cc62f80584e8603a0fda385f6b5598e905d6abaa760aa8e987443dc5990600535f2bd756334cf5b6d0e9d8bf59b4fcdba60')
+
+prepare() {
+  cd pyee-$pkgver
+  # Remove setup_requires list
+  sed -i '/setup_requires/,/\],/d' setup.py
+}
+
+build() {
+  cd pyee-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd pyee-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd pyee-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/pyee-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:23:05
  Author: polyzen
Revision: 1294176

upgpkg: python-pyee 9.0.4-2: Use PEP 517

Modified:
  python-pyee/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 05:19:19 UTC (rev 1294175)
+++ PKGBUILD2022-09-06 05:23:05 UTC (rev 1294176)
@@ -3,13 +3,14 @@
 
 pkgname=python-pyee
 pkgver=9.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Port of node.js's EventEmitter to python"
 arch=('any')
 url=https://github.com/jfhbrook/pyee
 license=('MIT')
 depends=('python-typing-extensions')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-mock' 'python-pytest-asyncio' 'python-pytest-trio'
   'python-twisted')
 optdepends=('python-trio' 'python-twisted')
@@ -25,18 +26,23 @@
 
 build() {
   cd pyee-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd pyee-$pkgver
   python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -m pytest
 }
 
 package() {
   cd pyee-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/pyee-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in python-pycodestyle/repos/community-any (4 files)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:19:19
  Author: polyzen
Revision: 1294175

archrelease: copy trunk to community-any

Added:
  python-pycodestyle/repos/community-any/LICENSE
(from rev 1294174, python-pycodestyle/trunk/LICENSE)
  python-pycodestyle/repos/community-any/PKGBUILD
(from rev 1294174, python-pycodestyle/trunk/PKGBUILD)
Deleted:
  python-pycodestyle/repos/community-any/LICENSE
  python-pycodestyle/repos/community-any/PKGBUILD

--+
 LICENSE  |   48 
 PKGBUILD |   73 +
 2 files changed, 64 insertions(+), 57 deletions(-)

Deleted: LICENSE
===
--- LICENSE 2022-09-06 05:18:51 UTC (rev 1294174)
+++ LICENSE 2022-09-06 05:19:19 UTC (rev 1294175)
@@ -1,24 +0,0 @@
-Copyright © 2006-2009 Johann C. Rocholl 
-Copyright © 2009-2013 Florent Xicluna 
-
-Licensed under the terms of the Expat License
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation files
-(the "Software"), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge,
-publish, distribute, sublicense, and/or sell copies of the Software,
-and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

Copied: python-pycodestyle/repos/community-any/LICENSE (from rev 1294174, 
python-pycodestyle/trunk/LICENSE)
===
--- LICENSE (rev 0)
+++ LICENSE 2022-09-06 05:19:19 UTC (rev 1294175)
@@ -0,0 +1,24 @@
+Copyright © 2006-2009 Johann C. Rocholl 
+Copyright © 2009-2013 Florent Xicluna 
+
+Licensed under the terms of the Expat License
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 05:18:51 UTC (rev 1294174)
+++ PKGBUILD2022-09-06 05:19:19 UTC (rev 1294175)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Ismael Carnales 
-# Contributor: Sergey Mastykov 
-
-pkgname=python-pycodestyle
-pkgver=2.9.1
-pkgrel=1
-pkgdesc="Python style guide checker"
-arch=('any')
-url="https://pycodestyle.pycqa.org";
-license=('custom:Expat')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://github.com/PyCQA/pycodestyle/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('420248fa90b67a625acc7cca0bde4e8a0f69e0de9e2798ddd3b3c6ee8c9917b0c8c970dde2f01881ac446354d75131a84bbe7c207754190343f6df5d3b125ab7')
-
-build() {
-  cd pycodestyle-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pycodestyle-$pkgver
-  python -m unittest discover
-}
-
-package() {
-  cd pycodestyle-$pkgver
-  python setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pycodestyle/repos/community-any/PKGBUILD (from rev 1294174, 
python-pycodestyle/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 05:19:19 UTC (rev 1294175)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Maintainer: Daniel M. cape...@archlinux.org>
+# C

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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:18:51
  Author: polyzen
Revision: 1294174

upgpkg: python-pycodestyle 2.9.1-2: Use PEP 517

Modified:
  python-pycodestyle/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 05:08:37 UTC (rev 1294173)
+++ PKGBUILD2022-09-06 05:18:51 UTC (rev 1294174)
@@ -1,22 +1,24 @@
 # Maintainer: Felix Yan 
+# Maintainer: Daniel M. cape...@archlinux.org>
 # Contributor: Ismael Carnales 
 # Contributor: Sergey Mastykov 
 
 pkgname=python-pycodestyle
 pkgver=2.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Python style guide checker"
 arch=('any')
 url="https://pycodestyle.pycqa.org";
 license=('custom:Expat')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://github.com/PyCQA/pycodestyle/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
 
sha512sums=('420248fa90b67a625acc7cca0bde4e8a0f69e0de9e2798ddd3b3c6ee8c9917b0c8c970dde2f01881ac446354d75131a84bbe7c207754190343f6df5d3b125ab7')
 
 build() {
   cd pycodestyle-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -26,8 +28,13 @@
 
 package() {
   cd pycodestyle-$pkgver
-  python setup.py install -O1 --prefix=/usr --root="$pkgdir/"
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/pycodestyle-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



[arch-commits] Commit in python-pdftotext/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:08:37
  Author: polyzen
Revision: 1294173

archrelease: copy trunk to community-x86_64

Added:
  python-pdftotext/repos/community-x86_64/PKGBUILD
(from rev 1294172, python-pdftotext/trunk/PKGBUILD)
Deleted:
  python-pdftotext/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   76 -
 1 file changed, 40 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 05:08:18 UTC (rev 1294172)
+++ PKGBUILD2022-09-06 05:08:37 UTC (rev 1294173)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Shane Stone 
-
-_name=pdftotext
-pkgname=python-pdftotext
-pkgver=2.2.2
-pkgrel=2
-pkgdesc='Simple PDF text extraction'
-arch=('x86_64')
-url=https://github.com/jalan/pdftotext
-license=('MIT')
-depends=('poppler' 'python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee')
-b2sums=('5ab471cfbccd50d6b9f16e083e2b059c3fedd8eee57988a10516e9ca42dcec7743741ec4d7fd1d00e81efcce58880c9e2b2cc9cb1b9c760cfbbe98ce6cd4f1b9')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m unittest discover
-}
-
-package() {
-  cd $_name-$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-pdftotext/repos/community-x86_64/PKGBUILD (from rev 1294172, 
python-pdftotext/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 05:08:37 UTC (rev 1294173)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Shane Stone 
+
+_name=pdftotext
+pkgname=python-pdftotext
+pkgver=2.2.2
+pkgrel=3
+pkgdesc='Simple PDF text extraction'
+arch=('x86_64')
+url=https://github.com/jalan/pdftotext
+license=('MIT')
+depends=('poppler' 'python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee')
+b2sums=('5ab471cfbccd50d6b9f16e083e2b059c3fedd8eee57988a10516e9ca42dcec7743741ec4d7fd1d00e81efcce58880c9e2b2cc9cb1b9c760cfbbe98ce6cd4f1b9')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m unittest discover
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:08:18
  Author: polyzen
Revision: 1294172

upgpkg: python-pdftotext 2.2.2-3: Use PEP 517

Modified:
  python-pdftotext/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 05:01:18 UTC (rev 1294171)
+++ PKGBUILD2022-09-06 05:08:18 UTC (rev 1294172)
@@ -4,13 +4,14 @@
 _name=pdftotext
 pkgname=python-pdftotext
 pkgver=2.2.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Simple PDF text extraction'
 arch=('x86_64')
 url=https://github.com/jalan/pdftotext
 license=('MIT')
 depends=('poppler' 'python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee')
 
b2sums=('5ab471cfbccd50d6b9f16e083e2b059c3fedd8eee57988a10516e9ca42dcec7743741ec4d7fd1d00e81efcce58880c9e2b2cc9cb1b9c760cfbbe98ce6cd4f1b9')
@@ -17,18 +18,23 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd $_name-$pkgver
   python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -m unittest discover
 }
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:01:18
  Author: polyzen
Revision: 1294171

archrelease: copy trunk to community-any

Added:
  python-littleutils/repos/community-any/PKGBUILD
(from rev 1294170, python-littleutils/trunk/PKGBUILD)
Deleted:
  python-littleutils/repos/community-any/PKGBUILD

--+
 PKGBUILD |   73 ++---
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 05:00:58 UTC (rev 1294170)
+++ PKGBUILD2022-09-06 05:01:18 UTC (rev 1294171)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Jose Riha 
-
-_name=littleutils
-pkgname=python-littleutils
-pkgver=0.2.2
-pkgrel=3
-pkgdesc='Small personal collection of python utility functions'
-arch=('any')
-url=https://github.com/alexmojaki/littleutils
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
-
'littleutils-LICENSE::https://raw.githubusercontent.com/alexmojaki/littleutils/master/LICENSE')
-sha256sums=('e6cae3a4203e530d51c9667ed310ffe3b1948f2876e3d69605b3de4b7d96916f'
-'dfe14f8798c400cbcc85bb4536a686c6fcf3086b3446c3f7c7054a2bcd73ca6a')
-b2sums=('80aec2c133e39eb0e18c948b15d475e60842689fd0e758c43511a8b014648d7c9e843182e2a87c0b3f9933f748340f2059653f0885cf416edbc5a60457c70629'
-
'e44ad793561d875774b4af672b66ee48156279a99d23a4c2d24425b33adf6fa6cc0c2abc6f99302b435da198b3525c4107f56bbed06155162712e1bd9b13e62e')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python littleutils/__init__.py
-}
-
-package() {
-  install -Dm644 littleutils-LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-littleutils/repos/community-any/PKGBUILD (from rev 1294170, 
python-littleutils/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 05:01:18 UTC (rev 1294171)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Jose Riha 
+
+_name=littleutils
+pkgname=python-littleutils
+pkgver=0.2.2
+pkgrel=4
+pkgdesc='Small personal collection of python utility functions'
+arch=('any')
+url=https://github.com/alexmojaki/littleutils
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
+
'littleutils-LICENSE::https://raw.githubusercontent.com/alexmojaki/littleutils/master/LICENSE')
+sha256sums=('e6cae3a4203e530d51c9667ed310ffe3b1948f2876e3d69605b3de4b7d96916f'
+'dfe14f8798c400cbcc85bb4536a686c6fcf3086b3446c3f7c7054a2bcd73ca6a')
+b2sums=('80aec2c133e39eb0e18c948b15d475e60842689fd0e758c43511a8b014648d7c9e843182e2a87c0b3f9933f748340f2059653f0885cf416edbc5a60457c70629'
+
'e44ad793561d875774b4af672b66ee48156279a99d23a4c2d24425b33adf6fa6cc0c2abc6f99302b435da198b3525c4107f56bbed06155162712e1bd9b13e62e')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python littleutils/__init__.py
+}
+
+package() {
+  install -Dm644 littleutils-LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 05:00:58
  Author: polyzen
Revision: 1294170

upgpkg: python-littleutils 0.2.2-4: Use PEP 517

Modified:
  python-littleutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 04:53:05 UTC (rev 1294169)
+++ PKGBUILD2022-09-06 05:00:58 UTC (rev 1294170)
@@ -4,13 +4,14 @@
 _name=littleutils
 pkgname=python-littleutils
 pkgver=0.2.2
-pkgrel=3
+pkgrel=4
 pkgdesc='Small personal collection of python utility functions'
 arch=('any')
 url=https://github.com/alexmojaki/littleutils
 license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";
 
'littleutils-LICENSE::https://raw.githubusercontent.com/alexmojaki/littleutils/master/LICENSE')
 sha256sums=('e6cae3a4203e530d51c9667ed310ffe3b1948f2876e3d69605b3de4b7d96916f'
@@ -20,7 +21,7 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -32,5 +33,5 @@
   install -Dm644 littleutils-LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 04:53:05
  Author: polyzen
Revision: 1294169

archrelease: copy trunk to community-any

Added:
  python-minidb/repos/community-any/PKGBUILD
(from rev 1294168, python-minidb/trunk/PKGBUILD)
Deleted:
  python-minidb/repos/community-any/PKGBUILD

--+
 PKGBUILD |   74 +++--
 1 file changed, 38 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 04:52:44 UTC (rev 1294168)
+++ PKGBUILD2022-09-06 04:53:05 UTC (rev 1294169)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Balló György 
-
-_name=minidb
-pkgname=python-minidb
-pkgver=2.0.6
-pkgrel=1
-pkgdesc='Simple SQLite3 store for Python objects'
-arch=('any')
-url=https://thp.io/2010/minidb/
-license=('ISC')
-depends=('python')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('8bf0aca9b89cb1e8b7bfd8ad8b5a7208bd2fb046e343b3d656ea00f8bcfd6f5e')
-b2sums=('00e070d1cbe1966d44228f6ad13b9280ee8d79b1b37a72d685dc53b05d329e6ee02f77a7cac729e6c4e651d66d88d1fcd7be7f704e91b3ef28c928bfed50')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  sed -n '/# Copyright/,/OF THIS SOFTWARE./p' minidb.py > 
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: python-minidb/repos/community-any/PKGBUILD (from rev 1294168, 
python-minidb/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 04:53:05 UTC (rev 1294169)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Balló György 
+
+_name=minidb
+pkgname=python-minidb
+pkgver=2.0.6
+pkgrel=2
+pkgdesc='Simple SQLite3 store for Python objects'
+arch=('any')
+url=https://thp.io/2010/minidb/
+license=('ISC')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('8bf0aca9b89cb1e8b7bfd8ad8b5a7208bd2fb046e343b3d656ea00f8bcfd6f5e')
+b2sums=('00e070d1cbe1966d44228f6ad13b9280ee8d79b1b37a72d685dc53b05d329e6ee02f77a7cac729e6c4e651d66d88d1fcd7be7f704e91b3ef28c928bfed50')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  sed -n '/# Copyright/,/OF THIS SOFTWARE./p' minidb.py > 
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 04:52:44
  Author: polyzen
Revision: 1294168

upgpkg: python-minidb 2.0.6-2: Use PEP 517

Modified:
  python-minidb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 04:46:50 UTC (rev 1294167)
+++ PKGBUILD2022-09-06 04:52:44 UTC (rev 1294168)
@@ -4,12 +4,14 @@
 _name=minidb
 pkgname=python-minidb
 pkgver=2.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Simple SQLite3 store for Python objects'
 arch=('any')
 url=https://thp.io/2010/minidb/
 license=('ISC')
 depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('python-pytest')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('8bf0aca9b89cb1e8b7bfd8ad8b5a7208bd2fb046e343b3d656ea00f8bcfd6f5e')
@@ -17,19 +19,19 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd $_name-$pkgver
   python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -m pytest
 }
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -d "$pkgdir"/usr/share/licenses/$pkgname
   sed -n '/# Copyright/,/OF THIS SOFTWARE./p' minidb.py > 
"$pkgdir"/usr/share/licenses/$pkgname/COPYING



[arch-commits] Commit in python-matplotlib-inline/repos/community-any (2 files)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 04:46:50
  Author: polyzen
Revision: 1294167

archrelease: copy trunk to community-any

Added:
  python-matplotlib-inline/repos/community-any/PKGBUILD
(from rev 1294166, python-matplotlib-inline/trunk/PKGBUILD)
Deleted:
  python-matplotlib-inline/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 04:46:30 UTC (rev 1294166)
+++ PKGBUILD2022-09-06 04:46:50 UTC (rev 1294167)
@@ -1,38 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Maintainer: Bruno Pagani 
-
-_name=matplotlib-inline
-pkgname=python-matplotlib-inline
-pkgver=0.1.6
-pkgrel=1
-pkgdesc='Inline Matplotlib backend for Jupyter'
-arch=('any')
-url=https://github.com/ipython/matplotlib-inline
-license=('BSD')
-depends=('python-traitlets')
-makedepends=('python-setuptools')
-checkdepends=('ipython' 'python-matplotlib')
-optdepends=('python-matplotlib')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304')
-b2sums=('3c8579660c36f790604c2ddcc99b587b8f54135f823d1a04b3e7ad5709bf7ba49cecd22da164c7bd6ffba4b84d61681f063ca036fba2d4a0cfaf81a9ea66a7e2')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -c 'from matplotlib_inline.backend_inline import show'
-}
-
-package() {
-  cd $_name-$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-matplotlib-inline/repos/community-any/PKGBUILD (from rev 
1294166, python-matplotlib-inline/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 04:46:50 UTC (rev 1294167)
@@ -0,0 +1,44 @@
+# Maintainer: Daniel M. Capella 
+# Maintainer: Bruno Pagani 
+
+_name=matplotlib-inline
+pkgname=python-matplotlib-inline
+pkgver=0.1.6
+pkgrel=2
+pkgdesc='Inline Matplotlib backend for Jupyter'
+arch=('any')
+url=https://github.com/ipython/matplotlib-inline
+license=('BSD')
+depends=('python-traitlets')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('ipython' 'python-matplotlib')
+optdepends=('python-matplotlib')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304')
+b2sums=('3c8579660c36f790604c2ddcc99b587b8f54135f823d1a04b3e7ad5709bf7ba49cecd22da164c7bd6ffba4b84d61681f063ca036fba2d4a0cfaf81a9ea66a7e2')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -c 'from matplotlib_inline.backend_inline import show'
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/matplotlib_inline-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 04:46:30
  Author: polyzen
Revision: 1294166

upgpkg: python-matplotlib-inline 0.1.6-2: Use PEP 517

Modified:
  python-matplotlib-inline/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 04:42:35 UTC (rev 1294165)
+++ PKGBUILD2022-09-06 04:46:30 UTC (rev 1294166)
@@ -4,13 +4,14 @@
 _name=matplotlib-inline
 pkgname=python-matplotlib-inline
 pkgver=0.1.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Inline Matplotlib backend for Jupyter'
 arch=('any')
 url=https://github.com/ipython/matplotlib-inline
 license=('BSD')
 depends=('python-traitlets')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 checkdepends=('ipython' 'python-matplotlib')
 optdepends=('python-matplotlib')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
@@ -19,20 +20,25 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd $_name-$pkgver
   python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m installer dist/*.whl
   test-env/bin/python -c 'from matplotlib_inline.backend_inline import show'
 }
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/matplotlib_inline-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



[arch-commits] Commit in python-flake8-docstrings/repos/community-any (2 files)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 04:42:35
  Author: polyzen
Revision: 1294165

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   69 +
 1 file changed, 33 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 04:42:11 UTC (rev 1294164)
+++ PKGBUILD2022-09-06 04:42:35 UTC (rev 1294165)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Pieter Goetschalckx <3.14.e.ter  gmail  com>
-
-_name=flake8-docstrings
-pkgname=python-flake8-docstrings
-pkgver=1.6.0
-pkgrel=2
-pkgdesc='Plugin to Flake8 to include checks provided by pydocstyle'
-arch=('any')
-url=https://gitlab.com/pycqa/flake8-docstrings
-license=('MIT')
-depends=('flake8' 'python-pydocstyle')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b')
-b2sums=('ee147e27f226675a2a59375b9e7812d111a34bef1bc35843096f8e7ca9cd94ac805ca49a8d83d1f6d7a78dbf6338a0a1270d668b51775a2b91ad7c3172ad41da')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m flake8 flake8_docstrings.py
-}
-
-package() {
-  cd $_name-$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-flake8-docstrings/repos/community-any/PKGBUILD (from rev 
1294164, python-flake8-docstrings/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 04:42:35 UTC (rev 1294165)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Pieter Goetschalckx <3.14.e.ter  gmail  com>
+
+_name=flake8-docstrings
+pkgname=python-flake8-docstrings
+pkgver=1.6.0
+pkgrel=3
+pkgdesc='Plugin to Flake8 to include checks provided by pydocstyle'
+arch=('any')
+url=https://gitlab.com/pycqa/flake8-docstrings
+license=('MIT')
+depends=('flake8' 'python-pydocstyle')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b')
+b2sums=('ee147e27f226675a2a59375b9e7812d111a34bef1bc35843096f8e7ca9cd94ac805ca49a8d83d1f6d7a78dbf6338a0a1270d668b51775a2b91ad7c3172ad41da')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/flake8_docstrings-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 04:42:11
  Author: polyzen
Revision: 1294164

upgpkg: python-flake8-docstrings 1.6.0-3: Use PEP 517

Modified:
  python-flake8-docstrings/trunk/PKGBUILD

--+
 PKGBUILD |   23 +++
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 04:08:37 UTC (rev 1294163)
+++ PKGBUILD2022-09-06 04:42:11 UTC (rev 1294164)
@@ -4,13 +4,14 @@
 _name=flake8-docstrings
 pkgname=python-flake8-docstrings
 pkgver=1.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Plugin to Flake8 to include checks provided by pydocstyle'
 arch=('any')
 url=https://gitlab.com/pycqa/flake8-docstrings
 license=('MIT')
 depends=('flake8' 'python-pydocstyle')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b')
 
b2sums=('ee147e27f226675a2a59375b9e7812d111a34bef1bc35843096f8e7ca9cd94ac805ca49a8d83d1f6d7a78dbf6338a0a1270d668b51775a2b91ad7c3172ad41da')
@@ -17,18 +18,16 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
-check() {
+package() {
   cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m flake8 flake8_docstrings.py
-}
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/flake8_docstrings-$pkgver.dist-info/LICENSE \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



[arch-commits] Commit in rust-analyzer/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:46:27
  Author: polyzen
Revision: 1294161

archrelease: copy trunk to community-x86_64

Added:
  rust-analyzer/repos/community-x86_64/PKGBUILD
(from rev 1294160, rust-analyzer/trunk/PKGBUILD)
Deleted:
  rust-analyzer/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 03:46:08 UTC (rev 1294160)
+++ PKGBUILD2022-09-06 03:46:27 UTC (rev 1294161)
@@ -1,31 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Sergey A. 
-
-pkgname=rust-analyzer
-_pkgver=2022-09-05
-pkgver=${_pkgver//-}
-pkgrel=2
-pkgdesc='Rust compiler front-end for IDEs'
-arch=('x86_64')
-url=https://rust-analyzer.github.io/
-license=('Apache' 'MIT')
-depends=('gcc-libs' 'rust-src')
-makedepends=('git')
-source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver";)
-b2sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd $pkgname
-  CFG_RELEASE=1 cargo build --release --locked --offline
-}
-
-package() {
-  cd $pkgname
-  install -Dt "$pkgdir"/usr/bin target/release/$pkgname{,-proc-macro-srv}
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
-}

Copied: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 1294160, 
rust-analyzer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 03:46:27 UTC (rev 1294161)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Sergey A. 
+
+pkgname=rust-analyzer
+_pkgver=2022-09-05
+pkgver=${_pkgver//-}
+pkgrel=1
+pkgdesc='Rust compiler front-end for IDEs'
+arch=('x86_64')
+url=https://rust-analyzer.github.io/
+license=('Apache' 'MIT')
+depends=('gcc-libs' 'rust-src')
+makedepends=('git')
+source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver";)
+b2sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd $pkgname
+  CFG_RELEASE=1 cargo build --release --locked --offline
+}
+
+package() {
+  cd $pkgname
+  install -Dt "$pkgdir"/usr/bin target/release/$pkgname{,-proc-macro-srv}
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}



[arch-commits] Commit in rust-analyzer/trunk (PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:46:08
  Author: polyzen
Revision: 1294160

upgpkg: rust-analyzer 20220905-1: Fix pkgrel

Modified:
  rust-analyzer/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 03:42:44 UTC (rev 1294159)
+++ PKGBUILD2022-09-06 03:46:08 UTC (rev 1294160)
@@ -4,7 +4,7 @@
 pkgname=rust-analyzer
 _pkgver=2022-09-05
 pkgver=${_pkgver//-}
-pkgrel=2
+pkgrel=1
 pkgdesc='Rust compiler front-end for IDEs'
 arch=('x86_64')
 url=https://rust-analyzer.github.io/



[arch-commits] Commit in ublock-origin/repos/community-any (4 files)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:42:44
  Author: polyzen
Revision: 1294159

archrelease: copy trunk to community-any

Added:
  ublock-origin/repos/community-any/PKGBUILD
(from rev 1294158, ublock-origin/trunk/PKGBUILD)
  ublock-origin/repos/community-any/keys/
Deleted:
  ublock-origin/repos/community-any/PKGBUILD
  ublock-origin/repos/community-any/keys/

--+
 PKGBUILD |  100 ++---
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 03:42:21 UTC (rev 1294158)
+++ PKGBUILD2022-09-06 03:42:44 UTC (rev 1294159)
@@ -1,50 +0,0 @@
-# Maintainer: Daniel M. Capella 
-
-pkgname=('ublock-origin' 'firefox-ublock-origin')
-pkgbase=ublock-origin
-pkgver=1.44.0
-pkgrel=1
-pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
-arch=('any')
-url=https://github.com/gorhill/uBlock
-license=('GPL3')
-makedepends=('git' 'npm' 'python' 'strip-nondeterminism' 'zip')
-source=("git+$url.git#commit=$pkgver?signed"
-"git+https://github.com/uBlockOrigin/uAssets.git";)
-b2sums=('SKIP'
-'SKIP')
-validpgpkeys=('603B28AA5D6CD687A554347425E1490B761470C2') # Raymond Hill 

-
-prepare() {
-  cd uBlock
-  git submodule init
-  git config submodule.submodules/uAssets.url ../uAssets
-  git submodule update
-}
-
-build() {
-  cd uBlock
-  make
-  strip-nondeterminism -t zip dist/build/uBlock0.firefox.xpi
-}
-
-check() {
-  cd uBlock
-  make test
-}
-
-package_ublock-origin() {
-  pkgdesc+=' (unpacked webextension)'
-  provides=('chromium-ublock-origin')
-  replaces=('chromium-ublock-origin')
-  cd uBlock/dist/build/uBlock0.chromium
-  install -d "$pkgdir"/usr/lib/$pkgbase
-  cp -r -- * "$pkgdir"/usr/lib/$pkgbase
-}
-
-package_firefox-ublock-origin() {
-  groups=('firefox-addons')
-  cd uBlock/dist/build
-  install -Dm644 uBlock0.firefox.xpi \
-"$pkgdir"/usr/lib/firefox/browser/extensions/ublo...@raymondhill.net.xpi
-}

Copied: ublock-origin/repos/community-any/PKGBUILD (from rev 1294158, 
ublock-origin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 03:42:44 UTC (rev 1294159)
@@ -0,0 +1,50 @@
+# Maintainer: Daniel M. Capella 
+
+pkgname=('ublock-origin' 'firefox-ublock-origin')
+pkgbase=ublock-origin
+pkgver=1.44.2
+pkgrel=1
+pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
+arch=('any')
+url=https://github.com/gorhill/uBlock
+license=('GPL3')
+makedepends=('git' 'npm' 'python' 'strip-nondeterminism' 'zip')
+source=("git+$url.git#commit=$pkgver?signed"
+"git+https://github.com/uBlockOrigin/uAssets.git";)
+b2sums=('SKIP'
+'SKIP')
+validpgpkeys=('603B28AA5D6CD687A554347425E1490B761470C2') # Raymond Hill 

+
+prepare() {
+  cd uBlock
+  git submodule init
+  git config submodule.submodules/uAssets.url ../uAssets
+  git submodule update
+}
+
+build() {
+  cd uBlock
+  make
+  strip-nondeterminism -t zip dist/build/uBlock0.firefox.xpi
+}
+
+check() {
+  cd uBlock
+  make test
+}
+
+package_ublock-origin() {
+  pkgdesc+=' (unpacked webextension)'
+  provides=('chromium-ublock-origin')
+  replaces=('chromium-ublock-origin')
+  cd uBlock/dist/build/uBlock0.chromium
+  install -d "$pkgdir"/usr/lib/$pkgbase
+  cp -r -- * "$pkgdir"/usr/lib/$pkgbase
+}
+
+package_firefox-ublock-origin() {
+  groups=('firefox-addons')
+  cd uBlock/dist/build
+  install -Dm644 uBlock0.firefox.xpi \
+"$pkgdir"/usr/lib/firefox/browser/extensions/ublo...@raymondhill.net.xpi
+}



[arch-commits] Commit in ublock-origin/trunk (PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:42:21
  Author: polyzen
Revision: 1294158

upgpkg: ublock-origin 1.44.2-1

Modified:
  ublock-origin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 03:38:04 UTC (rev 1294157)
+++ PKGBUILD2022-09-06 03:42:21 UTC (rev 1294158)
@@ -2,7 +2,7 @@
 
 pkgname=('ublock-origin' 'firefox-ublock-origin')
 pkgbase=ublock-origin
-pkgver=1.44.0
+pkgver=1.44.2
 pkgrel=1
 pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
 arch=('any')



[arch-commits] Commit in rust-analyzer/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:38:04
  Author: polyzen
Revision: 1294157

archrelease: copy trunk to community-x86_64

Added:
  rust-analyzer/repos/community-x86_64/PKGBUILD
(from rev 1294156, rust-analyzer/trunk/PKGBUILD)
Deleted:
  rust-analyzer/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   62 ++---
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 03:37:42 UTC (rev 1294156)
+++ PKGBUILD2022-09-06 03:38:04 UTC (rev 1294157)
@@ -1,31 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: Sergey A. 
-
-pkgname=rust-analyzer
-_pkgver=2022-08-29
-pkgver=${_pkgver//-}
-pkgrel=2
-pkgdesc='Rust compiler front-end for IDEs'
-arch=('x86_64')
-url=https://rust-analyzer.github.io/
-license=('Apache' 'MIT')
-depends=('gcc-libs' 'rust-src')
-makedepends=('git')
-source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver";)
-b2sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd $pkgname
-  CFG_RELEASE=1 cargo build --release --locked --offline
-}
-
-package() {
-  cd $pkgname
-  install -Dt "$pkgdir"/usr/bin target/release/$pkgname{,-proc-macro-srv}
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
-}

Copied: rust-analyzer/repos/community-x86_64/PKGBUILD (from rev 1294156, 
rust-analyzer/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 03:38:04 UTC (rev 1294157)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Sergey A. 
+
+pkgname=rust-analyzer
+_pkgver=2022-09-05
+pkgver=${_pkgver//-}
+pkgrel=2
+pkgdesc='Rust compiler front-end for IDEs'
+arch=('x86_64')
+url=https://rust-analyzer.github.io/
+license=('Apache' 'MIT')
+depends=('gcc-libs' 'rust-src')
+makedepends=('git')
+source=("git+https://github.com/rust-lang/$pkgname.git#tag=$_pkgver";)
+b2sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd $pkgname
+  CFG_RELEASE=1 cargo build --release --locked --offline
+}
+
+package() {
+  cd $pkgname
+  install -Dt "$pkgdir"/usr/bin target/release/$pkgname{,-proc-macro-srv}
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}



[arch-commits] Commit in rust-analyzer/trunk (PKGBUILD)

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:37:42
  Author: polyzen
Revision: 1294156

upgpkg: rust-analyzer 20220905-2

Modified:
  rust-analyzer/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 03:31:50 UTC (rev 1294155)
+++ PKGBUILD2022-09-06 03:37:42 UTC (rev 1294156)
@@ -2,7 +2,7 @@
 # Contributor: Sergey A. 
 
 pkgname=rust-analyzer
-_pkgver=2022-08-29
+_pkgver=2022-09-05
 pkgver=${_pkgver//-}
 pkgrel=2
 pkgdesc='Rust compiler front-end for IDEs'



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:31:50
  Author: polyzen
Revision: 1294155

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   83 -
 1 file changed, 44 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-06 03:31:26 UTC (rev 1294154)
+++ PKGBUILD2022-09-06 03:31:50 UTC (rev 1294155)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: George Rawlinson 
-
-_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:

Copied: python-flake8-black/repos/community-any/PKGBUILD (from rev 1294154, 
python-flake8-black/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-06 03:31:50 UTC (rev 1294155)
@@ -0,0 +1,44 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: George Rawlinson 
+
+_name=flake8-black
+pkgname=python-flake8-black
+pkgver=0.3.3
+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-tomli')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('8211f5e20e954cb57c709acccf2f3281ce27016d4c4b989c3e51f878bb7ce12a')
+b2sums=('35b782024519ca75075b0389b0cec3746c30e2dc4c5f07a9bee54636fa3708936eebf6ab0e1e203f1227db97778373b5c2127714c10bf7f2c801a96d010eaea3')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  source test-env/bin/activate
+  python -m installer dist/*.whl
+  cd tests
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  PYTHONPATH="../build:$site_packages" ./run_tests.sh
+  deactivate
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/flake8_black-$pkgver.dist-info/LICENSE.rst \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 03:31:26
  Author: polyzen
Revision: 1294154

upgpkg: python-flake8-black 0.3.3-2: Use PEP 517

Modified:
  python-flake8-black/trunk/PKGBUILD

--+
 PKGBUILD |   21 ++---
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 00:33:12 UTC (rev 1294153)
+++ PKGBUILD2022-09-06 03:31:26 UTC (rev 1294154)
@@ -4,13 +4,14 @@
 _name=flake8-black
 pkgname=python-flake8-black
 pkgver=0.3.3
-pkgrel=1
+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-tomli')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('8211f5e20e954cb57c709acccf2f3281ce27016d4c4b989c3e51f878bb7ce12a')
 
b2sums=('35b782024519ca75075b0389b0cec3746c30e2dc4c5f07a9bee54636fa3708936eebf6ab0e1e203f1227db97778373b5c2127714c10bf7f2c801a96d010eaea3')
@@ -17,7 +18,7 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -24,14 +25,20 @@
   cd $_name-$pkgver
   python -m venv --system-site-packages test-env
   source test-env/bin/activate
-  python setup.py install --optimize=1 --skip-build
+  python -m installer dist/*.whl
   cd tests
-  ./run_tests.sh
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  PYTHONPATH="../build:$site_packages" ./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
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/flake8_black-$pkgver.dist-info/LICENSE.rst \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
 }



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

2022-09-05 Thread Daniel M. Capella via arch-commits
Date: Tuesday, September 6, 2022 @ 00:28:27
  Author: polyzen
Revision: 1294129

Style

Modified:
  afew/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-06 00:28:22 UTC (rev 1294128)
+++ PKGBUILD2022-09-06 00:28:27 UTC (rev 1294129)
@@ -21,7 +21,7 @@
 build() {
   cd afew-$pkgver
   python -m build --wheel --skip-dependency-check --no-isolation
-  PYTHONPATH="build:${PYTHONPATH}" sphinx-build -b man docs build
+  PYTHONPATH="build:$PYTHONPATH" sphinx-build -b man docs build
 }
 
 check() {



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

2022-09-04 Thread Daniel M. Capella via arch-commits
Date: Sunday, September 4, 2022 @ 19:28:50
  Author: polyzen
Revision: 1292884

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   64 +++--
 1 file changed, 33 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-04 19:28:30 UTC (rev 1292883)
+++ PKGBUILD2022-09-04 19:28:50 UTC (rev 1292884)
@@ -1,31 +0,0 @@
-# Maintainer: Daniel M. Capella 
-# Contributor: neodarz 
-
-_name=flake8-isort
-pkgname=python-flake8-isort
-pkgver=4.2.0
-pkgrel=1
-pkgdesc='Flake8 plugin to validate annotations complexity'
-arch=('any')
-url=https://github.com/gforcada/flake8-isort
-license=('GPL3')
-depends=('flake8' 'python-isort')
-checkdepends=('python-pytest' 'python-setuptools' 'python-toml')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('26571500cd54976bbc0cf1006ffbcd1a68dd102f816b7a1051b219616ba9fee0')
-b2sums=('0c291293a640f90d46f76e7f20c3a0bcaa886260d9582dce8261c079584ddb4704d0c825001eaf0424fa36a7467ea322d06ef8c72ebd01632562a4edda62ab53')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-flake8-isort/repos/community-any/PKGBUILD (from rev 1292883, 
python-flake8-isort/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-04 19:28:50 UTC (rev 1292884)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: neodarz 
+
+_name=flake8-isort
+pkgname=python-flake8-isort
+pkgver=4.2.0
+pkgrel=2
+pkgdesc='Flake8 plugin to validate annotations complexity'
+arch=('any')
+url=https://github.com/gforcada/flake8-isort
+license=('GPL3')
+depends=('flake8' 'python-isort')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-toml')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('26571500cd54976bbc0cf1006ffbcd1a68dd102f816b7a1051b219616ba9fee0')
+b2sums=('0c291293a640f90d46f76e7f20c3a0bcaa886260d9582dce8261c079584ddb4704d0c825001eaf0424fa36a7467ea322d06ef8c72ebd01632562a4edda62ab53')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



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

2022-09-04 Thread Daniel M. Capella via arch-commits
Date: Sunday, September 4, 2022 @ 19:28:30
  Author: polyzen
Revision: 1292883

upgpkg: python-flake8-isort 4.2.0-2: Use PEP 517

Modified:
  python-flake8-isort/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-04 19:23:04 UTC (rev 1292882)
+++ PKGBUILD2022-09-04 19:28:30 UTC (rev 1292883)
@@ -4,13 +4,15 @@
 _name=flake8-isort
 pkgname=python-flake8-isort
 pkgver=4.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Flake8 plugin to validate annotations complexity'
 arch=('any')
 url=https://github.com/gforcada/flake8-isort
 license=('GPL3')
 depends=('flake8' 'python-isort')
-checkdepends=('python-pytest' 'python-setuptools' 'python-toml')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest' 'python-toml')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
 sha256sums=('26571500cd54976bbc0cf1006ffbcd1a68dd102f816b7a1051b219616ba9fee0')
 
b2sums=('0c291293a640f90d46f76e7f20c3a0bcaa886260d9582dce8261c079584ddb4704d0c825001eaf0424fa36a7467ea322d06ef8c72ebd01632562a4edda62ab53')
@@ -17,7 +19,7 @@
 
 build() {
   cd $_name-$pkgver
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
@@ -27,5 +29,5 @@
 
 package() {
   cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



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

2022-09-04 Thread Daniel M. Capella via arch-commits
Date: Sunday, September 4, 2022 @ 19:23:04
  Author: polyzen
Revision: 1292882

archrelease: copy trunk to community-any

Added:
  python-icalendar/repos/community-any/PKGBUILD
(from rev 1292881, python-icalendar/trunk/PKGBUILD)
Deleted:
  python-icalendar/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-04 19:22:40 UTC (rev 1292881)
+++ PKGBUILD2022-09-04 19:23:04 UTC (rev 1292882)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge 
-# Maintainer: Daniel M. Capella 
-# Contributor: Sirat18 
-# Contributor: Jonas Heinrich 
-
-_name=icalendar
-pkgname=python-icalendar
-pkgver=4.1.0
-pkgrel=1
-pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
-arch=('any')
-url="https://github.com/collective/icalendar";
-license=('BSD')
-depends=('python-dateutil' 'python-pytz')
-makedepends=('python-setuptools')
-checkdepends=('python-hypothesis' 'python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha256sums=('9748b7c02efcc43e58d0615ae0976ac4f265e90dadee9b4f884de29905c1b395')
-b2sums=('a676b938101e901c45cfeceba031c35f26dc361832ca24877acefcbe9158e111d883b757a133d72901579f73b32e34adbcb47db6d8ccbaa49f013106c282401e')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  PYTHONPATH="${PWD}:${PYTHONPATH}"
-  pytest -v "src/${_name}/tests"
-}
-
-package() {
-  cd "${_name}-${pkgver}"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst \
--t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 LICENSE.rst \
--t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-icalendar/repos/community-any/PKGBUILD (from rev 1292881, 
python-icalendar/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-04 19:23:04 UTC (rev 1292882)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge 
+# Maintainer: Daniel M. Capella 
+# Contributor: Sirat18 
+# Contributor: Jonas Heinrich 
+
+_name=icalendar
+pkgname=python-icalendar
+pkgver=4.1.0
+pkgrel=2
+pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
+arch=('any')
+url="https://github.com/collective/icalendar";
+license=('BSD')
+depends=('python-dateutil' 'python-pytz')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha256sums=('9748b7c02efcc43e58d0615ae0976ac4f265e90dadee9b4f884de29905c1b395')
+b2sums=('a676b938101e901c45cfeceba031c35f26dc361832ca24877acefcbe9158e111d883b757a133d72901579f73b32e34adbcb47db6d8ccbaa49f013106c282401e')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  pytest -v "src/${_name}/tests"
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst \
+-t "${pkgdir}/usr/share/doc/${pkgname}/"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  ln -s "${site_packages}"/${_name}-${pkgver}.dist-info/LICENSE.rst \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.rst
+}



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

2022-09-04 Thread Daniel M. Capella via arch-commits
Date: Sunday, September 4, 2022 @ 19:22:40
  Author: polyzen
Revision: 1292881

upgpkg: python-icalendar 4.1.0-2: Use PEP 517

Modified:
  python-icalendar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2022-09-04 19:22:30 UTC (rev 1292880)
+++ PKGBUILD2022-09-04 19:22:40 UTC (rev 1292881)
@@ -6,14 +6,15 @@
 _name=icalendar
 pkgname=python-icalendar
 pkgver=4.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
 arch=('any')
 url="https://github.com/collective/icalendar";
 license=('BSD')
 depends=('python-dateutil' 'python-pytz')
-makedepends=('python-setuptools')
-checkdepends=('python-hypothesis' 'python-pytest')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-pytest')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
 sha256sums=('9748b7c02efcc43e58d0615ae0976ac4f265e90dadee9b4f884de29905c1b395')
 
b2sums=('a676b938101e901c45cfeceba031c35f26dc361832ca24877acefcbe9158e111d883b757a133d72901579f73b32e34adbcb47db6d8ccbaa49f013106c282401e')
@@ -20,20 +21,23 @@
 
 build() {
   cd "${_name}-${pkgver}"
-  python setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 check() {
   cd "${_name}-${pkgver}"
-  PYTHONPATH="${PWD}:${PYTHONPATH}"
   pytest -v "src/${_name}/tests"
 }
 
 package() {
   cd "${_name}-${pkgver}"
-  python setup.py install --optimize=1 --root="${pkgdir}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst \
 -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  install -vDm 644 LICENSE.rst \
--t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  ln -s "${site_packages}"/${_name}-${pkgver}.dist-info/LICENSE.rst \
+"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.rst
 }



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

2022-09-04 Thread Daniel M. Capella via arch-commits
Date: Sunday, September 4, 2022 @ 19:00:07
  Author: polyzen
Revision: 1292878

archrelease: copy trunk to community-any

Added:
  python-imagesize/repos/community-any/PKGBUILD
(from rev 1292877, python-imagesize/trunk/PKGBUILD)
Deleted:
  python-imagesize/repos/community-any/PKGBUILD

--+
 PKGBUILD |   74 -
 1 file changed, 40 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-09-04 18:59:48 UTC (rev 1292877)
+++ PKGBUILD2022-09-04 19:00:07 UTC (rev 1292878)
@@ -1,34 +0,0 @@
-# Maintainer: Johannes Löthberg 
-# Maintainer: Daniel M. Capella 
-
-pkgname=python-imagesize
-pkgver=1.4.1
-pkgrel=1
-
-pkgdesc='Analyzes JPEG/JPEG 2000/PNG/GIF/TIFF/SVG/Netpbm/WebP image headers 
and returns image size or DPI'
-url='https://github.com/shibukawa/imagesize_py'
-arch=('any')
-license=('MIT')
-
-depends=('python')
-makedepends=('python-setuptools')
-
-source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz";)
-
-sha256sums=('69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a')
-
-build() {
-  cd imagesize-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd imagesize-$pkgver
-  python -m unittest discover -v
-}
-
-package() {
-  cd imagesize-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.rst
-}

Copied: python-imagesize/repos/community-any/PKGBUILD (from rev 1292877, 
python-imagesize/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-09-04 19:00:07 UTC (rev 1292878)
@@ -0,0 +1,40 @@
+# Maintainer: Johannes Löthberg 
+# Maintainer: Daniel M. Capella 
+
+pkgname=python-imagesize
+pkgver=1.4.1
+pkgrel=2
+
+pkgdesc='Analyzes JPEG/JPEG 2000/PNG/GIF/TIFF/SVG/Netpbm/WebP image headers 
and returns image size or DPI'
+url='https://github.com/shibukawa/imagesize_py'
+arch=('any')
+license=('MIT')
+
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+
+source=("https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$pkgver.tar.gz";)
+
+sha256sums=('69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a')
+
+build() {
+  cd imagesize-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd imagesize-$pkgver
+  python -m unittest discover -v
+}
+
+package() {
+  cd imagesize-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/imagesize-$pkgver.dist-info/LICENSE.rst \
+"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.rst
+}



  1   2   3   4   5   6   7   8   9   10   >