diff options
author | wen <wen@FreeBSD.org> | 2013-05-26 22:31:30 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2013-05-26 22:31:30 +0800 |
commit | 697ed329572b8913f43c03e7f8c47e713d6df312 (patch) | |
tree | a74cf03b41b2e44bd7f8310af6dbabaee118bebc | |
parent | 74e2f4fc12dd542757501dffe89f2bd640dd8212 (diff) | |
download | freebsd-ports-gnome-697ed329572b8913f43c03e7f8c47e713d6df312.tar.gz freebsd-ports-gnome-697ed329572b8913f43c03e7f8c47e713d6df312.tar.zst freebsd-ports-gnome-697ed329572b8913f43c03e7f8c47e713d6df312.zip |
- Fix build with python3
- Bump PORTREVISION
Reported by: Dmitry Sivachenko <trtrmitya@gmail.com> (via email)
-rw-r--r-- | databases/pymongo/Makefile | 7 | ||||
-rw-r--r-- | databases/pymongo/files/patch-setup.py | 10 | ||||
-rw-r--r-- | databases/pymongo/pkg-plist | 130 |
3 files changed, 145 insertions, 2 deletions
diff --git a/databases/pymongo/Makefile b/databases/pymongo/Makefile index dc908b3fa163..9771e70ca3ef 100644 --- a/databases/pymongo/Makefile +++ b/databases/pymongo/Makefile @@ -3,14 +3,13 @@ PORTNAME= pymongo PORTVERSION= 2.5 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP MAINTAINER= wen@FreeBSD.org COMMENT= Python driver for MongoDB -PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% - USE_PYTHON= yes USE_PYDISTUTILS= easy_install PYEASYINSTALL_ARCHDEP= yes @@ -22,4 +21,8 @@ PYDISTUTILS_NOEGGINFO= yes BROKEN= Does not install on ia64, powerpc, or sparc64 .endif +.if ${PYTHON_REL} >= 320 +.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" +.endif + .include <bsd.port.post.mk> diff --git a/databases/pymongo/files/patch-setup.py b/databases/pymongo/files/patch-setup.py new file mode 100644 index 000000000000..6374cff32c21 --- /dev/null +++ b/databases/pymongo/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2013-05-26 10:11:36.000000000 +0000 ++++ setup.py 2013-05-26 11:26:48.000000000 +0000 +@@ -289,6 +289,7 @@ + features=features, + license="Apache License, Version 2.0", + tests_require=["nose"], ++ zip_safe=False, + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", diff --git a/databases/pymongo/pkg-plist b/databases/pymongo/pkg-plist new file mode 100644 index 000000000000..d8edd18ef918 --- /dev/null +++ b/databases/pymongo/pkg-plist @@ -0,0 +1,130 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/binary.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/binary.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/binary.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/_cbson.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/_cbson.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/_cbson.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/_cbson.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/code.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/code.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/code.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/dbref.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/dbref.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/dbref.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/errors.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/errors.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/errors.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/json_util.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/json_util.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/json_util.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/max_key.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/max_key.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/max_key.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/min_key.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/min_key.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/min_key.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/objectid.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/objectid.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/objectid.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/py3compat.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/py3compat.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/py3compat.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/son.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/son.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/son.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/timestamp.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/timestamp.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/timestamp.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/tz_util.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/tz_util.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson/tz_util.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/errors.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/errors.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/errors.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/grid_file.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/grid_file.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/grid_file.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/auth.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/auth.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/auth.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/_cmessage.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/_cmessage.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/_cmessage.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/_cmessage.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/collection.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/collection.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/collection.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/common.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/common.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/common.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/connection.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/connection.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/connection.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/cursor_manager.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/cursor_manager.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/cursor_manager.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/cursor.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/cursor.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/cursor.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/database.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/database.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/database.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/errors.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/errors.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/errors.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/helpers.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/helpers.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/helpers.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/master_slave_connection.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/master_slave_connection.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/master_slave_connection.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/message.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/message.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/message.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/mongo_client.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/mongo_client.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/mongo_client.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/mongo_replica_set_client.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/mongo_replica_set_client.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/mongo_replica_set_client.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/pool.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/pool.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/pool.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/read_preferences.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/read_preferences.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/read_preferences.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/replica_set_connection.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/replica_set_connection.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/replica_set_connection.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/son_manipulator.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/son_manipulator.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/son_manipulator.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/ssl_match_hostname.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/ssl_match_hostname.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/ssl_match_hostname.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/thread_util.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/thread_util.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/thread_util.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/uri_parser.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/uri_parser.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo/uri_parser.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pymongo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gridfs +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bson +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |