From nobody Fri Sep 13 08:58:48 2024 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 4X4pBd0TVYz5WRhW; Fri, 13 Sep 2024 08:58:49 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4pBc3Q7Bz4kHP; Fri, 13 Sep 2024 08:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726217928; 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=0T6aps//KdrQ/dtDBSe+45NYQlNaPCpxc5wekGMRDWo=; b=QEU1gYbd15zsS0PYLc/cVB0XUVMVa0GZmakvInqLfqGN4Q5Tv09lB5P9RZ52uDYKRG4aEW 2FocJ5/0bz8yvt/eG5O9/pW3HzaTSyhm599Ohvl/7rGWk0/eyR3rc6RUANJLdPOt1Rcqk8 1GBPw0E1AcEVnvHeLrA98huESIM+hGm6Gf6hhHAUoOGv8Lw08yuypQQQvJbqSbVysY8UhB nXHXlnanm6FTBM1zPKxDOP9hov7K8+IuplCpYgbozEVTymv5KleIBD9RCRrBLwrV5bNyPf CubsYyptGX3fZEVs4HWjRggjcHCe0dzG/9wawp24urTSnj5u3jb+OxLHi7E6DA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726217928; a=rsa-sha256; cv=none; b=uKXTM1CIwO6+tlnvRH0xaC+/BZJ5VqA7a7MFOKU/CDoXXLD84GyEkIwVvsP0eSQsff3pa0 u0JMOzS96IrfxnWbC85D7a7CuZ0XiXZA+epoOcswXRVtVJ6wIwG+9GJ3nAmMdryi4m4fOs EPrh3zkLj5k/xXSs0f39SGCEtCxAPptJ5yZhusZEabNZ52KERaMxxgZVG8l1OVqZEu/N2K DwTvD63s2eUdCs2PT+tSfk2xkAq2a3Cvefb+oYgFV7pSnzPfo4miXp38s9gbBcBWJhoqt/ P5UAK5slKWKbSbYe5X08LEUTr9TfUOQJnKbLP2fZOj3vybP/nc5/czQqycm69g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726217928; 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=0T6aps//KdrQ/dtDBSe+45NYQlNaPCpxc5wekGMRDWo=; b=gp6K1ykQainb1gYr/4pPpm14YijDW/VeBf9xAtqrIUXaDGIDB8QrZrSYv//NwTA3OAnfUq 6ctVssBVEeRYBoa4Eyxw+tvtRM+Oyz/RpmfdJ6p3qhTMuGVkn+Z4NDV12RLg2XZ2FI+T+R K3/fEq3HrPdm+ERxImKa6GTwpjL6FtvP08LBIUwWSB+/tryeSnKC+WNrhnfsvt7cAJMBcU AXmdOJXeyBtmY6QDxjr/rr553+rABaYH6ifp44s/sDS2QoEdzRXl40BTB6wLdiL5Qt1Qn6 CzX0yvXM42EHsgj+vb8AT7KpEu5UcnwzNPnktBtLw2BbN0dLliG9G9yfEy+0xw== 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 4X4pBc2m76zc8Q; Fri, 13 Sep 2024 08:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48D8wmUW022473; Fri, 13 Sep 2024 08:58:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48D8wmfM022470; Fri, 13 Sep 2024 08:58:48 GMT (envelope-from git) Date: Fri, 13 Sep 2024 08:58:48 GMT Message-Id: <202409130858.48D8wmfM022470@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 97f4659b8c44 - main - textproc/py-urlscan: Add new port 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 97f4659b8c4434200efc8d0c51b9272b61e2ccd3 Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=97f4659b8c4434200efc8d0c51b9272b61e2ccd3 commit 97f4659b8c4434200efc8d0c51b9272b61e2ccd3 Author: Nicola Vitale AuthorDate: 2024-09-13 08:53:50 +0000 Commit: Nicola Vitale CommitDate: 2024-09-13 08:53:50 +0000 textproc/py-urlscan: Add new port Urlscan parses an email message or file and scans it for URLs and email addresses. It then displays the URLs and their context within the message, and allows you to choose one or more URLs to send to your Web browser. Alternatively, it send a list of all URLs to stdout. https://github.com/firecat53/urlscan --- textproc/Makefile | 1 + textproc/py-urlscan/Makefile | 31 +++++++++++++++++++++++++++++++ textproc/py-urlscan/distinfo | 3 +++ textproc/py-urlscan/pkg-descr | 4 ++++ 4 files changed, 39 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index a00f74288f9f..bb53bba40754 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1670,6 +1670,7 @@ SUBDIR += py-ufal.udpipe SUBDIR += py-unicodeitplus SUBDIR += py-untangle + SUBDIR += py-urlscan SUBDIR += py-wasabi SUBDIR += py-wavedrom SUBDIR += py-wcmatch diff --git a/textproc/py-urlscan/Makefile b/textproc/py-urlscan/Makefile new file mode 100644 index 000000000000..7aba60e9e0ae --- /dev/null +++ b/textproc/py-urlscan/Makefile @@ -0,0 +1,31 @@ +PORTNAME= urlscan +DISTVERSION= 1.0.3 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Mutt and terminal url selector (similar to urlview) +WWW= https://github.com/firecat53/urlscan + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4.0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=1.25:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid>=1.2.1:devel/py-urwid@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +OPTIONS_DEFINE= DOCS + +post-patch: + ${REINPLACE_CMD} \ + -e '/^LICENSE =/d' ${WRKSRC}/pyproject.toml + +post-patch-DOCS-off: + ${REINPLACE_CMD} \ + -e '/^"README.md" =/d' ${WRKSRC}/pyproject.toml + +.include diff --git a/textproc/py-urlscan/distinfo b/textproc/py-urlscan/distinfo new file mode 100644 index 000000000000..c5eb65f62241 --- /dev/null +++ b/textproc/py-urlscan/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726214620 +SHA256 (urlscan-1.0.3.tar.gz) = 9df791861f0baea1d9c7254f9f98ed23fc193219bbd4edd1c4fcfce7d14ef7d7 +SIZE (urlscan-1.0.3.tar.gz) = 35771 diff --git a/textproc/py-urlscan/pkg-descr b/textproc/py-urlscan/pkg-descr new file mode 100644 index 000000000000..1d2177ec7ab0 --- /dev/null +++ b/textproc/py-urlscan/pkg-descr @@ -0,0 +1,4 @@ +Urlscan parses an email message or file and scans it for URLs and email +addresses. It then displays the URLs and their context within the message, +and allows you to choose one or more URLs to send to your Web browser. +Alternatively, it send a list of all URLs to stdout.