Po-Chuan Hsieh
2025-04-10 01:44:17 +08:00
parent 741ab8c312
commit 2c4ad99256
2 changed files with 13 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
PORTNAME= git-up
PORTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.0<0.5:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gitpython>=3.0.0<4:devel/py-gitpython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}termcolor>=2.0.0<3:devel/py-termcolor@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}termcolor>=2.0.0:devel/py-termcolor@${PY_FLAVOR}
USES= dos2unix python
USE_PYTHON= autoplist concurrent pep517

View File

@@ -0,0 +1,11 @@
--- pyproject.toml.orig 2024-10-05 20:00:15 UTC
+++ pyproject.toml
@@ -31,7 +31,7 @@ colorama = "^0.4.0"
python = "^3.8"
GitPython = "^3.0.0"
colorama = "^0.4.0"
-termcolor = "^2.0.0"
+termcolor = ">=2.0.0"
[tool.poetry.dev-dependencies]
coveralls = "^3.0.0"