Skip to content

Commit

Permalink
devel/py-poetry-types: Allow build with py-tomlkit 0.12.0+
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Aug 16, 2023
1 parent b643948 commit bc28ae9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devel/py-poetry-types/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= poetry-types
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=21.3<24.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}poetry>=1.5<2:devel/py-poetry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<0.12:textproc/py-tomlkit@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<0.13.0:textproc/py-tomlkit@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent pep517
Expand Down
11 changes: 11 additions & 0 deletions devel/py-poetry-types/files/patch-pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- pyproject.toml.orig 2023-05-26 23:37:18 UTC
+++ pyproject.toml
@@ -15,7 +15,7 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.7"
poetry = "^1.5"
-tomlkit = "^0.11.4"
+tomlkit = ">=0.11.4,<0.13.0"
packaging = ">=21.3,<24.0"

[tool.poetry.group.dev.dependencies]

0 comments on commit bc28ae9

Please sign in to comment.