update to py-Checker 0.8.13

from Xavier Santolaria <xavier at santolaria dot net>
maintainer timeout
This commit is contained in:
sturm 2004-01-01 09:07:58 +00:00
parent 0acb0aa37c
commit 8cfb11ab8e
5 changed files with 38 additions and 16 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2003/07/31 19:11:59 sturm Exp $
# $OpenBSD: Makefile,v 1.21 2004/01/01 09:07:58 sturm Exp $
COMMENT= "python codes checker"
VERSION= 0.8.11
VERSION= 0.8.13
DISTNAME= pychecker-${VERSION}
PKGNAME= py-Checker-${VERSION}
CATEGORIES= devel
@ -12,7 +12,7 @@ HOMEPAGE= http://pychecker.sourceforge.net/
MAINTAINER= Shell Hung <shell@openbsd.org>
# BSD License
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -24,15 +24,23 @@ MODULES= python
MODPY_DISTUTILS_INSTALLARGS= -O1
NO_REGRESS= Yes
DOC_DIR= ${PREFIX}/share/doc/py-Checker/
DOC_FILE= CHANGELOG KNOWN_BUGS TODO MAINTAINERS README
EXAMPLESDIR= ${PREFIX}/share/examples/py-Checker/
post-build:
@perl -pi -e 's,%%PYTHON%%,${LOCALBASE}/bin/python${MODPY_VERSION},g' \
${WRKSRC}/test_check.sh
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
.for i in ${DOC_FILE}
${INSTALL_DATA} ${WRKSRC}/$i ${DOC_DIR}
.endfor
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/pycheckrc ${EXAMPLESDIR}
do-regress:
@cd ${WRKSRC} && sh ./test_check.sh
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (pychecker-0.8.11.tar.gz) = 5a8b206fba8614e3116b5b62249888ba
RMD160 (pychecker-0.8.11.tar.gz) = 877e445b3a9ad697225ab13c3a0e8be3fd031839
SHA1 (pychecker-0.8.11.tar.gz) = 0b398dfbc33ce25aa29afde1ae99c1f4cb65bbff
MD5 (pychecker-0.8.13.tar.gz) = 1b4dcfe0334e6a14ab7fb97c3c7cdb13
RMD160 (pychecker-0.8.13.tar.gz) = 3f96f389bc4158895fb91932a47e8db30ee4f3c1
SHA1 (pychecker-0.8.13.tar.gz) = 945f9ccb5d2ef543d17c123114c5b6b0416370d9

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-setup_py,v 1.4 2002/07/15 04:09:33 shell Exp $
--- setup.py.orig Fri Jun 7 03:59:21 2002
+++ setup.py Mon Jul 15 12:05:50 2002
$OpenBSD: patch-setup_py,v 1.5 2004/01/01 09:07:59 sturm Exp $
--- setup.py.orig 2003-11-18 04:50:14.000000000 +0100
+++ setup.py 2003-12-28 16:28:06.000000000 +0100
@@ -10,7 +10,7 @@ Contributed by: Nicolas Chauvat
import sys
@ -10,7 +10,7 @@ $OpenBSD: patch-setup_py,v 1.4 2002/07/15 04:09:33 shell Exp $
from distutils.core import setup
from distutils import sysconfig
@@ -42,8 +42,8 @@ fairly infrequent."""
@@ -56,8 +56,8 @@ fairly infrequent."""
script_str = '%s %s %s\n' % (py_exe, checker_py, arg_str)
script_suffix = '.bat'
@ -21,12 +21,12 @@ $OpenBSD: patch-setup_py,v 1.4 2002/07/15 04:09:33 shell Exp $
remove_file(LOCAL_SCRIPT)
try :
@@ -64,7 +64,7 @@ fairly infrequent."""
@@ -78,7 +78,7 @@ fairly infrequent."""
author_email = "pychecker@metaslash.com",
url = "http://pychecker.sourceforge.net/",
packages = [ 'pychecker' ],
- data_files = [ (install_dir, DOC_FILES) ],
+# data_files = [ (install_dir, DOC_FILES) ],
scripts = [ LOCAL_SCRIPT, ],
long_description = LONG_DESCRIPTION
)
# classifiers was added in Python 2.3, but needed for PyPI
#classifiers = CLASSIFIERS,

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-test_check_sh,v 1.1 2004/01/01 09:07:59 sturm Exp $
--- test_check.sh.orig 2003-11-18 04:49:00.000000000 +0100
+++ test_check.sh 2003-12-28 16:29:39.000000000 +0100
@@ -2,7 +2,7 @@
TESTS="test_input/test[1-9]*.py"
# comment out to use python from path
-PYTHON="python"
+PYTHON="%%PYTHON%%"
#PYTHON="$HOME/build/python/clean/python"
# PYTHON="$HOME/build/python/2.2/python"
#PYTHON="/usr/bin/python"

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.10 2003/07/31 19:11:59 sturm Exp $
@comment $OpenBSD: PLIST,v 1.11 2004/01/01 09:07:59 sturm Exp $
bin/pyChecker
lib/python${MODPY_VERSION}/site-packages/pychecker/CodeChecks.py
lib/python${MODPY_VERSION}/site-packages/pychecker/CodeChecks.pyc
@ -50,5 +50,7 @@ share/doc/py-Checker/KNOWN_BUGS
share/doc/py-Checker/MAINTAINERS
share/doc/py-Checker/README
share/doc/py-Checker/TODO
share/examples/py-Checker/pycheckrc
@dirrm share/examples/py-Checker
@dirrm share/doc/py-Checker
@dirrm lib/python${MODPY_VERSION}/site-packages/pychecker