From nobody Mon Oct 3 17:13:34 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 4Mh6qg0lbdz4djmg; Mon, 3 Oct 2022 17:13:35 +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 4Mh6qg08P5z3Zsw; Mon, 3 Oct 2022 17:13:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664817215; 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=YPoRlK9dU9gfq8QVAweqaB5L/4Jt7flFlWN6HZQYkqs=; b=UfQz/Eh6Mplm3BYj39NE6PccUAKbeGRWdwuVj/SPzMcSo7brQ7qYNxRKchfJWRZMzS8zzW wPGLACGeuhnzsK1OVYfyOMDMvju22VXH9td3RY7/eTVXfatIONfNbSsPAGYzYvLwnSxyiD AsceTN58qye/3xpbynn7/7XsfQlQhnDfuzD3Kok7XtXUet6KmEKPO1N6Z9QVysQoGxgCBs HOmksxsLR9NSYiyBTRvnDeYtfBTAmIUjVf2cYrT1/xIbuLYE4TftG4RGJ1zqXAriuVx1Lw QbZJaRjNCkomrT8DShkKkF/q7WdoTA9E3Lqq1YWFsB9wk8qebKWpP1XMdLE1Mg== 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 4Mh6qf6KytzH2N; Mon, 3 Oct 2022 17:13:34 +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 293HDYRl013045; Mon, 3 Oct 2022 17:13:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293HDYx4013044; Mon, 3 Oct 2022 17:13:34 GMT (envelope-from git) Date: Mon, 3 Oct 2022 17:13:34 GMT Message-Id: <202210031713.293HDYx4013044@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: 7269675776ae - main - devel/py-http-prompt: Update to 2.1.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: 7269675776ae318a37a4ac56b36042250873a2c2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664817215; 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=YPoRlK9dU9gfq8QVAweqaB5L/4Jt7flFlWN6HZQYkqs=; b=sxMTlwKsYZ1BSSXwHWlgtKgcNLfDu0mzdcmyw2BnVla404mkOchwuuf6iXefL4equ5i3Bm ZryetyoBHyrmvAGRPUKBxU7E3Rnp9mHGTemJkrihBZlzegpu6RbY8+8+nW82m3PJAd3xeD +c2wjK4tdcC4bEA4/FOmk7s8yTiFHVQKpEWN9I6IlWv7wKVn/DqQL4pPYF4KzmPXhpzww8 jZs04oE2wWvzEc9ijD1c/ExkwsVHqvdGiyUY0A0UvLOQD6UIcypgch6wj49T+RVXHmwdfd dNsxtS1ESw69geD9qBnYYt/+T+prxdhDLM9xuAy3Jsyn7xQr/s9KOh/9fkbHqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664817215; a=rsa-sha256; cv=none; b=frVwuMhUH6i4SkhCOvyEJbR7v6o+SnajnJ7QafRN0rkGiS/2WisWnqYwfekMH4SEV526yT 7QERx5znzOXyO/f5RNxcgOmqXyGHys9CclugN1dT9EnQSgUvB8qeKKWAK2Jib1sk3jTZIM iNqXqlLQjpgcvyQgxmr8xyHeAKDQwm63/x/87tLbkaWeSVIrZU9sdGSDv1Kr7uoQGjKJs6 UUNSdvgigh9qXZYPLsd5e97RP1PjOIkS0TRnoaIzZuHUe4IhTf5hxTHNkIV5d0Yt504Ftc 1otDsiEU7EKhjcW24uavV4f7g/hAm6LsKQXymMKD0rmZ+5Anh469ihdqvEdYtA== 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=7269675776ae318a37a4ac56b36042250873a2c2 commit 7269675776ae318a37a4ac56b36042250873a2c2 Author: Po-Chuan Hsieh AuthorDate: 2022-10-03 17:05:08 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-03 17:10:29 +0000 devel/py-http-prompt: Update to 2.1.0 - Sort RUN_DEPENDS - Update prompt-toolkit patch [1] Changes: https://github.com/httpie/http-prompt/releases Obtained from: https://github.com/httpie/http-prompt/commit/69439599cac3ac243729ebe6be20b3964bb3a4dd [1] --- devel/py-http-prompt/Makefile | 11 ++++--- devel/py-http-prompt/distinfo | 6 ++-- .../files/patch-http_prompt-utils.py | 13 --------- ...tch-http_prompt-cli.py => patch-prompt-toolkit} | 34 +++++++++++++++++----- devel/py-http-prompt/files/patch-requirements.txt | 12 -------- 5 files changed, 35 insertions(+), 41 deletions(-) diff --git a/devel/py-http-prompt/Makefile b/devel/py-http-prompt/Makefile index be6de29e283a..13132b20322c 100644 --- a/devel/py-http-prompt/Makefile +++ b/devel/py-http-prompt/Makefile @@ -1,6 +1,5 @@ PORTNAME= http-prompt -PORTVERSION= 1.0.0 -PORTREVISION= 3 +PORTVERSION= 2.1.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,14 +12,14 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=5.0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpie>=2.4.0:www/py-httpie@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parsimonious>=0.6.2:textproc/py-parsimonious@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}prompt-toolkit2>=2.0.0<2.1.0:devel/py-prompt-toolkit2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prompt-toolkit2>=2.0.0<3.0.0:devel/py-prompt-toolkit2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.1.0:textproc/py-pygments@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}httpie>=0.9.2:www/py-httpie@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}yaml>=3.0:devel/py-yaml@${PY_FLAVOR} \ USES= python:3.6+ -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/devel/py-http-prompt/distinfo b/devel/py-http-prompt/distinfo index 622070362fdb..936fd8817b0c 100644 --- a/devel/py-http-prompt/distinfo +++ b/devel/py-http-prompt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1541542190 -SHA256 (http-prompt-1.0.0.tar.gz) = 41c24349cb0ca279ddfbb9db97fb26c43d7ab448ab30fd485ba17c74c20606ad -SIZE (http-prompt-1.0.0.tar.gz) = 21364 +TIMESTAMP = 1664767914 +SHA256 (http-prompt-2.1.0.tar.gz) = eee71a00fed0b8a2a35bb338b269be7a20e8a1a6f6465a65561d76a21521e7f3 +SIZE (http-prompt-2.1.0.tar.gz) = 22672 diff --git a/devel/py-http-prompt/files/patch-http_prompt-utils.py b/devel/py-http-prompt/files/patch-http_prompt-utils.py deleted file mode 100644 index cf338f5e307a..000000000000 --- a/devel/py-http-prompt/files/patch-http_prompt-utils.py +++ /dev/null @@ -1,13 +0,0 @@ -Obtained from: https://github.com/jonathanslenders/http-prompt/commit/34de86178d8ae2b478e0ad989222aab24dd4c046 - ---- http_prompt/utils.py.orig 2018-11-04 14:03:53 UTC -+++ http_prompt/utils.py -@@ -3,7 +3,7 @@ from __future__ import unicode_literals - import math - import re - --from prompt_toolkit.shortcuts import create_output -+from prompt_toolkit.output.defaults import create_output - from six.moves import range - - diff --git a/devel/py-http-prompt/files/patch-http_prompt-cli.py b/devel/py-http-prompt/files/patch-prompt-toolkit similarity index 63% rename from devel/py-http-prompt/files/patch-http_prompt-cli.py rename to devel/py-http-prompt/files/patch-prompt-toolkit index bba3bce0d64c..428eb12ada1d 100644 --- a/devel/py-http-prompt/files/patch-http_prompt-cli.py +++ b/devel/py-http-prompt/files/patch-prompt-toolkit @@ -1,9 +1,8 @@ -Obtained from: https://github.com/jonathanslenders/http-prompt/commit/34de86178d8ae2b478e0ad989222aab24dd4c046 - https://github.com/jonathanslenders/http-prompt/commit/d3d84de2aa7f3fce521e5ac63f4bbcf9a2166501 +Obtained from: https://github.com/httpie/http-prompt/commit/69439599cac3ac243729ebe6be20b3964bb3a4dd ---- http_prompt/cli.py.orig 2018-11-04 14:03:53 UTC +--- http_prompt/cli.py.orig 2021-01-05 12:12:23 UTC +++ http_prompt/cli.py -@@ -9,11 +9,11 @@ import click +@@ -13,11 +13,11 @@ import click from httpie.plugins import FormatterPlugin # noqa, avoid cyclic import from httpie.output.formatters.colors import Solarized256Style @@ -17,8 +16,8 @@ Obtained from: https://github.com/jonathanslenders/http-prompt/commit/34de86178d +from prompt_toolkit.styles.pygments import style_from_pygments_cls from pygments.styles import get_style_by_name from pygments.util import ClassNotFound - from six.moves.http_cookies import SimpleCookie -@@ -135,7 +135,7 @@ def cli(spec, env, url, http_options): + +@@ -140,7 +140,7 @@ def cli(spec, env, url, http_options): style_class = get_style_by_name(cfg['command_style']) except ClassNotFound: style_class = Solarized256Style @@ -27,7 +26,7 @@ Obtained from: https://github.com/jonathanslenders/http-prompt/commit/34de86178d listener = ExecutionListener(cfg) -@@ -159,7 +159,9 @@ def cli(spec, env, url, http_options): +@@ -164,7 +164,9 @@ def cli(spec, env, url, http_options): text = prompt('%s> ' % context.url, completer=completer, lexer=lexer, style=style, history=history, auto_suggest=AutoSuggestFromHistory(), @@ -38,3 +37,24 @@ Obtained from: https://github.com/jonathanslenders/http-prompt/commit/34de86178d except EOFError: break # Control-D pressed else: +--- http_prompt/utils.py.orig 2021-03-05 14:07:33 UTC ++++ http_prompt/utils.py +@@ -4,7 +4,7 @@ import math + import re + import shlex + +-from prompt_toolkit.shortcuts import create_output ++from prompt_toolkit.output.defaults import create_output + + + RE_ANSI_ESCAPE = re.compile(r'\x1b[^m]*m') +--- requirements.txt.orig 2021-03-05 14:07:33 UTC ++++ requirements.txt +@@ -1,6 +1,6 @@ + click>=5.0 + httpie>=2.4.0 + parsimonious>=0.6.2 +-prompt-toolkit>=1.0.0,<2.0.0 ++prompt-toolkit>=2.0.0,<3.0.0 + Pygments>=2.1.0 + PyYAML>=3.0 diff --git a/devel/py-http-prompt/files/patch-requirements.txt b/devel/py-http-prompt/files/patch-requirements.txt deleted file mode 100644 index 0fbd1f3e4920..000000000000 --- a/devel/py-http-prompt/files/patch-requirements.txt +++ /dev/null @@ -1,12 +0,0 @@ -Obtained from: https://github.com/jonathanslenders/http-prompt/commit/34de86178d8ae2b478e0ad989222aab24dd4c046 - ---- requirements.txt.orig 2018-11-04 14:03:53 UTC -+++ requirements.txt -@@ -1,6 +1,6 @@ - click>=5.0 - httpie>=0.9.2 - parsimonious>=0.6.2 --prompt-toolkit>=1.0.0,<2.0.0 -+prompt-toolkit>=2.0.0,<2.1.0 - Pygments>=2.1.0 - six>=1.10.0