From nobody Tue Mar 21 19:28:32 2023 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 4Ph1qN4cVzz40hw8; Tue, 21 Mar 2023 19:28:32 +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 4Ph1qN3WnCz4RFQ; Tue, 21 Mar 2023 19:28:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426912; 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=zmnvkewtLmYeoed8McG6MSeyulplXWwGY5L9fSC4/m0=; b=Lb6kyg8Wo4EreSlujsyZansn8h5zMLAnYh3Fi0PQf9P5IgWqAxVnSuE2Or2hD2EJ1NvcDh ZhS0VJCvYg1QbTEoymS6bqThcQsCtmkq9O4Ll8O8ylwGPasyRT8mWx4wIqWyGnxq2uYwes nP6t1HW1/IJWsQqtp9+yntCvLCytD6NyL0MDwuLMyvZ2ZNGHYM3iCrvZ1dswFxg/bm9eH+ DAi4GyQttIWAu37wE7eNmsxi823BlnnxMLtVHLDUjPwc4yszG0zaXVuPtqmCMu4d1CtzPU QvQd5a4EyGN+rdwuptgzUHq0CQM8MhRJGjKeMIScDrbRIAkJBTczEGqUlon5NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426912; 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=zmnvkewtLmYeoed8McG6MSeyulplXWwGY5L9fSC4/m0=; b=xzaZAd9rb6RD7amPuWzo3WbDuKe/9uPpzYbhhyECPfhwbVmu4eJ8r23a0kmcWTtr5SrtAU OtHI5IQyddqdGBbt46EbEBF3dmtcCooAZog+kf8bvsFJP7RkEHwD8Q0TYTlkOeCQwLXERh O3CBkSKOITY1a+r2Sy8bsu8Oc5FwM/jbBFyy6nBYTodhJN1y6tsAwdbV0L4xf9qPBnJII9 il6arwcv5jvOCpMpoEJG1yK58vZb+DXPmNAnuh2H0sTLQOgExVwPwMynIZrU+ABbuI80sR qtaFjWtqVLQWQiJQZTvEp31nXptibkojGE7vMr9XHQx8yrbY2ER2RSqGOeLFeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426912; a=rsa-sha256; cv=none; b=O71juMEu8NpFqYnCXyoHc5rcWvQnVS0MESRaeX4Am7P/djlyC0FDQ+Z3DTbZamLrXHRSwe cVEYBq1ceGFXH420nPQExYXdaVZD+fgRio+bs3zR+lEpPaucRBaa68gJDzKif6iP/Mosuz zEWnMz2e88k03LXoxUUdT8Y0FJ9jx9Yg9DRH+FlDuj9D/sDvoS2fub7lixLVoDCEoyWzjK 61QTk5/Cgcv777NO4Brb6z3SGrdGh8oNTFkmt7U3aRyMbsaMU2zxmNpS3D5vUBvUpzgvLl Wlv+KaSmwFhtb4SXcxUEIqDxcC6yGZGaxul6tLe9v8ODTY9eaO2mqMA/AOc43Q== 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 4Ph1qN2GVrzPdh; Tue, 21 Mar 2023 19:28:32 +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 32LJSWFS032172; Tue, 21 Mar 2023 19:28:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJSWS7032171; Tue, 21 Mar 2023 19:28:32 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:28:32 GMT Message-Id: <202303211928.32LJSWS7032171@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: 5de54b1eb09e - main - devel/py-poetry: Convert to USE_PYTHON=pep517 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: 5de54b1eb09e7c6607715401f4891a9cf3d1ef93 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5de54b1eb09e7c6607715401f4891a9cf3d1ef93 commit 5de54b1eb09e7c6607715401f4891a9cf3d1ef93 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:45:04 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:20:56 +0000 devel/py-poetry: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-poetry/Makefile | 9 ++-- devel/py-poetry/files/setup.py | 100 ----------------------------------------- 2 files changed, 5 insertions(+), 104 deletions(-) diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile index c8aaf2c93289..80257c4c257a 100644 --- a/devel/py-poetry/Makefile +++ b/devel/py-poetry/Makefile @@ -1,5 +1,6 @@ PORTNAME= poetry PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,6 +13,7 @@ WWW= https://python-poetry.org/ \ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}CacheControl>=0.12.9<0.13.0:www/py-cachecontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cleo>=2.0.0<3.0.0:devel/py-cleo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}crashtest>=0.4.1<0.5.0:devel/py-crashtest@${PY_FLAVOR} \ @@ -36,10 +38,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}CacheControl>=0.12.9<0.13.0:www/py-cachecont ${PYTHON_PKGNAMEPREFIX}virtualenv>=20.4.3<21.0.0:devel/py-virtualenv@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +BINARY_ALIAS= git=false + .include .if ${PYTHON_REL} < 30800 @@ -54,7 +58,4 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.4:devel/py-importlib- RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1<3.0.0:textproc/py-tomli@${PY_FLAVOR} .endif -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-poetry/files/setup.py b/devel/py-poetry/files/setup.py deleted file mode 100644 index 05430448f8ce..000000000000 --- a/devel/py-poetry/files/setup.py +++ /dev/null @@ -1,100 +0,0 @@ -# -*- coding: utf-8 -*- -from setuptools import setup - -package_dir = \ -{'': 'src'} - -packages = \ -['poetry', - 'poetry.config', - 'poetry.console', - 'poetry.console.commands', - 'poetry.console.commands.cache', - 'poetry.console.commands.debug', - 'poetry.console.commands.env', - 'poetry.console.commands.self', - 'poetry.console.commands.self.show', - 'poetry.console.commands.source', - 'poetry.console.events', - 'poetry.console.io', - 'poetry.console.io.inputs', - 'poetry.console.logging', - 'poetry.console.logging.formatters', - 'poetry.inspection', - 'poetry.installation', - 'poetry.installation.operations', - 'poetry.json', - 'poetry.layouts', - 'poetry.masonry', - 'poetry.masonry.builders', - 'poetry.mixology', - 'poetry.mixology.solutions', - 'poetry.mixology.solutions.providers', - 'poetry.mixology.solutions.solutions', - 'poetry.packages', - 'poetry.plugins', - 'poetry.publishing', - 'poetry.puzzle', - 'poetry.repositories', - 'poetry.repositories.link_sources', - 'poetry.utils', - 'poetry.vcs', - 'poetry.vcs.git', - 'poetry.version'] - -package_data = \ -{'': ['*'], 'poetry': ['_vendor/*'], 'poetry.json': ['schemas/*']} - -install_requires = \ -['cachecontrol[filecache]>=0.12.9,<0.13.0', - 'cleo>=2.0.0,<3.0.0', - 'crashtest>=0.4.1,<0.5.0', - 'dulwich>=0.20.46,<0.21.0', - 'filelock>=3.8.0,<4.0.0', - 'html5lib>=1.0,<2.0', - 'jsonschema>=4.10.0,<5.0.0', - 'keyring>=23.9.0,<24.0.0', - 'lockfile>=0.12.2,<0.13.0', - 'packaging>=20.4', - 'pexpect>=4.7.0,<5.0.0', - 'pkginfo>=1.5,<2.0', - 'platformdirs>=2.5.2,<3.0.0', - 'poetry-core==1.4.0', - 'poetry-plugin-export>=1.2.0,<2.0.0', - 'requests-toolbelt>=0.9.1,<0.11.0', - 'requests>=2.18,<3.0', - 'shellingham>=1.5,<2.0', - 'tomlkit>=0.11.1,<1.0.0,!=0.11.2,!=0.11.3', - 'trove-classifiers>=2022.5.19', - 'urllib3>=1.26.0,<2.0.0'] - -extras_require = \ -{':python_version < "3.10"': ['importlib-metadata>=4.4,<5.0'], - ':python_version < "3.11"': ['tomli>=2.0.1,<3.0.0'], - ':python_version < "3.8"': ['backports.cached-property>=1.0.2,<2.0.0'], - ':sys_platform != "win32" or python_version != "3.9"': ['virtualenv>=20.4.3,<21.0.0,!=20.4.5,!=20.4.6'], - ':sys_platform == "win32" and python_version == "3.9"': ['virtualenv>=20.4.3,<21.0.0,!=20.4.5,!=20.4.6,<20.16.6']} - -entry_points = \ -{'console_scripts': ['poetry = poetry.console.application:main']} - -setup_kwargs = { - 'name': 'poetry', - 'version': '%%PORTVERSION%%', - 'description': 'Python dependency management and packaging made easy.', - 'long_description': '# Poetry: Python packaging and dependency management made easy\n\n[![Stable Version](https://img.shields.io/pypi/v/poetry?label=stable)][PyPI Releases]\n[![Pre-release Version](https://img.shields.io/github/v/release/python-poetry/poetry?label=pre-release&include_prereleases&sort=semver)][PyPI Releases]\n[![Python Versions](https://img.shields.io/pypi/pyversions/poetry)][PyPI]\n[![Download Stats](https://img.shields.io/pypi/dm/poetry)](https://pypistats.org/packages/poetry)\n[![Discord](https://img.shields.io/discord/487711540787675139?logo=discord)][Discord]\n\nPoetry helps you declare, manage and install dependencies of Python projects,\nensuring you have the right stack everywhere.\n\n![Poetry Install](https://raw.githubusercontent.com/python-poetry/poetry/master/assets/install.gif)\n\nPoetry replaces `setup.py`, `requirements.txt`, `setup.cfg`, `MANIFEST.in` and `Pipfile` with a simple `pyproject.toml`\nbased project format.\n\n```toml\n[tool.poetry]\nna me = "my-package"\nversion = "0.1.0"\ndescription = "The description of the package"\n\nlicense = "MIT"\n\nauthors = [\n "Sébastien Eustace "\n]\n\nrepository = "https://github.com/python-poetry/poetry"\nhomepage = "https://python-poetry.org"\n\n# README file(s) are used as the package description\nreadme = ["README.md", "LICENSE"]\n\n# Keywords (translated to tags on the package index)\nkeywords = ["packaging", "poetry"]\n\n[tool.poetry.dependencies]\n# Compatible Python versions\npython = ">=3.8"\n# Standard dependency with semver constraints\naiohttp = "^3.8.1"\n# Dependency with extras\nrequests = { version = "^2.28", extras = ["security"] }\n# Version-specific dependencies with prereleases allowed\ntomli = { version = "^2.0.1", python = "<3.11", allow-prereleases = true }\n# Git dependencies\ncleo = { git = "https://github.com/python-poetry/cleo.git", branch = "master" }\n# Optional dependencies (installed by extras)\npendulum = { version = "^2.1.2", o ptional = true }\n\n# Dependency groups are ! supported for organizing your dependencies\n[tool.poetry.group.dev.dependencies]\npytest = "^7.1.2"\npytest-cov = "^3.0"\n\n# ...and can be installed only when explicitly requested\n[tool.poetry.group.docs]\noptional = true\n[tool.poetry.group.docs.dependencies]\nSphinx = "^5.1.1"\n\n# Python-style entrypoints and scripts are easily expressed\n[tool.poetry.scripts]\nmy-script = "my_package:main"\n```\n\n## Installation\n\nPoetry supports multiple installation methods, including a simple script found at [install.python-poetry.org]. For full\ninstallation instructions, including advanced usage of the script, alternate install methods, and CI best practices, see\nthe full [installation documentation].\n\n## Documentation\n\n[Documentation] for the current version of Poetry (as well as the development branch and recently out of support\nversions) is available from the [official website].\n\n## Contribute\n\nPoetry is a large, complex project always in need of contributors. For those new to the project, a list of\n[suggested issues] to work on in Poetry and poetry-core is available. The full [contributing documentation] also\nprovides helpful guidance.\n\n## Resources\n\n* [Releases][PyPI Releases]\n* [Official Website]\n* [Documentation]\n* [Issue Tracker]\n* [Discord]\n\n [PyPI]: https://pypi.org/project/poetry/\n [PyPI Releases]: https://pypi.org/project/poetry/#history\n [Official Website]: https://python-poetry.org\n [Documentation]: https://python-poetry.org/docs/\n [Issue Tracker]: https://github.com/python-poetry/poetry/issues\n [Suggested Issues]: https://github.com/python-poetry/poetry/contribute\n [Contributing Documentation]: https://python-poetry.org/docs/contributing\n [Discord]: https://discord.com/invite/awxPgve\n [install.python-poetry.org]: https://install.python-poetry.org\n [Installation Documentation]: https://python-poetry.org/docs/#installation\n\n## Related Projects\n\n* [poetry-core](https://github.com/python-poetry/poetry-core): PEP 517 build-system for Poetry projects, an! d\ndepend! ency-free core functionality of the Poetry frontend\n* [poetry-plugin-export](https://github.com/python-poetry/poetry-plugin-export): Export Poetry projects/lock files to\nforeign formats like requirements.txt\n* [poetry-plugin-bundle](https://github.com/python-poetry/poetry-plugin-bundle): Install Poetry projects/lock files to\nexternal formats like virtual environments\n* [install.python-poetry.org](https://github.com/python-poetry/install.python-poetry.org): The official Poetry\ninstallation script\n* [website](https://github.com/python-poetry/website): The official Poetry website and blog\n', - 'author': 'Sébastien Eustace', - 'author_email': 'sebastien@eustace.io', - 'maintainer': 'Arun Babu Neelicattu', - 'maintainer_email': 'arun.neelicattu@gmail.com', - 'url': 'https://python-poetry.org/', - 'package_dir': package_dir, - 'packages': packages, - 'package_data': package_data, - 'install_requires': install_requires, - 'extras_require': extras_require, - 'entry_points': entry_points, - 'python_requires': '>=3.7,<4.0', -} - -setup(**setup_kwargs)