From nobody Wed Mar 15 08:45:27 2023 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 4Pc3r76BbPz3yF5R; Wed, 15 Mar 2023 08:45:27 +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 4Pc3r73XtHz3tQ9; Wed, 15 Mar 2023 08:45:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678869927; 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=/8xsYFVeVUbQrt0h+yeS5vjakvEW1WIivdBqJxRlqSo=; b=kJQC7dYpAa00XW0RLwoSkCt4tAWAzM/qFKll5JEw8RM79PZXf6G5waCUeGlPfrONi7UI6/ /PPahC1Uh6p4e86A9XsM6kXBZMoWY8EStj3/ybcpwwOGcYzAoevAgMlBnqJY7X19CyNloO RcNEeTzJlU1DDNhQXWKZ7b07usMYDCGbQfMFsvjbicIMq+IfIaFxb6ANKRKihGsMgwOcGU 8xg0pc2TQNujssUsMrSpmM26y8l2kOMnkubzy9VaEvFMbiSUZGEH8u5NEKcl5yKFicQYjt aN2hTtnWKVKIoE2YEVYw2pHbGruP8mxDvi+T255j9MwjwHzt5p5GtWo0uifZKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678869927; 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=/8xsYFVeVUbQrt0h+yeS5vjakvEW1WIivdBqJxRlqSo=; b=QkHu0UcqZP2hgzl3cvR2UoJyblhZr5ATXuOLS0fgt6RjcBdcBPffVA1pxv6p685r0beqpJ cMBpH7E/s1SelYCteu/5uAhAoPZcUBbTIgM4eIkSA5aT4Hw1++PpNyQoiOBJmlP5rGCoiN 7Vx8RLjA3UPr6mUohHA5G/0J1QV02XhsZ05CC2yqfOuaO7A0MRq1XYqcpA6KJX9tFuIruJ FHVLtjQLb3uFjfWyzdN29C6P7TShM9IuXYWZbNFr/4DTtN1CaCPBCK0sS+A1ON8z5vAOVL zajS67xSNs7rBiHIQLsNB9zeqV+ihJtZbgFsdbd8tF9IcYtZVwFsiH6krKwT6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678869927; a=rsa-sha256; cv=none; b=mpj6sS3dyCA+zjb3VQcZIQvrpkzc8ar1RdaCBmUE5jgllgBL5UcgOQ5yTp79mxBoSZEQKa gaLyoIhFvpjfP52QUXMoVmRBVoUSzus2h1n76u+ViTma9W5zZb3+QEfde462OEICS+MC4X 3reylVxqFd/bOY2zMIepfqlNojWPPQJ14H0JoUQgi8CmIpIGoiShypA8DONnbBPJC12DsQ AklORqKW6IN9mKcK1AJbRRFU0nx6kE25YkxCRJpFNmAPAMlQDPXQGwGDT5JV5fIELR3fk2 4TJGBQeXkWVss8cmeFQMGiKN+xmWVzm0LesWzDmiJgvua7J+a2Ndylkkl8uDUg== 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 4Pc3r72PDjz18sM; Wed, 15 Mar 2023 08:45:27 +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 32F8jRl4068285; Wed, 15 Mar 2023 08:45:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32F8jRqP068284; Wed, 15 Mar 2023 08:45:27 GMT (envelope-from git) Date: Wed, 15 Mar 2023 08:45:27 GMT Message-Id: <202303150845.32F8jRqP068284@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: b32e04acf371 - main - textproc/txt2tags: Adopt/Update to 3.8 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b32e04acf37101648de204a99bd70068c1224b61 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=b32e04acf37101648de204a99bd70068c1224b61 commit b32e04acf37101648de204a99bd70068c1224b61 Author: Nuno Teixeira AuthorDate: 2023-03-15 08:32:33 +0000 Commit: Nuno Teixeira CommitDate: 2023-03-15 08:45:11 +0000 textproc/txt2tags: Adopt/Update to 3.8 - Switch to DISTVERSION - Use MASTER_SITES=PYPI ChangeLog: https://github.com/txt2tags/txt2tags/releases/tag/3.8 --- textproc/txt2tags/Makefile | 38 +++++++++----------------------------- textproc/txt2tags/distinfo | 6 +++--- textproc/txt2tags/pkg-descr | 12 +++++++++++- 3 files changed, 23 insertions(+), 33 deletions(-) diff --git a/textproc/txt2tags/Makefile b/textproc/txt2tags/Makefile index a351bd66fb9d..14c421878e83 100644 --- a/textproc/txt2tags/Makefile +++ b/textproc/txt2tags/Makefile @@ -1,39 +1,19 @@ PORTNAME= txt2tags -PORTVERSION= 3.7 -CATEGORIES= textproc +DISTVERSION= 3.8 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Convert simply formatted text into markup (e.g., HTML) +MAINTAINER= eduardo@FreeBSD.org +COMMENT= Convert plain text into many markup languages WWW= https://txt2tags.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= python:3.6+ shebangfix -SHEBANG_FILES= txt2tags.py -USE_GITHUB= yes -NO_BUILD= yes -NO_ARCH= yes - -PLIST_FILES= bin/${PORTNAME} -PORTDOCS= * -PORTEXAMPLES= * - -OPTIONS_DEFINE= DOCS EXAMPLES +USES= python +USE_PYTHON= autoplist distutils -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/txt2tags.py ${STAGEDIR}${PREFIX}/bin/txt2tags - -do-install-EXAMPLES-on: - @cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} - @cd ${WRKSRC} && ${COPYTREE_SHARE} extras ${STAGEDIR}${EXAMPLESDIR} - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} -.for doc in markup rules userguide - @cd ${WRKSRC}/docs/${doc} && ${WRKSRC}/txt2tags.py ${doc}.t2t - ${INSTALL_DATA} ${WRKSRC}/docs/${doc}/${doc}.html ${STAGEDIR}${DOCSDIR} -.endfor +NO_ARCH= yes .include diff --git a/textproc/txt2tags/distinfo b/textproc/txt2tags/distinfo index e57b8f0886da..fb32dbe0ea45 100644 --- a/textproc/txt2tags/distinfo +++ b/textproc/txt2tags/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1613155353 -SHA256 (txt2tags-txt2tags-3.7_GH0.tar.gz) = ba745fc1aa98996578afadeb325173f7032a40f161dc4f6f7a7aa08848d11d03 -SIZE (txt2tags-txt2tags-3.7_GH0.tar.gz) = 248392 +TIMESTAMP = 1678867941 +SHA256 (txt2tags-3.8.tar.gz) = 379869e866ed85225181ac65583827781a166c907de8bb40a9f3daf7b16c3483 +SIZE (txt2tags-3.8.tar.gz) = 51692 diff --git a/textproc/txt2tags/pkg-descr b/textproc/txt2tags/pkg-descr index 2f50fd46b459..61cceb1954ef 100644 --- a/textproc/txt2tags/pkg-descr +++ b/textproc/txt2tags/pkg-descr @@ -1 +1,11 @@ -txt2tags is a utility to turn simply formatted text into markup (e.g., HTML). +txt2tags reads a text file with minimal markup such as **bold** and //italic// +and converts it to many formats, such as: + +- AsciiDoc +- DocBook +- HTML +- LaTeX +- MoinMoin +- UNIX man page +- Wikipedia/MediaWiki +- and many others.