From nobody Thu Jul 21 06:58:11 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LpNgl6THfz4WsC1; Thu, 21 Jul 2022 06:58:11 +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 4LpNgl60dPz3SdB; Thu, 21 Jul 2022 06:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658386691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B+CNptEJOnu1X7LauRFlgMPSLHejkwYOvNlN+5VOvXg=; b=dpdMgVjm5rGzNEZLrmfooFq65/bqhGdVqgNAT9qB3C9vqLD0c0ClquJMKYzEz9lLkYgFgj 85IdJc+bL8DEpQkFyY2yvxXyEVEUHpc7u2ZVQQjPZdg+x5Ztoh6qYbJsGQERW/IzNKMC/v DTTU+DrGrNB36FL00bqBvcEFtPnx1eCIBmqasYPAPigqwwXQddsCgO2IRVkcZ2qAsw5Dac km4fDdwYOu0tVMb7l79euJYCXu/LaKdxpPPkvS3Rm9lhoQciCZoQ17pf1UIhJ71cmY001R ks1ADsQ20axha/7+WJHZgvnDcYhmwhX9d+cyUPyjG/jIuJnjuER1EtDR7X9p6w== 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 4LpNgl4lB5z1RDy; Thu, 21 Jul 2022 06:58:11 +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 26L6wBJZ047344; Thu, 21 Jul 2022 06:58:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26L6wB7U047343; Thu, 21 Jul 2022 06:58:11 GMT (envelope-from git) Date: Thu, 21 Jul 2022 06:58:11 GMT Message-Id: <202207210658.26L6wB7U047343@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 9e8e808bde27 - main - devel/py-fastbencode: New port: Fast implementation of bencode List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9e8e808bde27d8c668b5fe175d09fefd9859a9c7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658386691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B+CNptEJOnu1X7LauRFlgMPSLHejkwYOvNlN+5VOvXg=; b=ko8HGPNqapTh1sz7tn9t3xj0w0BSN8X3/164ZaD3pUeByCOmdk6iAGG3L8r8FniihWAQGo XgPDL2cvvhdHASi+j1/A+tZPvfwjULUlftVWfRijTDujjWARtLXQ+hir7JwUN2Y478RwI3 sxavT9NB09R85u/SBJP8iFuQC0bsfc0o2bWYQETYA+Z1SaxJIiWekxCJYk3ToiJxwoz/oh 6TytAsrvCfWo1JXnwO2202aXWvCw9aMewJPSrbTU2r4CbEYxBDtk/zQ7WfAEEyPBq/FFke E5EDEEYtqqAPTSW5Ue843+4ab/sBsA2S90M2IEKap4sOB19mGINU+YEiH0isdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658386691; a=rsa-sha256; cv=none; b=MluWU759705rgaIrDQhDeg2xCm/yHvznIlpqeOy5yM1YIlFuzcdYSk34hXY15/qRCW55do IkKitif36Dr/4GsjYe3bxaGxlaUibqHJ5wfnurExquoPGb/B/cs3JuZiLXxb+mpCw4yWBT 26KM5IFAdgWI2hs09pRZmZ2I412sqE7PMmUqBb3OdChf6etYEAAQS3vlSmQUsnSxWudwVc 1X109yCHMl/HGefQjX49BtsnZJVKBojOdOnnbnhPRyjZIAyTPDZk2YXHGEz2X7TIf0sCrh gUMg/LA2e6VObh9mJZhVm/vC1cy9DTkWdXWncWwYZ0GkIf6XbsiS8e5zzE14xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=9e8e808bde27d8c668b5fe175d09fefd9859a9c7 commit 9e8e808bde27d8c668b5fe175d09fefd9859a9c7 Author: Fullermd AuthorDate: 2022-07-21 06:54:41 +0000 Commit: Nuno Teixeira 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 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