aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2021-07-24 19:13:42 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2021-07-24 19:13:42 +0000
commitf4a3a6efc5413e686c82fbeb028eb14e794d2a3c (patch)
treea449176db558a24d48c4f4f4f50ebc079db7c650
parent74e29f3395fed8abb5ec50b4a12af088246485d7 (diff)
downloadports-f4a3a6efc5413e686c82fbeb028eb14e794d2a3c.tar.gz
ports-f4a3a6efc5413e686c82fbeb028eb14e794d2a3c.zip
devel/py-pycallgraph: Update to 1.0.1
-rw-r--r--devel/py-pycallgraph/Makefile16
-rw-r--r--devel/py-pycallgraph/distinfo5
-rw-r--r--devel/py-pycallgraph/pkg-plist10
3 files changed, 7 insertions, 24 deletions
diff --git a/devel/py-pycallgraph/Makefile b/devel/py-pycallgraph/Makefile
index 3bc41352d72c..d46f716e375b 100644
--- a/devel/py-pycallgraph/Makefile
+++ b/devel/py-pycallgraph/Makefile
@@ -1,11 +1,9 @@
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
PORTNAME= pycallgraph
-PORTVERSION= 0.5.1
-PORTREVISION= 6
+PORTVERSION= 1.0.1
CATEGORIES= devel python
-MASTER_SITES= http://pycallgraph.slowchop.com/files/download/ \
- http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
@@ -15,18 +13,12 @@ LICENSE= GPLv2
RUN_DEPENDS+= dot:graphics/graphviz
-USES= python:3.6+ shebangfix
+USES= python
USE_PYTHON= distutils autoplist concurrent
-SHEBANG_FILES= examples/*.py
-EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-
-OPTIONS_DEFINE= EXAMPLES
+PLIST_FILES= man/man1/pycallgraph.1.gz
post-install:
${INSTALL_MAN} ${WRKSRC}/man/pycallgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- (cd ${WRKSRC}/examples/ && ${COPYTREE_BIN} \* ${STAGEDIR}${EXAMPLESDIR})
-
.include <bsd.port.mk>
diff --git a/devel/py-pycallgraph/distinfo b/devel/py-pycallgraph/distinfo
index a3cdf0a547b2..0d99b61d383b 100644
--- a/devel/py-pycallgraph/distinfo
+++ b/devel/py-pycallgraph/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pycallgraph-0.5.1.tar.gz) = c84b3294b7c33dcd8148d9245e61fce7fca811bed2d357f91e98804785ffbb83
-SIZE (pycallgraph-0.5.1.tar.gz) = 14575
+TIMESTAMP = 1627032506
+SHA256 (pycallgraph-1.0.1.tar.gz) = b1262b0f9831da889c6e9a9a82a22267df497013cd2f5b36c39359a607c91e71
+SIZE (pycallgraph-1.0.1.tar.gz) = 36391
diff --git a/devel/py-pycallgraph/pkg-plist b/devel/py-pycallgraph/pkg-plist
deleted file mode 100644
index 48008aa2857e..000000000000
--- a/devel/py-pycallgraph/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-man/man1/pycallgraph.1.gz
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/all.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colours.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_time.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/import.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/large.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/recursive.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regexp.py