Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2014 13:36:20 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375833 - head/devel/py-twistedCore
Message-ID:  <201412301336.sBUDaKdn040184@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Dec 30 13:36:19 2014
New Revision: 375833
URL: https://svnweb.freebsd.org/changeset/ports/375833
QAT: https://qat.redports.org/buildarchive/r375833/

Log:
  devel/py-twistedCore: add dependency on security/py-service_identity
  
  - add dependency on security/py-service_identity. It fixes this warning
    when running deluge, for example:
  """
  /usr/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py:184:
  UserWarning: You do not have the service_identity module installed.
  Without the service_identity module and a recent enough pyOpenSSL tosupport it,
  Twisted can perform only rudimentary TLS client hostnameverification.
  Many valid certificate/hostname mappings may be rejected.
    verifyHostname, VerificationError = _selectVerifyImplementation()
  """
  - define LICENSE_FILE
  - update comment
  - bump PORTREVISION because of dependency change

Modified:
  head/devel/py-twistedCore/Makefile

Modified: head/devel/py-twistedCore/Makefile
==============================================================================
--- head/devel/py-twistedCore/Makefile	Tue Dec 30 13:31:19 2014	(r375832)
+++ head/devel/py-twistedCore/Makefile	Tue Dec 30 13:36:19 2014	(r375833)
@@ -3,6 +3,7 @@
 
 PORTNAME=	twistedCore
 PORTVERSION=	14.0.0
+PORTREVISION=	1
 CATEGORIES=	devel net python
 MASTER_SITES=	http://twistedmatrix.com/Releases/Core/${PORTVERSION:R}/ \
 		LOCAL/sunpoet
@@ -13,16 +14,18 @@ MAINTAINER=	python@FreeBSD.org
 COMMENT=	Asynchronous networking framework for Python - Core module
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.0:${PORTSDIR}/devel/py-zope.interface
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+RUN_DEPENDS:=	${BUILD_DEPENDS} \
+		${PYTHON_PKGNAMEPREFIX}service_identity>0:${PORTSDIR}/security/py-service_identity
 
 # - Note that Twisted ships with some graphical examples and clients that
 #   require PyGNOME to run.  These are not central to the funcitoning of
-#   Twisted, but the user should feel free to install x11-toolits/py-gnome
+#   Twisted, but the user should feel free to install x11-toolits/py-gnome2
 #   separately if desired.
 
 USES=		python:2 tar:bzip2
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>



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