From nobody Tue Mar 21 19:23:49 2023 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 4Ph1jx5bF4z40gYt; Tue, 21 Mar 2023 19:23:49 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ph1jx56JKz49jJ; Tue, 21 Mar 2023 19:23:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426629; 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=oSE1+YPG7roNEjSBhcKPiAFlbl24iVkOaD0EGHKFUp4=; b=QQydc4WrVOW23eV0dQV4vBxPpoG6MbPbQuSgtCTaiDqqGQ8EqJTEA00qbcbZz1oHY4QlUe p5vqN8rU5+ua2Pu0WCapD/lznSGbkntRuJGOe2u65ejUrQ7gD7uc3HKKs4EuRlBBrX2yMM m9bmI7E5yBlyO1eUthifzcGXA+F+hLgHHO19fx1mWwwSEXo8WukFH2Ud9bJYZg4wUzuLQQ 14TIilG00DypT4irmT/IP7Ou/HaIkkPXtCkh6FFIHL7DnHPN6ZUy87UcLERhQK9Xf7fjGS /B4xC84OGixVYJ4kGABxDIJn/6Kaj/YjnsxromxHu0hkDT2dNa79K+bca4mUUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426629; 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=oSE1+YPG7roNEjSBhcKPiAFlbl24iVkOaD0EGHKFUp4=; b=nOCmTZlAaj7UIAZFjHIjrCimF4xkIahkGgqajrEbiqP73R5bMtkqhAXFZ+8Eas/6HOSjc2 C06mQ2TP6t66oY3WjZ5fDwYT6pCNJ9rhzxxK24PyuOq3xXNGizRbbuVcMeCOXPdMFd+I3P Lfw84WOT7S7Qg/O54j7GF47UU2dZa9clJ++VohX7XTshLBqsYVVrt3buLPNpwD5FMTsmlo Lucq/hqXhhXIT3wmpUIGILrx0vG7d03LhBfr5F98KN3Z/xxRImbekDqgHpHeQF1Cw8ZStr G5irElTlwfOtooePHzhSpW/SpO99AMWQNqegTCK4zZjzUFXzVHueCO/XL5dEzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426629; a=rsa-sha256; cv=none; b=yj2dIoV35j9ekuPiOCtCGFgSJVHW2r+Ra+026d8zXJhOGhqHv2whFBnXv06E0kgmnrmzqj wNypF1DOXbHnDeg9cG6kRlenqL4oo6uYH9XFzQBgvhZyOsLRdVwf1NlaIPRbc7/VFSChmF qgJUjlzx+qqzKSotdXySu98xpupVgQNgcrEJrxcL9Rv5GzES0GvWIVCjYZngH6qMa6zQ1U RAc3g6PpYphv1nM4X/yDoOa8RL/AOa30Yoku8UXoE6qjLR5ZyWOJZkvwj8gJSm/LXw29/w LHYI3wRadCLCR4kVrbeVJs6pgmz2i755z+dBSnJtqM5YIblD7vWshKvCYYQ9Jw== 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 4Ph1jx4BYnzPZw; Tue, 21 Mar 2023 19:23:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32LJNnlh026737; Tue, 21 Mar 2023 19:23:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJNncZ026736; Tue, 21 Mar 2023 19:23:49 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:23:49 GMT Message-Id: <202303211923.32LJNncZ026736@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: c80b0d38ef84 - main - devel/py-hatch-semver: Add py-hatch-semver 1.0.1 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: 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: c80b0d38ef8483dd9b752d4e5dfae70e8dab4d1a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c80b0d38ef8483dd9b752d4e5dfae70e8dab4d1a commit c80b0d38ef8483dd9b752d4e5dfae70e8dab4d1a Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:35:08 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:19:51 +0000 devel/py-hatch-semver: Add py-hatch-semver 1.0.1 hatch-semver is a plugin for hatch to support semantic versioning. Hatch-semver relies on python-semver for all the versioning logic. --- devel/Makefile | 1 + devel/py-hatch-semver/Makefile | 24 ++++++++++++++++++++++++ devel/py-hatch-semver/distinfo | 3 +++ devel/py-hatch-semver/files/patch-pyproject.toml | 10 ++++++++++ devel/py-hatch-semver/pkg-descr | 2 ++ 5 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a294289d501c..00f20e6c239e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4692,6 +4692,7 @@ SUBDIR += py-hatch-jupyter-builder SUBDIR += py-hatch-nodejs-version SUBDIR += py-hatch-requirements-txt + SUBDIR += py-hatch-semver SUBDIR += py-hatch-vcs SUBDIR += py-hatchling SUBDIR += py-heapdict diff --git a/devel/py-hatch-semver/Makefile b/devel/py-hatch-semver/Makefile new file mode 100644 index 000000000000..ecdd560ff27e --- /dev/null +++ b/devel/py-hatch-semver/Makefile @@ -0,0 +1,24 @@ +PORTNAME= hatch-semver +PORTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= hatch_semver-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Hatch plugin for semver versioning scheme +WWW= https://github.com/Nagidal/hatch-semver + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.8.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semver>=2.13.0<2.14:devel/py-semver@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-hatch-semver/distinfo b/devel/py-hatch-semver/distinfo new file mode 100644 index 000000000000..7d1b948209d4 --- /dev/null +++ b/devel/py-hatch-semver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677770927 +SHA256 (hatch_semver-1.0.1.tar.gz) = 245b6168e1de53dfa43c55a0f8a96d1c204924a515b704df790fb6855bad43b8 +SIZE (hatch_semver-1.0.1.tar.gz) = 19813 diff --git a/devel/py-hatch-semver/files/patch-pyproject.toml b/devel/py-hatch-semver/files/patch-pyproject.toml new file mode 100644 index 000000000000..17cf018de7d7 --- /dev/null +++ b/devel/py-hatch-semver/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -1,7 +1,6 @@ + [build-system] + requires = [ + "hatchling>=1.8.0", +- "hatch-semver", + ] + build-backend = "hatchling.build" + diff --git a/devel/py-hatch-semver/pkg-descr b/devel/py-hatch-semver/pkg-descr new file mode 100644 index 000000000000..65455c918b65 --- /dev/null +++ b/devel/py-hatch-semver/pkg-descr @@ -0,0 +1,2 @@ +hatch-semver is a plugin for hatch to support semantic versioning. Hatch-semver +relies on python-semver for all the versioning logic.