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
This commit is contained in:
Fullermd 2022-07-21 07:54:41 +01:00 committed by Nuno Teixeira
parent 7bbefaf4d3
commit 9e8e808bde
4 changed files with 31 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1658091430
SHA256 (fastbencode-0.0.9.tar.gz) = a508632c645f2e3ffbb4984cb544035c8946d6fec8cfe0aec5e556340773ce9c
SIZE (fastbencode-0.0.9.tar.gz) = 84064

View file

@ -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