Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 2/6] testing/py-affine: new aport

From: Timo Teras <timo.teras_at_iki.fi>
Date: Fri, 18 Mar 2016 11:50:37 +0200

On Sun, 28 Feb 2016 20:54:49 -0500
"Trevor R.H. Clarke" <trevor_at_notcows.com> wrote:

> https://github.com/sgillies/affine
> Matrices describing affine transformation of the plane.
> ---
> testing/py-affine/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
> create mode 100644 testing/py-affine/APKBUILD
>
> diff --git a/testing/py-affine/APKBUILD b/testing/py-affine/APKBUILD
> new file mode 100644
> index 0000000..14969ba
> --- /dev/null
> +++ b/testing/py-affine/APKBUILD
> _at_@ -0,0 +1,36 @@
> +# Contributor: Trevor R.H. Clarke <trevor_at_notcows.com>
> +# Maintainer: Trevor R.H. Clarke <trevor_at_notcows.com>
> +pkgname=py-affine
> +pkgver="1.2.0"
> +pkgrel=0
> +pkgdesc="Matrices describing affine transformation of the plane."
> +url="https://github.com/sgillies/affine"

> +build() {
> + cd "$_builddir"
> + pip install affine --no-deps --root "$_builddir"
> +}

Pip is used to download the package and will likely not match the one
listed as pkgver. Please use the real versioned download path so the
build reproducably gives the correct version.

The same applies for patches 3-6. I did apply the first patch along
with the fixup commit flattened to it.

We should probably add some helper to create APKBUILD for pip packages
similar to perl cpan and ruby.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Mar 18 2016 - 11:50:37 GMT