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:
@@ -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
15
devel/py-crc32c/Makefile
Normal 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
3
devel/py-crc32c/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1570799287
|
||||
SHA256 (crc32c-1.7.tar.gz) = bdcd28f26b62838919480d465a0d166207a36c4f104102a0b6edf5b498544d36
|
||||
SIZE (crc32c-1.7.tar.gz) = 24620
|
||||
7
devel/py-crc32c/pkg-descr
Normal file
7
devel/py-crc32c/pkg-descr
Normal 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.
|
||||
Reference in New Issue
Block a user