Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2022 18:37:02 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b87250c66d6a - main - textproc/lookatme: do not install tests, fix dependency requirements
Message-ID:  <202203311837.22VIb27n098731@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b87250c66d6ac9c35c641b141e8ca0608584dd7c

commit b87250c66d6ac9c35c641b141e8ca0608584dd7c
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-03-31 15:44:50 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-03-31 18:36:13 +0000

    textproc/lookatme: do not install tests, fix dependency requirements
    
    PR:             262759
---
 textproc/lookatme/Makefile             |  4 ++++
 textproc/lookatme/files/patch-setup.py | 11 +++++++++++
 2 files changed, 15 insertions(+)

diff --git a/textproc/lookatme/Makefile b/textproc/lookatme/Makefile
index a7e8ad764020..e922942eda66 100644
--- a/textproc/lookatme/Makefile
+++ b/textproc/lookatme/Makefile
@@ -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
 
diff --git a/textproc/lookatme/files/patch-setup.py b/textproc/lookatme/files/patch-setup.py
new file mode 100644
index 000000000000..5c40eb351db1
--- /dev/null
+++ b/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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203311837.22VIb27n098731>