FreeBSD Bugzilla – Attachment 231496 Details for
Bug 261571
comms/py-libscrc: New port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Create patch for port
diff.comms_py-libscrc.patch (text/plain), 1.63 KB, created by
Marek Zarychta
on 2022-02-01 16:02:47 UTC
(
hide
)
Description:
Create patch for port
Filename:
MIME Type:
Creator:
Marek Zarychta
Created:
2022-02-01 16:02:47 UTC
Size:
1.63 KB
patch
obsolete
>diff --git a/comms/py-libscrc/Makefile b/comms/py-libscrc/Makefile >new file mode 100644 >index 0000000000..2d7f1ee9f6 >--- /dev/null >+++ b/comms/py-libscrc/Makefile >@@ -0,0 +1,34 @@ >+PORTNAME= libscrc >+DISTVERSIONPREFIX= v >+DISTVERSION= 1.7 >+CATEGORIES= comms python >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= zarychtam@plan-b.pwste.edu.pl >+COMMENT= Python library for calculating various types of CRC >+ >+LICENSE= GPLv3 >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= python:3.6+ >+USE_PYTHON= autoplist distutils >+ >+USE_GITHUB= yes >+GH_ACCOUNT= hex-in >+ >+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} >+ >+do-test: >+ @cd ${TEST_WRKSRC} && for test in \ >+ libscrc/test/canx.py \ >+ libscrc/test/crc8.py \ >+ libscrc/test/crc16.py \ >+ libscrc/test/crc24.py \ >+ libscrc/test/crc32.py \ >+ libscrc/test/crc64.py \ >+ libscrc/test/crcx.py \ >+ libscrc/test/hacker.py \ >+ libscrc/test/modbus.py; \ >+ do ${SETENV} ${TEST_ENV} ${PYTHON_CMD} $${test}; done >+ >+.include <bsd.port.mk> >diff --git a/comms/py-libscrc/distinfo b/comms/py-libscrc/distinfo >new file mode 100644 >index 0000000000..8e31f0d685 >--- /dev/null >+++ b/comms/py-libscrc/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1643544324 >+SHA256 (hex-in-libscrc-v1.7_GH0.tar.gz) = cd4dc6555cb320705218e308b4c4e43b1ae299999084b5ac534c79f94fa2f9d7 >+SIZE (hex-in-libscrc-v1.7_GH0.tar.gz) = 52893 >diff --git a/comms/py-libscrc/pkg-descr b/comms/py-libscrc/pkg-descr >new file mode 100644 >index 0000000000..e778906baf >--- /dev/null >+++ b/comms/py-libscrc/pkg-descr >@@ -0,0 +1,3 @@ >+Python library for calculating: CRC3/CRC4/CRC5/CRC6/CRC7/CRC8/CRC16/CRC24/CRC32/CRC64/CRC82. >+ >+WWW: https://github.com/hex-in/libscrc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261571
:
231440
|
231441
|
231446
|
231451
| 231496 |
231530