From nobody Sat May 13 15:44:24 2023 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 4QJVLJ31Czz4BVTM; Sat, 13 May 2023 15:44:24 +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 4QJVLJ2LHyz4N2x; Sat, 13 May 2023 15:44:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683992664; 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=mGW6Kccc4ZOO6ZSvk9I1G0kyquH96LpyMKuw+RsT6Vs=; b=Vng4FBAC/td8KFnWgyOpIo5wlh/xsqrH0PJxsU9Ptrq5wroRuEQPtO7PcVzUohCexxObEs aGSTEXQApRdugjV3nLJ8uZwJY3h1YrM8JHN8FLyYh6HOP0u0CbIvaYinWDavIM4udPP16S sf7BYv4w2LPjStwcNcO+cINP1Vq3pbFvejQEssHDMS0MrQyTg+gyAw0uQaCLj1DbBmqvy9 byBYcmQJrokjECHSygcE7KSR0PDhiF/6c0Pm5Z3m21W+EbqMcRn+jAWRF+J+4wNiDwltOa LP0Sckhm6Pp05JKvdCaET7FNdEEWfJeBqJx2QE6mZcqtzCqW1BDMKRnYEyeWNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683992664; 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=mGW6Kccc4ZOO6ZSvk9I1G0kyquH96LpyMKuw+RsT6Vs=; b=u31oXsS3zRnGZ+d3FhwxJtLqiZW4xHp7qmVadB43d/rpBLysf1X27c80StAsyZo5OzLzjb gugOllgi7GdFoVb9+t2Fi+rg2lno9jxXw7nMWLUy6kmUV+CtFTh6Kndwqa915Z3G6LJFhR bRqWfqpESGPXkktmVLY8kz3bmWtfBxO+R7rV3Q5CQ750qnIU7Xt75i7VmFnYfkDpgzHAjL eQIAVJLSdtoEsWdSTPBybypJmNJm7M41vUXv8zuDkZrzpu9Wsjvv91t5XN4sxvQ6K9R/qn Et2j5ZDGo107X9KEt6dmBnr2AUonzlYSwN5dJdsXl14mDXAuTE0RGVdLV3NaTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683992664; a=rsa-sha256; cv=none; b=MLOX19ojpTV7ylFxFaom/OsK/bYNH4+wcqjMhWbj0ieM2EjjYM0zBKgI2izXfaosbfsCbd pC94NBiTh1kX94pAOfcoeLMbIgNE5sH3wcKVxs1dkRHyyJQimTX6e8nUQAAfegmiXfqrZ7 a329BVnM3qt1Q62ki4dTYnIHAQKEm6aEyY8MdZYaTSfu9wbDVq1RDTY0CT5bcs9nmGRpTr ryHaG+mr7eVBWJGoz1b2/mH4VwinJZqMBSkHcSlkGT0T+zE4rMLFJp5l0CEzBpigtSB+91 To12y1xcByD2dE9R1e2ed7tBBNTLWX9ir6mtoVai/zf36JcGInhIuEX4v/7nag== 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 4QJVLJ1NzDzNMx; Sat, 13 May 2023 15:44:24 +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 34DFiOAS032440; Sat, 13 May 2023 15:44:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34DFiOoH032439; Sat, 13 May 2023 15:44:24 GMT (envelope-from git) Date: Sat, 13 May 2023 15:44:24 GMT Message-Id: <202305131544.34DFiOoH032439@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: 3f4c5c37c17b - main - audio/py-pyttsx3: Add 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3f4c5c37c17b673a77ed1af44d699dcedac3e561 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f4c5c37c17b673a77ed1af44d699dcedac3e561 commit 3f4c5c37c17b673a77ed1af44d699dcedac3e561 Author: Rainer Hurling AuthorDate: 2023-05-13 15:32:21 +0000 Commit: Rainer Hurling CommitDate: 2023-05-13 15:43:01 +0000 audio/py-pyttsx3: Add port Offline Text To Speech (TTS) converter for Python. Unlike alternative libraries, it works offline. Requires some post-release commits from Github due to dependency on audio/espeak-ng[1]. If release version 2.90 is installed via e.g. PIP instead, it will not find audio/espeak's libespeak-ng.so.1 library. The port is needed as one of the dependencies of the QGIS plugin 'QChatGPT'. [1] https://github.com/nateshmbhat/pyttsx3/commit/1e2cd7fc63671a410e6ca7b53b1e3b048577e962 --- audio/Makefile | 1 + audio/py-pyttsx3/Makefile | 24 ++++++++++++++++++++++++ audio/py-pyttsx3/distinfo | 3 +++ audio/py-pyttsx3/pkg-descr | 2 ++ 4 files changed, 30 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 106aa0eeb577..d850c4db26b5 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -659,6 +659,7 @@ SUBDIR += py-pyradio SUBDIR += py-pysndfile SUBDIR += py-python-mpd2 + SUBDIR += py-pyttsx3 SUBDIR += py-resampy SUBDIR += py-simpleaudio SUBDIR += py-soundcloud diff --git a/audio/py-pyttsx3/Makefile b/audio/py-pyttsx3/Makefile new file mode 100644 index 000000000000..4b6cd87e82f7 --- /dev/null +++ b/audio/py-pyttsx3/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pyttsx3 +DISTVERSIONPREFIX= v. +DISTVERSION= 2.90-12 +DISTVERSIONSUFFIX= -g5d3755b +CATEGORIES= audio python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rhurlin@FreeBSD.org +COMMENT= Offline Text To Speech (TTS) converter for Python +WWW= https://github.com/nateshmbhat/pyttsx3 + +LICENSE= MPL20 + +LIB_DEPENDS= libespeak.so:audio/espeak-ng + +# Unfortunately found no way to use PyPI +USES= python +USE_GITHUB= yes +GH_ACCOUNT= nateshmbhat +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/audio/py-pyttsx3/distinfo b/audio/py-pyttsx3/distinfo new file mode 100644 index 000000000000..77749bff5d00 --- /dev/null +++ b/audio/py-pyttsx3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1683991178 +SHA256 (nateshmbhat-pyttsx3-v.2.90-12-g5d3755b_GH0.tar.gz) = 62378f96c255f27e5a1588959c1074e742cc4abb8c40c51d6cf9630a27ddc80b +SIZE (nateshmbhat-pyttsx3-v.2.90-12-g5d3755b_GH0.tar.gz) = 104139 diff --git a/audio/py-pyttsx3/pkg-descr b/audio/py-pyttsx3/pkg-descr new file mode 100644 index 000000000000..b5bfbb4521c9 --- /dev/null +++ b/audio/py-pyttsx3/pkg-descr @@ -0,0 +1,2 @@ +pyttsx3 is a text-to-speech conversion library in Python. +Unlike alternative libraries, it works offline.