git: 12e50aa6d013 - main - devel/py-enlighten: update 1.12.4 → 1.14.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jun 2026 05:31:07 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=12e50aa6d013316e8e456dcc0fe336c016bb8a8d
commit 12e50aa6d013316e8e456dcc0fe336c016bb8a8d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-12 03:36:31 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-12 05:30:37 +0000
devel/py-enlighten: update 1.12.4 → 1.14.1
---
devel/py-enlighten/Makefile | 13 +++++++++----
devel/py-enlighten/distinfo | 6 +++---
devel/py-enlighten/files/patch-setup.py | 13 +++++++++++++
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/devel/py-enlighten/Makefile b/devel/py-enlighten/Makefile
index 4ad24b5906de..61a7c429d59a 100644
--- a/devel/py-enlighten/Makefile
+++ b/devel/py-enlighten/Makefile
@@ -1,6 +1,5 @@
PORTNAME= enlighten
-DISTVERSION= 1.12.4
-PORTREVISION= 1
+DISTVERSION= 1.14.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,15 +8,21 @@ MAINTAINER= yuri@FreeBSD.org
COMMENT= Console progress bar module for Python
WWW= https://github.com/Rockhopper-Technologies/enlighten
-LICENSE= MIT
+LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blessed>=1.17.7:devel/py-blessed@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}prefixed>=0.3.2:devel/py-prefixed@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist pytest
+USE_PYTHON= autoplist pep517 pytest
+
+PYTEST_ARGS= -p no:ruff -p no:cov
NO_ARCH= yes
+# tests as of 1.14.1: 145 passed, 1 skipped in 57.67s
+
.include <bsd.port.mk>
diff --git a/devel/py-enlighten/distinfo b/devel/py-enlighten/distinfo
index 7e1f536994a6..54395706bf28 100644
--- a/devel/py-enlighten/distinfo
+++ b/devel/py-enlighten/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712349863
-SHA256 (enlighten-1.12.4.tar.gz) = 75f3d92b49e0ef5e454fc1a0f39dc0ab8f6d9946cbe534db3ded3010217d5b5f
-SIZE (enlighten-1.12.4.tar.gz) = 67390
+TIMESTAMP = 1781232348
+SHA256 (enlighten-1.14.1.tar.gz) = 85c35412a9a4f3886b3337d41f813441fab9a30d9f5b5f0c015bd078a4411473
+SIZE (enlighten-1.14.1.tar.gz) = 68562
diff --git a/devel/py-enlighten/files/patch-setup.py b/devel/py-enlighten/files/patch-setup.py
new file mode 100644
index 000000000000..d4ac0f49b087
--- /dev/null
+++ b/devel/py-enlighten/files/patch-setup.py
@@ -0,0 +1,13 @@
+-- Exclude benchmarks from installation to avoid top-level directory conflict
+
+--- setup.py.orig 2026-06-12 02:50:19 UTC
++++ setup.py
+@@ -43,7 +43,7 @@ setup(
+ zip_safe=False,
+ install_requires=INSTALL_REQUIRES,
+ tests_require=TESTS_REQUIRE,
+- packages=find_packages(exclude=['tests', 'tests.*', 'examples']),
++ packages=find_packages(exclude=['tests', 'tests.*', 'examples', 'benchmarks', 'benchmarks.*']),
+ test_suite='tests',
+
+ classifiers=[