aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-pytidylib/Makefile
blob: d0b85df1366d3ddd59d09f3156611b842c254dbd (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
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pytidylib
PORTVERSION=    0.2.3
CATEGORIES= textproc python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= koobs@FreeBSD.org
COMMENT=    Python wrapper for HTML Tidy

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libtidy.so:${PORTSDIR}/www/tidy-lib
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest

USES=       python
USE_PYTHON= distutils autoplist

regression-test: build
    @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest

.include <bsd.port.mk>