blob: 731b59bb0899edbf11856357c29bb6cc7a903b80 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= python-tools
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 1
CATEGORIES= lang python devel
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Python-${PORTVERSION}
MAINTAINER= python@FreeBSD.org
COMMENT= Supplementary tools for the Python language
LICENSE= PSFL
PORTSCOUT= ignore:1
USES= python:3.6+ shebangfix tar:xz
USE_PYTHON= flavors concurrent
NO_BUILD= yes
DIST_SUBDIR= python
DISTINFO_FILE= ${.CURDIR}/../python${PYTHON_SUFFIX}/distinfo
WRKSRC_SUBDIR= Tools/scripts
SCRIPT_FILES= byteyears checkpyc copytime crlf dutree \
lfcr ptags untabify
PYLIB_FILES= tabnanny timeit
PLIST_FILES= ${SCRIPT_FILES:C|^|bin/|} ${PYLIB_FILES:C|^|bin/|}
SHEBANG_FILES= ${SCRIPT_FILES:C|$|.py|} \
${PYLIB_FILES:C|.*|../../Lib/&.py|}
do-install:
.for fname in ${SCRIPT_FILES}
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${fname}.py \
${STAGEDIR}${PREFIX}/bin/${fname}
.endfor
.for fname in ${PYLIB_FILES}
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/../../Lib/${fname}.py \
${STAGEDIR}${PREFIX}/bin/${fname}
.endfor
.include <bsd.port.mk>
|