From nobody Wed Aug 31 18:51:37 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 4MHtZ20dH9z4ZxfQ; Wed, 31 Aug 2022 18:51:38 +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 4MHtZ202cQz3LLS; Wed, 31 Aug 2022 18:51:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661971898; 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=EjMCQ3zYtUuZMTC13LGW51q2gU1d4mzBCancHOdnNKY=; b=S7Qa+EId/1EoBYq+P8spHv7t1F8RQa6AmEvRQCNCH82v/sQ8+o9HBiE7San5IqMmC9BxEa xvdohLdtxHeQTKj5WczHseBt6E2l/Q8hkhF7oYJy7n3LFETNalLf/2WMfcVbN8/YB3QlrP JPEVM766dUIIUib8hdrrf3gsYlrCJKZ5GfMUBCH7xuQDo7iilRIkd5yMNOXOpBlmhh0vDw Pcy70WqkNjmpNKi10M8HLBXsXi31ZMzgTPZpsYpFogB2MreGhnZaBehglg5ymLZC671P3B nFQpQpLd74zn8OxtE4FZoyRhxPztVpCFe1cQgLRwYuqw+Kegy2/oMtF+YV/Owg== 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 4MHtZ16Gcsz1CnW; Wed, 31 Aug 2022 18:51:37 +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 27VIpbns037254; Wed, 31 Aug 2022 18:51:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VIpb6Y037253; Wed, 31 Aug 2022 18:51:37 GMT (envelope-from git) Date: Wed, 31 Aug 2022 18:51:37 GMT Message-Id: <202208311851.27VIpb6Y037253@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: 002028b994f0 - main - devel/py-poetry-core: Update to 1.1.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: 002028b994f0de5ced1431bafbe20263c40ce3a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661971898; 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=EjMCQ3zYtUuZMTC13LGW51q2gU1d4mzBCancHOdnNKY=; b=MGWH+INsO8jYoGMtOmFJiSGUz3VtR6bz77/6+L0iq0v76HMCmUYgZ2HEtzmqhaLQWcn5Da lifrK4qKRVL51Fek48ZNCsrn/iHDJw1PpX+lXVDgB6jzSMXA9dOyDDd4aywGTzGtanSAwq w8s42AmIibghUgHw88Ni29flH8PstssOX30HMGpwQ0I2ZUcbCQRvvinEW5MqdAEcuTyu/E NeTow38LlXPsH8HazPtKU0L/KXY1rx3i7g0A+hbe8iPt9w0/cUKA6bKQjd6yNEnxjQ+Wxs 23yiZM8G7nvDj4rYcLJLwbVMTWoxKGs/yQwJyW0f/EnEhfL7p6kl4afbHLVEcQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661971898; a=rsa-sha256; cv=none; b=UOWIQ449+1QNfQZAOwJ2/qWMeQwvk4SqqT5wrSI+YmpvcFRXy0OjDwwUCNchMryP5oinTU Cy9nVvJa7vODSHw3Fo+PE08jbgA6UN1pU8ohVqNrHA72ZKPYnjex3pa2KFYSqyCkevukcM HkZ/QxW8nH2YEsCouMZPjmvI6Tr8G2SLBAuP7Wk0blrwrGln7INug6FH1GUXX4BJ7/03iY hkrqXYHk9CEgmBNm6ByqQ/DLMX8jXKQzQZQMBYEAnLLRBuU0PZ8iNZH1j8jz2xd8+s36np XTWBWQu7sR/bvvQaepVrWIata8fPIw/iKiy6RGCr0rcv+oM9HDMH1RipVueKVA== 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=002028b994f0de5ced1431bafbe20263c40ce3a3 commit 002028b994f0de5ced1431bafbe20263c40ce3a3 Author: Po-Chuan Hsieh AuthorDate: 2022-08-31 18:27:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-31 18:49:42 +0000 devel/py-poetry-core: Update to 1.1.0 Changes: https://github.com/python-poetry/poetry-core/releases --- devel/py-poetry-core/Makefile | 7 ++- devel/py-poetry-core/distinfo | 6 +-- devel/py-poetry-core/files/patch-setup.py | 11 ----- devel/py-poetry-core/files/setup.py | 71 +++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 16 deletions(-) diff --git a/devel/py-poetry-core/Makefile b/devel/py-poetry-core/Makefile index 083bd7100972..eb71f453796f 100644 --- a/devel/py-poetry-core/Makefile +++ b/devel/py-poetry-core/Makefile @@ -1,5 +1,5 @@ PORTNAME= poetry-core -PORTVERSION= 1.0.8 +PORTVERSION= 1.1.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,7 +10,7 @@ COMMENT= Poetry PEP 517 Build Backend LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes @@ -21,4 +21,7 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.7.0:devel/py-importlib-metadata@${PY_FLAVOR} .endif +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include diff --git a/devel/py-poetry-core/distinfo b/devel/py-poetry-core/distinfo index 92099832c7c7..5a17955cd21b 100644 --- a/devel/py-poetry-core/distinfo +++ b/devel/py-poetry-core/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647264564 -SHA256 (poetry-core-1.0.8.tar.gz) = 951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118 -SIZE (poetry-core-1.0.8.tar.gz) = 346260 +TIMESTAMP = 1661950920 +SHA256 (poetry-core-1.1.0.tar.gz) = d145ae121cf79118a8901b60f2c951c4edcc16f55eb8aaefc156aa33aa921f07 +SIZE (poetry-core-1.1.0.tar.gz) = 508157 diff --git a/devel/py-poetry-core/files/patch-setup.py b/devel/py-poetry-core/files/patch-setup.py deleted file mode 100644 index dd66b393016d..000000000000 --- a/devel/py-poetry-core/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2020-09-30 23:13:15 UTC -+++ setup.py -@@ -44,7 +44,7 @@ extras_require = \ - 'typing>=3.7.4.1,<4.0.0.0', - 'enum34>=1.1.10,<2.0.0', - 'functools32>=3.2.3-2,<4.0.0'], -- ':python_version >= "2.7" and python_version < "2.8" or python_version >= "3.5" and python_version < "3.8"': ['importlib-metadata>=1.7.0,<2.0.0']} -+ ':python_version >= "2.7" and python_version < "2.8" or python_version >= "3.5" and python_version < "3.8"': ['importlib-metadata>=1.7.0']} - - setup_kwargs = { - 'name': 'poetry-core', diff --git a/devel/py-poetry-core/files/setup.py b/devel/py-poetry-core/files/setup.py new file mode 100644 index 000000000000..a1ecfaa978b4 --- /dev/null +++ b/devel/py-poetry-core/files/setup.py @@ -0,0 +1,71 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +package_dir = \ +{'': 'src'} + +packages = \ +['poetry', + 'poetry.core', + 'poetry.core._vendor', + 'poetry.core._vendor.attr', + 'poetry.core._vendor.attrs', + 'poetry.core._vendor.jsonschema', + 'poetry.core._vendor.jsonschema.benchmarks', + 'poetry.core._vendor.lark', + 'poetry.core._vendor.lark.__pyinstaller', + 'poetry.core._vendor.lark.parsers', + 'poetry.core._vendor.lark.tools', + 'poetry.core._vendor.packaging', + 'poetry.core._vendor.pyparsing', + 'poetry.core._vendor.pyparsing.diagram', + 'poetry.core._vendor.pyrsistent', + 'poetry.core._vendor.tomlkit', + 'poetry.core.exceptions', + 'poetry.core.json', + 'poetry.core.masonry', + 'poetry.core.masonry.builders', + 'poetry.core.masonry.utils', + 'poetry.core.packages', + 'poetry.core.packages.constraints', + 'poetry.core.packages.utils', + 'poetry.core.pyproject', + 'poetry.core.semver', + 'poetry.core.spdx', + 'poetry.core.toml', + 'poetry.core.utils', + 'poetry.core.vcs', + 'poetry.core.version', + 'poetry.core.version.grammars', + 'poetry.core.version.pep440'] + +package_data = \ +{'': ['*'], + 'poetry.core._vendor.jsonschema': ['schemas/*'], + 'poetry.core._vendor.lark': ['grammars/*'], + 'poetry.core.json': ['schemas/*'], + 'poetry.core.spdx': ['data/*']} + +extras_require = \ +{':python_version < "3.8"': ['importlib-metadata>=1.7.0']} + +setup_kwargs = { + 'name': 'poetry-core', + 'version': '%%PORTVERSION%%', + 'description': 'Poetry PEP 517 Build Backend', + 'long_description': '# Poetry Core\n[![PyPI version](https://img.shields.io/pypi/v/poetry-core)](https://pypi.org/project/poetry-core/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/poetry-core)](https://pypi.org/project/poetry-core/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![](https://github.com/python-poetry/poetry-core/workflows/Tests/badge.svg)](https://github.com/python-poetry/poetry-core/actions?query=workflow%3ATests)\n\nA [PEP 517](https://www.python.org/dev/peps/pep-0517/) build backend implementation developed for\n[Poetry](https://github.com/python-poetry/poetry). This project is intended to be a light weight, fully compliant,\nself-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects.\n\n## Usage\nIn most cases, the usage of this package is transparent to the end-user as it is either made use by Poetry itself\nor a PEP 517 frontend (eg: `pip`).\n\nIn order to enable the use `poetry-core` as your build backend, the following snippet must be present in your\nproject\'s `pyproject.toml` file.\n\n```toml\n[build-system]\nrequires = ["poetry-core"]\nbuild-backend = "poetry.core.masonry.api"\n```\n\nOnce this is present, a PEP 517 frontend like `pip` can build and install your project from source without the need\nfor Poetry or any of it\'s dependencies.\n\n```shell\n# install to current environment\npip install /path/to/poetry/managed/project\n\n# build a wheel package\npip wheel /path/to/poetry/managed/project\n```\n\n## Why is this required?\nPrior to the release of version `1.1.0`, Poetry was a build as a project management tool that included a PEP 517\nbuild backend. This was inefficient and time consuming in majority cases a PEP 517 build was required. For example,\nboth `pip` and `tox` (with isolated builds ) would install Poetry and all dependencies ! it required. Most of these\ndependencies are not required when the objective is to simply build either a source or binary distribution of your\nproject.\n\nIn order to improve the above situation, `poetry-core` was created. Shared functionality pertaining to PEP 517 build\nbackends, including reading lock file, `pyproject.toml` and building wheel/sdist, were implemented in this package. This\nmakes PEP 517 builds extremely fast for Poetry managed packages.\n', + 'author': 'Sébastien Eustace', + 'author_email': 'sebastien@eustace.io', + 'maintainer': None, + 'maintainer_email': None, + 'url': 'https://github.com/python-poetry/poetry-core', + 'package_dir': package_dir, + 'packages': packages, + 'package_data': package_data, + 'extras_require': extras_require, + 'python_requires': '>=3.7,<4.0', +} + + +setup(**setup_kwargs) +