[arch-commits] Commit in (14 files)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Feb 16 23:32:22 UTC 2022
Date: Wednesday, February 16, 2022 @ 23:32:21
Author: polyzen
Revision: 1133578
Switch to python-installer from python-install
Modified:
ipython/trunk/PKGBUILD
python-asttokens/trunk/PKGBUILD
python-backcall/trunk/PKGBUILD
python-black/trunk/PKGBUILD
python-executing/trunk/PKGBUILD
python-jq/trunk/PKGBUILD
python-pure-eval/trunk/PKGBUILD
python-pygls/trunk/PKGBUILD
python-pyppeteer/trunk/PKGBUILD
python-pytesseract/trunk/PKGBUILD
python-pytz-deprecation-shim/trunk/PKGBUILD
python-stack-data/trunk/PKGBUILD
python-tzdata/trunk/PKGBUILD
rofimoji/trunk/PKGBUILD
---------------------------------------------+
ipython/trunk/PKGBUILD | 9 +++------
python-asttokens/trunk/PKGBUILD | 6 +++---
python-backcall/trunk/PKGBUILD | 6 +++---
python-black/trunk/PKGBUILD | 13 +++----------
python-executing/trunk/PKGBUILD | 6 +++---
python-jq/trunk/PKGBUILD | 6 +++---
python-pure-eval/trunk/PKGBUILD | 6 +++---
python-pygls/trunk/PKGBUILD | 4 ++--
python-pyppeteer/trunk/PKGBUILD | 7 ++-----
python-pytesseract/trunk/PKGBUILD | 9 +++------
python-pytz-deprecation-shim/trunk/PKGBUILD | 6 +++---
python-stack-data/trunk/PKGBUILD | 6 +++---
python-tzdata/trunk/PKGBUILD | 6 +++---
rofimoji/trunk/PKGBUILD | 7 ++-----
14 files changed, 39 insertions(+), 58 deletions(-)
Modified: ipython/trunk/PKGBUILD
===================================================================
--- ipython/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ ipython/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -16,7 +16,7 @@
'python-pickleshare' 'python-prompt_toolkit'
'python-jedi' 'python-pygments' 'python-backcall'
'python-matplotlib-inline' 'python-black' 'python-stack-data')
-makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
+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'
@@ -38,17 +38,14 @@
check() {
cd $pkgname-$pkgver
python -m venv --system-site-packages test-env
- test-env/bin/python -m install --optimize=1 dist/*.whl
+ test-env/bin/python -m installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd $pkgname-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
-
cd "examples/IPython Kernel"
# FS#45120
sed -i 's/gnome-netstatus-idle/ipython/' ipython.desktop
Modified: python-asttokens/trunk/PKGBUILD
===================================================================
--- python-asttokens/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-asttokens/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/alexmojaki/executing
license=('Apache')
depends=('python-six')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('python-astroid' 'python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
@@ -24,13 +24,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd "$_name-$pkgver"
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-backcall/trunk/PKGBUILD
===================================================================
--- python-backcall/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-backcall/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/takluyver/backcall
license=('BSD')
depends=('python')
-makedepends=('python-build' 'python-flit-core' 'python-install')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e')
b2sums=('67f9ac96d26b368972a5749775a70c497b5705b37d45ba7f64c1259be776cc7f4c9d78ae51da9c1e9e46521d33bf511790675688feef88a68d25ae30cd79612d')
@@ -22,13 +22,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python tests/test_callback_prototypes.py
}
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-black/trunk/PKGBUILD
===================================================================
--- python-black/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-black/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -11,7 +11,7 @@
license=('MIT')
depends=('python' 'python-click' 'python-mypy_extensions' 'python-pathspec'
'python-platformdirs' 'python-tomli' 'python-typing_extensions')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('ipython' 'python-aiohttp' 'python-parameterized' 'python-pytest'
'python-typed-ast' 'python-tokenize-rt')
@@ -31,21 +31,14 @@
check() {
cd "black-$pkgver"
python -m venv --system-site-packages test-env
- test-env/bin/python -m install --optimize=1 dist/*.whl
- chmod +x test-env/bin/black # https://github.com/FFY00/python-install/pull/6
+ test-env/bin/python -m installer --compile-bytecode=1 dist/*.whl
PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest
}
package() {
cd "black-$pkgver"
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
- # https://github.com/FFY00/python-install/issues/7
- sed -i 's/patched_main \[d]/patched_main/' "$pkgdir"/usr/bin/blackd
-
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
-
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -d "$pkgdir"/usr/share/licenses/$pkgname
Modified: python-executing/trunk/PKGBUILD
===================================================================
--- python-executing/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-executing/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/alexmojaki/executing
license=('MIT')
depends=('python')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('python-asttokens' 'python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
@@ -24,7 +24,7 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python tests/test_main.py
test-env/bin/python -m pytest tests/test_pytest.py
}
@@ -31,7 +31,7 @@
package() {
cd "$_name-$pkgver"
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-jq/trunk/PKGBUILD
===================================================================
--- python-jq/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-jq/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -10,7 +10,7 @@
url=https://github.com/mwilliamson/jq.py
license=('BSD')
depends=('jq' 'python')
-makedepends=('cython' 'python-build' 'python-install' 'python-setuptools'
+makedepends=('cython' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-pytest')
source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz"
@@ -34,13 +34,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-pure-eval/trunk/PKGBUILD
===================================================================
--- python-pure-eval/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-pure-eval/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/alexmojaki/pure_eval
license=('MIT')
depends=('python')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
@@ -24,13 +24,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd "$_name-$pkgver"
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-pygls/trunk/PKGBUILD
===================================================================
--- python-pygls/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-pygls/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -10,7 +10,7 @@
url=https://github.com/openlawlibrary/pygls
license=('APACHE')
depends=('python-pydantic' 'python-typeguard')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-toml' 'python-wheel')
checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
@@ -29,7 +29,7 @@
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-pyppeteer/trunk/PKGBUILD
===================================================================
--- python-pyppeteer/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-pyppeteer/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -12,7 +12,7 @@
license=('MIT')
depends=('python-appdirs' 'python-certifi' 'python-importlib-metadata'
'python-pyee' 'python-tqdm' 'python-urllib3' 'python-websockets')
-makedepends=('python-build' 'python-install' 'python-poetry-core')
+makedepends=('python-build' 'python-installer' 'python-poetry-core')
source=("$url/archive/$pkgver/$_name-$pkgver.tar.gz")
b2sums=('5e1581342e8b9cb65306a1bc2643262617bd5bf00cbb954935fcb8a35b9620bd750f809ce103582cba492d43dbf185eaa78b7b53b6194c30c136ed5a9a8dfaf0')
@@ -29,11 +29,8 @@
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
-
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -d "$pkgdir"/usr/share/licenses/$pkgname
Modified: python-pytesseract/trunk/PKGBUILD
===================================================================
--- python-pytesseract/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-pytesseract/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -10,7 +10,7 @@
url=https://github.com/madmaze/pytesseract
license=('Apache')
depends=('python-packaging' 'python-pillow' 'tesseract')
-makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('python-pytest' 'tesseract-data-eng' 'tesseract-data-fra')
source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz")
b2sums=('2b1c54df34d9717ffe342974c622f2f262a4f2f11d26512cad5a0a148c60f554ac02efba15c588bfbedc82d52eaf20c8f471d8d8d5fff8125544f10468483ad0')
@@ -23,16 +23,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/$_name
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
}
# vim:set ts=2 sw=2 et:
Modified: python-pytz-deprecation-shim/trunk/PKGBUILD
===================================================================
--- python-pytz-deprecation-shim/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-pytz-deprecation-shim/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/pganssle/pytz-deprecation-shim
license=('Apache')
depends=('python-tzdata')
-makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('python-hypothesis' 'python-pytest' 'python-pytz')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d')
@@ -23,13 +23,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-stack-data/trunk/PKGBUILD
===================================================================
--- python-stack-data/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-stack-data/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/alexmojaki/stack_data
license=('MIT')
depends=('python-asttokens' 'python-executing' 'python-pure-eval')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('cython' 'python-littleutils' 'python-pygments' 'python-pytest'
'python-typeguard')
@@ -25,13 +25,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd "$_name-$pkgver"
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: python-tzdata/trunk/PKGBUILD
===================================================================
--- python-tzdata/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ python-tzdata/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -9,7 +9,7 @@
url=https://github.com/python/tzdata
license=('Apache')
depends=('python')
-makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('python-pytest' 'python-pytest-subtests')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('68dbe41afd01b867894bbdfd54fa03f468cfa4f0086bfb4adcd8de8f24f3ee21')
@@ -23,13 +23,13 @@
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 installer --compile-bytecode=1 dist/*.whl
test-env/bin/python -m pytest
}
package() {
cd $_name-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
Modified: rofimoji/trunk/PKGBUILD
===================================================================
--- rofimoji/trunk/PKGBUILD 2022-02-16 23:31:36 UTC (rev 1133577)
+++ rofimoji/trunk/PKGBUILD 2022-02-16 23:32:21 UTC (rev 1133578)
@@ -8,7 +8,7 @@
url=https://github.com/fdw/rofimoji
license=('MIT')
depends=('python-configargparse')
-makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
optdepends=('emoji-font: for the emojis character file'
'nerd-fonts: for the nerd_font character file'
'rofi: for the X.Org selector'
@@ -36,12 +36,9 @@
package() {
cd $pkgname-$pkgver
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" --compile-bytecode=1 dist/*.whl
install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
-
# Symlink license file
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
install -d "$pkgdir"/usr/share/licenses/$pkgname
More information about the arch-commits
mailing list