From nobody Sat Sep 17 18:38:16 2022 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 4MVKSn10JLz4c2BZ; Sat, 17 Sep 2022 18:38:17 +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 4MVKSn0N1cz3jx4; Sat, 17 Sep 2022 18:38:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663439897; 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=AhT++6js9J/YZYPGjCwMHqwt+7CyNUakCLg/wHgt3U4=; b=gZE4ewDzTwzJBO7DW7XJbhNA+0vhcRsSATqEierpUIYEtiTwgbCjyrl4otg4tikuEuiT+0 0WOaGizQYm9/gIF4bUPP32R4M79aDrjUqDDiOdS5pQVuJXqNDSuUweyrk3G+uDlsdApZby MQQ1WeNCj9KOWAre9lAI1ADVOUriDRgEu0fY8Qi6B/HImXRkpyYoFd8awqnVLEbdgDJ3S/ kWosIPmhMH8dDe0JLwdhEqGITgh0oWvMDzIaBQQ4a/k6ipM+EX5wZyviok5BtQ3nGhj0v+ /z6GoxVM/zVNtDN/ElGHF8eDhy98RqlOSYXF1STHI7P/wcuvrDzBmWq+HtReYw== 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 4MVKSm6L93znKY; Sat, 17 Sep 2022 18:38:16 +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 28HIcGqf088636; Sat, 17 Sep 2022 18:38:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28HIcG60088635; Sat, 17 Sep 2022 18:38:16 GMT (envelope-from git) Date: Sat, 17 Sep 2022 18:38:16 GMT Message-Id: <202209171838.28HIcG60088635@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: f017dfa2409e - main - textproc/py-transpopy: Do not install LICENSE in ${PREFIX} 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: se X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f017dfa2409e8851ac79b85c731e8f15d76e7e2f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663439897; 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=AhT++6js9J/YZYPGjCwMHqwt+7CyNUakCLg/wHgt3U4=; b=uSYvKk00LX2S39hM26GEih0XWp4jIhROYVo2+ydTeOrCU0VMpChrMuPVje8rJ4B4N9M6kV QbDXUDRKuU0HH0bs/3uBAsA5B91F0byLubib0DwLl8FFVMndcp7ZMxfQLyYuwOG9Uyjx7e wDIMo3LdfYSNXHuslw8vihmI1WAH8324jUqSA6rfuMpdFvZK2VHIXzp0AxS945uLuSfSKv SdLFpzRSTK1bxyQGpJ7AG1WIq3ehrZGiv9Hcxff1VKowCyN+rzdtthXbzJcE43R/pyBoRq bVTwTTyegB5f7pWMpb9E8ul9mcPPBhmp6WIzuED3tBy36QwSXoCcE4kG9RhgAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663439897; a=rsa-sha256; cv=none; b=vcaXbadvhlJMB7jGHrv+bT1MkKuaMQOUxKCGG15ERVAZphIv+rq7JF/+SFvwE7jORPZj/V VsYkfzXUvhz+GBIka5g79YKovNq2YlJR56POeQaWHXhhV7Bf4kZd2iiz7K0GxLuqod/Vvh qi/+JQZxg7ASjE5mRHjsOSp2s79GB8T9phlkByu4cKsMIIlqlfHoRDHfA4R1EwaQa8o5EQ vrWqi0Fuq2HW7h3BPXH2k5AWOsf9HtVSVONkl/0QfgNmbGwGjNjUGyMnAXrr1h81+MfEkn OPfmqLVJe0YM4e8Lzl7sGANTWlYscPp8nkYytd7rfRISn05LKTqn0B2YUxXDPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/ports/commit/?id=f017dfa2409e8851ac79b85c731e8f15d76e7e2f commit f017dfa2409e8851ac79b85c731e8f15d76e7e2f Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2022-09-17 18:33:36 +0000 Commit: Stefan Eßer CommitDate: 2022-09-17 18:38:04 +0000 textproc/py-transpopy: Do not install LICENSE in ${PREFIX} In addition to the patch provided by Jesús Daniel Colmenares Oviedo I have added the license file to the package for installation in the system's licenses directory. PR: 236619 --- textproc/py-transpopy/Makefile | 4 +++- textproc/py-transpopy/files/patch-setup.py | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/textproc/py-transpopy/Makefile b/textproc/py-transpopy/Makefile index 0c63df779692..8991cb3e8950 100644 --- a/textproc/py-transpopy/Makefile +++ b/textproc/py-transpopy/Makefile @@ -1,14 +1,16 @@ PORTNAME= transpopy PORTVERSION= 0.2.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= contato@kanazuchi.com COMMENT= Translate PO file strings with Google Translate API -WWW= https://github.com/kanazux/transpopy +WWW= https://github.com/kanazux/transpopy/ LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-cloud-translate>=0:www/py-google-cloud-translate@${PY_FLAVOR} diff --git a/textproc/py-transpopy/files/patch-setup.py b/textproc/py-transpopy/files/patch-setup.py new file mode 100644 index 000000000000..f82e2e616fa2 --- /dev/null +++ b/textproc/py-transpopy/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2022-09-17 02:34:34 UTC ++++ setup.py +@@ -7,7 +7,6 @@ setup(name='transpopy', + install_requires=['google-cloud-translate'], + packages=['transpopy'], + package_data={'transpopy': ['transpopy/*']}, +- data_files=[('LICENSE')], + entry_points={'console_scripts': ['transpopy=transpopy.__main__:main']}, + description='A simple script to translate po files.', + long_description=("Read a po file and translate the msgids with the "