- Fix shebangs

This commit is contained in:
Martin Wilke 2017-04-21 16:23:17 +00:00
parent e28e7a8885
commit b8368cf7ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439091
10 changed files with 40 additions and 23 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= phoronix-test-suite PORTNAME= phoronix-test-suite
PORTVERSION= 6.8.0 PORTVERSION= 6.8.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= benchmarks CATEGORIES= benchmarks
MASTER_SITES= http://www.phoronix-test-suite.com/releases/ MASTER_SITES= http://www.phoronix-test-suite.com/releases/
@ -13,12 +13,23 @@ COMMENT= Phoronix Benchmarking Suite
LICENSE= GPLv3 LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
USES= php:cli,build USES= php:cli,build python shebangfix
USE_GCC= any USE_GCC= any
USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix session \ USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix \
simplexml sockets sqlite3 zip zlib session simplexml sockets sqlite3 zip zlib
NO_BUILD= yes NO_BUILD= yes
WRKSRC= ${WRKDIR}/phoronix-test-suite WRKSRC= ${WRKDIR}/phoronix-test-suite
SHEBANG_FILES= deploy/juju/trusty/pts/hooks/start \
deploy/juju/trusty/pts/hooks/upgrade-charm \
deploy/juju/trusty/pts/hooks/stop \
deploy/juju/trusty/pts/hooks/phoronix-common \
deploy/juju/trusty/pts/hooks/install \
deploy/juju/trusty/pts/hooks/config-changed \
deploy/juju/trusty/pts/actions/memory \
deploy/juju/trusty/pts/actions/benchmark \
deploy/juju/trusty/pts/actions/custom \
deploy/juju/trusty/pts/actions/smoke \
deploy/juju/trusty/pts/scripts/parse
RUN_DEPENDS+= fpdf>0:print/fpdf RUN_DEPENDS+= fpdf>0:print/fpdf
RUN_DEPENDS+= cmake:devel/cmake RUN_DEPENDS+= cmake:devel/cmake

View File

@ -3,6 +3,7 @@
PORTNAME= gnome-tweak-tool PORTNAME= gnome-tweak-tool
PORTVERSION= 3.18.1 PORTVERSION= 3.18.1
PORTREVISION= 1
CATEGORIES= deskutils gnome CATEGORIES= deskutils gnome
MASTER_SITES= GNOME MASTER_SITES= GNOME
@ -14,11 +15,13 @@ RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
PORTSCOUT= limitw:1,even PORTSCOUT= limitw:1,even
USES= gettext gmake gnome pathfix pkgconfig python:2 tar:xz USES= gettext gmake gnome pathfix pkgconfig python:2 \
shebangfix tar:xz
USE_GNOME= gtk30 pygobject3 intlhack USE_GNOME= gtk30 pygobject3 intlhack
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
INSTALLS_ICONS= yes INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
SHEBANG_FILES= gnome-tweak-tool
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -2,7 +2,7 @@
PORTNAME= Products.PlacelessTranslationService PORTNAME= Products.PlacelessTranslationService
PORTVERSION= 2.0.5 PORTVERSION= 2.0.5
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= devel python zope CATEGORIES= devel python zope
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -26,7 +26,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-gettext>0:textproc/py-python-gettext
${PYTHON_PKGNAMEPREFIX}ExtensionClass>=0:devel/py-ExtensionClass \ ${PYTHON_PKGNAMEPREFIX}ExtensionClass>=0:devel/py-ExtensionClass \
zodb${PYTHON_PKGNAMESUFFIX}>=0:databases/zodb3 zodb${PYTHON_PKGNAMESUFFIX}>=0:databases/zodb3
USES= python zip USES= python shebangfix zip
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
SHEBANG_FILES= Products/PlacelessTranslationService/bin/convertToLocales.py
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,6 +3,7 @@
PORTNAME= notifier PORTNAME= notifier
PORTVERSION= 0.5.8 PORTVERSION= 0.5.8
PORTREVISION= 1
CATEGORIES= devel python CATEGORIES= devel python
MASTER_SITES= http://www.bitkipper.net/bytes/pynotifier/source/ MASTER_SITES= http://www.bitkipper.net/bytes/pynotifier/source/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,7 +14,8 @@ COMMENT= Generic notifier/event scheduler abstraction
LICENSE= LGPL20 LICENSE= LGPL20
USES= python USES= python shebangfix
SHEBANG_FILES= examples/*.py
USE_PYTHON= distutils USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= pynotifier PYDISTUTILS_PKGNAME= pynotifier

View File

@ -3,6 +3,7 @@
PORTNAME= rq PORTNAME= rq
PORTVERSION= 0.5.6 PORTVERSION= 0.5.6
PORTREVISION= 1
CATEGORIES= devel python CATEGORIES= devel python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,7 +16,8 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=2.7:databases/py-redis \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=2.7:databases/py-redis \
${PYTHON_PKGNAMEPREFIX}click>=4.1:devel/py-click ${PYTHON_PKGNAMEPREFIX}click>=4.1:devel/py-click
USES= python USES= python shebangfix
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
SHEBANG_FILES= rq/scripts/rqgenload.py
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,6 +3,7 @@
PORTNAME= fishcrypt PORTNAME= fishcrypt
DISTVERSION= 5.31 DISTVERSION= 5.31
PORTREVISION= 1
CATEGORIES= irc security CATEGORIES= irc security
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python DIST_SUBDIR= python
@ -18,7 +19,8 @@ GH_ACCOUNT= fladd
GH_PROJECT= py-${PORTNAME} GH_PROJECT= py-${PORTNAME}
GH_TAGNAME= 43554b1a GH_TAGNAME= 43554b1a
USES= dos2unix python:run USES= dos2unix python:run shebangfix
SHEBANG_FILES= fishcrypt.py
NO_BUILD= yes NO_BUILD= yes
SUB_FILES= pkg-message SUB_FILES= pkg-message

View File

@ -3,7 +3,7 @@
PORTNAME= telepathy-butterfly PORTNAME= telepathy-butterfly
PORTVERSION= 0.5.15 PORTVERSION= 0.5.15
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= net-im CATEGORIES= net-im
MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -18,6 +18,8 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/papyon/__init__.py:net-im/papyon \
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${PREFIX} CONFIGURE_ARGS+=--prefix=${PREFIX}
USES= gmake python:2 USES= gmake python:2 shebangfix
SHEBANG_FILES= telepathy-butterfly
NO_ARCH= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,9 +0,0 @@
--- telepathy-butterfly.orig 2008-03-30 10:35:08.000000000 -0400
+++ telepathy-butterfly 2008-03-30 10:35:17.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# telepathy-butterfly - an MSN connection manager for Telepathy

View File

@ -3,6 +3,7 @@
PORTNAME= ranger PORTNAME= ranger
PORTVERSION= 1.8.1 PORTVERSION= 1.8.1
PORTREVISION= 1
CATEGORIES= sysutils python CATEGORIES= sysutils python
MASTER_SITES= http://ranger.nongnu.org/ MASTER_SITES= http://ranger.nongnu.org/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,7 +14,7 @@ COMMENT= Ranger is a file manager with VI key bindings
LICENSE= GPLv3 LICENSE= GPLv3
USES= python shebangfix USES= python shebangfix
SHEBANG_FILES= doc/tools/convert_papermode_to_metadata.py SHEBANG_FILES= doc/tools/*.py
python_OLD_CMD= /bin/python python_OLD_CMD= /bin/python
USE_PYTHON= autoplist distutils USE_PYTHON= autoplist distutils
NO_ARCH= yes NO_ARCH= yes

View File

@ -3,6 +3,7 @@
PORTNAME= pyblosxom PORTNAME= pyblosxom
DISTVERSION= 1.5.3 DISTVERSION= 1.5.3
PORTREVISION= 1
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= http://pyblosxom.github.io/download/ MASTER_SITES= http://pyblosxom.github.io/download/
@ -11,8 +12,9 @@ COMMENT= Lightweight weblog system
LICENSE= MIT LICENSE= MIT
USES= python:2 USES= python:2 shebangfix
USE_PYTHON= distutils USE_PYTHON= distutils
SHEBANG_FILES= Pyblosxom/data/pyblosxom.cgi
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS