diff options
-rw-r--r-- | user/py3-pyyaml/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/user/py3-pyyaml/APKBUILD b/user/py3-pyyaml/APKBUILD index afbf6f336..1e015cb7b 100644 --- a/user/py3-pyyaml/APKBUILD +++ b/user/py3-pyyaml/APKBUILD @@ -3,14 +3,13 @@ pkgname=py3-pyyaml _pkgname=pyyaml pkgver=5.3.1 -pkgrel=0 +pkgrel=1 pkgdesc="YAML parser and emitter for Python" url="https://pyyaml.org/wiki/PyYAML" -arch="noarch" -# Certified net clean +arch="all" license="MIT" -depends="python3 yaml" -makedepends="python3-dev yaml yaml-dev" +depends="python3" +makedepends="python3-dev py3-cython yaml-dev" subpackages="" source="$pkgname-$pkgver.tar.gz::https://github.com/yaml/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" @@ -20,9 +19,7 @@ builddir="$srcdir/$_pkgname-$pkgver" # - CVE-2020-1747 build() { - # 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 + python3 setup.py --with-libyaml build } check() { |