import py-crc32c-2.0

This package implements the crc32c checksum algorithm. It automatically
chooses between a hardware-based implementation (using the CRC32C SSE
4.2 instruction of Intel CPUs), or a software-based one when no hardware
support can be found.

ok aja@
This commit is contained in:
jasper 2020-05-31 11:46:47 +00:00
parent 7b004587f7
commit 5482ea0c9e
4 changed files with 40 additions and 0 deletions

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

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/05/31 11:46:47 jasper Exp $
COMMENT = implemention of the crc32c algorithm in hardware
MODPY_EGG_VERSION = 2.0
DISTNAME = crc32c-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://github.com/ICRAR/crc32c
# LGPLv2.1+
PERMIT_PACKAGE = Yes
MODULES = lang/python
WANTLIB = pthread ${MODPY_WANTLIB}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
.include <bsd.port.mk>

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

@ -0,0 +1,2 @@
SHA256 (crc32c-2.0.tar.gz) = LLIHaEP+/7v/2ajX6HtY8LQwhywIPqsqf1K4O26ILKk=
SIZE (crc32c-2.0.tar.gz) = 25093

View File

@ -0,0 +1,4 @@
This package implements the crc32c checksum algorithm. It automatically
chooses between a hardware-based implementation (using the CRC32C SSE
4.2 instruction of Intel CPUs), or a software-based one when no hardware
support can be found.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/05/31 11:46:47 jasper Exp $
lib/python${MODPY_VERSION}/site-packages/crc32c-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/crc32c-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/crc32c-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/crc32c-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/crc32c-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
@so lib/python${MODPY_VERSION}/site-packages/crc32c.so