Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:33:20 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e732c3906a85 - main - devel/py-poetry-semver: Add py-poetry-semver 0.1.0
Message-ID:  <202304051733.335HXKOv083333@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e732c3906a85f095662b5f73b02e01cdb2d43bd7

commit e732c3906a85f095662b5f73b02e01cdb2d43bd7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:07:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:39 +0000

    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.
---
 devel/Makefile                                    |  1 +
 devel/py-poetry-semver/Makefile                   | 20 ++++++++++++++++++++
 devel/py-poetry-semver/distinfo                   |  3 +++
 devel/py-poetry-semver/files/patch-pyproject.toml | 10 ++++++++++
 devel/py-poetry-semver/pkg-descr                  |  2 ++
 5 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 991b53b42e6f..82249aec0465 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-poetry-semver/Makefile b/devel/py-poetry-semver/Makefile
new file mode 100644
index 000000000000..472eaeb95d1d
--- /dev/null
+++ b/devel/py-poetry-semver/Makefile
@@ -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>
diff --git a/devel/py-poetry-semver/distinfo b/devel/py-poetry-semver/distinfo
new file mode 100644
index 000000000000..e036727cd182
--- /dev/null
+++ b/devel/py-poetry-semver/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679498498
+SHA256 (poetry-semver-0.1.0.tar.gz) = d809b612aa27b39bf2d0fc9d31b4f4809b0e972646c5f19cfa46c725b7638810
+SIZE (poetry-semver-0.1.0.tar.gz) = 11985
diff --git a/devel/py-poetry-semver/files/patch-pyproject.toml b/devel/py-poetry-semver/files/patch-pyproject.toml
new file mode 100644
index 000000000000..30bb28ea5ad0
--- /dev/null
+++ b/devel/py-poetry-semver/files/patch-pyproject.toml
@@ -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"
diff --git a/devel/py-poetry-semver/pkg-descr b/devel/py-poetry-semver/pkg-descr
new file mode 100644
index 000000000000..f0f8a80383c6
--- /dev/null
+++ b/devel/py-poetry-semver/pkg-descr
@@ -0,0 +1,2 @@
+Poetry SemVer provides a semantic versioning library for Python. It is initially
+part of the Poetry codebase.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304051733.335HXKOv083333>