From nobody Mon Jan 30 13:04:40 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 4P57gX5g5Yz3cY2b; Mon, 30 Jan 2023 13:04:40 +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 4P57gX504Mz4LDZ; Mon, 30 Jan 2023 13:04:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675083880; 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=36xXjATSkDmpbtyMNdo8vRqMkEKbxpYAq+fkzadcY/Y=; b=sYgFJaM+aHOX+wgUpfubUEPHKZ6iiK4lyQ/sXhcJvlEaF0mZQ1OJoId1H1XQOENXAccxWk G8OFrZ5hLNtPGwsYot3ezTyD5M3wUuT7UnduzMEHQWAgD3PMCbza8pH6M7gK8Jb3aL4zK6 /j5RJC1+WW38Er8uShz8fyNrK8ogxMXexXHzjkH2usNgFTgggmQEiWopnhMmKOX/8N+n2Z VSifX1GofM7YXo29vcg6YXbHzl4KQllALEu//vpf02C0rBqZ4ynkCboVK0jjblLpJj3iDP UNRQe3bzVuIh46GceAr4hX1AllbJDSme0ZgR24enH1b9auaMy3pXwsmyNb+SqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675083880; 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=36xXjATSkDmpbtyMNdo8vRqMkEKbxpYAq+fkzadcY/Y=; b=kRuIVZKZuksratwALRxVH3LMWQ/42AXvLycizIxvjxpeW0y2d/dnQH6Uc++JenFM10tBJY IlwRenX0PqyOMAY19BdxfdHBAjnp9qUHlcFY5WyAa8BM/PxOCiOGPJwasu6DHHP5wqnicn +GxEd/zeCaETZeDRKhccPxdLd7fXUsn9/PN5jIrrGf3sW1LNsoXVwF4jmAskjHSSl8jxWc U8L7UAAqW3EXnVWLj8YXTEIjE19lDlsdgV++JBbrDrDHhmJgDcBIkaAsfaZpLn+U/Jl6jQ sewYciUCPoGeXXbmaccBpUv+/eFqfRroo4cfbNxykTmO42UHTU3gBeN9Yc8Czw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675083880; a=rsa-sha256; cv=none; b=K1341ijMMCs0uIg/g5GXeuOS1JyKfFUhWGtai8aRH4XuJZSkmz3OMdMNPJZbvcRMO5CbXv VQ4Lu2gF5U9/mlJYaLwDuJnrRD287cPOKxz0FtaOiwL5iFPRIqcpftnN5WmLk5JVMk0AVM KUMSCGsLr0X3hgYiVvkUghvffctv08Q7RT+lheCHnBgwxL00Gn8r+ycRWVomtj/diwFFWe ZE8vqQQ1eaexylz/xZ8jde4S5wa5svzo/RrH0hvjtUnBFCt9MNqjp4Fx3W9rS8JkXQIOxB 6uDlXCUDWczLTdxN0pQzIgZq3rxUM9sGaPoDyOH6AEby+IzAYgukqlFThqZp8Q== 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 4P57gX43Ypz18Cf; Mon, 30 Jan 2023 13:04:40 +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 30UD4ei8051116; Mon, 30 Jan 2023 13:04:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UD4eXE051115; Mon, 30 Jan 2023 13:04:40 GMT (envelope-from git) Date: Mon, 30 Jan 2023 13:04:40 GMT Message-Id: <202301301304.30UD4eXE051115@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: bc93f4819b7a - main - devel/py-poetry: Add py-poetry 1.2.2 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: bc93f4819b7af010d87069202793e86f56fb4d03 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bc93f4819b7af010d87069202793e86f56fb4d03 commit bc93f4819b7af010d87069202793e86f56fb4d03 Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 12:20:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-01-30 12:58:46 +0000 devel/py-poetry: Add py-poetry 1.2.2 Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. --- devel/Makefile | 1 + devel/py-poetry/Makefile | 60 +++++++++++++++++++++++++ devel/py-poetry/distinfo | 3 ++ devel/py-poetry/files/setup.py | 100 +++++++++++++++++++++++++++++++++++++++++ devel/py-poetry/pkg-descr | 3 ++ 5 files changed, 167 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7608273bf87f..fd49b0f5960c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5044,6 +5044,7 @@ SUBDIR += py-ply SUBDIR += py-pockets SUBDIR += py-podcastparser + SUBDIR += py-poetry SUBDIR += py-poetry-core SUBDIR += py-poetry-dynamic-versioning SUBDIR += py-poetry-plugin-export diff --git a/devel/py-poetry/Makefile b/devel/py-poetry/Makefile new file mode 100644 index 000000000000..eae5f77c9fed --- /dev/null +++ b/devel/py-poetry/Makefile @@ -0,0 +1,60 @@ +PORTNAME= poetry +PORTVERSION= 1.3.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python dependency management and packaging made easy +WWW= https://python-poetry.org/ \ + https://github.com/python-poetry/poetry + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +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} \ + ${PYTHON_PKGNAMEPREFIX}dulwich020>=0.20.46<0.21.0:devel/py-dulwich020@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}filelock>=3.8.0<4.0.0:sysutils/py-filelock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html5lib>=1.0<2.0:www/py-html5lib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.10.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}keyring>=23.9.0,1<24.0.0,1:security/py-keyring@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lockfile>=0.12.2<0.13.0:devel/py-lockfile@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=20.4:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pexpect>=4.7.0<5.0.0:misc/py-pexpect@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pkginfo>=1.5<2.0:sysutils/py-pkginfo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.5.2<3.0.0:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.4.0<1.4.0_99:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}poetry-plugin-export>=1.2.0<2.0.0:devel/py-poetry-plugin-export@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.18<3.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1<0.11.0:www/py-requests-toolbelt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}shellingham>=1.5<2.0:devel/py-shellingham@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.1<1.0.0:textproc/py-tomlkit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}trove-classifiers>=2022.5.19:devel/py-trove-classifiers@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.0,1<2.0.0,1:net/py-urllib3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}virtualenv>=20.4.3<21.0.0:devel/py-virtualenv@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.cached-property>=1.0.2<2.0.0:devel/py-backports.cached-property@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.4<5.0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +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/distinfo b/devel/py-poetry/distinfo new file mode 100644 index 000000000000..5711d443384c --- /dev/null +++ b/devel/py-poetry/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674588050 +SHA256 (poetry-1.3.2.tar.gz) = 26ded25f0cf67943243ca4f0aafd47ec4668bdb62845dbb8c2b0e3d9cd280bf4 +SIZE (poetry-1.3.2.tar.gz) = 871903 diff --git a/devel/py-poetry/files/setup.py b/devel/py-poetry/files/setup.py new file mode 100644 index 000000000000..05430448f8ce --- /dev/null +++ b/devel/py-poetry/files/setup.py @@ -0,0 +1,100 @@ +# -*- 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) diff --git a/devel/py-poetry/pkg-descr b/devel/py-poetry/pkg-descr new file mode 100644 index 000000000000..ce0958ce224e --- /dev/null +++ b/devel/py-poetry/pkg-descr @@ -0,0 +1,3 @@ +Poetry is a tool for dependency management and packaging in Python. It allows +you to declare the libraries your project depends on and it will manage +(install/update) them for you.