Date: Tue, 25 May 2021 14:26:32 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256150] lang/python310: add port Message-ID: <bug-256150-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256150 Bug ID: 256150 Summary: lang/python310: add port Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: amdmi3@FreeBSD.org Created attachment 225249 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225249&action= =3Dedit Patch Add lang/python310 at version 3.10.0b1 Changes to python39 are minimal (plus some removed patches which were alrea= dy upstreamed): --- python39/Makefile 2021-05-25 16:55:44.272237000 +0300 +++ python310/Makefile 2021-05-25 16:58:41.519315000 +0300 @@ -3,13 +3,13 @@ PORTNAME=3D python DISTVERSION=3D ${PYTHON_DISTVERSION} CATEGORIES=3D lang python -MASTER_SITES=3D PYTHON/ftp/python/${DISTVERSION} +MASTER_SITES=3D PYTHON/ftp/python/3.10.0 PKGNAMESUFFIX=3D ${PYTHON_SUFFIX} DISTNAME=3D Python-${DISTVERSION} DIST_SUBDIR=3D python MAINTAINER=3D python@FreeBSD.org -COMMENT=3D Interpreted object-oriented programming language +COMMENT=3D Interpreted object-oriented programming language (beta ve= rsion) LICENSE=3D PSFL @@ -46,7 +46,7 @@ PLIST_SUB=3D ABI=3D${ABIFLAGS} \ XY=3D${PYTHON_SUFFIX} \ XYDOT=3D${PYTHON_VER} \ - XYZDOT=3D${DISTVERSION} \ + XYZDOT=3D${DISTVERSION:C/[a-z].*//} \ OSMAJOR=3D${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}=20=20= =20=20=20=20=20=20=20=20=20=20 # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554 OPTIONS_DEFINE=3D DEBUG IPV6 LIBFFI LIBMPDEC NLS PYMALLOC @@ -116,6 +116,12 @@ DISABLED_EXTENSIONS+=3D nis .else PLIST_SUB+=3D NO_NIS=3D"" +.endif + +.if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1200000 +PLIST_SUB+=3D NEWOPENSSL=3D"@comment " +.else +PLIST_SUB+=3D NEWOPENSSL=3D"" .endif post-patch: diff -ruN python39/Makefile.version python310/Makefile.version --- python39/Makefile.version 2021-05-25 16:55:44.272304000 +0300 +++ python310/Makefile.version 2021-05-25 16:58:40.856247000 +0300 @@ -2,4 +2,4 @@ # Do not forget to update python documentation (lang/python-doc-*) # Run "make -C lang/python-doc-html makesum" -PYTHON_DISTVERSION=3D 3.9.5 +PYTHON_DISTVERSION=3D 3.10.0b1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256150-7788>