aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-check-manifest/Makefile
blob: 0a62833ac926fc0ad7a8597456dab877434555f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Johannes Meixner <xmj@chaot.net>
# $FreeBSD$

PORTNAME=   check-manifest
PORTVERSION=    0.31
CATEGORIES= devel python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= xmj@FreeBSD.org
COMMENT=    Check MANIFEST.in in a Python source package for completeness

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENCE.rst

TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock

OPTIONS_DEFINE= DOCS

USES=       python
USE_PYTHON= distutils autoplist concurrent
NO_ARCH=    yes

PORTDOCS=   README.rst CHANGES.rst

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>