1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-25 05:33:18 +00:00
parent 1b9365bada
commit 69abf923eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462920
2 changed files with 10 additions and 9 deletions

View File

@ -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>

View File

@ -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