summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-25 05:34:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-25 05:34:18 +0000
commitb13427f90052ef03ee4e9b32fad3c3676118f2da (patch)
treee55367cb2f5c9eee2b4a2530791fc0f6a7aae564
parentRelax USES=python (diff)
Relax USES=python
- Simplify concurrent installation: - Use USE_PYTHON=concurrent - Remove DOCSDIR - Remove EXAMPLESDIR - Add NO_ARCH - Reformat pkg-descr - Add PyPI as primary WWW - Take maintainership
Notes
Notes: svn path=/head/; revision=462931
-rw-r--r--science/py-pyaixi/Makefile20
-rw-r--r--science/py-pyaixi/pkg-descr5
2 files changed, 11 insertions, 14 deletions
diff --git a/science/py-pyaixi/Makefile b/science/py-pyaixi/Makefile
index 05d619b4a7bb..a350b2edfce2 100644
--- a/science/py-pyaixi/Makefile
+++ b/science/py-pyaixi/Makefile
@@ -8,31 +8,27 @@ CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Implementation of the MC-AIXI-CTW AI algorithm
LICENSE= CC-BY-SA-3.0
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= dos2unix python:2.7
-USE_PYTHON= distutils autoplist
-
-PORTDOCS= changelog.txt \
- todo.txt
+NO_ARCH= yes
+USES= dos2unix python
+USE_PYTHON= autoplist concurrent distutils
+PORTDOCS= changelog.txt todo.txt
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
-EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} \
- ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/conf/|} \
- ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/conf/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/science/py-pyaixi/pkg-descr b/science/py-pyaixi/pkg-descr
index 8330dac5e150..f46ae0426302 100644
--- a/science/py-pyaixi/pkg-descr
+++ b/science/py-pyaixi/pkg-descr
@@ -1,8 +1,9 @@
-pyaixi is a pure Python implementation of the Monte Carlo-AIXI-Context Tree Weighting
-(MC-AIXI-CTW) artificial intelligence algorithm.
+pyaixi is a pure Python implementation of the Monte Carlo-AIXI-Context Tree
+Weighting (MC-AIXI-CTW) artificial intelligence algorithm.
This is an approximation of the AIXI universal artificial intelligence
algorithm, which describes a model-based, reinforcement-learning agent capable
of general learning.
+WWW: https://pypi.python.org/pypi/pyaixi
WWW: https://github.com/gkassel/pyaixi