python-virtualenv: remove python3-pip as dependency from virtualenv.
This commit is contained in:
parent
cf01842269
commit
036ae24511
2 changed files with 55 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
diff --git a/debian/control b/debian/control_
|
||||
index 75143e1..e88cd28 100644
|
||||
--- a/debian/control
|
||||
+++ b/debian/control_
|
||||
@@ -18,8 +18,6 @@ Build-Depends-Indep: python3-distlib (>= 0.3.1),
|
||||
python3-distutils,
|
||||
python3-filelock,
|
||||
python3-importlib-metadata (>= 3.6),
|
||||
- python3-pip,
|
||||
- python3-pip-whl,
|
||||
python3-platformdirs,
|
||||
python3-setuptools,
|
||||
python3-setuptools-scm,
|
||||
@@ -31,9 +29,7 @@ Rules-Requires-Root: no
|
||||
|
||||
Package: python3-virtualenv
|
||||
Architecture: all
|
||||
-Depends: python3-pip (>= 20.1-1~),
|
||||
- python3-pip-whl,
|
||||
- python3-setuptools-whl,
|
||||
+Depends: python3-setuptools-whl,
|
||||
python3-wheel-whl,
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
31
helpers/make-python-virtualenv
Normal file
31
helpers/make-python-virtualenv
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2024 Luis Guzmán <ark@switnet.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=0
|
||||
. ./config
|
||||
|
||||
# Apply required patches
|
||||
for patch in $(ls -v ${DATA}/*.patch)
|
||||
do
|
||||
echo "> Applying $(echo $patch|xargs basename)"
|
||||
patch --no-backup-if-mismatch -Np1 < $patch
|
||||
done
|
||||
|
||||
changelog "Remove python3-pip dependency to install."
|
||||
package
|
||||
Loading…
Add table
Add a link
Reference in a new issue