textproc/lookatme: do not install tests, fix dependency requirements
PR: 262759
This commit is contained in:
parent
7059a13adc
commit
b87250c66d
@ -1,5 +1,6 @@
|
|||||||
PORTNAME= lookatme
|
PORTNAME= lookatme
|
||||||
PORTVERSION= 2.3.2
|
PORTVERSION= 2.3.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc python
|
CATEGORIES= textproc python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
@ -24,6 +25,9 @@ CPE_VENDOR= ${PORTNAME}_project
|
|||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist distutils
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|>.*||' ${WRKSRC}/requirements.txt
|
||||||
|
|
||||||
do-test:
|
do-test:
|
||||||
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
|
@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…
Reference in New Issue
Block a user