[arch-commits] Commit in (13 files)

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Feb 20 01:22:22 UTC 2022


    Date: Sunday, February 20, 2022 @ 01:22:21
  Author: polyzen
Revision: 1135171

Switch to python-installer from python-install

Modified:
  molecule-vagrant/trunk/PKGBUILD
  molecule/trunk/PKGBUILD
  python-aioitertools/trunk/PKGBUILD
  python-ansible-compat/trunk/PKGBUILD
  python-argon2_cffi/trunk/PKGBUILD
  python-autopage/trunk/PKGBUILD
  python-deepmerge/trunk/PKGBUILD
  python-libtmux/trunk/PKGBUILD
  python-mistune/trunk/PKGBUILD
  python-pdm-pep517/trunk/PKGBUILD
  python-pynitrokey/trunk/PKGBUILD
  python-pyphen/trunk/PKGBUILD
  python-sphinx-jinja/trunk/PKGBUILD

--------------------------------------+
 molecule-vagrant/trunk/PKGBUILD      |    6 +++---
 molecule/trunk/PKGBUILD              |    9 +++------
 python-aioitertools/trunk/PKGBUILD   |    7 ++-----
 python-ansible-compat/trunk/PKGBUILD |    4 ++--
 python-argon2_cffi/trunk/PKGBUILD    |    4 ++--
 python-autopage/trunk/PKGBUILD       |    4 ++--
 python-deepmerge/trunk/PKGBUILD      |    4 ++--
 python-libtmux/trunk/PKGBUILD        |    4 ++--
 python-mistune/trunk/PKGBUILD        |    4 ++--
 python-pdm-pep517/trunk/PKGBUILD     |    4 ++--
 python-pynitrokey/trunk/PKGBUILD     |    6 ++----
 python-pyphen/trunk/PKGBUILD         |    4 ++--
 python-sphinx-jinja/trunk/PKGBUILD   |    4 ++--
 13 files changed, 28 insertions(+), 36 deletions(-)

Modified: molecule/trunk/PKGBUILD
===================================================================
--- molecule/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ molecule/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -10,7 +10,7 @@
 depends=(python-ansible-compat python-cerberus python-click
 python-click-help-colors python-cookiecutter python-enrich python-jinja
 python-packaging python-paramiko python-pluggy python-rich python-yaml)
-makedepends=(python-build python-setuptools-scm python-setuptools-scm-git-archive python-install)
+makedepends=(python-build python-setuptools-scm python-setuptools-scm-git-archive python-installer)
 checkdepends=(ansible python-ansi2html python-filelock python-pexpect
 python-pytest python-pytest-html python-pytest-mock python-pytest-testinfra
 python-pytest-xdist yamllint)
@@ -45,8 +45,7 @@
 
   # install into test location
   mkdir -vp "${_test_dir}"
-  python -m install --optimize=1 --destdir="$_test_dir" dist/*.whl
-  chmod +x "$_test_dir"/usr/bin/*
+  python -m installer --destdir="$_test_dir" dist/*.whl
 
   export PYTHONPATH="${_test_dir}/${_site_packages}:${PYTHONPATH}"
   export PATH="${_test_dir}/usr/bin:${PATH}"
@@ -55,9 +54,7 @@
 
 package() {
   cd "$pkgname-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-  # https://github.com/FFY00/python-install/pull/6
-  chmod +x "$pkgdir"/usr/bin/*
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Modified: molecule-vagrant/trunk/PKGBUILD
===================================================================
--- molecule-vagrant/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ molecule-vagrant/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -10,7 +10,7 @@
 url="https://github.com/ansible-community/molecule-vagrant"
 license=(MIT)
 depends=(molecule python-jinja python-selinux python-yaml python-vagrant)
-makedepends=(python-build python-install python-setuptools
+makedepends=(python-build python-installer python-setuptools
 python-setuptools-scm python-setuptools-scm-git-archive python-toml python-wheel)
 checkdepends=(ansible python-filelock python-pytest)
 source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
@@ -29,7 +29,7 @@
 
   # install to test location
   mkdir -vp "${_test_dir}"
-  python -m install --optimize=1 --destdir="$_test_dir" dist/*.whl
+  python -m installer --destdir="$_test_dir" dist/*.whl
 
   export PYTHONPATH="${_test_dir}/${_site_packages}:${PYTHONPATH}"
   # ignore tests that require running molecule
@@ -38,6 +38,6 @@
 
 package() {
   cd $pkgname-$pkgver
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
 }

Modified: python-aioitertools/trunk/PKGBUILD
===================================================================
--- python-aioitertools/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-aioitertools/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -10,7 +10,7 @@
 url='https://github.com/omnilib/aioitertools'
 license=(MIT)
 depends=(python)
-makedepends=(python-flit-core python-build python-install)
+makedepends=(python-flit-core python-build python-installer)
 source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz")
 sha256sums=('0fd203d53192193973cae71fa14f0d3689328388ad41ca4a4e03e433f98871ac')
 
@@ -26,9 +26,6 @@
 
 package() {
   cd $_pkgname-$pkgver
-  python -m install --optimize 0 1 --destdir="$pkgdir" dist/*.whl
-  # Replace python-install with python-installer when the latter comes with a new version
-  # https://github.com/pradyunsg/installer/issues/104
-  # python -m installer --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }

Modified: python-ansible-compat/trunk/PKGBUILD
===================================================================
--- python-ansible-compat/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-ansible-compat/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 url="https://github.com/ansible-community/ansible-compat"
 license=(MIT)
 depends=(python-subprocess-tee python-yaml)
-makedepends=(python-build python-install python-setuptools-scm python-setuptools-scm-git-archive python-wheel)
+makedepends=(python-build python-installer python-setuptools-scm python-setuptools-scm-git-archive python-wheel)
 checkdepends=(ansible python-flaky python-pytest python-pytest-mock)
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 sha256sums=('2ade2acbd1d7868eeb602c682afe92bc8c05480333205c328b4c2a1b09f970a4')
@@ -28,7 +28,7 @@
 
 package() {
   cd "${_name}-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }

Modified: python-argon2_cffi/trunk/PKGBUILD
===================================================================
--- python-argon2_cffi/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-argon2_cffi/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 url="https://github.com/hynek/argon2_cffi"
 license=('MIT')
 depends=(python-argon2-cffi-bindings python-six)
-makedepends=(git python-flit-core python-build python-install)
+makedepends=(git python-flit-core python-build python-installer)
 _commit=6bcdd94d2c902bbef30fba799293e73bd4ba9378
 source=("git+https://github.com/hynek/argon2_cffi#commit=$_commit"
         "git+https://github.com/p-h-c/phc-winner-argon2")
@@ -36,6 +36,6 @@
 
 package() {
   cd $_pkgname
-  python -m install dist/*.whl --destdir="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

Modified: python-autopage/trunk/PKGBUILD
===================================================================
--- python-autopage/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-autopage/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 license=(Apache)
 depends=(python)
 checkdepends=(python-pytest python-fixtures)
-makedepends=(python-build python-install python-setuptools python-wheel)
+makedepends=(python-build python-installer python-setuptools python-wheel)
 source=(https://pypi.python.org/packages/source/a/autopage/autopage-$pkgver.tar.gz)
 sha512sums=('00dd0fc405c6cbeec962e0c6e85ff923c6c8caefd9cb793d668117ae6b25d1086253b4103bc541c35f3883caf7f72f0ef2f5758ca2ce3f7fbef39ac51a188b9c')
 
@@ -25,5 +25,5 @@
 
 package() {
   cd autopage-$pkgver
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }

Modified: python-deepmerge/trunk/PKGBUILD
===================================================================
--- python-deepmerge/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-deepmerge/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 url="https://github.com/toumorokoshi/deepmerge"
 license=(MIT)
 depends=(python)
-makedepends=(python-build python-install python-setuptools python-setuptools-scm python-toml python-wheel)
+makedepends=(python-build python-installer python-setuptools python-setuptools-scm python-toml python-wheel)
 checkdepends=(python-pytest)
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 sha512sums=('f68d41b4e6eb2eca3a2c936a263c675296a37edf7ed4245c732f029fa0f3dd1a3c2da7cc2342bf5fa90eae409e039b4ea653bdcc71fa32fb1a2075d6b4d13ce5')
@@ -27,7 +27,7 @@
 
 package() {
   cd $_name-$pkgver
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
 }

Modified: python-libtmux/trunk/PKGBUILD
===================================================================
--- python-libtmux/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-libtmux/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 url="https://libtmux.git-pull.com/"
 license=(MIT)
 depends=(python tmux)
-makedepends=(python-build python-install python-poetry)
+makedepends=(python-build python-installer python-poetry)
 checkdepends=(python-pytest procps-ng)
 # pypi sources don't include the tests: https://github.com/tmux-python/libtmux/issues/173
 # source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
@@ -30,7 +30,7 @@
 
 package() {
   cd "${_name}-${pkgver}"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 {CHANGES,README.md,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Modified: python-mistune/trunk/PKGBUILD
===================================================================
--- python-mistune/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-mistune/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -11,7 +11,7 @@
 url="https://github.com/lepture/mistune"
 license=(BSD)
 depends=(python)
-makedepends=(python-build python-install python-setuptools python-wheel)
+makedepends=(python-build python-installer python-setuptools python-wheel)
 checkdepends=(python-pytest)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/lepture/mistune/archive/refs/tags/v${pkgver}.tar.gz")
 sha512sums=('b11bda3f265a74959ea66b19bc0122f6951beb68af7eced1ff4c2106e179c65bba0566f7f7146e087307ca3f78ad0a1fdc78dc3955e6cb1ea2a0ce5c2e1aeecb')
@@ -29,7 +29,7 @@
 
 package() {
   cd "${_pkgname}-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 README.md -t "$pkgdir/usr/share/doc/${pkgname}/"
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname}/"
 }

Modified: python-pdm-pep517/trunk/PKGBUILD
===================================================================
--- python-pdm-pep517/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-pdm-pep517/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 url="https://github.com/pdm-project/pdm-pep517"
 license=(MIT)
 depends=(python-cerberus python-packaging python-toml)
-makedepends=(python-build python-install)
+makedepends=(python-build python-installer)
 checkdepends=(git python-pytest python-setuptools)
 optdepends=(
   'python-setuptools: for setuptools support'
@@ -47,7 +47,7 @@
 
 package() {
   cd "$_name-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }

Modified: python-pynitrokey/trunk/PKGBUILD
===================================================================
--- python-pynitrokey/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-pynitrokey/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -11,7 +11,7 @@
 depends=(python-cbor python-cffi python-click python-cryptography
 python-dateutil python-ecdsa python-fido2 python-intelhex python-nkdfu
 python-pyusb python-requests python-tqdm python-urllib3)
-makedepends=(git python-build python-flit python-install)
+makedepends=(git python-build python-flit python-installer)
 source=(
   "git+https://github.com/nitrokey/pynitrokey#tag=v${pkgver}.nitrokey?signed"
   $pkgname-0.4.16-remove_spsdk.patch
@@ -33,8 +33,6 @@
 
 package() {
   cd $_name
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-  # https://github.com/FFY00/python-install/pull/6
-  chmod +x "$pkgdir"/usr/bin/*
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Modified: python-pyphen/trunk/PKGBUILD
===================================================================
--- python-pyphen/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-pyphen/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -9,7 +9,7 @@
 url="https://pyphen.org/"
 license=(GPL2 LGPL2.1 MPL)
 depends=(python)
-makedepends=(python-build python-flit python-install python-wheel)
+makedepends=(python-build python-flit python-installer python-wheel)
 checkdepends=(python-pytest)
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 sha512sums=('144218b8d5454fffc16de0c839c93a0badadd5c9b7867195072b77d9130440059ec84b5819d7eed12b65d2cc51cb7202226cb44ef6844f18fa428c4b3a1ef2b5')
@@ -27,6 +27,6 @@
 
 package() {
   cd "${_name}-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
 }

Modified: python-sphinx-jinja/trunk/PKGBUILD
===================================================================
--- python-sphinx-jinja/trunk/PKGBUILD	2022-02-20 01:11:10 UTC (rev 1135170)
+++ python-sphinx-jinja/trunk/PKGBUILD	2022-02-20 01:22:21 UTC (rev 1135171)
@@ -11,7 +11,7 @@
 url='https://github.com/tardyp/sphinx-jinja'
 license=(MIT)
 depends=(python python-docutils python-jinja python-sphinx)
-makedepends=(git python-build python-install python-poetry-core)
+makedepends=(git python-build python-installer python-poetry-core)
 checkdepends=(python-pytest)
 # tests are no longer included in PyPI source tarballs after upstream switched to poetry
 source=("git+https://github.com/tardyp/sphinx-jinja.git?signed#tag=$_tag")
@@ -42,6 +42,6 @@
 
 package() {
   cd sphinx-jinja
-  python -m install --optimize 0 1 --destdir="$pkgdir" dist/*.whl
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list