From 2fd26a0909ff7cf22828a8fe0f3795776195557a Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 6 Aug 2018 19:59:59 +0200 Subject: [PATCH] httpie: update to 0.9.9 --- srcpkgs/httpie/template | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/srcpkgs/httpie/template b/srcpkgs/httpie/template index e104118a9aa..00dd80417b5 100644 --- a/srcpkgs/httpie/template +++ b/srcpkgs/httpie/template @@ -1,20 +1,18 @@ # Template file for 'httpie' pkgname=httpie -version=0.9.8 -revision=2 +version=0.9.9 +revision=1 noarch=yes -build_style=python-module +build_style=python3-module pycompile_module="httpie" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools python-requests python-Pygments" -short_desc="Human-friendly command line HTTP client (Python2)" +hostmakedepends="python3-setuptools" +depends="python3-setuptools python3-requests python3-Pygments" +short_desc="Human-friendly command line HTTP client" maintainer="Alessio Sergi " homepage="https://httpie.org/" -license="3-clause-BSD" -# distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz" -distfiles="https://github.com/jkbrzt/httpie/archive/${version}.tar.gz" -checksum=5ccc65dd8e60a9310f575c1a9600f3cc7daf8704cc88bf6c40118b3659b98dc7 -alternatives="httpie:http:/usr/bin/http2" +license="BSD-3-Clause" +distfiles="${PYPI_SITE}/h/httpie/httpie-${version}.tar.gz" +checksum=f1202e6fa60367e2265284a53f35bfa5917119592c2ab08277efc7fffd744fcb post_install() { vlicense LICENSE @@ -22,13 +20,7 @@ post_install() { python3-httpie_package() { noarch=yes - pycompile_module="httpie" - depends="python3-setuptools python3-requests python3-Pygments" - short_desc="${short_desc/Python2/Python3}" - alternatives="httpie:http:/usr/bin/http3" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE - } + build_style=meta + short_desc+=" (transitional dummy package)" + depends="httpie>=${version}_${revision}" }