Skip to content

Commit

Permalink
textproc/lookatme: do not install tests, fix dependency requirements
Browse files Browse the repository at this point in the history
PR:		262759
  • Loading branch information
AMDmi3 committed Mar 31, 2022
1 parent 7059a13 commit b87250c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions textproc/lookatme/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lookatme
PORTVERSION= 2.3.2
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -24,6 +25,9 @@ CPE_VENDOR= ${PORTNAME}_project
USE_PYTHON= autoplist distutils
NO_ARCH= yes

post-patch:
@${REINPLACE_CMD} -e 's|>.*||' ${WRKSRC}/requirements.txt

do-test:
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs

Expand Down
11 changes: 11 additions & 0 deletions textproc/lookatme/files/patch-setup.py
@@ -0,0 +1,11 @@
--- setup.py.orig 2021-05-23 05:55:52 UTC
+++ setup.py
@@ -27,7 +27,7 @@ setup(
long_description=readme,
long_description_content_type="text/markdown",
python_requires=">=3.6",
- packages=find_packages(exclude=["docs", ".gitignore", "README.md"]),
+ packages=find_packages(exclude=["docs", "tests", ".gitignore", "README.md"]),
install_requires=required,
classifiers=[
"Environment :: Console",

0 comments on commit b87250c

Please sign in to comment.