From nobody Wed Feb 21 15:17:01 2024 X-Original-To: dev-commits-ports-all@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 4Tg0Hd2tV4z59dZl; Wed, 21 Feb 2024 15:17:01 +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 4Tg0Hd29J6z4t02; Wed, 21 Feb 2024 15:17:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528621; 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=yFykWzspAhJ9F/zLZbyGkZzOTtyTa93sChRUZqLt30E=; b=O80gNn91cI+DX38Fa0z+KzULnunefAn366ONyd4jjbiS1QXDXkiuvyh2Gng8J/hBLy2Jst vHOZ3OW0i0wBdZMbrxvFO/vDi6akwuM5qfuWDAcv+3KHm/Nq1djtwCSsJUjdNUUIeiNbT7 oPWZr/TSW/gCaXWvtk7swZIChE0Lw7mheMoC8b3L3RI0eGe84qwuhhoPp8TflDaw2mw8uB r+iSZ5AClASMv/UwYWaKO3fI/FeHqOFFbSE1RxT7PJsnY+PP3aSZTFRqpsFo/hNUkFag+8 Q/xZSuQ+S4O+pDwnZDxg8RcxhO2YnBqp74SbJajxYK5A8yLeAvOcNRuN7FfLCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528621; 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=yFykWzspAhJ9F/zLZbyGkZzOTtyTa93sChRUZqLt30E=; b=rWCmB+iZyIb+9gv9cO9Ew0dw50qWs16iExmEYvYIcHkqEdfWCdTXECSeguRAQ1oUto1DSL SHz6qq5Q7G6iwx4CR5xGUZiJ8in3HjqdwPSjcVJGzEWbc2qpOv9X7cDI8I1gowbYHJDjUx uMd9jFWCgfTnFAOeRrNv7Sj/eovYOF6+mC6+6sXwJm/kLqrYrXhSI2pduouAGO4t7Kt+bd l+BXPxPanv65Zc1wxqRvC381ViPbuCIxzU1P5hSVQ+sJ+1GiAuqNwBHLWbUBxYC5g0W8Jh uC+4IhCJTKtwCMrtEO1QUWZ9uONT+at+r3tPXll9amt3mIpbvXqX0abDED7GiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528621; a=rsa-sha256; cv=none; b=kneR0ORxjJo4lQhcgsJy6NxjWOTKcgpfuBM4TfC847gMb+nE/6Q5AY+s9210trhPNzwN02 9Zl0fcgd4zxwK4qZiCMMKVok2Yfq3NOO4CCmQcD+yAc8HLBKTaDBn/pOy6el5/XeO8wt8F wnJJ99m0q3/Unf3q92jeX6hOilH1BY+0256QcVQP5K6qakEcilgkaIMRQ3hKDqyjGCMsfH oAKWCnvxwmuysqwx5lP+5WJIkSHaT9algrsST+tikeh4s2GoSzOFMPUXrUJvMFU9cGTxxo pPCo/sWNF1647PM0xg1dkNkJ8YcKhXsBY51hducUcTX1ffK57wVLqXlZeDIqlg== 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 4Tg0Hd1CsZz16kK; Wed, 21 Feb 2024 15:17:01 +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 41LFH1ti011674; Wed, 21 Feb 2024 15:17:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFH10m011671; Wed, 21 Feb 2024 15:17:01 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:01 GMT Message-Id: <202402211517.41LFH10m011671@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8f5ec999b416 - main - devel/p5-meta: Add p5-meta 0.004 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f5ec999b4169a39c7489bae766529621affcdeb Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f5ec999b4169a39c7489bae766529621affcdeb commit 8f5ec999b4169a39c7489bae766529621affcdeb Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:12:43 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:03 +0000 devel/p5-meta: Add p5-meta 0.004 meta provides an API for metaprogramming; that is, allowing code to inspect or manipulate parts of its own program structure. Parts of the perl interpreter itself can be accessed by means of "meta"-objects provided by this package. Methods on these objects allow inspection of details, as well as creating new items or removing existing ones. The intention of this API is to provide a nicer replacement for existing tricks such as no strict 'refs' and using globrefs, and also to be a more consistent place to add new abilities, such as more APIs for inspection and alteration of internal structures, metaprogramming around the new 'class' feature, and other such uses. --- devel/Makefile | 1 + devel/p5-meta/Makefile | 24 ++++++++++++++++++++++++ devel/p5-meta/distinfo | 3 +++ devel/p5-meta/pkg-descr | 11 +++++++++++ devel/p5-meta/pkg-plist | 3 +++ 5 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e8744e049fed..8ccf2748b117 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3846,6 +3846,7 @@ SUBDIR += p5-match-simple SUBDIR += p5-match-simple-XS SUBDIR += p5-mem + SUBDIR += p5-meta SUBDIR += p5-mixin SUBDIR += p5-mocked SUBDIR += p5-multidimensional diff --git a/devel/p5-meta/Makefile b/devel/p5-meta/Makefile new file mode 100644 index 000000000000..75634d65b6a1 --- /dev/null +++ b/devel/p5-meta/Makefile @@ -0,0 +1,24 @@ +PORTNAME= meta +PORTVERSION= 0.004 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:PEVANS +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Meta-programming API +WWW= https://metacpan.org/dist/meta + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test2-Suite>=0:devel/p5-Test2-Suite + +USES= perl5 +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/meta/meta.so + +.include diff --git a/devel/p5-meta/distinfo b/devel/p5-meta/distinfo new file mode 100644 index 000000000000..91a64f08b0fe --- /dev/null +++ b/devel/p5-meta/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448810 +SHA256 (meta-0.004.tar.gz) = b609dc92075a8d0cea481e9f2a2b60270e949a43bf9f4cbe288a7e9cf30d4fb8 +SIZE (meta-0.004.tar.gz) = 23256 diff --git a/devel/p5-meta/pkg-descr b/devel/p5-meta/pkg-descr new file mode 100644 index 000000000000..65ce8e5c56e4 --- /dev/null +++ b/devel/p5-meta/pkg-descr @@ -0,0 +1,11 @@ +meta provides an API for metaprogramming; that is, allowing code to inspect or +manipulate parts of its own program structure. Parts of the perl interpreter +itself can be accessed by means of "meta"-objects provided by this package. +Methods on these objects allow inspection of details, as well as creating new +items or removing existing ones. + +The intention of this API is to provide a nicer replacement for existing tricks +such as no strict 'refs' and using globrefs, and also to be a more consistent +place to add new abilities, such as more APIs for inspection and alteration of +internal structures, metaprogramming around the new 'class' feature, and other +such uses. diff --git a/devel/p5-meta/pkg-plist b/devel/p5-meta/pkg-plist new file mode 100644 index 000000000000..2611561c7511 --- /dev/null +++ b/devel/p5-meta/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/auto/meta/meta.so +%%SITE_ARCH%%/meta.pm +%%PERL5_MAN3%%/meta.3.gz