aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-28 19:32:58 -0300
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-08-29 06:07:30 +0000
commit4cb9115f8c4f4e9b8978212a18304500fcad5b28 (patch)
tree812e79fd7b8c213695f975a67e4fc1082cde3cea
parenta1d472a7b19134c1f13339cfc14688067269a6b1 (diff)
downloadaports-4cb9115f8c4f4e9b8978212a18304500fcad5b28.tar.bz2
aports-4cb9115f8c4f4e9b8978212a18304500fcad5b28.tar.xz
main/py-yaml: upgrade to 5.1.2
-rw-r--r--main/py-yaml/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/main/py-yaml/APKBUILD b/main/py-yaml/APKBUILD
index 4290a84476..9b3a974182 100644
--- a/main/py-yaml/APKBUILD
+++ b/main/py-yaml/APKBUILD
@@ -3,22 +3,27 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-yaml
_pkgname=PyYAML
-pkgver=5.1.1
+pkgver=5.1.2
pkgrel=0
pkgdesc="Python bindings for YAML"
url="http://pyyaml.org"
arch="all"
license="MIT"
-depends=""
-makedepends="python2-dev python3-dev yaml-dev"
+makedepends="python2-dev python3-dev yaml-dev cython2 cython3"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="$_pkgname-$pkgver.tar.gz::https://github.com/yaml/pyyaml/archive/$pkgver.tar.gz"
builddir="$srcdir/pyyaml-$pkgver"
+prepare() {
+ cd "$builddir"
+ default_prepare
+ rm -f ext/_yaml.c
+}
+
build() {
cd "$builddir"
- python2 setup.py build
- python3 setup.py build
+ python2 setup.py --with-libyaml build
+ python3 setup.py --with-libyaml build
}
check() {
@@ -49,4 +54,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="5c89f432b370990702db74b1e54fa185c38d2666377d3325aebcbb4841897aa2039b10a2c8196ce7ed4bb1300a854312335d3475821d785016190d70195f1480 PyYAML-5.1.1.tar.gz"
+sha512sums="7bc3dceadcfd512ede67581625887d00822464f20d3b646904f4a73afce8cf3b9766829c6004b626c31757edf8e2eedc27e60d96bee13afa68d3296a8a7f33bb PyYAML-5.1.2.tar.gz"