Skip to content

Commit

Permalink
www/py-tornado4: Add PORTSCOUT
Browse files Browse the repository at this point in the history
- Update CONFLICTS_INSTALL
  • Loading branch information
sunpoet committed Oct 13, 2021
1 parent 914bc12 commit 11b30b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions www/py-tornado4/Makefile
Expand Up @@ -15,13 +15,16 @@ LICENSE= APACHE20
USES= cpe python:3.6+
USE_PYTHON= autoplist concurrent distutils

CPE_VENDOR= tornadoweb

CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}tornado \
${PYTHON_PKGNAMEPREFIX}tornado5 \
${PYTHON_PKGNAMEPREFIX}tornado6

CPE_VENDOR= tornadoweb

PORTSCOUT= limit:^4\.

post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/tornado/speedups*.so
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
Expand Down

0 comments on commit 11b30b1

Please sign in to comment.