From nobody Sat Jul 06 16:29:05 2024 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 4WGbS135PPz5P39Y; Sat, 06 Jul 2024 16:29:05 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WGbS11jr9z4H1H; Sat, 6 Jul 2024 16:29:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720283345; 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=5w5dzYWE5Qb3YbHnnVMwS80TmDFTJEavqzfKkK9tM9o=; b=iLs4quzzURUTArNdRVFN2KtDpi5R+RjfJyvvXI7q+5oEBSo2QBq8oLUJ6oSG7mSYjAR9Zd 8VWqKkWLLC7xiVzIlE2q+cOqnp2O/i1pJ0RJp4B7bXQPtARDHYLb4EwgnozkcKP0iwSE36 9Qz9G2Dh8ggyyM3Nbmfzped5Eax+K7vep8tm6qAcu7E88MNiP4wDWof0+nwO2+6osUY6VU VjZ1gr5xrFvK7kNDOv+yeZR+QfxCIxgGrAY3URHrYo3A7krx4GG3xOeYnfwC8nPOzaQKBg edwP0iEsZlHF/uPzM7hneQtl2JR8LnmEZ7nY3CEbZJRNHZgQNDQSlGw5w/P2yw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720283345; a=rsa-sha256; cv=none; b=SUu8juYplKEErJK95s9/RKdDIZDOtim+BGR/sTKW0ONwttKUGX0sDNK2V9mwGxxzs6FjI3 ZhAMCmkTuIbAq5Fo63h+/oejgjVF1AgsSj5fGWkAFC7rjjRSYpUUfQMN+H6RZBj7aT3Tl4 mbAVuhOHIoqqzv8cr4FDpCJN5xQblXcqkK0OKZPtTvX48ORNyhBAxSN/i7boczcykTwTf8 SGdmr2gihhCJPEsZ8up85iq7r4ZAmJu+NQOIdHWluzc+jqi4yvUOn4coB60H/MnBljVRac VYOHQXc/JmEhPcdnwnX2NG4BrDBEWuYMMVH2Y8e15+DAJbNmNY+EM8m0a1ylMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720283345; 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=5w5dzYWE5Qb3YbHnnVMwS80TmDFTJEavqzfKkK9tM9o=; b=GdURQ+7lsLWbcnCcg4yufAJb7nsrEst2OuJvLqWJLNMpB3bclmya5QNrkYjO5zhm4+IHxv K9eeVeWl2O/nD+oNZpfUWfZPdHxZtP1vQS6QR29opH6mE/E2F1NCITxg4AhtvvZeehv3lC mW2hLW07j10RIp7c3U/mrD347X5Y2d3MYw0qJkkcIC7oHTNPffGfMddlJeVNFrl9/YE5rd ofWr5cSshegy616y0hN0xsIdckzh19TXdfoT2KrT6TOFC5c19k+UPvd1MFZb1qm9Bj1QDD Ly1yMraMPg0Ongn5Ggtvz8aupPM8qxcuPN4YJsO+nHmKY0rWsxYbE2qE+DPMVQ== 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 4WGbS11DRszncY; Sat, 6 Jul 2024 16:29:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 466GT54W083604; Sat, 6 Jul 2024 16:29:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 466GT5Xh083601; Sat, 6 Jul 2024 16:29:05 GMT (envelope-from git) Date: Sat, 6 Jul 2024 16:29:05 GMT Message-Id: <202407061629.466GT5Xh083601@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 03d5f94786fb - main - devel/py-testpath: Convert to USE_PYTHON=pep517 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03d5f94786fb6be228610671e2efe954ec27d3a2 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=03d5f94786fb6be228610671e2efe954ec27d3a2 commit 03d5f94786fb6be228610671e2efe954ec27d3a2 Author: Po-Chuan Hsieh AuthorDate: 2024-07-06 16:12:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-06 16:12:13 +0000 devel/py-testpath: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-testpath/Makefile | 8 ++++---- devel/py-testpath/files/setup.py | 25 ------------------------- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/devel/py-testpath/Makefile b/devel/py-testpath/Makefile index b73672eb884f..3d341e54aeb0 100644 --- a/devel/py-testpath/Makefile +++ b/devel/py-testpath/Makefile @@ -1,5 +1,6 @@ PORTNAME= testpath PORTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,11 @@ WWW= https://github.com/jupyter/testpath LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-testpath/files/setup.py b/devel/py-testpath/files/setup.py deleted file mode 100644 index b7ed5d66b73c..000000000000 --- a/devel/py-testpath/files/setup.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['testpath'] - -package_data = \ -{'': ['*']} - -extras_require = \ -{'test': ['pytest']} - -setup(name='testpath', - version='%%PORTVERSION%%', - description='Test utilities for code working with files and commands', - author=None, - author_email='Jupyter Development Team ', - url=None, - packages=packages, - package_data=package_data, - extras_require=extras_require, - python_requires='>= 3.5', - )