summaryrefslogtreecommitdiff
path: root/devel/py-traits/Makefile
blob: 91a0b0971b2735312c065177d07788ab30747e33 (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=	traits
PORTVERSION=	4.5.0
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Explicitly Typed Attributes for Python

LICENSE=	BSD3CLAUSE PSFL
LICENSE_COMB=	multi

BUILD_DEPENDS=	${PYNUMPY}

USES=		python
USE_PYTHON=	distutils autoplist

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

post-extract:
# Remove traits/testing directory files are not compatible with Python 3
	cd ${WRKSRC} && ${RM} -R traits/testing/

.include <bsd.port.mk>