From nobody Sat Aug 17 20:44:57 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 4WmW7t3cBKz5Tg0k; Sat, 17 Aug 2024 20:44:58 +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 4WmW7t1W7Kz4MHZ; Sat, 17 Aug 2024 20:44:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723927498; 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=U5B4gCE6w2KXwJtrRCRM2JbVfS84sPr5QcnQC+0XvZ0=; b=WnkGhEbwcaXlYmR/NsmcGVwOwvW4WWgCBK+7etQy8pTp+hNdGyc5DQPfOTsoKfwlbLpA6R 8J3xRb/sp04KqZ+cRN7Wknzo+pUAPODNkyDJwBpBMF7SvSiRJSb0Cyn4WCgitt1P5wTiBM 8cb2N42G7d6vzXMdZGd19WZg5KlsvXEQ3WL9xz41Wgpzq9ULjCb0r5OWJm8EHOX0XEV2w9 KSerOQa6y36v4jpvzVw+2BDv4BwSicffPOOMhv1AXkvbyL+v/GH6EFSavJ2CnSvt4vHJZ6 jcW33mGdyGY1vaabmX7S/4mLJtCM5QTgDzEPGjZn0tSJlnub9TTUj3URGFOFEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723927498; a=rsa-sha256; cv=none; b=jiNJUpcBoLgZ6fhD2pCV3DdLDG+xxhOLZKM9h/fDg55/qUjbIxFlkl0IJHR58y0fFOlBDl V0RwGHyoG6xzTBJTGHc2dhnBGaEtPHXiM0h74a6F1wirvUvyJVnPfXRmEaMR0nsCjVhlOS p2/1oj0XejIFme394hBj7SZYmgVQGCJzFf31s1DqO+q9tkDCVA20AZdnBk5eHbc4r71bfD mwLOiAB4Buj5F1+VMUJdyhbtXFu0VbYuppPDeUG7gCFz0tf9YDFOOp69EDbF+mCVqZehi+ el4dnIiZZ0zD/6zTCr7cuyOQBu5nxeUAmeZ7szGq88kcEDwNXCYqGL6vMXWV5A== 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=1723927498; 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=U5B4gCE6w2KXwJtrRCRM2JbVfS84sPr5QcnQC+0XvZ0=; b=KEPzpazaZGp0KxKJ2ktV4MwXanb5LsIP+dJcwIBrbtog9G1lvBFu8ILVjbruSi60w5VyED TuCvz93Mo5NGeFFe8c+oQajUwXHLB3GAoFFAKP2njR145j4FBRtvl7CUvSvFxYpVIqw9FU zso64JLUmQ26/VeYerDsAsk51MbIEcTTomMGXUxpyyR8NPBI2JiINX8Jy+k+7haQ/RfilP wUVHHPjM0itd3TVb+upmtKJDhzWRwb4fMKo1oj063tnoyGyb4wWtcGKXA9TFoMQj7QohLO WBSd0QvxtVBfVQdmVO/v7W/bODBcGdZrW2ED1Ksm+8KpTd+nlt4ANXomF0jF4Q== 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 4WmW7t0ld7z14l2; Sat, 17 Aug 2024 20:44:58 +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 47HKivIL043269; Sat, 17 Aug 2024 20:44:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47HKivd2043266; Sat, 17 Aug 2024 20:44:57 GMT (envelope-from git) Date: Sat, 17 Aug 2024 20:44:57 GMT Message-Id: <202408172044.47HKivd2043266@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: ddddf993a0af - main - comms/py-pylink-square: Python interface for the SEGGER J-Link 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: ddddf993a0af2ab49165548f96278fa22b93ffe5 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=ddddf993a0af2ab49165548f96278fa22b93ffe5 commit ddddf993a0af2ab49165548f96278fa22b93ffe5 Author: Shapovalov Alexey AuthorDate: 2024-07-03 07:59:14 +0000 Commit: Gleb Popov CommitDate: 2024-08-17 20:44:40 +0000 comms/py-pylink-square: Python interface for the SEGGER J-Link Sponsored by: Serenity Cybersecurity, LLC --- comms/Makefile | 2 ++ comms/py-pylink-square/Makefile | 39 +++++++++++++++++++++++++++++++ comms/py-pylink-square/distinfo | 3 +++ comms/py-pylink-square/pkg-descr | 1 + comms/py-pyocd/Makefile | 36 ++++++++++++++++++++++++++++ comms/py-pyocd/distinfo | 3 +++ comms/py-pyocd/files/patch-pyproject.toml | 10 ++++++++ comms/py-pyocd/pkg-descr | 7 ++++++ 8 files changed, 101 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 52aeced5971d..01c53a385fc2 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -137,7 +137,9 @@ SUBDIR += py-libimobiledevice SUBDIR += py-libscrc SUBDIR += py-libusbsio + SUBDIR += py-pylink-square SUBDIR += py-pymodbus + SUBDIR += py-pyocd SUBDIR += py-pyserial SUBDIR += py-pyserial-asyncio SUBDIR += py-streamdeck diff --git a/comms/py-pylink-square/Makefile b/comms/py-pylink-square/Makefile new file mode 100755 index 000000000000..dfe493e6e4ae --- /dev/null +++ b/comms/py-pylink-square/Makefile @@ -0,0 +1,39 @@ +PORTNAME= pylink-square +PORTVERSION= 1.2.0 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Python interface for the SEGGER J-Link +WWW= https://pypi.org/project/pylink-square/ + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}behave>=1.2.5:devel/py-behave@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>=4.4.1:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=5.2.2:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.3.1:devel/py-pycodestyle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.8:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx-argparse>=0.1.15:textproc/py-sphinx-argparse@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0.2.4:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-napoleon>=0.5.3:textproc/py-sphinxcontrib-napoleon@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}behave>=1.2.5:devel/py-behave@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>=4.4.1:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>=5.2.2:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.3.1:devel/py-pycodestyle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.8:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx-argparse>=0.1.15:textproc/py-sphinx-argparse@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0.2.4:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-napoleon>=0.5.3:textproc/py-sphinxcontrib-napoleon@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/comms/py-pylink-square/distinfo b/comms/py-pylink-square/distinfo new file mode 100755 index 000000000000..f302e7d57d48 --- /dev/null +++ b/comms/py-pylink-square/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703096109 +SHA256 (pylink-square-1.2.0.tar.gz) = 736cf9e0272e87cdca1189f632f8d511e8f079c0ab96252fc331189490253ac3 +SIZE (pylink-square-1.2.0.tar.gz) = 165868 diff --git a/comms/py-pylink-square/pkg-descr b/comms/py-pylink-square/pkg-descr new file mode 100755 index 000000000000..ded439c68156 --- /dev/null +++ b/comms/py-pylink-square/pkg-descr @@ -0,0 +1 @@ +Python interface for the SEGGER J-Link diff --git a/comms/py-pyocd/Makefile b/comms/py-pyocd/Makefile new file mode 100644 index 000000000000..6257313ed54f --- /dev/null +++ b/comms/py-pyocd/Makefile @@ -0,0 +1,36 @@ +PORTNAME= pyocd +PORTVERSION= 0.36.0 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Python based tool for programming and debugging Arm Cortex-M uC +WWW= https://pyocd.io/ + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intelhex>=0:devel/py-intelhex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intervaltree>=0:devel/py-intervaltree@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lark>=0.12.0:devel/py-lark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.2:devel/py-prettytable@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pylink-square>=0:comms/py-pylink-square@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}libusb-package>=0:devel/py-libusb-package@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/comms/py-pyocd/distinfo b/comms/py-pyocd/distinfo new file mode 100644 index 000000000000..d8cf1dc6680b --- /dev/null +++ b/comms/py-pyocd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703104669 +SHA256 (pyocd-0.36.0.tar.gz) = 937782acc9daff054d50fb7c6f788cd94a84f80f0b85f25aacab99dc98228648 +SIZE (pyocd-0.36.0.tar.gz) = 15571415 diff --git a/comms/py-pyocd/files/patch-pyproject.toml b/comms/py-pyocd/files/patch-pyproject.toml new file mode 100755 index 000000000000..8a28472c5cb7 --- /dev/null +++ b/comms/py-pyocd/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2022-07-06 18:57:45 UTC ++++ pyproject.toml +@@ -5,7 +5,6 @@ requires = [ + "setuptools>=51", + "wheel", + "setuptools_scm[toml]>=6.0,<7.0; python_version < \"3.7\"", +- "setuptools_scm[toml]>=7.0; python_version >= \"3.7\"", + ] + build-backend = "setuptools.build_meta" + diff --git a/comms/py-pyocd/pkg-descr b/comms/py-pyocd/pkg-descr new file mode 100644 index 000000000000..e911cc4f3ea8 --- /dev/null +++ b/comms/py-pyocd/pkg-descr @@ -0,0 +1,7 @@ +pyOCD is an open source Python based tool and package for programming +and debugging Arm Cortex-M microcontrollers with a wide range of debug +probes. It is fully cross-platform, with support for Linux, macOS, +Windows, and FreeBSD. + +A command line tool is provided that covers most use cases, or you can make +use of the Python API to facilitate custom target control.