From 0d4e2360949b255c0cb8a376ee33a7d60ec55150 Mon Sep 17 00:00:00 2001 From: zlg Date: Sun, 17 Mar 2019 09:23:46 -0700 Subject: user/py3-pyyaml: bump to v5.1 This version introduces some API-breaking changes, and its build system wants Cython to generate the .c file needed to build the module in C. It falls back to pure Python at present, and passes all of its tests. Once we get Cython (or find out why it's not writing the .c file), it'll be fine. --- user/py3-pyyaml/APKBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'user') diff --git a/user/py3-pyyaml/APKBUILD b/user/py3-pyyaml/APKBUILD index 8af1d75f1..6dece19c3 100644 --- a/user/py3-pyyaml/APKBUILD +++ b/user/py3-pyyaml/APKBUILD @@ -1,21 +1,23 @@ # Contributor: zlg # Maintainer: zlg pkgname=py3-pyyaml -_pkgname=PyYAML -pkgver=3.13 +_pkgname=pyyaml +pkgver=5.1 pkgrel=0 pkgdesc="YAML parser and emitter for Python" url="https://pyyaml.org/wiki/PyYAML" -arch="all" +arch="noarch" license="MIT" depends="python3 yaml" makedepends="python3-dev yaml yaml-dev" subpackages="" -source="http://pyyaml.org/download/pyyaml/$_pkgname-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/yaml/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" + # Seems like they need Cython to build the C extension now, so it falls back to pure Python. + # Once we ship Cython we can probably change this. python3 setup.py build } @@ -29,4 +31,4 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="93642286d0317e2fe970632c36d38ce6030f7cabcf971f28e3a1054f07390fcee5baaf7f167e7c9690dbd7b2adc61f5b7d75a218ace0abca34ff8815486cfdd7 PyYAML-3.13.tar.gz" +sha512sums="e49f593b9f60018efa19629b902ad1e56f79537106a4cd019baa324a74a8af7563d294db012280261fc7fa9d686dd5af656e22fb4bf6a6ccfd0084515b9591d5 py3-pyyaml-5.1.tar.gz" -- cgit v1.2.3-70-g09d2