Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 20:53:59 +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: r377246 - head/devel/py-zope.interface
Message-ID:  <201501172053.t0HKrxkI061092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sat Jan 17 20:53:58 2015
New Revision: 377246
URL: https://svnweb.freebsd.org/changeset/ports/377246
QAT: https://qat.redports.org/buildarchive/r377246/

Log:
  devel/py-zope.interface: update to 4.1.2

Modified:
  head/devel/py-zope.interface/Makefile
  head/devel/py-zope.interface/distinfo
  head/devel/py-zope.interface/pkg-descr

Modified: head/devel/py-zope.interface/Makefile
==============================================================================
--- head/devel/py-zope.interface/Makefile	Sat Jan 17 19:23:18 2015	(r377245)
+++ head/devel/py-zope.interface/Makefile	Sat Jan 17 20:53:58 2015	(r377246)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	zope.interface
-PORTVERSION=	3.8.0
-PORTREVISION=	1
+PORTVERSION=	4.1.2
 CATEGORIES=	devel python zope
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +12,18 @@ MAINTAINER=	zope@FreeBSD.org
 COMMENT=	Interfaces for Python
 
 LICENSE=	ZPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
+
+post-patch:
+	# fix pkg-plist problem with python3. This file is not installing.
+	@${REINPLACE_CMD} -e 's|src/zope/__init__.py||' \
+		${WRKSRC}/src/zope.interface.egg-info/SOURCES.txt
+	@${RM} ${WRKSRC}/src/zope/__init__.py \
+		${WRKSRC}/src/zope.interface.egg-info/SOURCES.txt.bak
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zope/interface/_zope_interface_coptimizations.so
 
 .include <bsd.port.mk>

Modified: head/devel/py-zope.interface/distinfo
==============================================================================
--- head/devel/py-zope.interface/distinfo	Sat Jan 17 19:23:18 2015	(r377245)
+++ head/devel/py-zope.interface/distinfo	Sat Jan 17 20:53:58 2015	(r377246)
@@ -1,2 +1,2 @@
-SHA256 (zope/zope.interface-3.8.0.tar.gz) = 1d5411ff82fd3a73bad6efb38deddb3f98d61d590344deb0cdd308e8aa94d3ff
-SIZE (zope/zope.interface-3.8.0.tar.gz) = 111537
+SHA256 (zope/zope.interface-4.1.2.tar.gz) = 441fefcac1fbac57c55239452557d3598571ab82395198b2565a29d45d1232f6
+SIZE (zope/zope.interface-4.1.2.tar.gz) = 919277

Modified: head/devel/py-zope.interface/pkg-descr
==============================================================================
--- head/devel/py-zope.interface/pkg-descr	Sat Jan 17 19:23:18 2015	(r377245)
+++ head/devel/py-zope.interface/pkg-descr	Sat Jan 17 20:53:58 2015	(r377246)
@@ -1,4 +1,6 @@
-This is a separate distribution of the zope.interface package used in Zope 3,
-along with the packages it depends on.
+This package provides an implementation of "object interfaces" for Python.
+Interfaces are a mechanism for labeling objects as conforming to a given API or
+contract. So, this package can be considered as implementation of the Design By
+Contract methodology support in Python.
 
 WWW: https://pypi.python.org/pypi/zope.interface/



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