To be honest, I think these are irrelevant to the functioning of the program,
since the files in question are imported by the offlineimap app, rather than
being run as scripts. (Not sure why the shebang lines are there at
all...cruft?)
---
testing/getmail/APKBUILD | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testing/getmail/APKBUILD b/testing/getmail/APKBUILD
index b5dc763..013c863 100644
--- a/testing/getmail/APKBUILD+++ b/testing/getmail/APKBUILD
@@ -33,6 +33,8 @@ build() {
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ # fix some broken shebang calls+ sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python|" $(find $pkgdir -name '*.py')}
md5sums="1ca7e1bc034cf5578e8ceb251668962a getmail-4.39.0.tar.gz"
--
1.8.3.1
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
Re: [alpine-devel] [PATCH 2/2] testing/getmail: fix some old shebang lines
On Thu, 27 Jun 2013 02:12:25 -0400
Dubiousjim <dubiousjim@gmail.com> wrote:
> To be honest, I think these are irrelevant to the functioning of the program,> since the files in question are imported by the offlineimap app, rather than> being run as scripts. (Not sure why the shebang lines are there at> all...cruft?)> ---> testing/getmail/APKBUILD | 2 ++> 1 file changed, 2 insertions(+)> > diff --git a/testing/getmail/APKBUILD b/testing/getmail/APKBUILD> index b5dc763..013c863 100644> --- a/testing/getmail/APKBUILD> +++ b/testing/getmail/APKBUILD> @@ -33,6 +33,8 @@ build() {> package() {> cd "$_builddir"> python setup.py install --prefix=/usr --root="$pkgdir" || return 1> + # fix some broken shebang calls> + sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python|" $(find $pkgdir -name '*.py')> }> > md5sums="1ca7e1bc034cf5578e8ceb251668962a getmail-4.39.0.tar.gz"
I applied both and bumped pkgrel afterwards so builders picks it up.
Thanks!
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---