From nobody Mon Sep 20 00:56:21 2021 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 C3D0217AC3D0 for ; Mon, 20 Sep 2021 00:56:21 +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 4HCR2Y55h1z3rqH for ; Mon, 20 Sep 2021 00:56:21 +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 8C97626EAB for ; Mon, 20 Sep 2021 00:56:21 +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 18K0uLeL052019 for ; Mon, 20 Sep 2021 00:56:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18K0uLge052018 for python@FreeBSD.org; Mon, 20 Sep 2021 00:56:21 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 258593] [NEW] sysutils/py-puremagic: Pure python implementation of magic file detection Date: Mon, 20 Sep 2021 00:56:21 +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: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc cc keywords bug_status flagtypes.name 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 X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258593 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[New Port] |[NEW] |sysutils/py-puremagic |sysutils/py-puremagic: Pure |Module that will identify a |python implementation of |file based off it's magic |magic file detection |numbers. | CC| |james@french.id.au, | |python@FreeBSD.org Keywords| |feature, needs-patch, | |needs-qa Status|New |Open Flags| |maintainer-feedback?(james@ | |french.id.au) --- Comment #2 from Kubilay Kocak --- Thanks for submitting a new port James. Review items: - Add LICENSE_FILE when a license file is provided with a distribution file. This one does: LICENSE - Match COMMENT to upstream (setup.py:description). In this case "Pure pyth= on implementation of magic file detection" - Ports must match and include all upstream dependency declarations. In this case, upstream defines: install_requires=3D["argparse"], which *can* be pr= ovided by the stdlib, or not. Add a RUN_DEPENDS for this - Add TEST_DEPENDS and a do-test target when upstream ships tests with their distfiles. This one does: pytest for tests and the following for an invocat= ion should work: cd ${WRKSRC} && ${PYTHON_CMD}-m pytest -v -rs -o addopts=3D test/ -o addopts=3D overrides upstream pytest configurations that often require coverage and other dev only tests which we dont need (this one does). See Also: https://wiki.freebsd.org/Python/PortsPolicy --=20 You are receiving this mail because: You are on the CC list for the bug.=