diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-07-02 00:58:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-02 09:42:30 +0700 |
commit | febf9b42c75b3fda7d200f41b70db100bf288b5e (patch) | |
tree | 626dfe75d29d5dc10d06bfa6a7e8a39691cccbab /python | |
parent | a34878419648c4827d4a94c1a5bec75120920092 (diff) |
python/python3-httpcore: Updated for version 0.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-httpcore/python3-httpcore.SlackBuild | 9 | ||||
-rw-r--r-- | python/python3-httpcore/python3-httpcore.info | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/python/python3-httpcore/python3-httpcore.SlackBuild b/python/python3-httpcore/python3-httpcore.SlackBuild index accb55d75a2ca..a9befbd5c302f 100644 --- a/python/python3-httpcore/python3-httpcore.SlackBuild +++ b/python/python3-httpcore/python3-httpcore.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. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-httpcore SRCNAM=$(echo $PRGNAM | sed 's/python3-//') -VERSION=${VERSION:-0.14.7} +VERSION=${VERSION:-0.15.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 httpcore.egg-info/requires.txt +/usr/bin/sed -i 's/,<[0-9].*\",$/\",/' setup.py +/usr/bin/sed -i 's/<[0-9].*,//' httpcore.egg-info/requires.txt python3 setup.py install --root=$PKG diff --git a/python/python3-httpcore/python3-httpcore.info b/python/python3-httpcore/python3-httpcore.info index 81f042d56df4f..008fc237affe3 100644 --- a/python/python3-httpcore/python3-httpcore.info +++ b/python/python3-httpcore/python3-httpcore.info @@ -1,8 +1,8 @@ PRGNAM="python3-httpcore" -VERSION="0.14.7" +VERSION="0.15.0" HOMEPAGE="https://github.com/encode/httpcore" -DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpcore/httpcore-0.14.7.tar.gz" -MD5SUM="6aa1c1b0cbd2e3b85a3bd7fd935a07ad" +DOWNLOAD="https://files.pythonhosted.org/packages/source/h/httpcore/httpcore-0.15.0.tar.gz" +MD5SUM="bd00fd1f1e7eccd5609f77f395d0bf78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-anyio python3-h11" |