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:
parent
7bbefaf4d3
commit
9e8e808bde
4 changed files with 31 additions and 0 deletions
|
@ -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
|
||||
|
|
19
devel/py-fastbencode/Makefile
Normal file
19
devel/py-fastbencode/Makefile
Normal 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>
|
3
devel/py-fastbencode/distinfo
Normal file
3
devel/py-fastbencode/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1658091430
|
||||
SHA256 (fastbencode-0.0.9.tar.gz) = a508632c645f2e3ffbb4984cb544035c8946d6fec8cfe0aec5e556340773ce9c
|
||||
SIZE (fastbencode-0.0.9.tar.gz) = 84064
|
8
devel/py-fastbencode/pkg-descr
Normal file
8
devel/py-fastbencode/pkg-descr
Normal 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
|
Loading…
Reference in a new issue