From nobody Sat Mar 23 15:02:32 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 4V22Vc3mxsz5FB3k; Sat, 23 Mar 2024 15:02:32 +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 4V22Vc2NPZz46Fx; Sat, 23 Mar 2024 15:02:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711206152; 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=WiiV+DkUK++IT1ORICNzvdtyLfHG/jJdBn7/rJc4U84=; b=tycXGzUkvwi8bb9dEgKIiWY1+TVhS4NiOTqfamE6iNAj8WtT8qywH5SaPaDvp/5u0bxpQr 4q8XbY5YWV/BSNZeFa2AwQDGs/C97NGYSOiP2xku+wz8xB5vnlVDPcjtYpjnZXgIeQOyok e/3RanNDhEr3a0PPcNC5f2KfDNFqh/GrSd9F1XPSVTni0LGKvcx5POOQ2Bqdp5CqoTJ0p8 zbXWgg06J1hYWH5O3B8GsR+zKcLU8ZO6DfwkvOOrYFjGWcJk6EcT7jEN2m9arfvhKey3de 2e80kns0bAH+9eN6zQ4OuX35Z6EU4R0SypCUNvCvzAcgxUSrVSeufnMzXOhExA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711206152; a=rsa-sha256; cv=none; b=BdWJRipIHrKowqy2im38QERr4lYOYmmJWFaPfFLCJnoMqvxYy+ToUxTRl/NjMUROuCjad2 Y59KUlhYpmq/lYWtAXHuTf1BbO0Ee9BHy7050cYXp5cnWMJwvyI5dVxLPitZjWhAFbLdEI DTpDD3WHqwIBT0PgrhEJm9mi2KPW0oBVswTnGBLUlHSo0BU/yrYJUo+yXHGR+Bm5lBTZi6 YbsARme5istID236/rjiH3WMt5OrpIAq+TIzxN9NUwrnuG1kRoOdwnEc3up1Pto6oW/mtz f3dcE1R2YpX2S0v824pv9iNr4tY5DmgfnU4oSH1phwYX1EeDLja9iQQ3hElwHA== 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=1711206152; 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=WiiV+DkUK++IT1ORICNzvdtyLfHG/jJdBn7/rJc4U84=; b=v4Y+Pl8KPp8xGUQZtss84Taq0iH9R+Bs5KOB426rvpzYdlDhPl1Sl8YKRkglCOZ/FK5/fZ Y3HlkujOegJYiKUYuT8gRB7I73qPErgQuDGjHJxaTVPQv3zzbT6759WUGQWguFJAyVUMqT 18jwjWbBxb8wzhwowlS0JCpTmHI1406WOw/PzZHQ5FRR0buPfa4AWqMKEVMGPYXGEruz3C 1sz8THJgfF9T/LmoDN9uIt3H4C9mU3bHldyMO/B+SMVmuRXxLy8Ls2CYbmkeW1jdG88ZMr 0GrfG3YAMCXs7T4DQcvxrOITTXHSKJh89fHBHTHF5dPMZvhUewpXndQzsV1puQ== 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 4V22Vc20w3zt9V; Sat, 23 Mar 2024 15:02:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42NF2WLP010646; Sat, 23 Mar 2024 15:02:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42NF2Wbh010643; Sat, 23 Mar 2024 15:02:32 GMT (envelope-from git) Date: Sat, 23 Mar 2024 15:02:32 GMT Message-Id: <202403231502.42NF2Wbh010643@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: e0d3db201b5f - main - x11-toolkits/py-tktreectrl: 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: e0d3db201b5f36cdd13e0522eb642ca083650457 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0d3db201b5f36cdd13e0522eb642ca083650457 commit e0d3db201b5f36cdd13e0522eb642ca083650457 Author: Po-Chuan Hsieh AuthorDate: 2024-03-23 14:23:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-23 14:49:41 +0000 x11-toolkits/py-tktreectrl: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- x11-toolkits/py-tktreectrl/Makefile | 8 +++++++- .../py-tktreectrl/files/patch-TkTreectrl-__init__.py | 11 +++++++++++ x11-toolkits/py-tktreectrl/files/patch-setup.py | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/x11-toolkits/py-tktreectrl/Makefile b/x11-toolkits/py-tktreectrl/Makefile index 0109ec97a94e..a195b8bb7641 100644 --- a/x11-toolkits/py-tktreectrl/Makefile +++ b/x11-toolkits/py-tktreectrl/Makefile @@ -1,5 +1,6 @@ PORTNAME= tktreectrl PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits tk python MASTER_SITES= SF/tkintertreectrl/TkinterTreectrl-${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +13,18 @@ WWW= https://tkintertreectrl.sourceforge.net/ LICENSE= PD # x11-toolkits/tktreectrl does not provide libtreectrl.so +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libtreectrl.so.1:x11-toolkits/tktreectrl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Pmw>=0:x11-toolkits/py-Pmw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} USES= python tk:run zip -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py ${WRKSRC}/TkTreectrl/__init__.py + .include diff --git a/x11-toolkits/py-tktreectrl/files/patch-TkTreectrl-__init__.py b/x11-toolkits/py-tktreectrl/files/patch-TkTreectrl-__init__.py new file mode 100644 index 000000000000..39c2d8349986 --- /dev/null +++ b/x11-toolkits/py-tktreectrl/files/patch-TkTreectrl-__init__.py @@ -0,0 +1,11 @@ +--- TkTreectrl/__init__.py.orig 2012-11-20 20:15:04 UTC ++++ TkTreectrl/__init__.py +@@ -13,7 +13,7 @@ Treectrl, MultiListbox, ScrolledTreectrl, ScrolledMult + + Treectrl, MultiListbox, ScrolledTreectrl, ScrolledMultiListbox, ScrolledWidget + ''' +-__version__ = '2.0' ++__version__ = '%%PORTVERSION%%' + + ABOVE = 'above' + ACTIVE = 'active' diff --git a/x11-toolkits/py-tktreectrl/files/patch-setup.py b/x11-toolkits/py-tktreectrl/files/patch-setup.py new file mode 100644 index 000000000000..019cb66d7ba6 --- /dev/null +++ b/x11-toolkits/py-tktreectrl/files/patch-setup.py @@ -0,0 +1,14 @@ +--- setup.py.orig 2013-05-06 09:00:53 UTC ++++ setup.py +@@ -1,9 +1,9 @@ from distutils.core import setup + from distutils.core import setup + +-version = '2.0' ++version = '%%PORTVERSION%%' + + setup( +- name="TkinterTreectrl", ++ name="tktreectrl", + version=version, + description="Tkinter wrapper for TkTreectrl", + author="Michael Lange",