From owner-dev-commits-ports-all@freebsd.org Mon Sep 27 19:48:56 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E84F766E8E0; Mon, 27 Sep 2021 19:48:56 +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 4HJCr84dxJz4gMZ; Mon, 27 Sep 2021 19:48:56 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 7F65F16F99; Mon, 27 Sep 2021 19:48:56 +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 18RJmuJ8042477; Mon, 27 Sep 2021 19:48:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18RJmuEb042476; Mon, 27 Sep 2021 19:48:56 GMT (envelope-from git) Date: Mon, 27 Sep 2021 19:48:56 GMT Message-Id: <202109271948.18RJmuEb042476@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: ae7e9d3094f5 - main - devel/py-pdm: Add py-pdm 1.8.5 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: ae7e9d3094f54e8cf55185312933bc69c2d0e7bf Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2021 19:48:57 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ae7e9d3094f54e8cf55185312933bc69c2d0e7bf commit ae7e9d3094f54e8cf55185312933bc69c2d0e7bf Author: Po-Chuan Hsieh AuthorDate: 2021-09-27 19:44:00 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-09-27 19:48:06 +0000 devel/py-pdm: Add py-pdm 1.8.5 PDM is meant to be a next generation Python package management tool. It was originally built for personal use. If you feel you are going well with Pipenv or Poetry and don't want to introduce another package manager, just stick to it. But if you are missing something that is not present in those tools, you can probably find some goodness in pdm. WWW: https://github.com/pdm-project/pdm --- devel/Makefile | 1 + devel/py-pdm/Makefile | 43 ++++++++++++++++++++++++ devel/py-pdm/distinfo | 3 ++ devel/py-pdm/files/setup.py | 80 +++++++++++++++++++++++++++++++++++++++++++++ devel/py-pdm/pkg-descr | 7 ++++ 5 files changed, 134 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 12358cd22353..3b243a10f99a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4842,6 +4842,7 @@ SUBDIR += py-pathtools SUBDIR += py-paver SUBDIR += py-pbr + SUBDIR += py-pdm SUBDIR += py-pebble SUBDIR += py-pefile SUBDIR += py-pendulum diff --git a/devel/py-pdm/Makefile b/devel/py-pdm/Makefile new file mode 100644 index 000000000000..765126121b41 --- /dev/null +++ b/devel/py-pdm/Makefile @@ -0,0 +1,43 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pdm +PORTVERSION= 1.8.5 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python Development Master + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}atoml>=1.0.3:textproc/py-atoml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=7:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}installer>=0.2.3<0.3:devel/py-installer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=0.8.3<0.9:devel/py-pdm-pep517@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pep517>=0.11.0:devel/py-pep517@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pip>=20.1:devel/py-pip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.15<1:www/py-python-dotenv@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pythonfinder>=0:devel/py-pythonfinder@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}resolvelib>=0.7.0<0.8.0:devel/py-resolvelib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}shellingham>=1.3.2<2.0.0:devel/py-shellingham@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0<2.0.0:textproc/py-tomli@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.36.2<1.0.0:devel/py-wheel@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + +.include diff --git a/devel/py-pdm/distinfo b/devel/py-pdm/distinfo new file mode 100644 index 000000000000..70ed41632e8a --- /dev/null +++ b/devel/py-pdm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632760422 +SHA256 (pdm-1.8.5.tar.gz) = 91c50a792b0af21c6e8b82c344281b4ce7e1f518010c362bee6a4b7434b5b97e +SIZE (pdm-1.8.5.tar.gz) = 173613 diff --git a/devel/py-pdm/files/setup.py b/devel/py-pdm/files/setup.py new file mode 100644 index 000000000000..1b0c05eeb08e --- /dev/null +++ b/devel/py-pdm/files/setup.py @@ -0,0 +1,80 @@ + +# -*- coding: utf-8 -*- +from setuptools import setup + +import codecs + +with codecs.open('README.md', encoding="utf-8") as fp: + long_description = fp.read() +INSTALL_REQUIRE = [ + 'appdirs', + 'atoml>=1.0.3', + 'click>=7', + 'importlib-metadata; python_version < "3.8"', + 'pdm-pep517>=0.8.3,<0.9', + 'pep517>=0.11.0', + 'pip>=20.1', + 'python-dotenv~=0.15', + 'pythonfinder', + 'resolvelib>=0.7.0,<0.8.0', + 'shellingham<2.0.0,>=1.3.2', + 'wheel<1.0.0,>=0.36.2', + 'tomli>=1.1.0,<2.0.0', + 'installer~=0.2.3', +] +ENTRY_POINTS = { + 'console_scripts': [ + 'pdm = pdm.core:main', + ], +} + +setup_kwargs = { + 'name': 'pdm', + 'version': '1.8.5', + 'description': 'Python Development Master', + 'long_description': long_description, + 'license': 'MIT', + 'author': '', + 'author_email': 'frostming ', + 'maintainer': None, + 'maintainer_email': None, + 'url': 'https://pdm.fming.dev', + 'packages': [ + 'pdm', + 'pdm._vendor', + 'pdm._vendor.colorama', + 'pdm._vendor.halo', + 'pdm._vendor.log_symbols', + 'pdm._vendor.spinners', + 'pdm.builders', + 'pdm.cli', + 'pdm.cli.commands', + 'pdm.cli.completions', + 'pdm.formats', + 'pdm.installers', + 'pdm.models', + 'pdm.models.in_process', + 'pdm.pep582', + 'pdm.project', + 'pdm.resolver', + ], + 'package_data': {'': ['*']}, + 'long_description_content_type': 'text/markdown', + 'keywords': ['packaging', 'dependency', 'workflow'], + 'classifiers': [ + 'Development Status :: 4 - Beta', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Topic :: Software Development :: Build Tools', + ], + 'install_requires': INSTALL_REQUIRE, + 'python_requires': '>=3.7', + 'entry_points': ENTRY_POINTS, + +} + + +setup(**setup_kwargs) diff --git a/devel/py-pdm/pkg-descr b/devel/py-pdm/pkg-descr new file mode 100644 index 000000000000..9309b4fa161a --- /dev/null +++ b/devel/py-pdm/pkg-descr @@ -0,0 +1,7 @@ +PDM is meant to be a next generation Python package management tool. It was +originally built for personal use. If you feel you are going well with Pipenv or +Poetry and don't want to introduce another package manager, just stick to it. +But if you are missing something that is not present in those tools, you can +probably find some goodness in pdm. + +WWW: https://github.com/pdm-project/pdm