aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-periscope
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-01-11 19:36:17 +0000
committerRene Ladan <rene@FreeBSD.org>2021-01-11 19:36:17 +0000
commit75d659b385e30935a659f6c63b86195f2b975175 (patch)
tree91ba938db95d41ba75ac2883a0f16259e0ecaa4a /multimedia/py-periscope
parent3aaf6bb5547bf9e4cb3bfc37dab67b12e7323222 (diff)
downloadports-75d659b385e30935a659f6c63b86195f2b975175.tar.gz
ports-75d659b385e30935a659f6c63b86195f2b975175.zip
Remove logic for Python < 3.6 for ports using Python 3.6+
Notes
Notes: svn path=/head/; revision=561252
Diffstat (limited to 'multimedia/py-periscope')
-rw-r--r--multimedia/py-periscope/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/multimedia/py-periscope/Makefile b/multimedia/py-periscope/Makefile
index 29b7299971e1..49d4a697ef09 100644
--- a/multimedia/py-periscope/Makefile
+++ b/multimedia/py-periscope/Makefile
@@ -31,7 +31,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= share/applications/periscope.desktop
NO_ARCH= yes
-.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's|from BeautifulSoup import|from bs4 import|' \
${WRKSRC}/periscope/plugins/Podnapisi.py \
@@ -43,13 +42,11 @@ post-patch:
${WRKSRC}/periscope/plugins/TvSubtitles.py
pre-build:
-.if ${PYTHON_REL} >= 3000
@${LOCALBASE}/bin/2to3-${PYTHON_VER} --no-diffs --nobackups --verbose --write \
${WRKSRC}/
-.endif
post-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/periscope.desktop \
${STAGEDIR}${DESKTOPDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>