aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-08-14 17:41:15 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-08-15 05:32:05 +0000
commit828594101fa32bd6f6a22ea24735639f7d9c6459 (patch)
tree4f51fbf8e005f3ab123706e6eb0e522373cc70b5
parent6ec6ccbe3f3105ba45143df276ccbcd13e84d7ef (diff)
downloadaports-828594101fa32bd6f6a22ea24735639f7d9c6459.tar.gz
aports-828594101fa32bd6f6a22ea24735639f7d9c6459.tar.bz2
aports-828594101fa32bd6f6a22ea24735639f7d9c6459.tar.xz
community/py3-twisted: don't remove legitimate 'twisted.test' module
-rw-r--r--community/py3-twisted/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/py3-twisted/APKBUILD b/community/py3-twisted/APKBUILD
index 6b24422414..6291dfb66f 100644
--- a/community/py3-twisted/APKBUILD
+++ b/community/py3-twisted/APKBUILD
@@ -2,7 +2,7 @@
pkgname=py3-twisted
_pkgname=Twisted
pkgver=20.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Asynchronous networking framework written in Python3"
url="http://twistedmatrix.com/"
arch="all"
@@ -57,7 +57,9 @@ check() {
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
- rm -rf "$pkgdir"/usr/lib/python3*/site-packages/twisted/test
+ # Do not remove the test as it is a legitimate module and not
+ # a (common) packaging mistake by upstream
+ # rm -rf "$pkgdir"/usr/lib/python3*/site-packages/twisted/test
_mans="pyhtmlizer.1 trial.1 twistd.1"
for _man in $_mans; do