diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-06 22:00:08 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-06 22:00:08 -0300 |
commit | cb71a6a4df6693065e08d14d45f958c4c19e1dcb (patch) | |
tree | db9b0f30cddf702cc20d03ef5417233e67a94b63 | |
parent | 7c8bb571ceb275b41d64e50bbaabe52e9f4fcdc1 (diff) | |
download | aports-cb71a6a4df6693065e08d14d45f958c4c19e1dcb.tar.bz2 aports-cb71a6a4df6693065e08d14d45f958c4c19e1dcb.tar.xz |
community/py3-twisted: workaround busybox rm particularities
busybox rm -r needs the positional argument as . if you want to work
against the current directory, GNU rm assumes that no positional
argument for paths means current directory.
-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 } |