svn commit: r462931 - head/science/py-pyaixi
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 25 05:34:19 UTC 2018
Author: sunpoet
Date: Sun Feb 25 05:34:18 2018
New Revision: 462931
URL: https://svnweb.freebsd.org/changeset/ports/462931
Log:
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
Modified:
head/science/py-pyaixi/Makefile
head/science/py-pyaixi/pkg-descr
Modified: head/science/py-pyaixi/Makefile
==============================================================================
--- head/science/py-pyaixi/Makefile Sun Feb 25 05:34:13 2018 (r462930)
+++ head/science/py-pyaixi/Makefile Sun Feb 25 05:34:18 2018 (r462931)
@@ -8,31 +8,27 @@ CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at 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
+NO_ARCH= yes
+USES= dos2unix python
+USE_PYTHON= autoplist concurrent distutils
-PORTDOCS= changelog.txt \
- todo.txt
-
+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>
Modified: head/science/py-pyaixi/pkg-descr
==============================================================================
--- head/science/py-pyaixi/pkg-descr Sun Feb 25 05:34:13 2018 (r462930)
+++ head/science/py-pyaixi/pkg-descr Sun Feb 25 05:34:18 2018 (r462931)
@@ -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
More information about the svn-ports-all
mailing list