From owner-dev-commits-ports-all@freebsd.org Mon May 31 03:14:33 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6E03B63D320; Mon, 31 May 2021 03:14:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FtgPj1WFnz3G05; Mon, 31 May 2021 03:14:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 13FACB28; Mon, 31 May 2021 03:14:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14V3EWjI051862; Mon, 31 May 2021 03:14:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14V3EW7M051861; Mon, 31 May 2021 03:14:32 GMT (envelope-from git) Date: Mon, 31 May 2021 03:14:32 GMT Message-Id: <202105310314.14V3EW7M051861@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fukang Chen Subject: git: c0b8a1a40a60 - main - devel/py-reedsolo: [NEW PORT] Pure-Python Reed Solomon encoder/decoder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: loader X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0b8a1a40a6051f4ec185b527cc152be30555730 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2021 03:14:33 -0000 The branch main has been updated by loader: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0b8a1a40a6051f4ec185b527cc152be30555730 commit c0b8a1a40a6051f4ec185b527cc152be30555730 Author: Fukang Chen AuthorDate: 2021-05-30 15:28:08 +0000 Commit: Fukang Chen CommitDate: 2021-05-31 03:13:02 +0000 devel/py-reedsolo: [NEW PORT] Pure-Python Reed Solomon encoder/decoder A pure-python universal errors-and-erasures Reed-Solomon Codec, based on the wonderful tutorial at wikiversity, written by "Bobmath" and "LRQ3000". WWW: https://github.com/tomerfiliba/reedsolomon Reviewed by: koobs Approved by: koobs (ports, mentor, implicit) Differential Revision: https://reviews.freebsd.org/D30551 MFH: No (Port does not exist in quarterly) --- devel/Makefile | 1 + devel/py-reedsolo/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-reedsolo/distinfo | 3 +++ devel/py-reedsolo/pkg-descr | 4 ++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 982f8efe81c7..055246607c66 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5078,6 +5078,7 @@ SUBDIR += py-readme-renderer SUBDIR += py-rebulk SUBDIR += py-rednose + SUBDIR += py-reedsolo SUBDIR += py-remote-pdb SUBDIR += py-repoze.lru SUBDIR += py-repoze.sphinx.autointerface diff --git a/devel/py-reedsolo/Makefile b/devel/py-reedsolo/Makefile new file mode 100644 index 000000000000..bd5a92166c56 --- /dev/null +++ b/devel/py-reedsolo/Makefile @@ -0,0 +1,28 @@ +PORTNAME= reedsolo +DISTVERSIONPREFIX= v +DISTVERSION= 1.5.4 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= loader@FreeBSD.org +COMMENT= Pure-Python Reed Solomon encoder/decoder + +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} + +USES= python:3.6+ +USE_GITHUB= yes +USE_PYTHON= autoplist cython distutils + +GH_ACCOUNT= tomerfiliba +GH_PROJECT= reedsolomon +TEST_ENV+= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +do-test: + @cd ${TEST_WRKSRC} && \ + ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} --with-coverage -d -v + +.include diff --git a/devel/py-reedsolo/distinfo b/devel/py-reedsolo/distinfo new file mode 100644 index 000000000000..49824380bdc2 --- /dev/null +++ b/devel/py-reedsolo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1622099282 +SHA256 (tomerfiliba-reedsolomon-v1.5.4_GH0.tar.gz) = cbe74633d1e3ff0f3b9c44fac06dff3355c622e93d4a0cd85116c909932af665 +SIZE (tomerfiliba-reedsolomon-v1.5.4_GH0.tar.gz) = 283778 diff --git a/devel/py-reedsolo/pkg-descr b/devel/py-reedsolo/pkg-descr new file mode 100644 index 000000000000..951c414e2788 --- /dev/null +++ b/devel/py-reedsolo/pkg-descr @@ -0,0 +1,4 @@ +A pure-python universal errors-and-erasures Reed-Solomon Codec, based on +the wonderful tutorial at wikiversity, written by "Bobmath" and "LRQ3000". + +WWW: https://github.com/tomerfiliba/reedsolomon