summaryrefslogtreecommitdiff
path: root/devel/py-columnize/Makefile
blob: e7d6265475bcc6dc6284159e0238ce8c673f27d6 (plain)
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
# $FreeBSD$

PORTNAME=	columnize
PORTVERSION=	0.3.9
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	jpaetzel@FreeBSD.org
COMMENT=	Format a simple (i.e. not nested) list into aligned columns

LICENSE=	MIT

MY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose

BUILD_DEPENDS=	${MY_DEPENDS}
RUN_DEPENDS=	${MY_DEPENDS}

USES=		python
USE_PYTHON=	autoplist distutils

.include <bsd.port.pre.mk>

.if ${PYTHON_MAJOR_VER} == "3"
EXTRA_PATCHES=      ${FILESDIR}/extra-patch-____pkginfo____.py
.else
MY_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.shutil_get_terminal_size=1.0:devel/py-backports.shutil_get_terminal_size
.endif

.include <bsd.port.post.mk>