From nobody Sun Aug 07 23:17:49 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 4M1FcF3fQPz4Y6kj for ; Sun, 7 Aug 2022 23:17:49 +0000 (UTC) (envelope-from bugzilla-noreply@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 4M1FcF1k6Lz3jPZ for ; Sun, 7 Aug 2022 23:17:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4M1FcF0lH7zW4K for ; Sun, 7 Aug 2022 23:17:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 277NHn7l070156 for ; Sun, 7 Aug 2022 23:17:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 277NHnuN070155 for python@FreeBSD.org; Sun, 7 Aug 2022 23:17:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 255722] Mk/Uses/python.mk: Needs to support pyproject.toml-based projects: USE_PYTHON=build feature Date: Sun, 07 Aug 2022 23:17:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659914269; 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: in-reply-to:in-reply-to:references:references; bh=SAU4VUjsi6zBpePQUP7vyhQhQrBCBgKK1ePXBIKRbaw=; b=tx90ln2R7pNCUIP/YQRhk9C0Gq6rQojZvlrdX/F8r+PEFNWCMqjQoh7SYGMLfOV1qIUbY8 3TCmRP2VXBCRHmSn4MqFtgbaJG8ly/fBe3QqKQgMBHjDoYqqnFnHzafS27zb1AgJxxbQqT XX29EtvNUylyEFyjZ1UOv2l9M/h5Ph+QZsTmtheF86xy6iyjKli/DXR7wrrE4O2VFJnSDE hJG4cLKsDW2vKaGsghkx3C4Ptly5oQVEJ6Bukhn1K05YEne5B+4SeMFNBTXFvW3ve5PFNu lqmuNwaK2QxonS0aAg6oNN9nKZ4rP2GpdW8ktDNAwf+BDV/rzpEdj/a4RxKX9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659914269; a=rsa-sha256; cv=none; b=oatjUm1pv6TQ7wProelYKo3OPiKbX7gTghRxtw1j3ML5nEscvntAICY1fN6IdTXvQmiX7M wRJZDz2ioOUcYEf33/W7elJX3aZ97RvZ07VeZNX//krdUjcVlvevLWu386MfXm5Ot0O6Is POFAbz0eknXhL84MG+IVJi4ecrOVEKR0A1YJimK+5gCVqMylILC171jRchaCapN8sQCfKh WZg7UaD6qjksF9NwrXX4O6wXJHeTxKh/mqpkAR9KIzAz5tjoBD5phV0i8RYuF1KoRRWm8g hj3T3iMDskqRCyhsRb+M9BKKzYN4IWeP4aTrC86vaHfmyLOJuemgb9c3tFo9Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255722 --- Comment #10 from Yuri Victorovich --- (In reply to Charlie Li from comment #9) Hi Charlie, Thanks for your comment. Current implementation is functionally almost identical to your description= in https://wiki.freebsd.org/Python/PEP-517: * It is PEP-517 compliant. * It requires port maintainers to parse pyproject.toml and add DEPENDS lines accordingly (this is also done in the supplied examples). * It checks that requirements are met, and fails otherwise. Differences: * I used USE_PYTHON=3Dbuild instead of USE_PYTHON=3Dpep517: the user intent= here is to build the project. IMO there's no need to put the standard name into Makefiles in many places. "build" is a lot easier to remember. * autoplist isn't currently supported. It isn't obvious that it should be. Benefits of this implementation: * It is minimalistic. It does exactly what is required with as little code = as possible. * It uses only build/installer packages, a minimally required set of dependencies, and still provides the same functionality. Best, Yuri --=20 You are receiving this mail because: You are on the CC list for the bug.=