From nobody Tue Jan 17 21:01:36 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 4NxLsr4zS0z2v3pN; Tue, 17 Jan 2023 21:01:36 +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 4NxLsr3hfnz3y4P; Tue, 17 Jan 2023 21:01:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673989296; 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=cb83ZxTlKl9iWsN3j48tdCaZaq5CywpfaLLMyyodgzY=; b=krtc5puAwj4i5Y6dCwl4o9yAgssG2as99Cb3F0W8RVV0NJjOlrF7QQOzdqZ1H+S8LLGjHJ ZemrTcdcaDWddN6by2m4Sh8S65Tms/yQjUpLGnzoo6movn/b5eerraEAjWFGMs2sHw/Fgd /nMF/gqgDqvLpNKBt5Y7S/F5gXrBY5jmCcH/JGlVWGJ8XhjVpb3u+E9w4na4ca9xk9yTZf rYySgzpsMd7HGK2TH3gsiBnuJWkYbqYK2rkI/3ypRyCdxwXJduYgJCsRTYzOfJnK1eltPG ggjOmGTqnLqRQohuPPAJeeQnGbimvBhXLRDVtSr6zthhQw96CCJ46ZB3fYXQvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673989296; 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=cb83ZxTlKl9iWsN3j48tdCaZaq5CywpfaLLMyyodgzY=; b=DiATZYxEWkMVkMjJ4ZoiJptMZjyuted7Aa28C+wtrLhWe271oSIdc+jYldkz2BrOus6RgI n6942Emh2hdS+xCOU2S7RLQt5UVTNxwWloMf7S+4dJFhsGQjTxh9jgA/Vha1OzO7KdjnKw BDIiL1DmtGhc/E1UkTvMnAV9bOQkm7vMiGymVnWi8VGjp+WLNsxl2wFYXZZDq6m7ZSvO1m M96thXIyWxusF5s0kyvh/986K2NNYQcQ7vsyx/g4gtdCM3FKqYeNWLwg7s3G15Q87+uQuH lZGQyQBK9ETNF+fHMJufI2ZLyIcdId1Nas4bUYrY+QdOJTf5JQzgHOwucLFh+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673989296; a=rsa-sha256; cv=none; b=nJlBCW4Xk7YwDd68HMxn423THzDv2eAHa39LOOSW1TSMRw9824u1tv22AVtZHNE7ZHOG6C e4o/UUt6feI3LKW1ItzFLXe6E/K/uRvD1eCK8BpxiSgs/6NzKl9x7/XcaRVIoR/qgmVAkg NzjziXLRstxTmW7JuRN5pdVca5CZDzVZnEgPCbFfddMde/fgYBmbULy6U78PylGACszWiE NXmL3CXKg7IlJZkkGnvxE1DZ9e+TzUP8EYudTVnrVtUOH4XiSahDlbKLA6dohzH/Ak3ghE qu5ZJf77PWTjuBQzyjcu23JtxyQlBEJ3bx3yZukantUj0R6vSKvGo8eYtm8Y0Q== 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 4NxLsr2nqrzly7; Tue, 17 Jan 2023 21:01:36 +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 30HL1aKX077563; Tue, 17 Jan 2023 21:01:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30HL1ang077562; Tue, 17 Jan 2023 21:01:36 GMT (envelope-from git) Date: Tue, 17 Jan 2023 21:01:36 GMT Message-Id: <202301172101.30HL1ang077562@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: bbbaebcf3bce - main - www/py-woob: Do not install tests files 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: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bbbaebcf3bce14d6e320a086345351ed0718305c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=bbbaebcf3bce14d6e320a086345351ed0718305c commit bbbaebcf3bce14d6e320a086345351ed0718305c Author: Oleg Sidorkin AuthorDate: 2023-01-16 19:34:14 +0000 Commit: Jason E. Hale CommitDate: 2023-01-17 20:58:31 +0000 www/py-woob: Do not install tests files PR: 269003 --- www/py-woob/Makefile | 1 + www/py-woob/files/patch-setup.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/www/py-woob/Makefile b/www/py-woob/Makefile index fb75e9c84f70..7c6a45e1d264 100644 --- a/www/py-woob/Makefile +++ b/www/py-woob/Makefile @@ -1,5 +1,6 @@ PORTNAME= woob PORTVERSION= 3.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-woob/files/patch-setup.py b/www/py-woob/files/patch-setup.py new file mode 100644 index 000000000000..aed574c2686f --- /dev/null +++ b/www/py-woob/files/patch-setup.py @@ -0,0 +1,14 @@ +Exclude test files from being installed. +PR: 269003 + +--- setup.py.orig 2022-12-20 10:22:03 UTC ++++ setup.py +@@ -29,7 +29,7 @@ from setuptools import find_packages, setup + + + def install_woob(): +- packages = set(find_packages(exclude=['modules', 'modules.*'])) ++ packages = set(find_packages(exclude=['modules', 'modules.*', 'tests', 'tests.*'])) + + data_files = [ + ('share/man/man1', glob.glob('man/*')),