From nobody Sun Jan 23 19:26:09 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 B4B77196892D; Sun, 23 Jan 2022 19:26:09 +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 4JhjlP4khbz3LpJ; Sun, 23 Jan 2022 19:26:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642965969; 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=WVaw1DttUgVqhhuNANi888LD8amPaqTAOl/PuVEqrI8=; b=Fds+qcccNX1MfXX3NM6+mAoEUqsveiJHBpLvED53nth4Dfpdxf6K6+F8OHd63bP7JbIGwc 6uO5e6o7l6/jV+MhgCM9DlxD3KJ6QD037ez8cjG4BkrlXLCo9B4k2IveyhAe3xWcXjozS4 aM6umPvFSIw86uwoGe6KSZZ7Fm3wMU77fKkbm6e088Ot9efPuzCxWn4OwWAH6rOUhIu+/a Zu2TEiZe2+KAIBEM3//1cNV04VnbIF6WPMLbGbBI12cRoEKh8fW4ebrQ0Y3AUx5RJj7oxv d8ebEjcL1i19u791voMUFp1eb+K50bRHNMsLQL9S3L98UYBQDOeG7LVJD0jmvA== 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 7E55B27679; Sun, 23 Jan 2022 19:26:09 +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 20NJQ9uM012908; Sun, 23 Jan 2022 19:26:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20NJQ9kb012907; Sun, 23 Jan 2022 19:26:09 GMT (envelope-from git) Date: Sun, 23 Jan 2022 19:26:09 GMT Message-Id: <202201231926.20NJQ9kb012907@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: 1e4d4f1d4f48 - main - devel/py-pep621: Add py-pep621 0.4.0 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e4d4f1d4f4844ec26a108401f927ff253ec3317 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642965969; 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=WVaw1DttUgVqhhuNANi888LD8amPaqTAOl/PuVEqrI8=; b=sfhuQWeQtbOq7c+wQ5PoyWq9EoISC7WZWR3F6JB9ArzzkqHG54zvy1yJikb9jEm4NI9ZQa SCH1zpbqn7xxruAFpJL0b5/pXzyq4jm8UJblS6uSZhipY80ahuzE4pJdufP83fYOrAw42s fPFOlNDjXg8edvsJ1AKGIGEUoc6DYT7aYGaQpqoSXqAXfaNztLZ0kLyjIYDALGEHCsRnSL Gp0u1b5kDQD36zuDofdjmtHTWMJxJTborAKv8aTArVN+2yErzO+naFky+/+IVgIVVojOC1 BXI/maZsZmBtBtmUGZgxVvSgJ/79w/nQeKpD7tVQQ6MFPM0xXXW0HYHwKwiHOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642965969; a=rsa-sha256; cv=none; b=AsqxbmjxHw9fImHzB5l4f/rzjpDnz84nQOM8oQqw5rqrEllnRRQAVqkGGTE7pow7vU1si4 MlJmqsA4wkjIghYpm0L8Si2pAO1xqoJgwMVSUnClt2w6sgBfmyvohBwLSdmpmLygKeucnR bItiZkAcaGPEWFiqM/HpVz8dLCZHEHmoZwpePva0FoXgn6XPaxZ4r420A4a3HVM4UsQocn B9K2LiEk3eQDE0Ephwuf1kc8Y5ZAzV9ipyEH4prxjOyKMQDFwlnlt5czjQdCN2yGAYDI2+ NmzuFdFs9RshKQoHMxhHkttTkk37cfTZHHWTGIX09sjljrJ4UUmK/EaPtGzQYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e4d4f1d4f4844ec26a108401f927ff253ec3317 commit 1e4d4f1d4f4844ec26a108401f927ff253ec3317 Author: Po-Chuan Hsieh AuthorDate: 2022-01-23 18:05:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-23 18:05:25 +0000 devel/py-pep621: Add py-pep621 0.4.0 pep621 provides dataclass for PEP 621 metadata with support for core metadata generation. This project does not implement the parsing of pyproject.toml containing PEP 621 metadata. Instead, given a Python data structure representing PEP 621 metadata (already parsed), it will validate this input and generate a PEP 643-compliant metadata file (e.g. PKG-INFO). WWW: https://github.com/FFY00/python-pep621 --- devel/Makefile | 1 + devel/py-pep621/Makefile | 25 +++++++++++++++++++++++++ devel/py-pep621/distinfo | 3 +++ devel/py-pep621/files/setup.py | 3 +++ devel/py-pep621/pkg-descr | 11 +++++++++++ 5 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 444184f3c9f0..17bb7e754244 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4910,6 +4910,7 @@ SUBDIR += py-pendulum SUBDIR += py-pep517 SUBDIR += py-pep562 + SUBDIR += py-pep621 SUBDIR += py-pep8-naming SUBDIR += py-period SUBDIR += py-persistent diff --git a/devel/py-pep621/Makefile b/devel/py-pep621/Makefile new file mode 100644 index 000000000000..eb0b9f058a4f --- /dev/null +++ b/devel/py-pep621/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pep621 +PORTVERSION= 0.4.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PEP 621 metadata parsing + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + +.include diff --git a/devel/py-pep621/distinfo b/devel/py-pep621/distinfo new file mode 100644 index 000000000000..cce4e26c18aa --- /dev/null +++ b/devel/py-pep621/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642102111 +SHA256 (pep621-0.4.0.tar.gz) = 024271b42c3ce72fd4c57792da428c4a6c29fadee58c3580096e2a1a86131434 +SIZE (pep621-0.4.0.tar.gz) = 6400 diff --git a/devel/py-pep621/files/setup.py b/devel/py-pep621/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/devel/py-pep621/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() diff --git a/devel/py-pep621/pkg-descr b/devel/py-pep621/pkg-descr new file mode 100644 index 000000000000..18a0d857630d --- /dev/null +++ b/devel/py-pep621/pkg-descr @@ -0,0 +1,11 @@ +pep621 provides dataclass for PEP 621 metadata with support for core metadata +generation. + +This project does not implement the parsing of pyproject.toml containing PEP 621 +metadata. + +Instead, given a Python data structure representing PEP 621 metadata (already +parsed), it will validate this input and generate a PEP 643-compliant metadata +file (e.g. PKG-INFO). + +WWW: https://github.com/FFY00/python-pep621