From nobody Sat Mar 23 14:59:50 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 4V22RW0MTFz5F8hC; Sat, 23 Mar 2024 14:59:51 +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 4V22RV50r4z414F; Sat, 23 Mar 2024 14:59:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711205990; 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=XTBWWoE6SffqnEJpYAgH8As9W+rxMoIH8xL83Kem7KQ=; b=gTgsPFres0z6BjZFA9YmW4glJX2tVGvYaim1x4BJil87yXI95Sr5Pv0VtDZGWCgad6Rqrw wW+D8EZtyKCV62wc4xXWAsOvuAA2ZQDaNrQuW6fjEO/rK3ARVfsqYqXSqZLJzJloRt0Y6E DxbCJ/UCIjyxJzWt9THx4SLvj6Os4VA2iL3ujHNDuZoHC5YmPVTZwy+CoeqZF+dOkusO7d /kGrDLyQWmoHd4v5yiebNsS2NxHky78sqnLyi8TJUqvb8HWE14IESWY3iNuSkRENsnPOsd b1Wa0Ly4emXdzfTf9h2JL/iCeFMJc4FrNS6BwbSvsmnGfkBGne1/DfNlQqYXNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711205990; a=rsa-sha256; cv=none; b=siHSt5ODCLQ1ZmnRl89IG3FDXBIWWtFopOq8Xxvx+bQnglA2goiGI+NVSnlWoVvt3BwXvc xSY2pRJNmgCpSD9tDsLMNJfuld3Ovhxw42F1AsDv2TkSEl0569I5Aec+ZRFapg2ENeAy0V w5pyB7aGOlNbvMaZ4f5DIW1gnUuIjH0aVMPjHeIOG6GA2KlkF5vziSjdyWAOaQ07jEkPvV vzVdX/PfRuRBr9mGM6SNMuMZbFjiDXJ/iTxAbvChtBX8gzAVddAKnnkUOP4JqsmR2XznGC h29GaAO0aIrdZ+8/JdETSuSd9hvWRzoBbv78B0bAPbC/ZSHDGxol3SikLZV8Mg== 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=1711205990; 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=XTBWWoE6SffqnEJpYAgH8As9W+rxMoIH8xL83Kem7KQ=; b=K5yA1tpkVdz0F87CiXgLLtOHiQf1ra6LO4JEpSjXqMGyKh1VmRN9YRcb922nKIpdkX6CCF nzImN72Dc3gcZ0WBwDXIXPlTD0n3HEVD+LZqNzWpxy2HxaZOulj5QK3LtdE07V7zrN4ZPo nt9T10v1jazGQVeq1h8uYS4y5VanbGTNwhzaAsGJmQ4vqnE5WoMDXJZqVXxqYHmwMNdJZ1 CNNbHbsyElB9zDy45G6TaERYHZeMocQyAgmXLiLB+jd35dhIqsKBvH/pu6C+d3z9H6MZ0i 1iVCIUpniW3uh80zUXavPAbIDGMPLqi7Wjd2Z6QiM80KRAtKuUkRvPoR1e/afg== 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 4V22RV4RMYzsf1; Sat, 23 Mar 2024 14:59:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42NExoVp088538; Sat, 23 Mar 2024 14:59:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42NExoAT088535; Sat, 23 Mar 2024 14:59:50 GMT (envelope-from git) Date: Sat, 23 Mar 2024 14:59:50 GMT Message-Id: <202403231459.42NExoAT088535@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: afa298e0914f - main - audio/py-speechrecognition: Convert to USE_PYTHON=pep517 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: afa298e0914fc8c94c3db8bc0d050195405d3df9 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=afa298e0914fc8c94c3db8bc0d050195405d3df9 commit afa298e0914fc8c94c3db8bc0d050195405d3df9 Author: Po-Chuan Hsieh AuthorDate: 2024-03-23 14:20:35 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-23 14:31:03 +0000 audio/py-speechrecognition: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- audio/py-speechrecognition/Makefile | 5 ++++- audio/py-speechrecognition/files/patch-setup.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile index d3442bf2af88..0ce8a920b0d6 100644 --- a/audio/py-speechrecognition/Makefile +++ b/audio/py-speechrecognition/Makefile @@ -1,5 +1,6 @@ PORTNAME= speechrecognition PORTVERSION= 3.10.1 +PORTREVISION= 1 MASTER_SITES= PYPI CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +13,15 @@ WWW= https://github.com/Uberi/speech_recognition LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= flac:audio/flac \ ${PYTHON_PKGNAMEPREFIX}pyaudio>=0.2.11:audio/py-pyaudio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/audio/py-speechrecognition/files/patch-setup.py b/audio/py-speechrecognition/files/patch-setup.py index ed1c93d55aa8..5d30f144cda1 100644 --- a/audio/py-speechrecognition/files/patch-setup.py +++ b/audio/py-speechrecognition/files/patch-setup.py @@ -26,7 +26,8 @@ - - setup( - name="SpeechRecognition", +- name="SpeechRecognition", ++ name="speechrecognition", version=speech_recognition.__version__, packages=["speech_recognition"], include_package_data=True,