mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
httpie: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
4b1905fe82
commit
e692c7bf29
2 changed files with 17 additions and 11 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'httpie'
|
# Template file for 'httpie'
|
||||||
pkgname=httpie
|
pkgname=httpie
|
||||||
version=0.9.6
|
version=0.9.6
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="httpie"
|
pycompile_module="httpie"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-setuptools python-requests python-Pygments"
|
depends="python-setuptools python-requests python-Pygments"
|
||||||
short_desc="Human-friendly command line HTTP client (Python2)"
|
short_desc="Human-friendly command line HTTP client (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -14,22 +13,28 @@ homepage="https://github.com/jakubroztocil/httpie"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz"
|
||||||
checksum=a64b90f845544b654495fa9268431dfb74c14c3a855b52937517a70c812f90b1
|
checksum=a64b90f845544b654495fa9268431dfb74c14c3a855b52937517a70c812f90b1
|
||||||
alternatives="httpie:http:/usr/bin/http2.7"
|
alternatives="httpie:http:/usr/bin/http2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-httpie_package() {
|
python3-httpie_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="httpie"
|
pycompile_module="httpie"
|
||||||
depends="python3.4-setuptools python3.4-requests python3.4-Pygments"
|
replaces="python3.4-httpie>=0"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
depends="python3-setuptools python3-requests python3-Pygments"
|
||||||
alternatives="httpie:http:/usr/bin/http3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="httpie:http:/usr/bin/http3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3.4
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-httpie_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-httpie>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-httpie
Symbolic link
1
srcpkgs/python3-httpie
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
httpie
|
Loading…
Add table
Reference in a new issue