devel/py-poetry-semver: Add py-poetry-semver 0.1.0

Poetry SemVer provides a semantic versioning library for Python. It is initially
part of the Poetry codebase.
This commit is contained in:
Po-Chuan Hsieh 2023-04-06 01:07:27 +08:00
parent 5c7ee226ff
commit e732c3906a
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 36 additions and 0 deletions

View file

@ -5091,6 +5091,7 @@
SUBDIR += py-poetry-core
SUBDIR += py-poetry-dynamic-versioning
SUBDIR += py-poetry-plugin-export
SUBDIR += py-poetry-semver
SUBDIR += py-poetry2setup
SUBDIR += py-polib
SUBDIR += py-pooch

View file

@ -0,0 +1,20 @@
PORTNAME= poetry-semver
PORTVERSION= 0.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Semantic versioning library for Python
WWW= https://github.com/python-poetry/semver
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1679498498
SHA256 (poetry-semver-0.1.0.tar.gz) = d809b612aa27b39bf2d0fc9d31b4f4809b0e972646c5f19cfa46c725b7638810
SIZE (poetry-semver-0.1.0.tar.gz) = 11985

View file

@ -0,0 +1,10 @@
--- pyproject.toml.orig 2019-12-02 20:19:34 UTC
+++ pyproject.toml
@@ -44,5 +44,5 @@ known_third_party = [
[build-system]
-requires = ["poetry>=1.0.0b8"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"

View file

@ -0,0 +1,2 @@
Poetry SemVer provides a semantic versioning library for Python. It is initially
part of the Poetry codebase.