Skip to content

Commit

Permalink
devel/py-poetry-types: Allow build with py-packaging 24.0
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change

Obtained from:	jvllmr/poetry-types#111
  • Loading branch information
sunpoet committed Apr 5, 2024
1 parent c5d7f41 commit d6622d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
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.5.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -13,7 +14,7 @@ LICENSE= MIT
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} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=21.3<24.1:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}poetry>=1.6<2:devel/py-poetry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<0.13.0:textproc/py-tomlkit@${PY_FLAVOR}

Expand Down
8 changes: 6 additions & 2 deletions devel/py-poetry-types/files/patch-pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
Obtained from: https://github.com/jvllmr/poetry-types/pull/111

--- pyproject.toml.orig 2023-08-23 09:23:20 UTC
+++ pyproject.toml
@@ -15,7 +15,7 @@ classifiers = [
@@ -15,8 +15,8 @@ poetry = "^1.6"
[tool.poetry.dependencies]
python = "^3.8"
poetry = "^1.6"
-tomlkit = "^0.11.4"
-packaging = ">=21.3,<24.0"
+tomlkit = ">=0.11.4,<0.13.0"
packaging = ">=21.3,<24.0"
+packaging = ">=21.3,<24.1"

[tool.poetry.group.dev.dependencies]
pytest = "^7.0"

0 comments on commit d6622d1

Please sign in to comment.