Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2015 17:54:31 +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: r404772 - in head/devel/py-mox: . files
Message-ID:  <201512291754.tBTHsV9X020509@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Dec 29 17:54:31 2015
New Revision: 404772
URL: https://svnweb.freebsd.org/changeset/ports/404772

Log:
  - Add LICENSE
  - Update MASTER_SITES: change from GOOGLE_CODE to CHEESESHOP
  - Add NO_ARCH
  - Allow build with Python 3
  - Reformat pkg-descr
  - Update WWW
  - Bump PORTREVISION for package change
  - Take maintainership

Added:
  head/devel/py-mox/files/
  head/devel/py-mox/files/patch-mox.py   (contents, props changed)
Modified:
  head/devel/py-mox/Makefile
  head/devel/py-mox/distinfo
  head/devel/py-mox/pkg-descr

Modified: head/devel/py-mox/Makefile
==============================================================================
--- head/devel/py-mox/Makefile	Tue Dec 29 17:54:25 2015	(r404771)
+++ head/devel/py-mox/Makefile	Tue Dec 29 17:54:31 2015	(r404772)
@@ -3,16 +3,19 @@
 
 PORTNAME=	mox
 PORTVERSION=	0.5.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Mock object framework for Python
 
-PROJECTHOST=	pymox
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist distutils
 USES=		python
-USE_PYTHON=	distutils autoplist
 
 .include <bsd.port.mk>

Modified: head/devel/py-mox/distinfo
==============================================================================
--- head/devel/py-mox/distinfo	Tue Dec 29 17:54:25 2015	(r404771)
+++ head/devel/py-mox/distinfo	Tue Dec 29 17:54:31 2015	(r404772)
@@ -1,2 +1,2 @@
-SHA256 (mox-0.5.3.tar.gz) = 4d18a4577d14da13d032be21cbdfceed302171c275b72adaa4c5997d589a5030
-SIZE (mox-0.5.3.tar.gz) = 31266
+SHA256 (mox-0.5.3.tar.gz) = 424ee725ee12652802b4e86571f816059b0d392401ceae70bf6487d65602cba9
+SIZE (mox-0.5.3.tar.gz) = 32397

Added: head/devel/py-mox/files/patch-mox.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-mox/files/patch-mox.py	Tue Dec 29 17:54:31 2015	(r404772)
@@ -0,0 +1,11 @@
+--- mox.py.orig	2010-07-10 18:26:30 UTC
++++ mox.py
+@@ -1229,7 +1229,7 @@ class Comparator:
+       rhs: any python object
+     """
+ 
+-    raise NotImplementedError, 'method must be implemented by a subclass.'
++    raise NotImplementedError('method must be implemented by a subclass.')
+ 
+   def __eq__(self, rhs):
+     return self.equals(rhs)

Modified: head/devel/py-mox/pkg-descr
==============================================================================
--- head/devel/py-mox/pkg-descr	Tue Dec 29 17:54:25 2015	(r404771)
+++ head/devel/py-mox/pkg-descr	Tue Dec 29 17:54:31 2015	(r404772)
@@ -1,4 +1,4 @@
-Mox is an open source mock object framework for Python, inspired by
-the Java library EasyMock.
+Mox is an open source mock object framework for Python, inspired by the Java
+library EasyMock.
 
-WWW:	http://code.google.com/p/pymox/
+WWW: https://pypi.python.org/pypi/mox



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