From nobody Wed Apr 05 17:37:29 2023 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 4PsBfK5jcPz43qS3; Wed, 5 Apr 2023 17:37:29 +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 4PsBfK4xkVz4Nck; Wed, 5 Apr 2023 17:37:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680716249; 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=NlFshwNf5KXMWQ8olpZLww2323kDJ7SjFecF5y1Li/M=; b=M70VK9kBy40O2JaysmJskxrg2xNdLX6UjKjfHT3NQoN6cFeIs79FHkRXxi17PYNLnkLaPg eEbVQeWUGPY2ywf19eLg87iuAAzo4WEy08KQIkL/hGT2UUDikg8PBXAUmamA/GXjLz5qA8 DTMgOijjGSVRAb6dgLpV4YbjB99tHOmh7TgaKWNerG+xncg8296oCsqAmt0osiv1EUWwIQ 13BB2CjCJIvcB0axadoXhtELnjrI2t3ChESKaPwNplorftkfRorWkByO64i3mnCqDA9x8g 2Pu+o4HHTSgpXGPSpMmL0YHutbbv54s5oykf9qw7zVwPAL/UBq7u7bWLixgc6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680716249; 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=NlFshwNf5KXMWQ8olpZLww2323kDJ7SjFecF5y1Li/M=; b=C/cL3grYuhCznUSSpVfiqWOvEkUiekF3Rc0YbC3alNRXKjDNSoudkjLREebvNLmiJ0vQ1Q j32KaRnO044E1uJDenTg8mP2lVFm6H53a57Xp+25MFuNEJfDWxVpCBuPquIbXUUogTeNJg iKr0yyX5TX6sPhc8BXZHeyjvQYMjxsade1rjDzwpQEabS3jeodmOMsp61Jtg1A/IoWf8kf jJfscsVUlFwQ7fwufBnDvKIeH1VaHfuW+t3l5ekf/uurTgMbTpy6hsscst1uQvSfw25nND OPKbY+i0Gf1SQPjpbSRDNBOnm4DBheVrMpJqkrtmL3o84bTRbbemjRHYiiln8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680716249; a=rsa-sha256; cv=none; b=g6Pr3thAN4rDwyvmUQ0PDWuHJawBalxZ9FNbvSVNsD1nXYUjWyb26I7F5bwT2MVsmSBLIj URUIBjBjCR95UctKu+HnRCagPfw02Z2IY5XPrpwnbE0Zz6lGfrPpg/KCKmIChGBjOAh+gz k2Kg9cUn2lD5wi8HqwywDuSMhcUekOb9cga46DNcSu2ACH4FhQ8ZClx+XScrbfqwcMv6O7 0d2MLAo/vdYCUogYgvy8yTUncPlAAj3t97OTFP/NJGzwzaRSDDecUi2wDHNOegXS7U9shi JAfZU3airvtoLEuB8koQc9tBYD5rh1v7Qdb4yoD8Lulg85zcGC7Jg4bpV5omgw== 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 4PsBfK3sPXzWwC; Wed, 5 Apr 2023 17:37:29 +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 335HbTG1087919; Wed, 5 Apr 2023 17:37:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 335HbTW0087918; Wed, 5 Apr 2023 17:37:29 GMT (envelope-from git) Date: Wed, 5 Apr 2023 17:37:29 GMT Message-Id: <202304051737.335HbTW0087918@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: 6e5636cae481 - main - devel/py-threadpoolctl: 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: 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e5636cae48154a6a34057e9156e837b253d9633 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e5636cae48154a6a34057e9156e837b253d9633 commit 6e5636cae48154a6a34057e9156e837b253d9633 Author: Po-Chuan Hsieh AuthorDate: 2023-04-05 17:17:04 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-05 17:30:35 +0000 devel/py-threadpoolctl: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-threadpoolctl/Makefile | 8 ++++---- devel/py-threadpoolctl/files/setup.py | 14 -------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/devel/py-threadpoolctl/Makefile b/devel/py-threadpoolctl/Makefile index 7fd5c79a8806..d03d0ef71947 100644 --- a/devel/py-threadpoolctl/Makefile +++ b/devel/py-threadpoolctl/Makefile @@ -1,5 +1,6 @@ PORTNAME= threadpoolctl PORTVERSION= 3.1.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,11 @@ WWW= https://github.com/joblib/threadpoolctl LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0:devel/py-flit-core@${PY_FLAVOR} + USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-threadpoolctl/files/setup.py b/devel/py-threadpoolctl/files/setup.py deleted file mode 100644 index 783b58dee39b..000000000000 --- a/devel/py-threadpoolctl/files/setup.py +++ /dev/null @@ -1,14 +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 - -setup(name='threadpoolctl', - version='%%PORTVERSION%%', - description='threadpoolctl', - author='Thomas Moreau', - author_email='thomas.moreau.2010@gmail.com', - url='https://github.com/joblib/threadpoolctl', - py_modules=['threadpoolctl'], - python_requires='>=3.6', - )