From nobody Sun Jun 18 17:10:33 2023 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 4QkfY53ktVz4fNtn; Sun, 18 Jun 2023 17:10:33 +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 4QkfY53LGYz3NRp; Sun, 18 Jun 2023 17:10:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687108233; 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=acCvJ2fQyTKgzgfqcBPw6hYTb+I28k4Y7cu9HWkXPTg=; b=UVaL38Y4hINX2yVM5ZxTeiiBt5yhbqpO0eIw+jbbZQIx2xyOUF8ZJPHx9HXedEP6G0ZsNw 8c+0usFxIhtDjx8GfGX+Rcr2l1XKnXtFOF0YSMJlb4/Wgp7z2wyFwxFFObFh9bWxHLMTvl hwHudNlSOd1qb3nojLYTGnGlgQvg6pPcYDIeu2uNIutEEbD7Xv4iS5M+MiBD9bHCRc5Ely G1ye6wfG5frwDOOiSkuiPuuNLaD7QiEoDEuafs2uRElByKDUEvN0SJcqwJJP1+GMtUEGGi nD4fuHyH9hE/eG7lUoJT0dok/8BILDOwKbv2a6MKCPHOYEXuDka3/+ZbNpP/tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687108233; 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=acCvJ2fQyTKgzgfqcBPw6hYTb+I28k4Y7cu9HWkXPTg=; b=InDd/CnMqSIhxgjWmuSAh7CM/C16Iht4B60Jzwx5JBWkDg5mHvotDxPoM8w/XsvcLhkAAq bc8olcNQd8Usn2Jh/KqlHaSQwiJUh4xWfPu8rIMAwdpebI0xY261Q1J49z44AyX62jNFxA rvL+It4sFokpK1N9jwlEdS3CLQ/ny661j7qaBR9b49SE/7WSQX+k5NjIRPAPvIMo+Dqv12 NuHa5vUXxhLaemoz/M8QOLraec9mRD8H+tKETHRi0bG2f+YyC5RdktLKvhFrYrp2VTSQ+V WMXk+3iWWg2I+1hcfXQdnE83R+sH6BU9HnZd+Ei+aTFky2c7ZNnDPrFcJGTvCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687108233; a=rsa-sha256; cv=none; b=gtXD3hDF6pJNN5hPorV5kUgBBlFX5rJ5Iad6wDhgqtrqJppKtQV1aCTCAf7EYmr22LqNgO 5x3Y1Dqpfl0iSbJ7pS6JJEkHG5q06jkzrI8V4gm/gp7YjYu+vgIaq/CkY7InHPfI7I8515 mHmRXW4Kz/S5cDZWMUfbVknofzUwk0CFsKm4cN0fyh5KegQzg4yFvQCj3E3TmnnNrktI/N AddZtMwF6mWe1DKjkuWrHAnhEhhjFJ687GFOHzyQ9KKX908r7uYpuC2J1JOxp3YNhMmu+0 raha4khPg0aCA4LnUsv9ESQpCxeFLwoB5tLdqUJv7pPSfIeuY1HmjzJSONO0cA== 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 4QkfY526jRzkNB; Sun, 18 Jun 2023 17:10:33 +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 35IHAXTr066139; Sun, 18 Jun 2023 17:10:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35IHAX8B066138; Sun, 18 Jun 2023 17:10:33 GMT (envelope-from git) Date: Sun, 18 Jun 2023 17:10:33 GMT Message-Id: <202306181710.35IHAX8B066138@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: a95d728afd1a - main - devel/py-aspectlib: New port: Aspect-oriented programming, monkey-patch and decorators library 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a95d728afd1ac6ccb6826009a8df00459d856d6e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a95d728afd1ac6ccb6826009a8df00459d856d6e commit a95d728afd1ac6ccb6826009a8df00459d856d6e Author: Yuri Victorovich AuthorDate: 2023-06-18 16:20:08 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-18 17:10:29 +0000 devel/py-aspectlib: New port: Aspect-oriented programming, monkey-patch and decorators library --- devel/Makefile | 1 + devel/py-aspectlib/Makefile | 24 ++++++++++++++++++++++++ devel/py-aspectlib/distinfo | 3 +++ devel/py-aspectlib/pkg-descr | 4 ++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0d96c802863f..b375010002a6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4229,6 +4229,7 @@ SUBDIR += py-asgi-lifespan SUBDIR += py-asn1 SUBDIR += py-asn1crypto + SUBDIR += py-aspectlib SUBDIR += py-aspy.yaml SUBDIR += py-ast-decompiler SUBDIR += py-asteval diff --git a/devel/py-aspectlib/Makefile b/devel/py-aspectlib/Makefile new file mode 100644 index 000000000000..946daec0378e --- /dev/null +++ b/devel/py-aspectlib/Makefile @@ -0,0 +1,24 @@ +PORTNAME= aspectlib +DISTVERSION= 2.0.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Aspect-oriented programming, monkey-patch and decorators library +WWW= https://github.com/ionelmc/python-aspectlib + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= pep517 cython autoplist pytest # tests fail to start, see https://github.com/ionelmc/python-aspectlib/issues/27 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include diff --git a/devel/py-aspectlib/distinfo b/devel/py-aspectlib/distinfo new file mode 100644 index 000000000000..e524aaea7cb5 --- /dev/null +++ b/devel/py-aspectlib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1687104796 +SHA256 (aspectlib-2.0.0.tar.gz) = a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92 +SIZE (aspectlib-2.0.0.tar.gz) = 156591 diff --git a/devel/py-aspectlib/pkg-descr b/devel/py-aspectlib/pkg-descr new file mode 100644 index 000000000000..18d74b0edde4 --- /dev/null +++ b/devel/py-aspectlib/pkg-descr @@ -0,0 +1,4 @@ +aspectlib is an aspect-oriented programming, monkey-patch and decorators +library. It is useful when changing behavior in existing code is desired. +It includes tools for debugging and testing: simple mock/record and a +complete capture/replay framework.