aboutsummaryrefslogtreecommitdiff
path: root/misc/py-python-crc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-python-crc')
-rw-r--r--misc/py-python-crc/Makefile22
-rw-r--r--misc/py-python-crc/distinfo3
-rw-r--r--misc/py-python-crc/pkg-descr12
3 files changed, 37 insertions, 0 deletions
diff --git a/misc/py-python-crc/Makefile b/misc/py-python-crc/Makefile
new file mode 100644
index 000000000000..62ad05205bc4
--- /dev/null
+++ b/misc/py-python-crc/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= crc
+DISTVERSION= 7.1.0
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}python- # because it builds crc*.whl
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pure Python CRC library
+WWW= https://nicoretti.github.io/crc/ \
+ https://github.com/Nicoretti/crc
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 concurrent autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-python-crc/distinfo b/misc/py-python-crc/distinfo
new file mode 100644
index 000000000000..1029e7855a37
--- /dev/null
+++ b/misc/py-python-crc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759476302
+SHA256 (crc-7.1.0.tar.gz) = 99dd540909a37ae4f62c65441df8ecb4e7f9af014fecaf4f331052a41d66c07d
+SIZE (crc-7.1.0.tar.gz) = 9888
diff --git a/misc/py-python-crc/pkg-descr b/misc/py-python-crc/pkg-descr
new file mode 100644
index 000000000000..14420c7d70a1
--- /dev/null
+++ b/misc/py-python-crc/pkg-descr
@@ -0,0 +1,12 @@
+Pure Python CRC library.
+
+Calculate CRC checksums, verify CRC checksum, predefined CRC configurations,
+and custom CRC configurations.
+
+Features:
+* Calculate CRC8, CRC16, CRC32, and CRC64 checksums
+* Verify CRC checksums
+* Pre-defined configurations for common CRC algorithms (CCITT, XMODEM, etc.)
+* Custom configurations support
+* Optimized table-based calculations for speed
+* Command-line interface for CRC calculations