Package Details: http-prompt 2.1.0-1

Git Clone URL: https://aur.archlinux.org/http-prompt.git (read-only, click to copy)
Package Base: http-prompt
Description: An interactive HTTP command-line client
Upstream URL: https://github.com/eliangcs/http-prompt
Keywords: development HTTP network
Licenses: MIT
Submitter: wenLiangcan
Maintainer: mehalter
Last Packager: mehalter
Votes: 11
Popularity: 0.000004
First Submitted: 2016-05-19 13:29 (UTC)
Last Updated: 2021-04-08 19:52 (UTC)

Latest Comments

misharash commented on 2021-12-26 19:44 (UTC)

Doesn't build again due to python 3.9 -> 3.10 upgrade. Fix is simple:

────────────────────────────────────────────────────────────────────────────────
modified: PKGBUILD
────────────────────────────────────────────────────────────────────────────────
@ PKGBUILD:36 @ package() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1
    sed -e 's/prompt-toolkit/prompt-toolkit1/g' -i \
        "${pkgdir}/usr/lib/python3.9/site-packages/http_prompt-${pkgver}-py3.9.egg-info/requires.txt"
        "${pkgdir}/usr/lib/python3.10/site-packages/http_prompt-${pkgver}-py3.10.egg-info/requires.txt"
}
}

Mange commented on 2021-01-19 21:04 (UTC)

Stopped working for me. I had to patch PKGBUILD for it to work.

diff --git a/PKGBUILD b/PKGBUILD
index d09a301..7da0bca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,5 +33,5 @@ package() {
     cd "${srcdir}/${_module}-${pkgver}"
     python setup.py install --root="${pkgdir}" --optimize=1
     sed -e 's/prompt-toolkit/prompt-toolkit1/g' -i \
-        "${pkgdir}/usr/lib/python3.8/site-packages/http_prompt-1.0.0-py3.8.egg-info/requires.txt"
+        "${pkgdir}/usr/lib/python3.9/site-packages/http_prompt-1.0.0-py3.9.egg-info/requires.txt"
 }

(Note: "3.8" replaced with "3.9")

mmoehrlein commented on 2019-12-14 19:05 (UTC)

@mehalter I have not had any more issues since then.

mehalter commented on 2019-12-10 18:55 (UTC)

@mmoehrlein I cannot reproduce this error. The python package got moved to v3.8, and when I use this PKGBUILD I get errors when its 3.7 since the main python got updated to 3.8. Are you still having issues?

mmoehrlein commented on 2019-12-08 21:29 (UTC) (edited on 2019-12-08 21:30 (UTC) by mmoehrlein)

rel2 broke it for me.

as seen in the output below, stuff is copied to

[...]/python3.7/site-packages/http_prompt-1.0.0-py3.7.egg-info/

but

[...]/python3.8/site-packages/http_prompt-1.0.0-py3.8.egg-info/

is used, when trying to access it later.

I changed it manually back from 8 to 7 and ran makepkg -i and everything went well. I also made sure to pull sources fresh and that I did not have any outstanding python updates.