diff options
-rw-r--r-- | community/py3-twisted/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/py3-twisted/APKBUILD b/community/py3-twisted/APKBUILD index fe8b0d1f01..e4d5e8b396 100644 --- a/community/py3-twisted/APKBUILD +++ b/community/py3-twisted/APKBUILD @@ -9,7 +9,7 @@ arch="all" license="MIT" depends="python3 py3-cryptography py3-zope-interface py3-constantly py3-incremental py3-attrs py3-pyhamcrest py3-hyperlink py3-automat" -makedepends="libtirpc-dev py3-setuptools python3-dev cython" +makedepends="libtirpc-dev py3-setuptools python3-dev cython3" checkdepends="xvfb-run py3-appdirs tzdata" subpackages="$pkgname-doc" source="https://twistedmatrix.com/Releases/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.bz2 @@ -27,11 +27,11 @@ prepare() { # Remove tests that always fail due to our not-upstream testing procedure # these tests if invoking the Twisted binary and twisted.trial tests work rm -f src/twisted/test/test_main.py - rm $(grep -lr "Generated by Cython") + rm $(grep -lr "Generated by Cython" .) } build() { - find -name '*.pyx' -exec cython {} \; + find -name '*.pyx' -exec cython3 {} \; CFLAGS="$CFLAGS $(pkgconf --cflags libtirpc)" python3 setup.py build } |