From nobody Tue Mar 21 19:29:18 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 4Ph1rH32lGz40j0P; Tue, 21 Mar 2023 19:29:19 +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 4Ph1rH0qRzz4SWy; Tue, 21 Mar 2023 19:29:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426959; 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=jnE0O6ja1JxhHtzMzaMO95kvCAv+LYbFNLRo0Un7Tio=; b=v7RM5gLIkIRdyyHqjD9xL4ajX4572zs2kZFeQ6LJszUmQEZTIZSa4Qroo7dK1AH/V9U8tf UorYb6Frcr88ZEYJJfLWV6noI/5O5Pb/fLcbw8busjlx+mKFYBYcOzCzEBw9MRd4Z1ktbB uF3bxqdS4py4kR5xyaXRdVChnFHTOA1dGML5aejHVfGY7vltXQaE2XzC2pZfJWWyfHc9lX 27iIARabHf8fcceB4YfZG8ywE8xzlqflO2Vwp0IQkFuZqGlpe2db/fJ+8Sni4AiSCCK/VC IsMIMSr92Cv3YUsg9la1SUEJgU9XMy61bB3dUebh192+4Ta7PpZdxA4tysJB0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426959; 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=jnE0O6ja1JxhHtzMzaMO95kvCAv+LYbFNLRo0Un7Tio=; b=JL+KHXzxZ7ImIj0Tqe1bavVotWzsvIyyJOAIaBxgQCfv1ywdJ925YtHuQkUkoYyWciPRJF ZNFyXBN5QaKhmcmw9kY0GcA4XJU8mMXjt3S2IGGlE6ahPfnGTX2TJqrxqdDD8veIVYYcWH vpQcE2lFXjNBdUIRFiAVL+W6dy4+aPLG1wk11CylJYSp2mONVdoR5U4IQaLDXgqno1tcMH N61QLv0GnXAU2EuPEbYPo++L9cHPc52CDJugQ2ZL14bsA5Z3rXTcEHDKLz4gFLiZDZPHDy n50/aI23GN2FzMh4aiH3nB0RvtpRjFlzrECBs5mDuUN4IfEOMUxackps4w5VuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426959; a=rsa-sha256; cv=none; b=mrXQ83+artKC/35hAJoI5LUKn4ZnhKq022I7L/v3XB6jcCMGW4gjsyz+9sQ8HyJX3C4Dyj vZaTsdDkUwry2T8LZb+tKfuxAbV9guBin93UL/1BZuI1/q5BDHuPmpvKgyrnGDBw+WofEn Njlb+dO2D3uW/Xvmx3/xHxsQU/7eWzIRy3AXGtNN3zT1CU5mcoHL/wg0cLa3hWedgT0ry8 F7q0Vj8wHjE3zyh1tD+7gSMGrnFgNHXqYh0QERrraPbxWkCxbRhDTX125h2GWIMbPUv97T c0gZTR3qb4thLjDhP/2bXicaQddcp7jo5DfcMZRXxs5WpHRNt5ypTvdLWIfERg== 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 4Ph1rG2546zPkg; Tue, 21 Mar 2023 19:29:18 +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 32LJTIL2033024; Tue, 21 Mar 2023 19:29:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJTI0p033023; Tue, 21 Mar 2023 19:29:18 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:29:18 GMT Message-Id: <202303211929.32LJTI0p033023@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: 76c9d7fce137 - main - devel/py-userpath: 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: 76c9d7fce137d667d8ab25fc3d8a9aa3b6c98465 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=76c9d7fce137d667d8ab25fc3d8a9aa3b6c98465 commit 76c9d7fce137d667d8ab25fc3d8a9aa3b6c98465 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:45:46 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:08 +0000 devel/py-userpath: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-userpath/Makefile | 9 +++------ devel/py-userpath/files/setup.py | 33 --------------------------------- 2 files changed, 3 insertions(+), 39 deletions(-) diff --git a/devel/py-userpath/Makefile b/devel/py-userpath/Makefile index 24f9b175e2d1..e89c0db1e1fa 100644 --- a/devel/py-userpath/Makefile +++ b/devel/py-userpath/Makefile @@ -1,6 +1,6 @@ PORTNAME= userpath PORTVERSION= 1.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,15 +12,12 @@ WWW= https://github.com/ofek/userpath LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${RM} ${WRKSRC}/pyproject.toml - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include diff --git a/devel/py-userpath/files/setup.py b/devel/py-userpath/files/setup.py deleted file mode 100644 index 0b964e937fb9..000000000000 --- a/devel/py-userpath/files/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -from setuptools import setup - -setup( - name='userpath', - version='1.8.0', - description='Cross-platform tool for adding locations to the user PATH', - long_description="# userpath\n\n| | |\n| --- | --- |\n| CI/CD | [![CI - Test](https://github.com/ofek/userpath/actions/workflows/test.yml/badge.svg)](https://github.com/ofek/userpath/actions/workflows/test.yml) [![CD - Build](https://github.com/ofek/userpath/actions/workflows/build.yml/badge.svg)](https://github.com/ofek/userpath/actions/workflows/build.yml) |\n| Package | [![PyPI - Version](https://img.shields.io/pypi/v/userpath.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/userpath/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/userpath.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/userpath/) |\n| Meta | [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/ofek) |\n\n-----\n\nThis is a tool for modifying a user's `PATH`.\n\n**Table of Con tents**\n\n- [Installation](#installation)\n- [CLI](#cli)\n- [API](#api)\n- [License](#license)\n\n## Installation\n\n```console\npip install userpath\n```\n\n## CLI\n\n```console\n$ userpath -h\nUsage: userpath [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n --version Show the version and exit.\n -h, --help Show this message and exit.\n\nCommands:\n append Appends to the user PATH\n prepend Prepends to the user PATH\n verify Checks if locations are in the user PATH\n```\n\n## API\n\n```pycon\n>>> import userpath\n>>> location = r'C:\\Users\\Ofek\\Desktop\\test'\n>>>\n>>> userpath.in_current_path(location)\nFalse\n>>> userpath.in_new_path(location)\nFalse\n>>> userpath.append(location)\nTrue\n>>> userpath.in_new_path(location)\nTrue\n>>> userpath.need_shell_restart(location)\nTrue\n```\n\n## License\n\n`userpath` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n", - author_email='Ofek Lev ', - classifiers=[ - 'Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', - ], - install_requires=[ - 'click', - ], - entry_points={ - 'console_scripts': [ - 'userpath = userpath.cli:userpath', - ], - }, - packages=[ - 'userpath', - ], -)