freebsd-ports/devel/py-check-manifest/Makefile
Kubilay Kocak 82aee4f3a6 devel/py-checkmanifest: Rename port, Update to 0.22
- Move py-checkmanifest to py-check-manifest [1] ala upstream name.
- Update devel/Makefile
- Add MOVED entry

While I'm here:

- Update to 0.22
- Add LICENSE_FILE
- Add TEST_DEPENDS and regression-test: target
- Use a single line for PORTDOCS
- Update (prettify) pkg-descr

Changes:

  * https://github.com/mgedmin/check-manifest/blob/0.22/CHANGES.rst

[1] https://pypi.python.org/pypi/check-manifest

Approved by:	maintainer (via IRC)
2014-12-29 05:54:37 +00:00

33 lines
784 B
Makefile

# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$
PORTNAME= checkmanifest
PORTVERSION= 0.22
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= check-manifest-${PORTVERSION}
MAINTAINER= xmj@chaot.net
COMMENT= Check MANIFEST.in in a Python source package for completeness
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE.rst
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
OPTIONS_DEFINE= DOCS
USES= python
USE_PYTHON= distutils autoplist concurrent
PORTDOCS= README.rst CHANGES.rst
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>