From nobody Fri Dec 20 02:09:49 2024 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 4YDrTV0pQrz5h6jZ; Fri, 20 Dec 2024 02:09:50 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDrTV05rQz50c8; Fri, 20 Dec 2024 02:09:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734660590; 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=bY1plvzpJFwKJb/o8OzuIWXh2cl2FdcvIrrA0vMmkcY=; b=h/IpzZnAJOWwwHGYsWE1qnI/HRjbO/VnkgY5YhYwptfzbMH0VTuFMdqiSF46PMMqvkqZrI 5Ec60WsVbGjJ4fRI7rFTH5O8Vi+lS7UKWnaqoCHJQPC+LuzXQe/Glwkcl/7vTS4hgRY5NL X2FseFTOnY3YnrgTdA2sh7Ikdkegijh6pWNj3ISvTgqVysTChx4pRdPM2NCr1Fc0sonKyS skjL16JVR0E+2JFEPbTnRy/k+tIL+ODenOrGP/kU+kfWTdOy0p2t5bntaHAiRI0OtwzQmb zoSZvpt/cc0YkmHU7I+AwOhPHQZK58cT/LPZ4lbCft6FyOK6q5D39W7cR6F03Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734660590; 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=bY1plvzpJFwKJb/o8OzuIWXh2cl2FdcvIrrA0vMmkcY=; b=P5Q3ib5kfDGj4pmP9aCAgf4UfTuNCzwD1QofGUXGKfSgxqg7Vlm7e1dQg/8pPGj2ZdoMoM XXCc2a5T3NKAUE7V+/9TKkJWlAZ95/KITX3VsPuP3UYL6tnebx3UkGg/hn38hWlJkNQ6Or KOwH7toQGh7VMKGQ2rM7/DXtrFCp1p6akKSTE2nALss4Nbv918pt9B6s/vpsVuDzPnO2bP 7eM1SJ9Lt973Hvs3IJqKGGgtBAxxlaAbQcMC3Qlrjnigugc0eqCjg9iulDOFM2KOqcIvIZ x3haqk/spKeVOmAHKkNuduDkM0pWysl2RZtLrUN5Zi7N9skjgDcV3wGxgM4Hhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734660590; a=rsa-sha256; cv=none; b=qTlRrI5as34gdDLI01LtAS82i6YQXkTKNal7nL6iedu3VFpzoHuJV3BaCZ0ZuBWlYhjDSu VM4KVxgUn3G/OsUtwu0duuN39OwCOHYjUF1k1PQZY/mXICqL4ky4hfUNPjY25HSAWeBx3I jlkkpsz3t/8SfJSKoBOK/aYCmYq6oRwxou2yfukQhxjAcYwvMaGcZgP1NrGIn8QyfLJQQa E6ohyMPjsnR8RdOdwa34Jo9rVbAzV5t8Ue0E0y9v9OKZ/sFWThB1l/QgCqtLBnUgLh8Njc TwtLaKfBDvZJOOpwkyAlQI7VvI6IK7no1eRg8lg1AimbwJNEPy6Rqm8tHYa55g== 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 4YDrTT6ggGzJgf; Fri, 20 Dec 2024 02:09:49 +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 4BK29neI092752; Fri, 20 Dec 2024 02:09:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BK29n2D092749; Fri, 20 Dec 2024 02:09:49 GMT (envelope-from git) Date: Fri, 20 Dec 2024 02:09:49 GMT Message-Id: <202412200209.4BK29n2D092749@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 8c24ce913c77 - main - converters/py-mammoth: New port 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c24ce913c778a4b75aabfa12b3ba86518eb868f Auto-Submitted: auto-generated The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c24ce913c778a4b75aabfa12b3ba86518eb868f commit 8c24ce913c778a4b75aabfa12b3ba86518eb868f Author: Wen Heping AuthorDate: 2024-12-20 01:39:55 +0000 Commit: Wen Heping CommitDate: 2024-12-20 02:09:14 +0000 converters/py-mammoth: New port Mammoth is designed to convert .docx documents, such as those created by Microsoft Word, Google Docs and LibreOffice, and convert them to HTML. Mammoth aims to produce simple and clean HTML by using semantic information in the document, and ignoring other details. --- converters/Makefile | 1 + converters/py-mammoth/Makefile | 22 ++++++++++++++++++++++ converters/py-mammoth/distinfo | 3 +++ converters/py-mammoth/pkg-descr | 4 ++++ 4 files changed, 30 insertions(+) diff --git a/converters/Makefile b/converters/Makefile index 589fff718538..d963b78583d0 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -152,6 +152,7 @@ SUBDIR += py-bincopy SUBDIR += py-bsdconv SUBDIR += py-gotenberg-client + SUBDIR += py-mammoth SUBDIR += py-rencode SUBDIR += py-svglib SUBDIR += py-text-unidecode diff --git a/converters/py-mammoth/Makefile b/converters/py-mammoth/Makefile new file mode 100644 index 000000000000..c7136a2bf078 --- /dev/null +++ b/converters/py-mammoth/Makefile @@ -0,0 +1,22 @@ +PORTNAME= mammoth +DISTVERSION= 1.8.0 +CATEGORIES= converters python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Convert Word documents from docx to simple and clean HTML and Markdown +WWW= https://github.com/mwilliamson/python-mammoth + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cobble>=0:devel/py-cobble@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/converters/py-mammoth/distinfo b/converters/py-mammoth/distinfo new file mode 100644 index 000000000000..798e6d9f7127 --- /dev/null +++ b/converters/py-mammoth/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1734655288 +SHA256 (mammoth-1.8.0.tar.gz) = 7e8aa7db53f4aa7e9620b22bf8b716f1a16c84e969de1a0b1f920c756184e3d8 +SIZE (mammoth-1.8.0.tar.gz) = 50336 diff --git a/converters/py-mammoth/pkg-descr b/converters/py-mammoth/pkg-descr new file mode 100644 index 000000000000..35471d724e1f --- /dev/null +++ b/converters/py-mammoth/pkg-descr @@ -0,0 +1,4 @@ +Mammoth is designed to convert .docx documents, such as those created by +Microsoft Word, Google Docs and LibreOffice, and convert them to HTML. +Mammoth aims to produce simple and clean HTML by using semantic information +in the document, and ignoring other details.