From nobody Sun Jan 16 15:29:06 2022 X-Original-To: python@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 8BBBE1956D7D for ; Sun, 16 Jan 2022 15:29:35 +0000 (UTC) (envelope-from loader@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JcJqg3Z9Lz3Mkf; Sun, 16 Jan 2022 15:29:35 +0000 (UTC) (envelope-from loader@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642346975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i4/4qAg9WD7yqvvztpFGXfxa2R4P9eBa9MiXfMptEoE=; b=Gpjt1Va4UoTGzH5h5SGKJDgi1C0Q3JpCOCH2ZVIsXG1r0AMZsQNfvXUR+2p0MbYXrTtKv3 8NGpYt0bKEDt1YPPMwgTyu+bi07x8hDXI0lnLoWfSln7wMgWNgZjjDLBUAkBLf9ndsZ462 KMldIelgND17+p/nZm0xyteInktEcOzd3isAHu92HMgobgi43mGSu8Bb53+XVDLjX552IG kRTbpmSozXZTXCLrssuMGFgBNLt6Ld76Dml0b+9jTnT8GtRzQLmQCE2maYLxwyGLkr8rRF YCPgDhMapMD+ZTmIrRroKu8Rxd+zIr7JsKOH85Dnq/t83S8uHffwrlQOBKPUwQ== Received: from localhost (unknown [127.0.1.132]) by freefall.freebsd.org (Postfix) with ESMTP id D2BEC10CD2; Sun, 16 Jan 2022 15:29:34 +0000 (UTC) (envelope-from loader@freebsd.org) Date: Sun, 16 Jan 2022 15:29:06 +0000 From: loader To: Stefan Esser Cc: python@freebsd.org Subject: Re: PLIST issues in more ports? In-Reply-To: (Stefan Esser's message of "Sat, 15 Jan 2022 01:28:09 +0100") References: List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-Id: <20220116152934.D2BEC10CD2@freefall.freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642346975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i4/4qAg9WD7yqvvztpFGXfxa2R4P9eBa9MiXfMptEoE=; b=jszBaJUyP6/GL3WzQwpeFb6pz6qJCK7bUMISrZNWU6sqgFv2hlVgrxXi7idreJNF7Nly8q mMQ0Hhe/VAfqmPV+fwuE5yzfvjLiz3fSQxte6Ny9oYxJ/dvcxx0VrdlCRxdOohwOi3NVrT 4j5j4NmIkyIFXgZe5sxvxZiqAYtzu5NrrgMuMVJ+LdAVrerhjb3AxiRwWyRfLDmHHTLUoD RARe4s0pTJLhep2LNrXHJ0fmXpdqEkUEOtF551x+xk2M1ifmvltc/0AsWiPTdmLKD7Nbye 991oBu7Gu2/ZXJkuQ8Kn6qS0YA2/ICfBVzAZP5IJnvxLULnLH9TzuHF20JWROA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642346975; a=rsa-sha256; cv=none; b=MhUN279rpEZDUuyHUpyjCVLL+NqurRXncjPtXLRPw7fgONqrRjSy6VY8B4lJsZZ7YaHTic Yj72SSlX1wvdPVGc54u2Er1VCrtjbB6b0XPd4Ed2FL38Bf9RnNA0cS9g04PlKw6E7/V0g7 IehllU15eVuxxZlokpm61NGb/Bjw30knDvy9jFGltOr5OJ46mQT339mc5VFG1RBoa8r89v 6I07YJhPHztlHyjxdPJwPKauyPxE3wjiahaMTuOZfbrFeJBWjesWTas4OH6tb5FypP1wpk RSuTnVRyn1XrYXA1FO6NZADyNfFeloenF0Xs/n34tb4p+0TBbwIbyadxsc3tug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --=-=-= On Sat, 15 Jan 2022 01:28:09 +0100, Stefan Esser wrote: > Hi Python Maintainers, > > the following packages conflict with each other since they install > files that do not depend on the package: > > py38-scikit-bio > py38-ddtrace > > They contain files like > > lib/python3.8/site-packages/benchmarks/__pycache__/__init__.cpython-38.pyc > > which probably should be excluded from the PLIST. > > Similarily: > > py38-mycli > py38-beziers > py38-grizzled > py38-gtfslib > py38-habanero > py38-molecule > py38-onnx-tf > py38-ont-fast5-api > py38-puppetboard > py38-pysmartdl > py38-pysodium > py38-pyzipper > py38-streamparse > > which all contain: > > lib/python3.8/site-packages/test/__init__.py > lib/python3.8/site-packages/test/conftest.py > lib/python3.8/site-packages/test/__pycache__/__init__.cpython-38.pyc > lib/python3.8/site-packages/test/__pycache__/conftest.cpython-38.pyc > > I have not checked for individual maintainers, but this is IMHO a > framework issue that should have a generic solution ... > > Should I create a PR for this issue? > > Regards, STefan Just a thought, maybe site-packages/test/ could be removed during autoplist, but not sure whether there's a port really needs be to installed into this directory. diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 6c5d11dc9d08..37aa53759698 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -616,6 +616,7 @@ _RELLIBDIR= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;} _USES_stage+= 934:add-plist-pymod add-plist-pymod: @${SED} -e 's|^"\(.*\)"$$|\1|' \ + -e '\|^${PYTHON_SITELIBDIR}/test/|d' \ -e 's|^${STAGEDIR}${PREFIX}/||' \ -e 's|^${PREFIX}/||' \ -e 's|^\(man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \ Cheers, loader --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iL4EARYKAGYFAmHkOZVfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldEY0REMyN0YxQkIzMjVCMkZCNEMwOUZEMzU2 RDBBOTYxRDZDQkFEMDYACgkQVtCpYdbLrQbDYwEAkik8726LbGTKT/hFHOve/eow o/HZSwHTL8hyC/gf8ugBAHEupNREqf0/YN+LC6jq30/LZCNnL55DAOO4wp+1ym4D =nufq -----END PGP SIGNATURE----- --=-=-=--