From nobody Thu Mar 16 06:18:13 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 4PccWp1S3zz3yQNX; Thu, 16 Mar 2023 06:18:14 +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 4PccWp0xXSz3lkK; Thu, 16 Mar 2023 06:18:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678947494; 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=x5wzDZpOklk/lmNKIWCJcIJIhYodBGekFDFpr3dUZHw=; b=x2fp4tVijD6Tc2c8rflJSb84J5VH79+nj/axaqOVW6BqJ5zzTCUlHLd6+S9jQ71B+06lCm bVoUe2ToMON7D+iq/N8/K0wX/fWBGvMUeI7VjpGcN0BB5vdoiCofDgtr9rtNuIcCWEyRpz lhpI4dcVg2aWjmvj2GtVw698GIUgmFmiIO/NHOba5B4YmMp3rE/Q+hms9Rh5Lf2711L1+U gRK2jnmEkeRFOMR+R1GTZtzH7Tfd6QwG/UjqgrFr5y/pLfZ4GjgDsxmnW9mVfu1iqCDwO2 vA9RJYOgh3hsb8xP7BXRglLQjrT76IXHqQR/nPlMW7MSCaKGBJRQ8MHKaZrFxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678947494; 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=x5wzDZpOklk/lmNKIWCJcIJIhYodBGekFDFpr3dUZHw=; b=yU/S7x31S/UBUxZOVus7iq83wRvOzT9L7M2nvVd+sVb6pevCqQFdD986ggP6vKc3lcSAWf VFdxu4Z8nP2XCxyBBCNS1ZPdEKhA3QldjQJ+8xLiN0NVJufLlgtxiJyPLA/54hXJ7qkwyJ lVdgArmyfsqgXqocDiM/SkMeW7Djw/Cs8p0ZJEEUAQjKT2mSrQDdJMd+hdTCmX4HqujWOL XY6KFjfdLPF6zjeRyuR2EfEWid4hLp3NboKhFdBN85Zbb9gfoUDyyjUII8AybXMdwJ+W9L dMZJhimZSzpWDHCVHf2ifgcUXE4R3uNFrvZ6RctMYRD0yFBdfeCvwJ6FLuNZRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678947494; a=rsa-sha256; cv=none; b=K0reQF0fm1XDR8iYvwWwNivj/Bbt1FU3Tur2Rskr1j6wpehq/L7JauyGLkrwsrGOJtI7Qe gCGiX7ijNY6PR00dA/Wu1pFfZgm35yXXcCjQQuUPBvypM8dKxA8hvrEjGiQrO27aAPah0h 3Ex0mRewIJfTuByGtQR8+3tw2kZIzIpMf6+t5gSlUHJDNxX5rEGE5zI44oF0a30iur0IAR 4TRIS99CUAZ1X/UWlcytempSTTPSSliM9Y3t2izBM4IkwDiIwhIPP+E3N7uSBUabK9w/0v XFb59ZITU1Ed+y+a56UXRMst3poRhxG2G/eutsyhCmg++zKc89UAcGn6UTB5Hw== 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 4PccWn6McwzXyM; Thu, 16 Mar 2023 06:18:13 +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 32G6IDtq089232; Thu, 16 Mar 2023 06:18:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32G6ID5B089231; Thu, 16 Mar 2023 06:18:13 GMT (envelope-from git) Date: Thu, 16 Mar 2023 06:18:13 GMT Message-Id: <202303160618.32G6ID5B089231@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: d5173cf69d95 - main - devel/py-hatch-nodejs-version: New port 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d5173cf69d95f13acfc276a490f1079a4717d21e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5173cf69d95f13acfc276a490f1079a4717d21e commit d5173cf69d95f13acfc276a490f1079a4717d21e Author: Kai Knoblich AuthorDate: 2023-03-16 05:54:32 +0000 Commit: Kai Knoblich CommitDate: 2023-03-16 05:54:32 +0000 devel/py-hatch-nodejs-version: New port This package provides two Hatch plugins: * version source plugin that reads/writes the package version from the version field of the Node.js package.json file. * metadata hook plugin that reads PEP 621 metadata from the Node.js package.json file. WWW: https://github.com/agoose77/hatch-nodejs-version --- devel/Makefile | 1 + devel/py-hatch-nodejs-version/Makefile | 25 +++++++++++++++++++++++++ devel/py-hatch-nodejs-version/distinfo | 3 +++ devel/py-hatch-nodejs-version/pkg-descr | 7 +++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 320303eab7c4..c626e4ae13c0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4688,6 +4688,7 @@ SUBDIR += py-hash_ring SUBDIR += py-hatch SUBDIR += py-hatch-fancy-pypi-readme + SUBDIR += py-hatch-nodejs-version SUBDIR += py-hatch-vcs SUBDIR += py-hatchling SUBDIR += py-heapdict diff --git a/devel/py-hatch-nodejs-version/Makefile b/devel/py-hatch-nodejs-version/Makefile new file mode 100644 index 000000000000..7168be6e6c21 --- /dev/null +++ b/devel/py-hatch-nodejs-version/Makefile @@ -0,0 +1,25 @@ +PORTNAME= hatch-nodejs-version +DISTVERSION= 0.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= hatch_nodejs_version-${DISTVERSION} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Hatch plugin for versioning from a package.json file +WWW= https://github.com/agoose77/hatch-nodejs-version + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.0:devel/py-hatchling@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/devel/py-hatch-nodejs-version/distinfo b/devel/py-hatch-nodejs-version/distinfo new file mode 100644 index 000000000000..17117c0f4f9c --- /dev/null +++ b/devel/py-hatch-nodejs-version/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1671531749 +SHA256 (hatch_nodejs_version-0.3.1.tar.gz) = 0e55fd713d92c5c1ccfee778efecaa780fd8bcd276d4ca7aff9f6791f6f76d9c +SIZE (hatch_nodejs_version-0.3.1.tar.gz) = 14347 diff --git a/devel/py-hatch-nodejs-version/pkg-descr b/devel/py-hatch-nodejs-version/pkg-descr new file mode 100644 index 000000000000..7c13c5d0cf2e --- /dev/null +++ b/devel/py-hatch-nodejs-version/pkg-descr @@ -0,0 +1,7 @@ +This package provides two Hatch plugins: + +* version source plugin that reads/writes the package version from the version + field of the Node.js package.json file. + +* metadata hook plugin that reads PEP 621 metadata from the Node.js + package.json file.