1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

devel/py-crc32c: create port

This package exposes to Python the crc32c algorithm implemented in the SSE 4.2
instruction set of Intel CPUs.

By default, if your CPU doesn't support this instruction, the package will fail
to load with an ImportError. If you still need to use the crc32c checksum
algorithm this package comes with a software implementation that can be loaded
instead.
This commit is contained in:
Steve Wills 2019-10-11 13:23:18 +00:00
parent fbb9cf5fbe
commit 8698ef7ede
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514275
4 changed files with 26 additions and 0 deletions

View File

@ -4355,6 +4355,7 @@
SUBDIR += py-coverage
SUBDIR += py-crank
SUBDIR += py-crcmod
SUBDIR += py-crc32c
SUBDIR += py-ctags
SUBDIR += py-cuisine
SUBDIR += py-cursive

15
devel/py-crc32c/Makefile Normal file
View File

@ -0,0 +1,15 @@
# $FreeBSD$
PORTNAME= crc32c
PORTVERSION= 1.7
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Python package exposing the intel sse4.2 crc32c instruction
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

3
devel/py-crc32c/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1570799287
SHA256 (crc32c-1.7.tar.gz) = bdcd28f26b62838919480d465a0d166207a36c4f104102a0b6edf5b498544d36
SIZE (crc32c-1.7.tar.gz) = 24620

View File

@ -0,0 +1,7 @@
This package exposes to Python the crc32c algorithm implemented in the SSE 4.2
instruction set of Intel CPUs.
By default, if your CPU doesn't support this instruction, the package will fail
to load with an ImportError. If you still need to use the crc32c checksum
algorithm this package comes with a software implementation that can be loaded
instead.