X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 940115C4D69 for ; Mon, 18 Dec 2017 11:29:29 +0000 (GMT) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id EFCB39E1C1D; Mon, 18 Dec 2017 11:29:28 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (15.63.200.37.customer.cdi.no [37.200.63.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id DD91B9E1C1A; Mon, 18 Dec 2017 11:29:27 +0000 (GMT) Date: Mon, 18 Dec 2017 12:29:22 +0100 From: Natanael Copa To: Daniel Isaksen Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/httpie: new aport Message-ID: <20171218122922.485e0015@ncopa-desktop.copa.dup.pw> In-Reply-To: <20171217190008.28934-1-d@duniel.no> References: <20171217190008.28934-1-d@duniel.no> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 17 Dec 2017 19:00:08 +0000 Daniel Isaksen wrote: > --- > testing/httpie/APKBUILD | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 testing/httpie/APKBUILD > > diff --git a/testing/httpie/APKBUILD b/testing/httpie/APKBUILD > new file mode 100644 > index 0000000000..774b83795e > --- /dev/null > +++ b/testing/httpie/APKBUILD > @@ -0,0 +1,29 @@ > +# Maintainer: Daniel Isaksen > +pkgname=httpie > +pkgver=0.9.8 > +pkgrel=0 > +pkgdesc="HTTPie is a command line HTTP client with an intuitive UI, JSON support, syntax highlighting and more" > +url="https://httpie.org/" > +arch="noarch" > +license="BSD-3-Clause" > +depends="py3-requests py3-pygments" > +makedepends="" > +source="$pkgname-$pkgver.tar.gz::https://github.com/jakubroztocil/$pkgname/archive/0.9.8.tar.gz" I'd like to replace 0.9.8 with $pkgver in the url above. > +builddir="$srcdir"/$pkgname-$pkgver > + > +check() { > + cd "$builddir" > + python3 setup.py check > +} > + > +build() { > + cd "$builddir" > + python3 setup.py build > +} > + > +package() { > + cd "$builddir" > + python3 setup.py install --prefix=/usr --root="$pkgdir" > +} > + > +sha512sums="dbf0bc1688f6fce99c245375b2059ab44c9d1b3dddd2144fab264545545d34b38d572017f468896d6e8cd8eeb94798ed625a085449b0fe0ddbb8b775c119413c httpie-0.9.8.tar.gz" --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---