pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/py-fastbencode Add converters/py-fastbencode.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15d15ec7ee5c
branches:  trunk
changeset: 382408:15d15ec7ee5c
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Wed Jul 27 18:40:31 2022 +0000

description:
Add converters/py-fastbencode.

It's an implementation of the bencode serialisation format.

diffstat:

 converters/py-fastbencode/DESCR    |   6 ++++++
 converters/py-fastbencode/Makefile |  16 ++++++++++++++++
 converters/py-fastbencode/PLIST    |  13 +++++++++++++
 converters/py-fastbencode/distinfo |   5 +++++
 4 files changed, 40 insertions(+), 0 deletions(-)

diffs (56 lines):

diff -r 114ba992df28 -r 15d15ec7ee5c converters/py-fastbencode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-fastbencode/DESCR   Wed Jul 27 18:40:31 2022 +0000
@@ -0,0 +1,6 @@
+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.
diff -r 114ba992df28 -r 15d15ec7ee5c converters/py-fastbencode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-fastbencode/Makefile        Wed Jul 27 18:40:31 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2022/07/27 18:40:31 rhialto Exp $
+
+DISTNAME=      fastbencode-0.0.9
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    converters python
+MASTER_SITES+= ${MASTER_SITE_PYPI:=f/fastbencode/}
+
+MAINTAINER=    rhialto%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/breezy-team/fastbencode
+COMMENT=       Implementation of bencode with optional fast C extensions
+LICENSE=       gnu-gpl-v2
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 114ba992df28 -r 15d15ec7ee5c converters/py-fastbencode/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-fastbencode/PLIST   Wed Jul 27 18:40:31 2022 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/27 18:40:31 rhialto Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/fastbencode/__init__.py
+${PYSITELIB}/fastbencode/__init__.pyc
+${PYSITELIB}/fastbencode/__init__.pyo
+${PYSITELIB}/fastbencode/_bencode_py.py
+${PYSITELIB}/fastbencode/_bencode_py.pyc
+${PYSITELIB}/fastbencode/_bencode_py.pyo
+${PYSITELIB}/fastbencode/_bencode_pyx.so
diff -r 114ba992df28 -r 15d15ec7ee5c converters/py-fastbencode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-fastbencode/distinfo        Wed Jul 27 18:40:31 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/07/27 18:40:31 rhialto Exp $
+
+BLAKE2s (fastbencode-0.0.9.tar.gz) = 49957139af29e19dd453617a1ff9834d07bfd32d22312edc0065c64b22a5fe49
+SHA512 (fastbencode-0.0.9.tar.gz) = 72ae5bfbd9d4ef44296c29e60f470fae99d62260a031b8612b785dba9617649c1e3f80c664633c852bf43adf4e1f2434cb514d1e3e35600f33126357a4ad26a1
+Size (fastbencode-0.0.9.tar.gz) = 84064 bytes



Home | Main Index | Thread Index | Old Index