Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / python-virtualenvwrapper
Commits: ef196159 by Evangelos Foutras at 2023-12-27T23:09:03+02:00 upgpkg: 6.0.0-1 - - - - - 3 changed files: - + .SRCINFO - PKGBUILD - − replace-egrep.patch Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,17 @@ +pkgbase = python-virtualenvwrapper + pkgdesc = Extensions to Ian Bicking's virtualenv tool + pkgver = 6.0.0 + pkgrel = 1 + url = https://virtualenvwrapper.readthedocs.io/ + arch = any + license = MIT + makedepends = python-pbr + makedepends = python-setuptools + depends = python-virtualenv + depends = python-virtualenv-clone + depends = python-stevedore + depends = which + source = https://pypi.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-6.0.0.tar.gz + sha256sums = 4cdaca4a01bb11c3343b01439cf2d76ebe97bb28c4b9a653a9b1f1f7585cd097 + +pkgname = python-virtualenvwrapper ===================================== PKGBUILD ===================================== @@ -2,23 +2,20 @@ # Contributor: Sebastien Binet <binet@lblbox> pkgname=python-virtualenvwrapper -pkgver=4.8.4 -pkgrel=8 +pkgver=6.0.0 +pkgrel=1 pkgdesc="Extensions to Ian Bicking's virtualenv tool" arch=('any') url="https://virtualenvwrapper.readthedocs.io/" license=('MIT') depends=('python-virtualenv' 'python-virtualenv-clone' 'python-stevedore' 'which') -makedepends=('python-pbr') -source=(https://pypi.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-$pkgver.tar.gz - replace-egrep.patch) -sha256sums=('51a1a934e7ed0ff221bdd91bf9d3b604d875afbb3aa2367133503fee168f5bfa' - '791969953c2a65b36993163fbd804775594d2c897cf788750db5b09defdac53d') +makedepends=('python-pbr' 'python-setuptools') +source=(https://pypi.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-$pkgver.tar.gz) +sha256sums=('4cdaca4a01bb11c3343b01439cf2d76ebe97bb28c4b9a653a9b1f1f7585cd097') prepare() { cd virtualenvwrapper-$pkgver - patch -Np1 -i ../replace-egrep.patch } build() { ===================================== replace-egrep.patch deleted ===================================== @@ -1,49 +0,0 @@ -From 1a7bec7500ce2af4648a70b9f301810d4afca9d3 Mon Sep 17 00:00:00 2001 -From: Alexander Huynh <git-46f1a0bd5592a2f9244ca321b129902a06b53...@e.sc> -Date: Mon, 12 Sep 2022 06:54:22 +0000 -Subject: [PATCH] replace deprecated `egrep` with `grep -E` - -On newer verions of GNU grep, this warning pops up: - - egrep: warning: egrep is obsolescent; using grep -E - -Suppress the warning by doing what it asks. See the following for more -detail: https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep ---- - virtualenvwrapper.sh | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh -index e83f666..4127a08 100644 ---- a/virtualenvwrapper.sh -+++ b/virtualenvwrapper.sh -@@ -177,7 +177,7 @@ function virtualenvwrapper_derive_workon_home { - # path might contain stuff to expand. - # (it might be possible to do this in shell, but I don't know a - # cross-shell-safe way of doing it -wolever) -- if echo "$workon_home_dir" | (unset GREP_OPTIONS; command \egrep '([\$~]|//)' >/dev/null) -+ if echo "$workon_home_dir" | (unset GREP_OPTIONS; command \grep -E '([\$~]|//)' >/dev/null) - then - # This will normalize the path by: - # - Removing extra slashes (e.g., when TMPDIR ends in a slash) -@@ -599,7 +599,7 @@ function virtualenvwrapper_show_workon_options { - | command \sed "s|/$VIRTUALENVWRAPPER_ENV_BIN_DIR/activate |/|g" \ - | command \tr "/" "\n" \ - | command \sed "/^\s*$/d" \ -- | (unset GREP_OPTIONS; command \egrep -v '^\*$') 2>/dev/null -+ | (unset GREP_OPTIONS; command \grep -E -v '^\*$') 2>/dev/null - } - - function _lsvirtualenv_usage { -@@ -1306,7 +1306,7 @@ function wipeenv { - virtualenvwrapper_verify_active_environment || return 1 - - typeset req_file="$(virtualenvwrapper_tempfile "requirements.txt")" -- pip freeze | egrep -v '(distribute|wsgiref|appdirs|packaging|pyparsing|six)' > "$req_file" -+ pip freeze | grep -E -v '(distribute|wsgiref|appdirs|packaging|pyparsing|six)' > "$req_file" - if [ -n "$(cat "$req_file")" ] - then - echo "Uninstalling packages:" --- -2.37.2 - View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-virtualenvwrapper/-/commit/ef1961599a40a814fc0abae8fe1134861f7db42f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-virtualenvwrapper/-/commit/ef1961599a40a814fc0abae8fe1134861f7db42f You're receiving this email because of your account on gitlab.archlinux.org.