Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 05:33:19 +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: r462920 - head/devel/py-yunomi
Message-ID:  <201802250533.w1P5XJia065436@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Feb 25 05:33:18 2018
New Revision: 462920
URL: https://svnweb.freebsd.org/changeset/ports/462920

Log:
  Relax USES=python
  
  - Add LICENSE_FILE
  - Simplify concurrent installation:
    - Use USE_PYTHON=concurrent
    - Remove DOCSDIR
  - Add NO_ARCH
  - Add PyPI as primary WWW
  - Take maintainership

Modified:
  head/devel/py-yunomi/Makefile
  head/devel/py-yunomi/pkg-descr

Modified: head/devel/py-yunomi/Makefile
==============================================================================
--- head/devel/py-yunomi/Makefile	Sun Feb 25 05:33:13 2018	(r462919)
+++ head/devel/py-yunomi/Makefile	Sun Feb 25 05:33:18 2018	(r462920)
@@ -8,23 +8,23 @@ CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Metrics library with rate, distribution and timing information
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-PORTDOCS=	README.rst \
-		HISTORY.rst
+NO_ARCH=	yes
+USES=		python
+USE_LOCALE=	en_US.UTF-8
+USE_PYTHON=	autoplist concurrent distutils
 
-USES=		python:2.7
-USE_PYTHON=	distutils autoplist
+PORTDOCS=	README.rst HISTORY.rst
 
 OPTIONS_DEFINE=	DOCS
 
-DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/py-yunomi/pkg-descr
==============================================================================
--- head/devel/py-yunomi/pkg-descr	Sun Feb 25 05:33:13 2018	(r462919)
+++ head/devel/py-yunomi/pkg-descr	Sun Feb 25 05:33:18 2018	(r462920)
@@ -1,5 +1,6 @@
-yunomi provides insights to the internal behavior of an application, providing
+Yunomi provides insights to the internal behavior of an application, providing
 useful statistics and metrics on selected portions of your code. It's a Python
 port of the core portion of a Java Metrics library by Coda Hale.
 
+WWW: https://pypi.python.org/pypi/yunomi
 WWW: https://github.com/dreid/yunomi



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