diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2008-11-18 00:04:08 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2008-11-18 00:04:08 +0000 |
commit | c4fd7c6175b55d4bf6f9501f36fc48aca4ccd445 (patch) | |
tree | d76897ac4a100163de6a82619011920eeed94db1 | |
parent | 2c2226c558d071317546741a2cafa54fa44f04ee (diff) |
Update to 1.0.7
PR: ports/127970
Submitted by: romain@blogreen.org
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=222995
-rw-r--r-- | devel/viewvc/Makefile | 5 | ||||
-rw-r--r-- | devel/viewvc/distinfo | 6 | ||||
-rw-r--r-- | devel/viewvc/files/patch-svn-r1993 | 54 |
3 files changed, 5 insertions, 60 deletions
diff --git a/devel/viewvc/Makefile b/devel/viewvc/Makefile index 4037f9cc511e..c7b153d31225 100644 --- a/devel/viewvc/Makefile +++ b/devel/viewvc/Makefile @@ -6,10 +6,9 @@ # PORTNAME= viewvc -PORTVERSION= 1.0.5 -PORTREVISION= 4 +PORTVERSION= 1.0.7 CATEGORIES= devel python -MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/41694/ +MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/44050/ MAINTAINER= pgollucci@FreeBSD.org COMMENT= Web-based Version Control Repository Browsing diff --git a/devel/viewvc/distinfo b/devel/viewvc/distinfo index 3be8b7a87d67..d8028afd0d52 100644 --- a/devel/viewvc/distinfo +++ b/devel/viewvc/distinfo @@ -1,3 +1,3 @@ -MD5 (viewvc-1.0.5.tar.gz) = 8fc8107f937b9da481b14333a7fdb29d -SHA256 (viewvc-1.0.5.tar.gz) = 0caf17fa0137231c0a78a5c57e758da73475212516d4758fe521def007a8fddd -SIZE (viewvc-1.0.5.tar.gz) = 522323 +MD5 (viewvc-1.0.7.tar.gz) = cfc8c51418114704c23de64f8e6c04dd +SHA256 (viewvc-1.0.7.tar.gz) = d801c903efc993e15d08f38eb84f084a596bc3f7b97b0c2c044b16c41645df76 +SIZE (viewvc-1.0.7.tar.gz) = 522560 diff --git a/devel/viewvc/files/patch-svn-r1993 b/devel/viewvc/files/patch-svn-r1993 deleted file mode 100644 index 43f20fda9fd5..000000000000 --- a/devel/viewvc/files/patch-svn-r1993 +++ /dev/null @@ -1,54 +0,0 @@ -Index: bin/mod_python/viewvc.py -=================================================================== ---- bin/mod_python/viewvc.py (revision 1992) -+++ bin/mod_python/viewvc.py (revision 1993) -@@ -42,9 +42,15 @@ - sys.path.insert(0, LIBRARY_DIR) - - import sapi --import viewvc --reload(viewvc) # need reload because initial import loads this stub file -+import imp - -+# Import real ViewVC module -+fp, pathname, description = imp.find_module('viewvc', [LIBRARY_DIR]) -+try: -+ viewvc = imp.load_module('viewvc', fp, pathname, description) -+finally: -+ if fp: -+ fp.close() - - def index(req): - server = sapi.ModPythonServer(req) -Index: bin/mod_python/query.py -=================================================================== ---- bin/mod_python/query.py (revision 1992) -+++ bin/mod_python/query.py (revision 1993) -@@ -42,10 +42,24 @@ - sys.path.insert(0, LIBRARY_DIR) - - import sapi --import viewvc --import query --reload(query) # need reload because initial import loads this stub file -+import imp - -+# Import real ViewVC module -+fp, pathname, description = imp.find_module('viewvc', [LIBRARY_DIR]) -+try: -+ viewvc = imp.load_module('viewvc', fp, pathname, description) -+finally: -+ if fp: -+ fp.close() -+ -+# Import real ViewVC Query modules -+fp, pathname, description = imp.find_module('query', [LIBRARY_DIR]) -+try: -+ query = imp.load_module('query', fp, pathname, description) -+finally: -+ if fp: -+ fp.close() -+ - cfg = viewvc.load_config(CONF_PATHNAME) - - def index(req): |