blob: 1d51326d1b7dcb32e28b0a7b3271a740b1499f48 (
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
|
# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= anonfunc
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= LOCAL/perky \
http://people.freebsd.org/~perky/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module that provides easy anonymous function
LICENSE= BSD2CLAUSE
USES= python
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} \
-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/anonfunc.so
.include <bsd.port.mk>
|