Patches for aports can be sent to this list

2 2

[alpine-aports] [PATCH] testing/httpie: new aport

Daniel Isaksen
Details
Message ID
<20171217190008.28934-1-d@duniel.no>
Sender timestamp
1513537208
DKIM signature
missing
Download raw message
Patch: +29 -0
---
 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 <d@duniel.no>
+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"
+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"
-- 
2.15.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20171218122922.485e0015@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20171217190008.28934-1-d@duniel.no> (view parent)
Sender timestamp
1513596562
DKIM signature
missing
Download raw message
On Sun, 17 Dec 2017 19:00:08 +0000
Daniel Isaksen <d@duniel.no> 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 <d@duniel.no>
> +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
---
Daniel Isaksen
Details
Message ID
<CAFWK1CDBjY7-3k4jrO1kQ-XCXMEC8dY3DCKpAW6bbk=c+5irhw@mail.gmail.com>
In-Reply-To
<20171218122922.485e0015@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1513596643
DKIM signature
missing
Download raw message
Yeah, you can do that. I read over it just a couple hours ago, and I
noticed the same mistake.

- Daniel

On Mon, Dec 18, 2017 at 12:29 PM, Natanael Copa <ncopa@alpinelinux.org>
wrote:

> On Sun, 17 Dec 2017 19:00:08 +0000
> Daniel Isaksen <d@duniel.no> 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 <d@duniel.no>
> > +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="dbf0bc1688f6fce99c245375b2059a
> b44c9d1b3dddd2144fab264545545d34b38d572017f468896d6e8cd8eeb9
> 4798ed625a085449b0fe0ddbb8b775c119413c  httpie-0.9.8.tar.gz"
>
>