aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-crcmod_1.7.bb
blob: 9b9117fb8cea7d9b75f21a24f9096d4b2ed1f73f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "A Python module for generating objects that compute the Cyclic Redundancy Check."
DESCRIPTION = "The software in this package is a Python module for generating \
objects that compute the Cyclic Redundancy Check (CRC). There is no attempt in \
this package to explain how the CRC works. There are a number of resources on \
the web that give a good explanation of the algorithms. Just do a Google search \
for 'crc calculation' and browse till you find what you need. Another resource \
can be found in chapter 20 of the book 'Numerical Recipes in C' by Press et. al"
HOMEPAGE = "https://pypi.org/project/crcmod"
SECTION = "devel/python"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a19291627cad2d1dfbfcf3c9fb85c2"

SRC_URI[md5sum] = "2d5b92117d958dcead94f9e17f54cd32"
SRC_URI[sha256sum] = "dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e"

inherit pypi setuptools

RDEPENDS:${PN} += "${PYTHON_PN}-unittest"

BBCLASSEXTEND = "native nativesdk"

PNBLACKLIST[python-crcmod] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"