From nobody Sun Jul 09 10:33:43 2023 X-Original-To: dev-commits-ports-all@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 4QzNlW4gwcz4ljyw; Sun, 9 Jul 2023 10:33:43 +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 4QzNlW4FZxz3vJF; Sun, 9 Jul 2023 10:33:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898823; 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=vbPorlvBR/EFow3/l/WVF53DreFYx4x8ne26CZA7l2M=; b=mbPns5XPqX/oejCsKHj06nMKG41g9hWDNL5GhGSnGITpfeuQjUE3TA5faR8A/AyujqXt5N E2ashRLfTJmtzE2vZg7uVxwg80A4gs8XY8isdbYEvLZbXCs7o+qEJhRKevm+36lDIZuWg0 mzr9/NUO0/zFCutxoIAWBE3glBqrb3/V3vjWmdqbI+5S/2yUDwQaWJodzF5umVWfbAT43+ u3KTbE49oVcgpH+bztz+POTpTmunAfpMYV3/bnQx6iTVXZOBfdD4qi0rVDTHVB1z1sUZ3K bKmYlFPOplfSXl3znT3rf/YxHqVCy8j2pZoBOwQ7gUmTxDi8RuK615DwO2XGBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898823; 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=vbPorlvBR/EFow3/l/WVF53DreFYx4x8ne26CZA7l2M=; b=neIbcDWDIAxWCODnbNHMxWs8q0wGCQ72I1YfxSzXB64TxM41r4K2fqvY9ysn3JllqnvtEy DZ4eoPAqngnteyEpBOvKZEg7S/BiaGxukwxuh52kHmyL99NaOVEbq8wVOs6gzJ1/ddt+z8 E/vXyAgis8D+BggaDpQwc4gNTP8wiFnHO+DQIQf7eVOxGgFtCbFq2ccnHYQWseDNVCcDIW IzOpSR/5ighRD6nZTUhPSDZT/hjPsJz3sp9ds54KmFEzlniFFSVmROrOg/F8dtC4kuuGlZ vsrNdgLBf1ZRR6P+ve4T8DSKM+N7/7yX8QC4H53Sdv3D1mPCUCor0GP2lVjQrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688898823; a=rsa-sha256; cv=none; b=tfRP85qUK0k5/dyDf63hrXonMs9m8caLLL70s9lQUMsdogfqoQCslhZVn81UNWUSVPNymW t2DSrTyugwyUIzX2xZo/eNtXlXBMHDEVzXLfLcn/MMm73Ymc3oJIvkhKib3JcYaDSYO8AM /ZLx9KYeaxaysXyf0kaD+9ngO5ShsnpMaBvApHy7vTbUjO7+lv3ZPUALHtziXP/RTEcXp6 Xp6QVxIwr5cGbvz98NMC6QovDMtJSFKD6RDshJ05msKDsatV11A0rjT+vNJq+L8jeWDhQ/ z9LjtEmr6I81Uz5Qnhdhx/0R3xeX294JvFVSxDyK/PMCEGC9AKHS0tgIQL0U9A== 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 4QzNlW39X3z10C5; Sun, 9 Jul 2023 10:33:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 369AXhRk055398; Sun, 9 Jul 2023 10:33:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 369AXh1B055397; Sun, 9 Jul 2023 10:33:43 GMT (envelope-from git) Date: Sun, 9 Jul 2023 10:33:43 GMT Message-Id: <202307091033.369AXh1B055397@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: 3d6eb8cdacfa - main - textproc/py-cyclonedx-python-lib: Add py-cyclonedx-python-lib 4.0.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 3d6eb8cdacfab00e40eec5ce70cc5f7a59dad0d7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d6eb8cdacfab00e40eec5ce70cc5f7a59dad0d7 commit 3d6eb8cdacfab00e40eec5ce70cc5f7a59dad0d7 Author: Po-Chuan Hsieh AuthorDate: 2023-07-09 10:10:42 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-09 10:15:54 +0000 textproc/py-cyclonedx-python-lib: Add py-cyclonedx-python-lib 4.0.1 This CycloneDX module for Python can generate valid CycloneDX bill-of-material document containing an aggregate of all project dependencies. CycloneDX is a lightweight BOM specification that is easily created, human-readable, and simple to parse. --- textproc/Makefile | 1 + textproc/py-cyclonedx-python-lib/Makefile | 25 ++++++++++++++++++++++ textproc/py-cyclonedx-python-lib/distinfo | 3 +++ .../files/patch-pyproject.toml | 14 ++++++++++++ textproc/py-cyclonedx-python-lib/pkg-descr | 4 ++++ 5 files changed, 47 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index c80cf0211f4f..df03061788f3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1323,6 +1323,7 @@ SUBDIR += py-cssselect2 SUBDIR += py-csvkit SUBDIR += py-custom_inherit + SUBDIR += py-cyclonedx-python-lib SUBDIR += py-dbfread SUBDIR += py-dialect SUBDIR += py-dict2xml diff --git a/textproc/py-cyclonedx-python-lib/Makefile b/textproc/py-cyclonedx-python-lib/Makefile new file mode 100644 index 000000000000..5ff248e21e6f --- /dev/null +++ b/textproc/py-cyclonedx-python-lib/Makefile @@ -0,0 +1,25 @@ +PORTNAME= cyclonedx-python-lib +PORTVERSION= 4.0.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= cyclonedx_python_lib-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Library for producing CycloneDX SBOM (Software Bill of Materials) files +WWW= https://github.com/CycloneDX/cyclonedx-python-lib + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packageurl-python>=0.9:textproc/py-packageurl-python@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}py-serializable>=0.11.1<0.12:devel/py-py-serializable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.3.0<3:devel/py-sortedcontainers@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/textproc/py-cyclonedx-python-lib/distinfo b/textproc/py-cyclonedx-python-lib/distinfo new file mode 100644 index 000000000000..2dbcda2d61fd --- /dev/null +++ b/textproc/py-cyclonedx-python-lib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688166032 +SHA256 (cyclonedx_python_lib-4.0.1.tar.gz) = 878e33b8e0080c786f6cbd4c6f87ad610db65d6a3a686a5698415d9cfcd8925d +SIZE (cyclonedx_python_lib-4.0.1.tar.gz) = 246840 diff --git a/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml new file mode 100644 index 000000000000..15889f190805 --- /dev/null +++ b/textproc/py-cyclonedx-python-lib/files/patch-pyproject.toml @@ -0,0 +1,14 @@ +--- pyproject.toml.orig 2023-06-28 15:26:06 UTC ++++ pyproject.toml +@@ -48,9 +48,9 @@ keywords = [ + # ATTENTION: keep `deps.lowest.r` file in sync + python = "^3.7" + importlib-metadata = { version = "^3.4.0", python = "<3.8" } +-packageurl-python = ">= 0.11" ++packageurl-python = ">= 0.9" + py-serializable = "^0.11.1" +-sortedcontainers = "^2.4.0" ++sortedcontainers = "^2.3.0" + + [tool.poetry.dev-dependencies] + ddt = "^1.6.0" diff --git a/textproc/py-cyclonedx-python-lib/pkg-descr b/textproc/py-cyclonedx-python-lib/pkg-descr new file mode 100644 index 000000000000..aba8443ae272 --- /dev/null +++ b/textproc/py-cyclonedx-python-lib/pkg-descr @@ -0,0 +1,4 @@ +This CycloneDX module for Python can generate valid CycloneDX bill-of-material +document containing an aggregate of all project dependencies. CycloneDX is a +lightweight BOM specification that is easily created, human-readable, and simple +to parse.