diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-07-02 00:59:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-02 09:42:31 +0700 |
commit | 436afe154a8a07f0560286400044529938918a59 (patch) | |
tree | 894ba057f7b8a423cb068d07dcc99c4b134c8409 /python/python3-httpx/python3-httpx.SlackBuild | |
parent | febf9b42c75b3fda7d200f41b70db100bf288b5e (diff) |
python/python3-httpx: Updated for version 0.23.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-httpx/python3-httpx.SlackBuild')
-rw-r--r-- | python/python3-httpx/python3-httpx.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/python/python3-httpx/python3-httpx.SlackBuild b/python/python3-httpx/python3-httpx.SlackBuild index aab56013b7..6cb13328c1 100644 --- a/python/python3-httpx/python3-httpx.SlackBuild +++ b/python/python3-httpx/python3-httpx.SlackBuild @@ -22,11 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220630 46and2: Updated version, updated DEP to add cli support. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-httpx SRCNAM=$(echo $PRGNAM | sed 's/python3-//') -VERSION=${VERSION:-0.22.0} +VERSION=${VERSION:-0.23.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,8 +82,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -#fix setup.py as it tries to import from wrong library -/usr/bin/sed -i 's/distutils.core/setuptools/' setup.py +#remove upper version requirement from setup.py and httpx.egg-info/requires.txt +/usr/bin/sed -i 's/,<[0-9].*\",$/\",/' setup.py +/usr/bin/sed -i 's/<[0-9].*,//' httpx.egg-info/requires.txt python3 setup.py install --root=$PKG |