From nobody Wed Jun 19 03:36:49 2024 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 4W3q6n523Yz5Nnv0; Wed, 19 Jun 2024 03:36:49 +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 4W3q6n31D5z4tN9; Wed, 19 Jun 2024 03:36:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718768209; 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=rL3u4GWcP+sGZF/4ysYz9ZS9vwe1dxQIJ0d7plS4e24=; b=ge9Iv6/Q+TKIGY/lmhckfS0WH5ycv0h9S18mctG6G4qwav6vcUVTX/re79d7V+uCJNWSNo zHw0UrEBUjPdEqWd/IgjKkrSNn+YoaPFdTfhXMlWOoG+ngsFKquUoMRpfU0uKdzM27ueMY kljOMe7D+J2b/qPz21o71kvoDstX1mNOQ7S0ABUnwKCYUtkJIX4Unx+fpDIlR76furWEAe Av2g2k2NL7qy1vT1xOnbk3Pt/qnOmVYZWSjxLXQKsfTGDmAIM4vcbKA4+w7uQqd6c1xxkP HInGTNg7Iy7VElLoDRMJJG3y017cecSlIzphALA72umFJ/vsDqqK5YWBsCXyQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718768209; a=rsa-sha256; cv=none; b=j4QXX9x0t8THSc1a4WCS6vDgLNzftY1YeCf08O864hxUemGxgZRj0OZbepUb9TpIGYV5G0 EBOuTNAvf+55s6IMfvJ/kLHBJDbE3Cz33FjbS1v3IneVxqSQ02lj4kNjEQMwQSwuwNmqyx XGxSaMpiemkbxlCURpIPhQDIl1LZqmbDwjHITZfPq3RTkvUaWQMYFsCN7QDeQoxMZVw9Y9 gEakwiwIlBYwyIC3kylyknZVeaLbeFTLSGwAv8VXKI26FNDpA7r5EHq3sOoWw5FyxK4Vh3 2Skv1+q99rAExwuOAVKt61NRe8f8A/7mDBpvVKTZlsQG2+hsKDCq8EifGAs6mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718768209; 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=rL3u4GWcP+sGZF/4ysYz9ZS9vwe1dxQIJ0d7plS4e24=; b=jLdR+j8JsD/kurKQ8uKBw7cy5eLnM0+A4c6esP0CBHKrddfxMWJB2f5vY0xSY+Ey+d84QG PfcbpqmePCSunF758iuE7OLonJZ0emcd1WIzxmQtoXrxY2Ne0rKrWsu6nU0zgXaxeQX6RK VRL14o8JljJPSZR9s8wvoh+JCBTWyDyn8T9ajE7FzNhYwuARdNn3oP+1eVZoQCHdMoFmS5 hj76WUhAvNE48ENij28SEO5sUzREw+Y0nWtleFoItE2I5alqgNH+EIfcJW4V2Y3FsEqc1R T9gNknFCpUw88gKrD0phb+wmixvRiQoJOk4AuXOzxBWpE11Gz18AkkBuQrVQHg== 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 4W3q6n1gFbzQyt; Wed, 19 Jun 2024 03:36:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45J3anQ8071294; Wed, 19 Jun 2024 03:36:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45J3an1n071291; Wed, 19 Jun 2024 03:36:49 GMT (envelope-from git) Date: Wed, 19 Jun 2024 03:36:49 GMT Message-Id: <202406190336.45J3an1n071291@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 871a02d4a5e9 - main - devel/py-wirerope: New port: Turn functions and methods into fully controllable objects 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 871a02d4a5e95e9476ff838af9ecfc78d36cb743 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=871a02d4a5e95e9476ff838af9ecfc78d36cb743 commit 871a02d4a5e95e9476ff838af9ecfc78d36cb743 Author: Yuri Victorovich AuthorDate: 2024-06-19 02:29:24 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-19 03:36:41 +0000 devel/py-wirerope: New port: Turn functions and methods into fully controllable objects --- devel/Makefile | 1 + devel/py-wirerope/Makefile | 26 ++++++++++++++++++++++++++ devel/py-wirerope/distinfo | 3 +++ devel/py-wirerope/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index af704aaa353c..c3181297ad77 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5965,6 +5965,7 @@ SUBDIR += py-whistle SUBDIR += py-widgetsnbextension SUBDIR += py-wimpy + SUBDIR += py-wirerope SUBDIR += py-wlc SUBDIR += py-woops SUBDIR += py-wrapt diff --git a/devel/py-wirerope/Makefile b/devel/py-wirerope/Makefile new file mode 100644 index 000000000000..49fbe68e0012 --- /dev/null +++ b/devel/py-wirerope/Makefile @@ -0,0 +1,26 @@ +PORTNAME= wirerope +PORTVERSION= 0.4.7 +CATEGORIES= devel python +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Turn functions and methods into fully controllable objects +WWW= https://github.com/youknowone/wirerope + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # 3 tests fail, see https://github.com/youknowone/wirerope/issues/22 + +USE_GITHUB= yes +GH_ACCOUNT= youknowone + +NO_ARCH= yes + +.include diff --git a/devel/py-wirerope/distinfo b/devel/py-wirerope/distinfo new file mode 100644 index 000000000000..87f37fd2531d --- /dev/null +++ b/devel/py-wirerope/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1718764361 +SHA256 (youknowone-wirerope-0.4.7_GH0.tar.gz) = ddac3e17a36f95088c815be27e5841c7278989c6a3a6852993921374017be1f8 +SIZE (youknowone-wirerope-0.4.7_GH0.tar.gz) = 12220 diff --git a/devel/py-wirerope/pkg-descr b/devel/py-wirerope/pkg-descr new file mode 100644 index 000000000000..55b1ae8aa5eb --- /dev/null +++ b/devel/py-wirerope/pkg-descr @@ -0,0 +1,3 @@ +The class wirerope.rope.WireRope is the wrapper for callables. By wrapping +a function with WireRope with a custom subclass of the wirerope.wire.Wire class, +the wire object will be created by each function or bound method.