mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
textproc/lookatme: do not install tests, fix dependency requirements
PR: 262759
This commit is contained in:
parent
7059a13adc
commit
b87250c66d
2 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= lookatme
|
||||
PORTVERSION= 2.3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -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
|
||||
|
||||
|
|
11
textproc/lookatme/files/patch-setup.py
Normal file
11
textproc/lookatme/files/patch-setup.py
Normal file
|
@ -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",
|
Loading…
Add table
Reference in a new issue