From nobody Sat Aug 17 20:45:03 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 4WmW801Z1Wz5TfsC; Sat, 17 Aug 2024 20:45:04 +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 4WmW7z6bNFz4MSx; Sat, 17 Aug 2024 20:45:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723927503; 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=QrlnVlBFLUeTqFG00jPQ50b5LId+Eq/AlFD0P17qxl4=; b=USW7KdCnJddzc+V/Hlij3WMZcMW3Eequxmuo+VE3H7ABQZCAq9ZzXWR0p2w/IPWMHR+uCa lz6KJfwkNfwbbSAcUHKxrA2f1dFin6Iuf5roJ1dbmIEdcKGFJrJEtdpRM1CrgQGLBE2HDk ACZMEJfEoCuo1booG0+tSN456DlrLjxS7qDSLyZefczGXvIdBBv79iFTEtWc99sWHGsOG1 oQpzcwWsDT7qbhnQ+dpoQH9PtfWdPSqNBFr+cE6LqJWE+xZksiBmT0+fGES64MlW+JfE35 lVBSbeWPTzCOQEVZh/Uojdv/W7T1nRyUtjmr2qZL1x4kpvwIgs5zToR5zWBfew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723927503; a=rsa-sha256; cv=none; b=TNoeUy3NzZwa3oWJz6ap7J2LCJ+Fu2ROaVGZlo+eKC7h2uf+vmwPdVX+z5NMDxnYQDXrH6 APEByHXZLzWlzAuMEDtllB4ac6QXg5CchPIyPQ83R+borrS94AbfExTdznUM7B47MxKGIX bAqqxRLKYFF8lDB7JxCPC04n6TL6lKgW/iWAUvLVyIoow2aLi8AogxVSJlFdr/LHLh+I+z sQTVjsEKwCRxEGbCtmj+R3W9PIS022ZvF2eA20VroTFFbGVQZ/oQQrE0/yr7oyZKPoJKME 0h6DxB6Vk8w/Ko9cX6HDaSkhQ6W7SYZOmMzMI5ZPaOucn44o9u1bb44yGtro/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723927503; 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=QrlnVlBFLUeTqFG00jPQ50b5LId+Eq/AlFD0P17qxl4=; b=uF0oMva1FQyD1CfumKpjRVp2AMpJchjFYiuKvgHp6eBGbIGcoI83yhyyprOXM96fzCf3Wp wAepvQl47qQiU9lv/PSAAJwSJ5ClRSLruh1attKQOgyq6BAWlYOx0pBnOHa0rFTiXOaADQ mtdKGm07/b4YcZS7s4orh1QEbSUxU7MoWbiJ48cZimPbudMNo1TyjGgZjeTVRgEpTwLyYO vMbQaodkKxFexqqL8FC3R9fb34XskAjSSAqErfAf9ddQhKflEX694Iy+9k0avDR9nxgTs9 my8xvnLpQnw8pyj9DJaLwhmXhLGFuvUtph7EwgMdMpd6DtU6qn2l3M95WCyaxQ== 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 4WmW7z5Z9Jz14l4; Sat, 17 Aug 2024 20:45:03 +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 47HKj3HY043552; Sat, 17 Aug 2024 20:45:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47HKj3v9043549; Sat, 17 Aug 2024 20:45:03 GMT (envelope-from git) Date: Sat, 17 Aug 2024 20:45:03 GMT Message-Id: <202408172045.47HKj3v9043549@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: e5c2e9d228f9 - main - comms/py-spsdk: provides connection and data exchange with devices 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: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e5c2e9d228f9f4936b3d52fe0cad866a4f36d2f7 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e5c2e9d228f9f4936b3d52fe0cad866a4f36d2f7 commit e5c2e9d228f9f4936b3d52fe0cad866a4f36d2f7 Author: Shapovalov Alexey AuthorDate: 2024-07-02 18:29:52 +0000 Commit: Gleb Popov CommitDate: 2024-08-17 20:44:41 +0000 comms/py-spsdk: provides connection and data exchange with devices Sponsored by: Serenity Cybersecurity, LLC --- comms/Makefile | 1 + comms/py-spsdk/Makefile | 82 ++++++++++++++++++++++++++++++++++++++++++++++++ comms/py-spsdk/distinfo | 3 ++ comms/py-spsdk/pkg-descr | 7 +++++ 4 files changed, 93 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 497011eadd46..506f6ae1b662 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -143,6 +143,7 @@ SUBDIR += py-pyocd-pemicro SUBDIR += py-pyserial SUBDIR += py-pyserial-asyncio + SUBDIR += py-spsdk SUBDIR += py-streamdeck SUBDIR += py-xmodem SUBDIR += pyla diff --git a/comms/py-spsdk/Makefile b/comms/py-spsdk/Makefile new file mode 100755 index 000000000000..b6270f22a1f2 --- /dev/null +++ b/comms/py-spsdk/Makefile @@ -0,0 +1,82 @@ +PORTNAME= spsdk +DISTVERSION= 2.2.1 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Connection and data exchange with devices for secure configuration and programming +WWW= https://pypi.org/project/spsdk/ + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.2,<1.6:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bincopy>=17.14.5,<17.15:converters/py-bincopy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bitstring>=3.1:devel/py-bitstring@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=7.1,<8.2:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-plugins>0:devel/py-click-plugins@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-option-group>=0.3.0,<0.6:devel/py-click-option-group@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-command-tree<1.2:devel/py-click-command-tree@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}commentjson>=0.9,<0.10:devel/py-commentjson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}crcmod<1.8:devel/py-crcmod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}deepmerge<1.2:devel/py-deepmerge@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastjsonschema>=2.15.1:devel/py-fastjsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hexdump<3.4:textproc/py-hexdump@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}libusbsio>=2.1.11,<2.2:comms/py-libusbsio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oscrypto<1.4:security/py-oscrypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.9.3:security/py-pycryptodome@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pylink-square>=1.0,<=1.2:comms/py-pylink-square@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyocd>=0.35.1,<=0.36:comms/py-pyocd@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pypemicro>=0.1.11,<0.2:devel/py-pypemicro@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyocd-pemicro>=1.1.5,<1.2:comms/py-pyocd-pemicro@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=3.1,<3.6:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17:devel/py-ruamel.yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sly>0:lang/py-sly@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions<=5.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=1.5.1:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.2,<1.6:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bincopy>=17.14.5,<17.15:converters/py-bincopy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}bitstring>=3.1:devel/py-bitstring@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=7.1,<8.2:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-plugins>0:devel/py-click-plugins@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-option-group>=0.3.0,<0.6:devel/py-click-option-group@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-command-tree<1.2:devel/py-click-command-tree@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}commentjson>=0.9,<0.10:devel/py-commentjson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}crcmod<1.8:devel/py-crcmod@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}deepmerge<1.2:devel/py-deepmerge@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastjsonschema>=2.15.1:devel/py-fastjsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hexdump<3.4:textproc/py-hexdump@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}libusbsio>=2.1.11,<2.2:comms/py-libusbsio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oscrypto<1.4:security/py-oscrypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.9.3:security/py-pycryptodome@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pylink-square>=1.0,<=1.2:comms/py-pylink-square@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyocd>=0.35.1,<=0.36:comms/py-pyocd@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pypemicro>=0.1.11,<0.2:devel/py-pypemicro@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyocd-pemicro>=1.1.5,<1.2:comms/py-pyocd-pemicro@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=3.1,<3.6:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17:devel/py-ruamel.yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sly>0:lang/py-sly@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions<=5.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=1.5.1:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/comms/py-spsdk/distinfo b/comms/py-spsdk/distinfo new file mode 100755 index 000000000000..f59d471118b6 --- /dev/null +++ b/comms/py-spsdk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723556068 +SHA256 (spsdk-2.2.1.tar.gz) = 3c2a69e68842192a5a0f407a3433f018350f7e983772ccd56acf91b4e6e67687 +SIZE (spsdk-2.2.1.tar.gz) = 1169583 diff --git a/comms/py-spsdk/pkg-descr b/comms/py-spsdk/pkg-descr new file mode 100755 index 000000000000..22f35def6d5f --- /dev/null +++ b/comms/py-spsdk/pkg-descr @@ -0,0 +1,7 @@ +Secure Provisioning SDK is a unified, reliable, and easy to use Python SDK +library working across the NXP MCU portfolio providing a strong foundation from +quick customer prototyping up to production deployment. + +The library allows the user to connect and communicate with the device, +configure the device, prepare, download, and upload data including security +operations.