aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pyke
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-11-06 00:18:31 +0800
committerwen <wen@FreeBSD.org>2009-11-06 00:18:31 +0800
commit81202e8f2a4b59d3eae8ac050f1b47fc5eb9a503 (patch)
tree6bea4da72d8dcb05aa1e610e369f7ed7438abe9c /devel/py-pyke
parent7831456b111e48be1c84990ef1990f22de6b125d (diff)
downloadfreebsd-ports-gnome-81202e8f2a4b59d3eae8ac050f1b47fc5eb9a503.tar.gz
freebsd-ports-gnome-81202e8f2a4b59d3eae8ac050f1b47fc5eb9a503.tar.zst
freebsd-ports-gnome-81202e8f2a4b59d3eae8ac050f1b47fc5eb9a503.zip
- Update to 1.0.4
- Update my mail address to FreeBSD - Respect PORTDOCS
Diffstat (limited to 'devel/py-pyke')
-rw-r--r--devel/py-pyke/Makefile14
-rw-r--r--devel/py-pyke/distinfo6
-rw-r--r--devel/py-pyke/files/patch-setup.py11
-rw-r--r--devel/py-pyke/pkg-plist112
4 files changed, 136 insertions, 7 deletions
diff --git a/devel/py-pyke/Makefile b/devel/py-pyke/Makefile
index e501b2f557a3..e37bc90abc90 100644
--- a/devel/py-pyke/Makefile
+++ b/devel/py-pyke/Makefile
@@ -6,17 +6,25 @@
#
PORTNAME= pyke
-PORTVERSION= 1.0.2
+PORTVERSION= 1.0.4
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= wenheping@gmail.com
+MAINTAINER= wen@FreeBSD.org
COMMENT= Python Knowledge Engine
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=2.3:${PORTSDIR}/devel/py-ply
+USE_ZIP= yes
USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
+USE_PYDISTUTILS= yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/devel/py-pyke/distinfo b/devel/py-pyke/distinfo
index 5e4480d6fffd..a46979e6199b 100644
--- a/devel/py-pyke/distinfo
+++ b/devel/py-pyke/distinfo
@@ -1,3 +1,3 @@
-MD5 (pyke-1.0.2.tar.gz) = e812d22af70e30d47926ff42fe807d3e
-SHA256 (pyke-1.0.2.tar.gz) = 6b358d1b6a83c4ddf437abf7e01a8c956405d7b33c74aefb26d1626273b0a990
-SIZE (pyke-1.0.2.tar.gz) = 1011218
+MD5 (pyke-1.0.4.zip) = 86e47c0507a050bed1f3b7a9becad9ff
+SHA256 (pyke-1.0.4.zip) = 87ba3650685c2b520a8b34d04021ff45624826221dc5488b52a0e5fc8fb13064
+SIZE (pyke-1.0.4.zip) = 1869491
diff --git a/devel/py-pyke/files/patch-setup.py b/devel/py-pyke/files/patch-setup.py
new file mode 100644
index 000000000000..021e0ded4256
--- /dev/null
+++ b/devel/py-pyke/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2009-11-05 22:41:45.000000000 +0800
++++ setup.py 2009-11-05 22:41:55.000000000 +0800
+@@ -10,7 +10,7 @@
+ 'pyke.krb_compiler': ['*.krb'],
+ 'pyke.krb_compiler.ply': ['README', 'README.pyke'],
+ },
+- data_files = [('pyke', ['LICENSE', 'README.txt'])],
++# data_files = [('pyke', ['LICENSE', 'README.txt'])],
+
+ # old setuptools stuff:
+ #install_requires = [],
diff --git a/devel/py-pyke/pkg-plist b/devel/py-pyke/pkg-plist
index ddf68a1c022f..54bf449f9560 100644
--- a/devel/py-pyke/pkg-plist
+++ b/devel/py-pyke/pkg-plist
@@ -1 +1,111 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+%%PYTHON_SITELIBDIR%%/pyke/__init__.py
+%%PYTHON_SITELIBDIR%%/pyke/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyke/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyke/ask_tty.py
+%%PYTHON_SITELIBDIR%%/pyke/ask_tty.pyc
+%%PYTHON_SITELIBDIR%%/pyke/ask_tty.pyo
+%%PYTHON_SITELIBDIR%%/pyke/ask_wx.py
+%%PYTHON_SITELIBDIR%%/pyke/ask_wx.pyc
+%%PYTHON_SITELIBDIR%%/pyke/ask_wx.pyo
+%%PYTHON_SITELIBDIR%%/pyke/bc_rule.py
+%%PYTHON_SITELIBDIR%%/pyke/bc_rule.pyc
+%%PYTHON_SITELIBDIR%%/pyke/bc_rule.pyo
+%%PYTHON_SITELIBDIR%%/pyke/condensedPrint.py
+%%PYTHON_SITELIBDIR%%/pyke/condensedPrint.pyc
+%%PYTHON_SITELIBDIR%%/pyke/condensedPrint.pyo
+%%PYTHON_SITELIBDIR%%/pyke/contexts.py
+%%PYTHON_SITELIBDIR%%/pyke/contexts.pyc
+%%PYTHON_SITELIBDIR%%/pyke/contexts.pyo
+%%PYTHON_SITELIBDIR%%/pyke/fact_base.py
+%%PYTHON_SITELIBDIR%%/pyke/fact_base.pyc
+%%PYTHON_SITELIBDIR%%/pyke/fact_base.pyo
+%%PYTHON_SITELIBDIR%%/pyke/fc_rule.py
+%%PYTHON_SITELIBDIR%%/pyke/fc_rule.pyc
+%%PYTHON_SITELIBDIR%%/pyke/fc_rule.pyo
+%%PYTHON_SITELIBDIR%%/pyke/immutable_dict.py
+%%PYTHON_SITELIBDIR%%/pyke/immutable_dict.pyc
+%%PYTHON_SITELIBDIR%%/pyke/immutable_dict.pyo
+%%PYTHON_SITELIBDIR%%/pyke/knowledge_base.py
+%%PYTHON_SITELIBDIR%%/pyke/knowledge_base.pyc
+%%PYTHON_SITELIBDIR%%/pyke/knowledge_base.pyo
+%%PYTHON_SITELIBDIR%%/pyke/knowledge_engine.py
+%%PYTHON_SITELIBDIR%%/pyke/knowledge_engine.pyc
+%%PYTHON_SITELIBDIR%%/pyke/knowledge_engine.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/__init__.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/compiler.krb
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/compiler_bc.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/compiler_bc.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/compiler_bc.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/helpers.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/helpers.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/helpers.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kfbparser.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kfbparser.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kfbparser.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kfbparser_tables.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kfbparser_tables.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kfbparser_tables.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kqb_parser.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kqb_parser.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/kqb_parser.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/krbparser.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/krbparser.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/krbparser.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/krbparser_tables.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/krbparser_tables.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/krbparser_tables.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/README
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/README.pyke
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/__init__.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/lex.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/lex.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/lex.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/yacc.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/yacc.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply/yacc.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/scanner.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/scanner.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/scanner.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/scanner_tables.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/scanner_tables.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_compiler/scanner_tables.pyo
+%%PYTHON_SITELIBDIR%%/pyke/krb_traceback.py
+%%PYTHON_SITELIBDIR%%/pyke/krb_traceback.pyc
+%%PYTHON_SITELIBDIR%%/pyke/krb_traceback.pyo
+%%PYTHON_SITELIBDIR%%/pyke/pattern.py
+%%PYTHON_SITELIBDIR%%/pyke/pattern.pyc
+%%PYTHON_SITELIBDIR%%/pyke/pattern.pyo
+%%PYTHON_SITELIBDIR%%/pyke/qa_helpers.py
+%%PYTHON_SITELIBDIR%%/pyke/qa_helpers.pyc
+%%PYTHON_SITELIBDIR%%/pyke/qa_helpers.pyo
+%%PYTHON_SITELIBDIR%%/pyke/question_base.py
+%%PYTHON_SITELIBDIR%%/pyke/question_base.pyc
+%%PYTHON_SITELIBDIR%%/pyke/question_base.pyo
+%%PYTHON_SITELIBDIR%%/pyke/rule_base.py
+%%PYTHON_SITELIBDIR%%/pyke/rule_base.pyc
+%%PYTHON_SITELIBDIR%%/pyke/rule_base.pyo
+%%PYTHON_SITELIBDIR%%/pyke/special.py
+%%PYTHON_SITELIBDIR%%/pyke/special.pyc
+%%PYTHON_SITELIBDIR%%/pyke/special.pyo
+%%PYTHON_SITELIBDIR%%/pyke/target_pkg.py
+%%PYTHON_SITELIBDIR%%/pyke/target_pkg.pyc
+%%PYTHON_SITELIBDIR%%/pyke/target_pkg.pyo
+%%PYTHON_SITELIBDIR%%/pyke/test.py
+%%PYTHON_SITELIBDIR%%/pyke/test.pyc
+%%PYTHON_SITELIBDIR%%/pyke/test.pyo
+%%PYTHON_SITELIBDIR%%/pyke/unique.py
+%%PYTHON_SITELIBDIR%%/pyke/unique.pyc
+%%PYTHON_SITELIBDIR%%/pyke/unique.pyo
+%%PYTHON_SITELIBDIR%%/pyke/user_question.py
+%%PYTHON_SITELIBDIR%%/pyke/user_question.pyc
+%%PYTHON_SITELIBDIR%%/pyke/user_question.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/pyke/krb_compiler/ply
+@dirrm %%PYTHON_SITELIBDIR%%/pyke/krb_compiler
+@dirrm %%PYTHON_SITELIBDIR%%/pyke
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%