Date: Friday, April 28, 2023 @ 07:55:15
  Author: dvzrv
Revision: 475267

archrelease: copy trunk to staging-any

Added:
  python-pip/repos/staging-any/PKGBUILD
    (from rev 475266, python-pip/trunk/PKGBUILD)
Deleted:
  python-pip/repos/staging-any/PKGBUILD

----------+
 PKGBUILD |  172 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 86 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-28 07:55:04 UTC (rev 475266)
+++ PKGBUILD    2023-04-28 07:55:15 UTC (rev 475267)
@@ -1,86 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Dan McGee <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-# Contributor: Sebastien Binet <binet@lblbox>
-
-_name=pip
-pkgname=python-pip
-pkgver=23.1.1
-pkgrel=1
-pkgdesc="The PyPA recommended tool for installing Python packages"
-url="https://pip.pypa.io/";
-arch=(any)
-license=(MIT)
-depends=(
-  python
-  python-attrs  # for vendored rich
-  python-cryptography  # for vendored requests and urllib3
-  python-wheel  # for internal misc utils
-)
-makedepends=(
-  python-build
-  python-installer
-  python-myst-parser
-  python-setuptools
-  python-sphinx
-  python-sphinx-copybutton
-  python-sphinx-inline-tabs
-  python-sphinxcontrib-towncrier
-)
-checkdepends=(
-  git
-  python-freezegun
-  python-pytest
-  python-pytest-rerunfailures
-  python-pytest-xdist
-  python-scripttest
-  python-tomli-w
-  python-virtualenv
-  python-werkzeug
-  subversion
-)
-source=(https://github.com/pypa/$_name/archive/$pkgver/$_name-$pkgver.tar.gz)
-sha512sums=('9cc8d414625a59d98e485251fdc3707edd30a94b597954e9d03b42076f3adaca6f7e3f1ef80e37e7fb12b51941ac359114b23aae4722588bb7f4b44813397db5')
-b2sums=('4b566507189bed38de572d3641f4f1cdf795a928462fbdb43f6d03f98a5efdce31c3c6ffb8ac0761eb8dd7667f02f195241aacbebc06b26f8e4d22d1ca4a8fb9')
-
-build() {
-  cd $_name-$pkgver
-
-  python -m build --wheel --no-isolation
-
-  cd docs/
-  PYTHONPATH="$srcdir/$_name-$pkgver/src/" python pip_sphinxext.py
-  PYTHONPATH="$srcdir/$_name-$pkgver/src/" sphinx-build -b man -d 
build/doctrees/man man build/man -c html
-}
-
-check() {
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  local _deselected=(
-    # deselect tests that would require python-pip in checkdepends (may or may 
not work due to devendored dependencies when python-pip is updated)
-    --deselect 
tests/unit/test_direct_url_helpers.py::test_from_link_vcs_with_source_dir_obtains_commit_id
-    --deselect 
tests/unit/test_direct_url_helpers.py::test_from_link_vcs_without_source_dir
-    --deselect tests/unit/test_wheel_builder.py::test_should_cache_git_sha
-  )
-
-  cd $_name-$pkgver
-  # install to temporary location
-  python -m installer --destdir=test_dir dist/*.whl
-  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
-  pytest -vv -m unit "${_deselected[@]}" tests/
-}
-
-package() {
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
-  install -vDm 644 docs/build/man/*.1 -t "$pkgdir/usr/share/man/man1/"
-  install -vDm 644 {NEWS,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
-
-  # NOTE: zsh completion does not work: 
https://bugs.archlinux.org/task/65349#comment187166
-  PYTHONPATH="$pkgdir/$_site_packages" "$pkgdir"/usr/bin/pip completion --bash 
| install -vDm 644 /dev/stdin 
"$pkgdir"/usr/share/bash-completion/completions/pip
-  PYTHONPATH="$pkgdir/$_site_packages" "$pkgdir"/usr/bin/pip completion --fish 
| install -vDm 644 /dev/stdin 
"$pkgdir"/usr/share/fish/vendor_completions.d/pip.fish
-}

Copied: python-pip/repos/staging-any/PKGBUILD (from rev 475266, 
python-pip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-28 07:55:15 UTC (rev 475267)
@@ -0,0 +1,86 @@
+# Maintainer: David Runge <[email protected]>
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Dan McGee <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: Sebastien Binet <binet@lblbox>
+
+_name=pip
+pkgname=python-pip
+pkgver=23.1.2
+pkgrel=1
+pkgdesc="The PyPA recommended tool for installing Python packages"
+url="https://pip.pypa.io/";
+arch=(any)
+license=(MIT)
+depends=(
+  python
+  python-attrs  # for vendored rich
+  python-cryptography  # for vendored requests and urllib3
+  python-wheel  # for internal misc utils
+)
+makedepends=(
+  python-build
+  python-installer
+  python-myst-parser
+  python-setuptools
+  python-sphinx
+  python-sphinx-copybutton
+  python-sphinx-inline-tabs
+  python-sphinxcontrib-towncrier
+)
+checkdepends=(
+  git
+  python-freezegun
+  python-pytest
+  python-pytest-rerunfailures
+  python-pytest-xdist
+  python-scripttest
+  python-tomli-w
+  python-virtualenv
+  python-werkzeug
+  subversion
+)
+source=(https://github.com/pypa/$_name/archive/$pkgver/$_name-$pkgver.tar.gz)
+sha512sums=('b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1')
+b2sums=('511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056')
+
+build() {
+  cd $_name-$pkgver
+
+  python -m build --wheel --no-isolation
+
+  cd docs/
+  PYTHONPATH="$srcdir/$_name-$pkgver/src/" python pip_sphinxext.py
+  PYTHONPATH="$srcdir/$_name-$pkgver/src/" sphinx-build -b man -d 
build/doctrees/man man build/man -c html
+}
+
+check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  local _deselected=(
+    # deselect tests that would require python-pip in checkdepends (may or may 
not work due to devendored dependencies when python-pip is updated)
+    --deselect 
tests/unit/test_direct_url_helpers.py::test_from_link_vcs_with_source_dir_obtains_commit_id
+    --deselect 
tests/unit/test_direct_url_helpers.py::test_from_link_vcs_without_source_dir
+    --deselect tests/unit/test_wheel_builder.py::test_should_cache_git_sha
+  )
+
+  cd $_name-$pkgver
+  # install to temporary location
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv -m unit "${_deselected[@]}" tests/
+}
+
+package() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 docs/build/man/*.1 -t "$pkgdir/usr/share/man/man1/"
+  install -vDm 644 {NEWS,README}.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+
+  # NOTE: zsh completion does not work: 
https://bugs.archlinux.org/task/65349#comment187166
+  PYTHONPATH="$pkgdir/$_site_packages" "$pkgdir"/usr/bin/pip completion --bash 
| install -vDm 644 /dev/stdin 
"$pkgdir"/usr/share/bash-completion/completions/pip
+  PYTHONPATH="$pkgdir/$_site_packages" "$pkgdir"/usr/bin/pip completion --fish 
| install -vDm 644 /dev/stdin 
"$pkgdir"/usr/share/fish/vendor_completions.d/pip.fish
+}

Reply via email to