From nobody Mon Mar 07 18:18:11 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 1616819FF05E; Mon, 7 Mar 2022 18:18:13 +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 4KC6C76yFtz3Jy4; Mon, 7 Mar 2022 18:18:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646677092; 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=HxKGwRkkSCJ7ulx0bB95miugGQjGbJmfsnDBXJFXRdk=; b=FyA3IqCW0HWb/vFh0SAdsc54BkSS+Sr9xfe1vNi5oc0npyxaOF/nNzScOd3Mg6c0hIORzP 5Xkk/YhjUsR2As/t8bF+bycm2Vg8voJfeqnTq9utNINaP/L2QmeBi5X0xKnWX07GZ+M2QH yn6HSVfQfdSlSsDBO+0nGuxIXouSz1auF0puAn2vW/ogzyCaT9TXH+mKhZYPbQtCHXf7SZ J7ArEgVcRw2d4Am5KLXxZIrDgBiVNhwTxJ87HNvM5Uz0YDbxOMobUHL1iMACEF40PbvnFK xlbjg5IWTh9ekBirPxlHwhTR/ba0pzhOyvxGj2frkNqSAOzLSrxc353pb/PcjQ== 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 9268F54C2; Mon, 7 Mar 2022 18:18:11 +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 227IIB82061343; Mon, 7 Mar 2022 18:18:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227IIBWc061342; Mon, 7 Mar 2022 18:18:11 GMT (envelope-from git) Date: Mon, 7 Mar 2022 18:18:11 GMT Message-Id: <202203071818.227IIBWc061342@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: 27174cd6e8e4 - main - devel/py-userpath: Update to 1.8.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: 27174cd6e8e4f979577c4d311a1c3bbefa91d6bf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646677092; 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=HxKGwRkkSCJ7ulx0bB95miugGQjGbJmfsnDBXJFXRdk=; b=gOJVYKBifaQ5L2zXrFsgiJV651iB+EfF9Dn3SmEs/pO6vH/nRYL0WzNtNDKMJ9uKDpnqbg yOtAXVuDUXziSP3gcR556cjK4uB8ibI6mY6qDXYsSaRcZT85md34kfiyyi+dkIz6oOh58h v3fYAPhSWliejnORtE3gzlExUvNmqtJdUOum/X2nCJGDGOIRAlDJ50N+Nola5VMX2au1IA 9x/HjpeZj5iPVUTu+5wd8oe4KwD3uKaYNqtFCH4QCAlLUXkcRSzjYiwPEoI1VgoBE+U8DQ n24/64lxL2yMKDlTbB2dllkSCx9WTeFnqLWfK1CUN9ji3ZgfNEjfOaNtYpbB3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646677092; a=rsa-sha256; cv=none; b=fifgG9mglSmwTA1qh5RfiBr/zrOGVXEvS9iyJLez3JPiR4MZwlbX/Kja7Xgs8vaImPvq0q e7b0HGBroUSOyxIPHFHdQrbzkaglUSh6tnYNxC/G8LaP9Z6SeruJvJNMTKdYHdtPBwYkhB XRijhNN6rtz3qIDcVZ6dCqMUe32XqqGPvGK8c1RdZeQZFsMZu924bl2wKfIBa/0N7Sh8+P a8t6B18VR6QSqp774IC9GqxF8uMsCaGDoOV57wYx3fkAcxHLixY5XCcV6bZ5ab4rvqzDDp NciQf7meVvbfpee7BJOMW0GjqFU57x1jRmsZUXkNmHlGfMM/2hsaKyLxrnj1uQ== 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=27174cd6e8e4f979577c4d311a1c3bbefa91d6bf commit 27174cd6e8e4f979577c4d311a1c3bbefa91d6bf Author: Po-Chuan Hsieh AuthorDate: 2022-03-07 17:53:51 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-07 18:11:19 +0000 devel/py-userpath: Update to 1.8.0 - Update LICENSE Changes: https://github.com/ofek/userpath/releases --- devel/py-userpath/Makefile | 13 +++++++------ devel/py-userpath/distinfo | 6 +++--- devel/py-userpath/files/setup.py | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 9 deletions(-) diff --git a/devel/py-userpath/Makefile b/devel/py-userpath/Makefile index f6daf52a8d0c..b97839bac385 100644 --- a/devel/py-userpath/Makefile +++ b/devel/py-userpath/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh PORTNAME= userpath -PORTVERSION= 1.7.0 +PORTVERSION= 1.8.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -9,16 +9,17 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Add locations to the user PATH without elevated privileges -LICENSE= APACHE20 MIT -LICENSE_COMB= dual -LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE -LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + .include diff --git a/devel/py-userpath/distinfo b/devel/py-userpath/distinfo index 69e7006606fe..d9b4418a1d1f 100644 --- a/devel/py-userpath/distinfo +++ b/devel/py-userpath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1628103130 -SHA256 (userpath-1.7.0.tar.gz) = dcd66c5fa9b1a3c12362f309bbb5bc7992bac8af86d17b4e6b1a4b166a11c43f -SIZE (userpath-1.7.0.tar.gz) = 20360 +TIMESTAMP = 1646058052 +SHA256 (userpath-1.8.0.tar.gz) = 04233d2fcfe5cff911c1e4fb7189755640e1524ff87a4b82ab9d6b875fee5787 +SIZE (userpath-1.8.0.tar.gz) = 11708 diff --git a/devel/py-userpath/files/setup.py b/devel/py-userpath/files/setup.py new file mode 100644 index 000000000000..d0513408f9ba --- /dev/null +++ b/devel/py-userpath/files/setup.py @@ -0,0 +1,34 @@ +# -*- 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=[ + 'tests', + 'userpath', + ], +)