git: 03ce7374af62 - main - devel/py-pypemicro: Python PEMicro debug probes support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Aug 2024 20:44:59 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=03ce7374af626754542cb6af740eea6f01c87a96
commit 03ce7374af626754542cb6af740eea6f01c87a96
Author: Shapovalov Alexey <aishapoval@mts.ru>
AuthorDate: 2024-07-04 06:44:19 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-08-17 20:44:40 +0000
devel/py-pypemicro: Python PEMicro debug probes support
Sponsored by: Serenity Cybersecurity, LLC
Co-authored-by: Gleb Popov <arrowd@FreeBSD.org>
---
devel/Makefile | 1 +
devel/py-pypemicro/Makefile | 26 ++++++++++++++++++++++++++
devel/py-pypemicro/distinfo | 3 +++
devel/py-pypemicro/pkg-descr | 3 +++
4 files changed, 33 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index e1e5e5f6f9f0..63ecb707add3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5497,6 +5497,7 @@
SUBDIR += py-pyopencl
SUBDIR += py-pyparsing
SUBDIR += py-pyparsing2
+ SUBDIR += py-pypemicro
SUBDIR += py-pyperclip
SUBDIR += py-pyperf
SUBDIR += py-pyperscan
diff --git a/devel/py-pypemicro/Makefile b/devel/py-pypemicro/Makefile
new file mode 100755
index 000000000000..2fb26a061b0a
--- /dev/null
+++ b/devel/py-pypemicro/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= pypemicro
+PORTVERSION= 0.1.11
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= awoonyaa@gmail.com
+COMMENT= Python PEMicro debug probes support (stub package)
+WWW= https://pypi.org/project/pypemicro/
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+# remove binary blobs for other OSes
+post-install:
+ ${RM} -r ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/libs
+ ${REINPLACE_CMD} -e '\|site-packages/pypemicro/libs|d' ${_PYTHONPKGLIST}
+
+.include <bsd.port.mk>
diff --git a/devel/py-pypemicro/distinfo b/devel/py-pypemicro/distinfo
new file mode 100755
index 000000000000..d925c3b5f2b3
--- /dev/null
+++ b/devel/py-pypemicro/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703103484
+SHA256 (pypemicro-0.1.11.tar.gz) = 284d3ce6ef7220fb2e12be3518d5b01c59ba2801e082fa86a8ff428464682c4d
+SIZE (pypemicro-0.1.11.tar.gz) = 5631626
diff --git a/devel/py-pypemicro/pkg-descr b/devel/py-pypemicro/pkg-descr
new file mode 100755
index 000000000000..ad93359ddd10
--- /dev/null
+++ b/devel/py-pypemicro/pkg-descr
@@ -0,0 +1,3 @@
+This package provides Python interface for PEMicro debug probes precompiled
+libraries. Since there is no precompiled library for FreeBSD this package serves
+as a stub only useful to fullfill Python dependencies.