pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security New package, py-crcmod.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b1ed26c31fb
branches:  trunk
changeset: 374879:3b1ed26c31fb
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Jan 30 19:07:48 2018 +0000

description:
New package, py-crcmod.

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.

This package allows the use of any 8, 16, 24, 32, or 64 bit CRC. You can
generate a Python function for the selected polynomial or an instance of the
Crc class which provides the same interface as the md5 and sha modules from the
Python standard library. A Crc class instance can also generate C/C++ source
code that can be used in another application.

Part of PR pkg/52941.

diffstat:

 security/Makefile           |   3 ++-
 security/py-crcmod/DESCR    |  10 ++++++++++
 security/py-crcmod/Makefile |  17 +++++++++++++++++
 security/py-crcmod/PLIST    |  18 ++++++++++++++++++
 security/py-crcmod/distinfo |   6 ++++++
 5 files changed, 53 insertions(+), 1 deletions(-)

diffs (84 lines):

diff -r 64e496858e03 -r 3b1ed26c31fb security/Makefile
--- a/security/Makefile Tue Jan 30 17:05:21 2018 +0000
+++ b/security/Makefile Tue Jan 30 19:07:48 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.666 2018/01/22 13:30:08 fhajny Exp $
+# $NetBSD: Makefile,v 1.667 2018/01/30 19:07:48 bsiegert Exp $
 #
 
 COMMENT=       Security tools
@@ -395,6 +395,7 @@
 SUBDIR+=       py-certbot
 SUBDIR+=       py-certifi
 SUBDIR+=       py-crack
+SUBDIR+=       py-crcmod
 SUBDIR+=       py-cryptkit
 SUBDIR+=       py-crypto
 SUBDIR+=       py-cryptodome
diff -r 64e496858e03 -r 3b1ed26c31fb security/py-crcmod/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crcmod/DESCR  Tue Jan 30 19:07:48 2018 +0000
@@ -0,0 +1,10 @@
+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.
+
+This package allows the use of any 8, 16, 24, 32, or 64 bit CRC. You can
+generate a Python function for the selected polynomial or an instance of the
+Crc class which provides the same interface as the md5 and sha modules from the
+Python standard library. A Crc class instance can also generate C/C++ source
+code that can be used in another application.
diff -r 64e496858e03 -r 3b1ed26c31fb security/py-crcmod/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crcmod/Makefile       Tue Jan 30 19:07:48 2018 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/01/30 19:07:48 bsiegert Exp $
+
+DISTNAME=      crcmod-1.7
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    security
+MASTER_SITES=  ${MASYER_SITE_PYPI:=c/crcmod/}
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://crcmod.sourceforge.net/
+COMMENT=       Cyclic Redundancy Checksums in Python
+LICENSE=       mit
+
+do-test:
+       env PYTHONPATH=${WRKSRC} ${PYTHONBIN} -m test
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 64e496858e03 -r 3b1ed26c31fb security/py-crcmod/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crcmod/PLIST  Tue Jan 30 19:07:48 2018 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/30 19:07:48 bsiegert Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/crcmod/__init__.py
+${PYSITELIB}/crcmod/__init__.pyo
+${PYSITELIB}/crcmod/__init__.pyc
+${PYSITELIB}/crcmod/_crcfunpy.pyo
+${PYSITELIB}/crcmod/_crcfunpy.pyc
+${PYSITELIB}/crcmod/crcmod.pyo
+${PYSITELIB}/crcmod/crcmod.pyc
+${PYSITELIB}/crcmod/predefined.pyo
+${PYSITELIB}/crcmod/predefined.pyc
+${PYSITELIB}/crcmod/test.pyo
+${PYSITELIB}/crcmod/test.pyc
+${PYSITELIB}/crcmod/_crcfunext.so
+${PYSITELIB}/crcmod/_crcfunpy.py
+${PYSITELIB}/crcmod/crcmod.py
+${PYSITELIB}/crcmod/predefined.py
+${PYSITELIB}/crcmod/test.py
diff -r 64e496858e03 -r 3b1ed26c31fb security/py-crcmod/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crcmod/distinfo       Tue Jan 30 19:07:48 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/30 19:07:48 bsiegert Exp $
+
+SHA1 (crcmod-1.7.tar.gz) = 61d9fea169099b87c2e36ce572d2d25e0fd2de59
+RMD160 (crcmod-1.7.tar.gz) = 503b415394d7c833b22e5a999454c0d67598cd54
+SHA512 (crcmod-1.7.tar.gz) = 3c2f65004761c84f19d6ba95a0af74512108bad5007d9e20f8e684822e4196ce17073e58b47d2fa997e058e3d82782f3393458b6f0e86935418f38877d319a31
+Size (crcmod-1.7.tar.gz) = 89670 bytes



Home | Main Index | Thread Index | Old Index