git: 9e8e808bde27 - main - devel/py-fastbencode: New port: Fast implementation of bencode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Jul 2022 06:58:11 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e8e808bde27d8c668b5fe175d09fefd9859a9c7 commit 9e8e808bde27d8c668b5fe175d09fefd9859a9c7 Author: Fullermd <fullermd@over-yonder.net> AuthorDate: 2022-07-21 06:54:41 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-07-21 06:54:41 +0000 devel/py-fastbencode: New port: Fast implementation of bencode - submitter becomes maintainer fastbencode is an implementation of the bencode serialization format originally used by BitTorrent. The package includes both a pure-Python version and an optional C extension based on Cython. Both provide the same functionality, but the C extension provides significantly better performance. WWW: https://github.com/breezy-team/fastbencode PR: 265277 --- devel/Makefile | 1 + devel/py-fastbencode/Makefile | 19 +++++++++++++++++++ devel/py-fastbencode/distinfo | 3 +++ devel/py-fastbencode/pkg-descr | 8 ++++++++ 4 files changed, 31 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9c6904637d9a..b73e2ed9f422 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4469,6 +4469,7 @@ SUBDIR += py-fabric3 SUBDIR += py-factory-boy SUBDIR += py-fam + SUBDIR += py-fastbencode SUBDIR += py-fastcache SUBDIR += py-fasteners SUBDIR += py-fastentrypoints diff --git a/devel/py-fastbencode/Makefile b/devel/py-fastbencode/Makefile new file mode 100644 index 000000000000..11f873010ca2 --- /dev/null +++ b/devel/py-fastbencode/Makefile @@ -0,0 +1,19 @@ +PORTNAME= fastbencode +PORTVERSION= 0.0.9 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= fullermd@over-yonder.net +COMMENT= Fast implementation of bencode + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastbencode/*.so + +.include <bsd.port.mk> diff --git a/devel/py-fastbencode/distinfo b/devel/py-fastbencode/distinfo new file mode 100644 index 000000000000..51b4580e9eb7 --- /dev/null +++ b/devel/py-fastbencode/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1658091430 +SHA256 (fastbencode-0.0.9.tar.gz) = a508632c645f2e3ffbb4984cb544035c8946d6fec8cfe0aec5e556340773ce9c +SIZE (fastbencode-0.0.9.tar.gz) = 84064 diff --git a/devel/py-fastbencode/pkg-descr b/devel/py-fastbencode/pkg-descr new file mode 100644 index 000000000000..311d4cdef469 --- /dev/null +++ b/devel/py-fastbencode/pkg-descr @@ -0,0 +1,8 @@ +fastbencode is an implementation of the bencode serialization format +originally used by BitTorrent. + +The package includes both a pure-Python version and an optional C +extension based on Cython. Both provide the same functionality, but the C +extension provides significantly better performance. + +WWW: https://github.com/breezy-team/fastbencode