From nobody Mon Oct 14 05:27:11 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XRm280409z5Z9bb; Mon, 14 Oct 2024 05:27:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRm276Xyxz4TRF; Mon, 14 Oct 2024 05:27:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728883631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CE528EOle6d3LiwuEEQBKXK6bM2Ig+5K/jSU8104OEI=; b=uHOaWnvgGtlAmlJbnP73f/5p17ewdAK8jpxbnX4rNeA11gd2lbj5yRV62bFd08TinvGmrw 5+fD8Qc18cqFaDXujxTegrap3qeXTf3gGG/5G6RSDjKjPL12VHvDB6Nz8aEic+h4BsHpUn uJQ4hlHm0eVkDIrwyiAJKJagN4u6z9vlHnXdBNg2FEzz/rx2ME+CVsFXcKRgB9hY0gWc60 xFPVgEoKv3YG9vX/ysTp2+dnB3KrUR58W028No8kdbIBuR7475SSrwVPqB0zLRxxHOw/GF ia1c0kCEYwU2gRn2sth6GbI/hyRlvQr+b8KNLPeOc4C5WLwLLKzTNRHvGRG2oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728883631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CE528EOle6d3LiwuEEQBKXK6bM2Ig+5K/jSU8104OEI=; b=SUyz67svCZONeKqdcT0GSiSv25Xmi2mGy/bg+W6QAccOKAZc732DA4/9uJ+dPJ3ZYTGo2t s0FbGJrAlEpqYMpxlSEKeX7xp5zOgWdBAron0ztwLsa6OBZ9U9pzXB8OsUzVksyOjl0I/l HIwuqPZErNe9p7IeJZ60gqxpfzhOQE7prqD2iKlXZ2o+1wvzzElx0LOPMO/V8HTv1pgsOP sNMY/1mVHxCtipciHLxmmtPXE65ybOsLjw5ePAWql+ZpENnm5hy8yYxj+HYnBpDROYhkYh xSTXFrvRSnvHuXdyxMjQRUUd1UiDp4QDfr11KrafxwtmMaT9zs+iIMqp0d20PA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728883631; a=rsa-sha256; cv=none; b=ZGyVcPPU1VAIpI1TtO2BOUz7sOnIQefbz1KUGWd6wKZ7gkNosBmNTR6uWqFJtCtlC5b9Im 43MyalUtFp2NDKPj0I1LxNIOTHh/4sm30JThu9yVkyi48KfeunwEON73qmQ7wshSeRFRE6 gSGBLETtO2RNjgyGFokDbBOFiETQ+L9ZcH8xeB83lik6DUEyyQnoExgHLdf3CFiInS+aQM /BgqNq576KB1u3CgqoQv3tRPfK745bT+LPYXXrxEsNOe6Axlvea0+OXuLlVeCqkhwLFhbP /5qQ53SDreW1R37TEOBD/+BZ5z7YzKR5II8+vmkTaRifxGx2d0wO4RWWqhDJEQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XRm275pl2zPlG; Mon, 14 Oct 2024 05:27:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49E5RBYS046734; Mon, 14 Oct 2024 05:27:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5RB21046731; Mon, 14 Oct 2024 05:27:11 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:27:11 GMT Message-Id: <202410140527.49E5RB21046731@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 523bcb0afcd4 - main - devel/py-python-semantic-release: Add py-python-semantic-release 9.11.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 523bcb0afcd4aa2af2dc412ecfcbaaaa9df10229 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=523bcb0afcd4aa2af2dc412ecfcbaaaa9df10229 commit 523bcb0afcd4aa2af2dc412ecfcbaaaa9df10229 Author: Po-Chuan Hsieh AuthorDate: 2024-10-14 04:45:12 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-10-14 04:45:12 +0000 devel/py-python-semantic-release: Add py-python-semantic-release 9.11.0 Python Semantic Release provides automatic semantic versioning for Python projects. This is a Python implementation of semantic-release for JS by Stephan Bönnemann. The general idea is to be able to detect what the next version of the project should be based on the commits. This tool will use that to automate the whole release, upload to an artifact repository and post changelogs to GitHub. You can run the tool on a CI service, or just run it locally. --- devel/Makefile | 1 + devel/py-python-semantic-release/Makefile | 36 ++++++++++++++++++++++ devel/py-python-semantic-release/distinfo | 3 ++ .../files/patch-pyproject.toml | 11 +++++++ devel/py-python-semantic-release/pkg-descr | 8 +++++ 5 files changed, 59 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index af3a5b4731b4..03f28bbd0eec 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5712,6 +5712,7 @@ SUBDIR += py-python-pcre SUBDIR += py-python-ptrace SUBDIR += py-python-rapidjson + SUBDIR += py-python-semantic-release SUBDIR += py-python-socketio SUBDIR += py-python-statsd SUBDIR += py-python-subunit diff --git a/devel/py-python-semantic-release/Makefile b/devel/py-python-semantic-release/Makefile new file mode 100644 index 000000000000..ead7d4960b17 --- /dev/null +++ b/devel/py-python-semantic-release/Makefile @@ -0,0 +1,36 @@ +PORTNAME= python-semantic-release +PORTVERSION= 9.11.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python_semantic_release-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Automatic Semantic Versioning for Python projects +WWW= https://python-semantic-release.readthedocs.io/en/latest/ \ + https://github.com/python-semantic-release/python-semantic-release + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.42<1:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0<9:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-option-group>=0.5<1:devel/py-click-option-group@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dotty-dict>=1.3<2:devel/py-dotty-dict@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gitpython>=3.0<4:devel/py-gitpython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-resources>=6.0<7:devel/py-importlib-resources@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1<4:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0<3:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-gitlab>=4.0<5:devel/py-python-gitlab@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.25<3:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=13.0<14:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}shellingham>=1.5<2:devel/py-shellingham@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11<1:textproc/py-tomlkit@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-python-semantic-release/distinfo b/devel/py-python-semantic-release/distinfo new file mode 100644 index 000000000000..7fa429a60832 --- /dev/null +++ b/devel/py-python-semantic-release/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728632228 +SHA256 (python_semantic_release-9.11.0.tar.gz) = 0c75e35abe2ba95f1bf58a65e0324997793459b25ff7b655068787c910625eca +SIZE (python_semantic_release-9.11.0.tar.gz) = 213874 diff --git a/devel/py-python-semantic-release/files/patch-pyproject.toml b/devel/py-python-semantic-release/files/patch-pyproject.toml new file mode 100644 index 000000000000..4cd3976e767b --- /dev/null +++ b/devel/py-python-semantic-release/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-10-12 23:27:18 UTC ++++ pyproject.toml +@@ -1,7 +1,7 @@ + # Ref: https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ + # and https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html + [build-system] +-requires = ["setuptools ~= 69.0", "wheel ~= 0.42"] ++requires = ["setuptools >= 61.0", "wheel ~= 0.42"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/devel/py-python-semantic-release/pkg-descr b/devel/py-python-semantic-release/pkg-descr new file mode 100644 index 000000000000..e7cbfb7e32b5 --- /dev/null +++ b/devel/py-python-semantic-release/pkg-descr @@ -0,0 +1,8 @@ +Python Semantic Release provides automatic semantic versioning for Python +projects. This is a Python implementation of semantic-release for JS by Stephan +Bönnemann. + +The general idea is to be able to detect what the next version of the project +should be based on the commits. This tool will use that to automate the whole +release, upload to an artifact repository and post changelogs to GitHub. You can +run the tool on a CI service, or just run it locally.