~alpine/aports

1

[alpine-aports] [PATCH] main/py-faker: disable check on armhf

Details
Message ID
<20190319141457.21708-1-sir@cmpwn.com>
Sender timestamp
1553004897
DKIM signature
missing
Download raw message
Patch: +7 -0
---
 main/py-faker/APKBUILD | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/main/py-faker/APKBUILD b/main/py-faker/APKBUILD
index 9d58b1ab22..6101dd19e5 100644
--- a/main/py-faker/APKBUILD
+++ b/main/py-faker/APKBUILD
@@ -17,6 +17,13 @@ checkdepends="
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir=$srcdir/$_pkgname-$pkgver

case $arch in
	armhf)
		# check is broken on armhf due to time_t issues
		options="!check"
		;;
esac

prepare() {
	cd "$builddir"
	# They erroneously require a specific version of pytest
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20190319152130.221688fe@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20190319141457.21708-1-sir@cmpwn.com> (view parent)
Sender timestamp
1553005290
DKIM signature
missing
Download raw message
On Tue, 19 Mar 2019 08:14:57 -0600
Drew DeVault <sir@cmpwn.com> wrote:

> ---
>  main/py-faker/APKBUILD | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/main/py-faker/APKBUILD b/main/py-faker/APKBUILD
> index 9d58b1ab22..6101dd19e5 100644
> --- a/main/py-faker/APKBUILD
> +++ b/main/py-faker/APKBUILD
> @@ -17,6 +17,13 @@ checkdepends="
>  source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
>  builddir=$srcdir/$_pkgname-$pkgver
>  
> +case $arch in
> +	armhf)
> +		# check is broken on armhf due to time_t issues
> +		options="!check"
> +		;;
> +esac
> +
>  prepare() {
>  	cd "$builddir"
>  	# They erroneously require a specific version of pytest

NACK. this was fixed in upstream in newer release.

Upstream issue: https://github.com/joke2k/faker/issues/912

Thanks!

-nc


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)