Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2017 11:08:40 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438647 - head/lang/python35
Message-ID:  <201704161108.v3GB8e6W073996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Apr 16 11:08:39 2017
New Revision: 438647
URL: https://svnweb.freebsd.org/changeset/ports/438647

Log:
  Modernize port
  
  - Use PORTVERSION
  - Use BROKEN_SSL
  - Fix indent
  - Update WWW

Modified:
  head/lang/python35/Makefile
  head/lang/python35/pkg-descr

Modified: head/lang/python35/Makefile
==============================================================================
--- head/lang/python35/Makefile	Sun Apr 16 11:08:34 2017	(r438646)
+++ head/lang/python35/Makefile	Sun Apr 16 11:08:39 2017	(r438647)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	python
-DISTVERSION=	${PYTHON_PORTVERSION}
+PORTVERSION=	${PYTHON_PORTVERSION}
 PORTREVISION=	1
 CATEGORIES=	lang python ipv6
 MASTER_SITES=	PYTHON/ftp/python/${PYTHON_PORTVERSION}
@@ -15,6 +15,8 @@ COMMENT=	Interpreted object-oriented pro
 
 LICENSE=	PSFL
 
+BROKEN_SSL=	openssl-devel
+
 USES=		cpe ncurses pathfix pkgconfig readline ssl tar:xz shebangfix
 PATHFIX_MAKEFILEIN=	Makefile.pre.in
 USE_LDCONFIG=	yes
@@ -77,7 +79,6 @@ LIBFFI_LIB_DEPENDS=	libffi.so:devel/libf
 # Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat
 # to break in Python 2.7, or preprocessor complaints in Python >= 3.3
 # Upstream Issue: http://bugs.python.org/issue6299
-
 NLS_USES=		gettext
 NLS_CPPFLAGS=		-I${LOCALBASE}/include
 NLS_LIBS=		-L${LOCALBASE}/lib -lintl
@@ -110,7 +111,7 @@ PLIST_FILES+=	libdata/pkgconfig/python-%
 # http://bugs.python.org/issue22521
 # http://bugs.python.org/issue23042
 .if ${ARCH} == i386 && !${PORT_OPTIONS:MLIBFFI}
-BROKEN=	You must use libffi from ports on i386. Enable the LIBFFI option
+BROKEN=		You must use libffi from ports on i386. Enable the LIBFFI option
 .endif
 
 .if ${ARCH} == sparc64
@@ -136,10 +137,4 @@ post-install:
 	for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
 		${STRIP_CMD} $$i; done								# Strip shared extensions
 
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT:Mopenssl-devel}
-BROKEN=		Does not build with openssl-devel
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/lang/python35/pkg-descr
==============================================================================
--- head/lang/python35/pkg-descr	Sun Apr 16 11:08:34 2017	(r438646)
+++ head/lang/python35/pkg-descr	Sun Apr 16 11:08:39 2017	(r438647)
@@ -1,4 +1,4 @@
 Python is an interpreted object-oriented programming language, and is
 often compared to Tcl, Perl or Scheme.
 
-WWW: http://www.python.org/
+WWW: https://www.python.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704161108.v3GB8e6W073996>