Skip to content

Commit

Permalink
devel/py-poetry-types: Add py-poetry-types 0.3.5
Browse files Browse the repository at this point in the history
poetry-types is a plugin to poetry for the poetry plugin feature. It
installs/removes/updates typing stubs via following commands:
- poetry types add <package names>
- poetry types remove <package names>
- poetry types update <package names>
  • Loading branch information
sunpoet committed Apr 18, 2023
1 parent 6aed6e9 commit 54cb298
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -5106,6 +5106,7 @@
SUBDIR += py-poetry-dynamic-versioning
SUBDIR += py-poetry-plugin-export
SUBDIR += py-poetry-semver
SUBDIR += py-poetry-types
SUBDIR += py-poetry2setup
SUBDIR += py-polib
SUBDIR += py-pooch
Expand Down
25 changes: 25 additions & 0 deletions devel/py-poetry-types/Makefile
@@ -0,0 +1,25 @@
PORTNAME= poetry-types
PORTVERSION= 0.3.5
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= poetry_types-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Poetry plugin that adds/removes type stubs as dependencies
WWW= https://github.com/jvllmr/poetry-types

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:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}poetry>=1.2<2:devel/py-poetry@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.4<0.12:textproc/py-tomlkit@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-poetry-types/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1681052888
SHA256 (poetry_types-0.3.5.tar.gz) = 8178e5ceb8d4ec01cf5eeba128736442c27faec9171ae525372b3812a82d85ec
SIZE (poetry_types-0.3.5.tar.gz) = 6443
11 changes: 11 additions & 0 deletions devel/py-poetry-types/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
--- pyproject.toml.orig 2022-12-29 14:10:46 UTC
+++ pyproject.toml
@@ -16,7 +16,7 @@ classifiers = [
python = "^3.7"
poetry = "^1.2"
tomlkit = "^0.11.4"
-packaging = "^21.3"
+packaging = ">=21.3"

[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
5 changes: 5 additions & 0 deletions devel/py-poetry-types/pkg-descr
@@ -0,0 +1,5 @@
poetry-types is a plugin to poetry for the poetry plugin feature. It
installs/removes/updates typing stubs via following commands:
- poetry types add <package names>
- poetry types remove <package names>
- poetry types update <package names>

0 comments on commit 54cb298

Please sign in to comment.