FreeBSD Bugzilla – Attachment 249587 Details for
Bug 270358
devel/py-setuptools: update to 75.3.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
devel/py-setuptools: Update to 69.2.0
0001-devel-py-setuptools-Update-to-69.2.0.patch (text/plain), 4.20 KB, created by
Alastair Hogge
on 2024-03-31 00:30:10 UTC
(
hide
)
Description:
devel/py-setuptools: Update to 69.2.0
Filename:
MIME Type:
Creator:
Alastair Hogge
Created:
2024-03-31 00:30:10 UTC
Size:
4.20 KB
patch
obsolete
>From 6c4dc38b52751aa06b899b7f6c7a36c831703356 Mon Sep 17 00:00:00 2001 >From: Alastair Hogge <agh@riseup.net> >Date: Sun, 31 Mar 2024 08:26:08 +0800 >Subject: [PATCH] devel/py-setuptools: Update to 69.2.0 > >Update to 69.2.0: >https://github.com/pypa/setuptools/compare/v63.1.0...v69.2.0 > >- Drop obsolete patches >- Port Makefile housekeeping >- Switch to PEP517 build >- Use ${DISTVERSION} over ${PORTVERSION} >- Use bsd.port.options.mk/bsd.port.mk inclusion pair over legacy. > >PR: 270358 >--- > devel/py-setuptools/Makefile | 23 ++++++++----------- > devel/py-setuptools/distinfo | 6 ++--- > .../py-setuptools/files/easy-install.pth.dist | 2 -- > .../files/patch-setuptools_package__index.py | 11 --------- > 4 files changed, 12 insertions(+), 30 deletions(-) > delete mode 100644 devel/py-setuptools/files/easy-install.pth.dist > delete mode 100644 devel/py-setuptools/files/patch-setuptools_package__index.py > >diff --git a/devel/py-setuptools/Makefile b/devel/py-setuptools/Makefile >index fcb1ff843017..2f47ca0dce7f 100644 >--- a/devel/py-setuptools/Makefile >+++ b/devel/py-setuptools/Makefile >@@ -1,6 +1,5 @@ > PORTNAME= setuptools >-PORTVERSION= 63.1.0 >-PORTREVISION= 1 >+DISTVERSION= 69.2.0 > CATEGORIES= devel python > MASTER_SITES= PYPI > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -16,18 +15,16 @@ WWW= https://pypi.org/project/setuptools/ > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= cpe python >-USE_PYTHON= allflavors autoplist concurrent distutils >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} > >+USES= cpe python > CPE_VENDOR= python >+USE_PYTHON= allflavors autoplist concurrent pep517 > >-MAKE_ENV+= SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 > NO_ARCH= yes >-PYDISTUTILS_SETUP= ${PYSETUP} > >-PLIST_FILES= "@sample %%PYTHON_SITELIBDIR%%/easy-install.pth.dist %%PYTHON_SITELIBDIR%%/easy-install.pth" >- >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > > .if ${FLAVOR} != ${FLAVORS:[1]} > SUB_FILES+= pkg-message >@@ -39,10 +36,8 @@ SUB_LIST+= PYTHON_VER=${PYTHON_VER} > #TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} > # pkg install -y py38-pytest py38-mock py38-pytest-fixture-config py38-pytest-virtualenv py38-paver > >-post-install: >- ${INSTALL_DATA} ${FILESDIR}/easy-install.pth.dist ${STAGEDIR}${PYTHON_SITELIBDIR}/ >- > do-test: >- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs >+ cd ${WRKSRC} && \ >+ ${PYTHON_CMD} -m pytest -v -rs > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff --git a/devel/py-setuptools/distinfo b/devel/py-setuptools/distinfo >index 79396fbdf202..26aef6b76eda 100644 >--- a/devel/py-setuptools/distinfo >+++ b/devel/py-setuptools/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1657634036 >-SHA256 (python/setuptools-63.1.0.tar.gz) = 16923d366ced322712c71ccb97164d07472abeecd13f3a6c283f6d5d26722793 >-SIZE (python/setuptools-63.1.0.tar.gz) = 2599380 >+TIMESTAMP = 1711844399 >+SHA256 (python/setuptools-69.2.0.tar.gz) = 0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e >+SIZE (python/setuptools-69.2.0.tar.gz) = 2222950 >diff --git a/devel/py-setuptools/files/easy-install.pth.dist b/devel/py-setuptools/files/easy-install.pth.dist >deleted file mode 100644 >index e7ab88be464d..000000000000 >--- a/devel/py-setuptools/files/easy-install.pth.dist >+++ /dev/null >@@ -1,2 +0,0 @@ >-import sys; sys.__plen = len(sys.path) >-import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) >diff --git a/devel/py-setuptools/files/patch-setuptools_package__index.py b/devel/py-setuptools/files/patch-setuptools_package__index.py >deleted file mode 100644 >index 85b8319a0b09..000000000000 >--- a/devel/py-setuptools/files/patch-setuptools_package__index.py >+++ /dev/null >@@ -1,11 +0,0 @@ >---- setuptools/package_index.py.orig 2022-07-04 02:25:25 UTC >-+++ setuptools/package_index.py >-@@ -197,7 +197,7 @@ def unique_values(func): >- return wrapper >- >- >--REL = re.compile(r"""<([^>]*\srel\s*=\s*['"]?([^'">]+)[^>]*)>""", re.I) >-+REL = re.compile(r"""<([^>]*\srel\s{0,10}=\s{0,10}['"]?([^'" >]+)[^>]*)>""", re.I) >- # this line is here to fix emacs' cruddy broken syntax highlighting >- >- >-- >2.44.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270358
:
241004
|
241522
|
241717
|
242931
|
242941
|
242943
|
245574
|
246650
|
247216
|
248496
|
248818
|
249587