Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 05:34:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462931 - head/science/py-pyaixi
Message-ID:  <201802250534.w1P5YI6n066858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802250534.w1P5YI6n066858>