Updated to PyChecker-0.8.7

- rename script to pyChecker
- optimize generated bytecode
This commit is contained in:
shell 2002-01-06 15:47:56 +00:00
parent 903763d2d6
commit 4cc31fda35
4 changed files with 46 additions and 11 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2001/11/28 07:39:34 shell Exp $
# $OpenBSD: Makefile,v 1.13 2002/01/06 15:47:56 shell Exp $
COMMENT= "python codes checker"
VERSION= 0.8.6
VERSION= 0.8.7
DISTNAME= pychecker-${VERSION}
PKGNAME= py-Checker-${VERSION}
CATEGORIES= devel
@ -39,7 +39,7 @@ do-build:
do-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${PY_CMD} install --prefix=${PREFIX}
${PY_CMD} install -O1 --prefix=${PREFIX}
.for i in ${DOC_FILE}
${INSTALL_DATA} ${WRKSRC}/$i ${DOC_DIR}
.endfor

View File

@ -1,3 +1,3 @@
MD5 (pychecker-0.8.6.tar.gz) = dfba1f6b5d882b4b5f0b17d3e7b21e60
RMD160 (pychecker-0.8.6.tar.gz) = 62d4bf717ff30b7e689eec13bdae39ea28f5bf47
SHA1 (pychecker-0.8.6.tar.gz) = 08f8d812d6606171cb067050ffd64fdc7f3e54a3
MD5 (pychecker-0.8.7.tar.gz) = 3091c5c038259a9d5bc2c8ec5eb0dd79
RMD160 (pychecker-0.8.7.tar.gz) = 56e789210e13ae661eb31c5032a39254e7a20232
SHA1 (pychecker-0.8.7.tar.gz) = 896c06f85521cd174aa0436c5fe06b55c8b51466

View File

@ -1,6 +1,26 @@
$OpenBSD: patch-setup_py,v 1.1 2001/11/28 07:39:35 shell Exp $
--- setup.py.orig Wed Nov 28 14:52:01 2001
+++ setup.py Wed Nov 28 14:52:44 2001
$OpenBSD: patch-setup_py,v 1.2 2002/01/06 15:47:57 shell Exp $
--- setup.py.orig Sun Jan 6 01:33:24 2002
+++ setup.py Sun Jan 6 23:40:49 2002
@@ -10,7 +10,7 @@
import sys
import os
-import tempfile
+#import tempfile
from distutils.core import setup
from distutils import sysconfig
@@ -34,8 +34,8 @@
script_suffix = ''
if sys.platform == 'win32' :
script_suffix = '.bat'
- LOCAL_SCRIPT = 'pychecker' + script_suffix
- LOCAL_SCRIPT = os.path.join(tempfile.gettempdir(), LOCAL_SCRIPT)
+ LOCAL_SCRIPT = 'pyChecker' + script_suffix
+ LOCAL_SCRIPT = os.path.join('./', LOCAL_SCRIPT)
remove_file(LOCAL_SCRIPT)
install_dir = sysconfig.get_python_lib() + os.sep + 'pychecker'
@@ -64,7 +64,7 @@
author_email = "pychecker@metaslash.com",
url = "http://pychecker.sourceforge.net/",

View File

@ -1,35 +1,50 @@
@comment $OpenBSD: PLIST,v 1.7 2002/01/04 17:29:51 shell Exp $
bin/pychecker
@comment $OpenBSD: PLIST,v 1.8 2002/01/06 15:47:57 shell Exp $
bin/pyChecker
lib/python${PYTHON_VER}/site-packages/pychecker/CodeChecks.py
lib/python${PYTHON_VER}/site-packages/pychecker/CodeChecks.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/CodeChecks.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/Config.py
lib/python${PYTHON_VER}/site-packages/pychecker/Config.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/Config.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/OP.py
lib/python${PYTHON_VER}/site-packages/pychecker/OP.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/OP.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/OptionTypes.py
lib/python${PYTHON_VER}/site-packages/pychecker/OptionTypes.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/OptionTypes.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/Stack.py
lib/python${PYTHON_VER}/site-packages/pychecker/Stack.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/Stack.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/Warning.py
lib/python${PYTHON_VER}/site-packages/pychecker/Warning.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/Warning.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/__init__.py
lib/python${PYTHON_VER}/site-packages/pychecker/__init__.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/__init__.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/checker.py
lib/python${PYTHON_VER}/site-packages/pychecker/checker.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/checker.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/function.py
lib/python${PYTHON_VER}/site-packages/pychecker/function.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/function.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/msgs.py
lib/python${PYTHON_VER}/site-packages/pychecker/msgs.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/msgs.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/options.py
lib/python${PYTHON_VER}/site-packages/pychecker/options.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/options.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/printer.py
lib/python${PYTHON_VER}/site-packages/pychecker/printer.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/printer.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/python.py
lib/python${PYTHON_VER}/site-packages/pychecker/python.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/python.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/utils.py
lib/python${PYTHON_VER}/site-packages/pychecker/utils.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/utils.pyo
lib/python${PYTHON_VER}/site-packages/pychecker/warn.py
lib/python${PYTHON_VER}/site-packages/pychecker/warn.pyc
lib/python${PYTHON_VER}/site-packages/pychecker/warn.pyo
share/doc/py-Checker/CHANGELOG
share/doc/py-Checker/KNOWN_BUGS
share/doc/py-Checker/MAINTAINERS