diff options
author | rm <rm@FreeBSD.org> | 2015-01-18 04:53:58 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2015-01-18 04:53:58 +0800 |
commit | f9c8f6466a1a78c08dbac59667ed62f98f81bc59 (patch) | |
tree | 5e95936641cf9fd043bb88275bfce597ccb89318 /devel | |
parent | 4540aebd8ffef9c2665f2bc7094cc8fa6ba26400 (diff) | |
download | freebsd-ports-gnome-f9c8f6466a1a78c08dbac59667ed62f98f81bc59.tar.gz freebsd-ports-gnome-f9c8f6466a1a78c08dbac59667ed62f98f81bc59.tar.zst freebsd-ports-gnome-f9c8f6466a1a78c08dbac59667ed62f98f81bc59.zip |
devel/py-zope.interface: update to 4.1.2
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-zope.interface/Makefile | 15 | ||||
-rw-r--r-- | devel/py-zope.interface/distinfo | 4 | ||||
-rw-r--r-- | devel/py-zope.interface/pkg-descr | 6 |
3 files changed, 18 insertions, 7 deletions
diff --git a/devel/py-zope.interface/Makefile b/devel/py-zope.interface/Makefile index e658265e8a0d..92c4af44aa6c 100644 --- a/devel/py-zope.interface/Makefile +++ b/devel/py-zope.interface/Makefile @@ -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> diff --git a/devel/py-zope.interface/distinfo b/devel/py-zope.interface/distinfo index f82c78aee3cb..7dbf987925f5 100644 --- a/devel/py-zope.interface/distinfo +++ b/devel/py-zope.interface/distinfo @@ -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 diff --git a/devel/py-zope.interface/pkg-descr b/devel/py-zope.interface/pkg-descr index 465057050527..578172fad358 100644 --- a/devel/py-zope.interface/pkg-descr +++ b/devel/py-zope.interface/pkg-descr @@ -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/ |