From nobody Thu Apr 28 22:42:03 2022 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 676A319940B3; Thu, 28 Apr 2022 22:42:03 +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 4Kq9bb2Pr2z4bXZ; Thu, 28 Apr 2022 22:42:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651185723; 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=wv1sQEIHOfGgFnwwNpbZfhRbeX2Jf+DYHkwaUd43HR8=; b=uRakwm3ltjEhJxgChBuFYUmjMTjzWV0ctqZNxfXJuKOpD7iACbYdAstYsmXVav3GjH9qE9 CNfX3qdxzal7jbQjbXje5c5PR52YjDQMJKv1D1R2YS68ZKYN6ln9XANJw1Mf/DEmYThyJA h1cXJXZPiPq7EIz8SDpPBNcnMs2RcI9Yf4YyjHknw66VvU9M4H9Gy2Bl49pMOOpjG+/oq9 NvV9FTW4bJcQwuNHznFkk2MVkMz52s4QLXW0e4koxfSsHJzNC+iCP2m2NvqtT3kMlY9tSD GzZs/P75pgEGrCYJ/gbIfY6klIMwaxBX6EWQTChH8N3OEzNllvdT5JCsYc58nA== 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 32CE820F3C; Thu, 28 Apr 2022 22:42:03 +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 23SMg3jo060087; Thu, 28 Apr 2022 22:42:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23SMg33d060086; Thu, 28 Apr 2022 22:42:03 GMT (envelope-from git) Date: Thu, 28 Apr 2022 22:42:03 GMT Message-Id: <202204282242.23SMg33d060086@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Craig Leres Subject: git: 24c7573559e5 - main - devel/py-platformdirs: Unbreak after 2.5.2 update 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: leres X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 24c7573559e508cc0fa0746cf5d4e213cc79d127 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651185723; 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=wv1sQEIHOfGgFnwwNpbZfhRbeX2Jf+DYHkwaUd43HR8=; b=KC1tnQzUogUjBHSoXBfjVK+v5MSrYbm3bfCVXNWftP0h9gheb04yevM0qT5xcc8ZVT15iq EBLTm2c037KDLTX88Mwikxks5+HUkAa4vnq3/dpU+2ZBr/bVrySlnBGlf5SlKfN3W13XqO A0gvywIZU9JFp78k2KqO3/9/GE4ruorRgzKqtZtNNuHjhTLaEt5JPRBWzOZL17N3iDA33I z2qgg/4dttFS+1ot9kfVo74dnhd/AxpLh2RwKaNZT1Jja205dpKNTEjHpmnQjUjsO2OhhH ISIwTzmvSCmPUlBBo9WLPjXQJx8DEttM2/W0vqxk/VOrH+I8y6c+jNHa30r/9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651185723; a=rsa-sha256; cv=none; b=JsXEVWqjEFjDlQgwsHExR76yNkwEByTjjG8KAgWoY7UGucc8NhqSuDDQAbH+8LYCV28+tU lJseDaSo8TlJZDDkk3j8/6t8X0wqgMPj8KhG9O8sg//g6LwopxFMF48/J1r3HbHEPJ+J0O 165kDWRqOSrTjp6gJIFhTxnxf4mCtDBj+0YwRtU9Xz/IWpTbWOSCi65wKeS3LVJZha7vhF d1PA3QsBNz5BhhylFvZWeRBqowZEIz+D5Q9Ysi2OXJ1tTPNT6qIGNC08xVZt9z9FEeS3pO q+jZDHs66FVNeyjtyDZJ2I1YvN/ymnH3uoeF0Yem69DLGAQ9S1eIa9MLK4yycQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by leres: URL: https://cgit.FreeBSD.org/ports/commit/?id=24c7573559e508cc0fa0746cf5d4e213cc79d127 commit 24c7573559e508cc0fa0746cf5d4e213cc79d127 Author: Craig Leres AuthorDate: 2022-04-28 22:41:36 +0000 Commit: Craig Leres CommitDate: 2022-04-28 22:41:36 +0000 devel/py-platformdirs: Unbreak after 2.5.2 update The upgrade of py-platformdirs to 2.5.2 breaks pylint (and most certainly anything else that uses the module): lns 57 % pylint [...] lblcache.py [...] ModuleNotFoundError: No module named 'platformdirs' Apply the tweak described here to adjust for the "src" subdir in the distribution: https://stackoverflow.com/a/36012825/2994620 PR: 263639 Approved by: koobs (portmgr blanket: runtime bugfix) --- devel/py-platformdirs/Makefile | 1 + devel/py-platformdirs/files/setup.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devel/py-platformdirs/Makefile b/devel/py-platformdirs/Makefile index 7e374d4d6c61..b788885c5249 100644 --- a/devel/py-platformdirs/Makefile +++ b/devel/py-platformdirs/Makefile @@ -2,6 +2,7 @@ PORTNAME= platformdirs PORTVERSION= 2.5.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-platformdirs/files/setup.py b/devel/py-platformdirs/files/setup.py index aa5c9455ca96..ca7224ada1e2 100644 --- a/devel/py-platformdirs/files/setup.py +++ b/devel/py-platformdirs/files/setup.py @@ -38,6 +38,9 @@ setup( ], }, packages=[ - 'src.platformdirs', + 'platformdirs', ], + package_dir={ + 'platformdirs': 'src/platformdirs' + }, )