1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- 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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-12-29 17:54:31 +00:00
parent a5ac2aeb3b
commit 12280a64eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404772
4 changed files with 24 additions and 10 deletions

View File

@ -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>

View File

@ -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

View File

@ -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)

View File

@ -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