From 09eb267d46ea33b8f18ef7666356cb5f9bfc09ea Mon Sep 17 00:00:00 2001 From: Thomas Penteker Date: Fri, 9 May 2014 23:07:14 +0200 Subject: [PATCH] adust python setup.py call according to FS#975 --- docutils/Pkgfile | 2 +- genshi/Pkgfile | 2 +- getmail/Pkgfile | 2 +- mercurial/Pkgfile | 4 ++-- pyparsing/Pkgfile | 2 +- tornadoweb/Pkgfile | 2 +- volatility/Pkgfile | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docutils/Pkgfile b/docutils/Pkgfile index e7ea7bdf8..92fa9ae3d 100644 --- a/docutils/Pkgfile +++ b/docutils/Pkgfile @@ -11,7 +11,7 @@ source=(http://download.sourceforge.net/$name/$name-$version.tar.gz) build() { cd $name-$version - python setup.py install --root=$PKG + /usr/bin/python setup.py install --root=$PKG rm $PKG/usr/lib/python2.7/site-packages/docutils/writers/s5_html/themes/README.txt rm $PKG/usr/lib/python2.7/site-packages/docutils/parsers/rst/include/README.txt } diff --git a/genshi/Pkgfile b/genshi/Pkgfile index 9b243f6ff..ec29361fb 100644 --- a/genshi/Pkgfile +++ b/genshi/Pkgfile @@ -11,5 +11,5 @@ source=(http://ftp.edgewall.com/pub/genshi/Genshi-$version.tar.gz) build() { cd Genshi-$version - python setup.py install --prefix=/usr --root=$PKG + /usr/bin/python setup.py install --prefix=/usr --root=$PKG } diff --git a/getmail/Pkgfile b/getmail/Pkgfile index aa1662a94..2ceeb1043 100644 --- a/getmail/Pkgfile +++ b/getmail/Pkgfile @@ -13,5 +13,5 @@ source=(http://pyropus.ca/software/$name/old-versions/$name-$version.tar.gz build() { cd $name-$version patch -p1 < $SRC/$name.diff - python setup.py install --prefix=/usr --root=$PKG + /usr/bin/python setup.py install --prefix=/usr --root=$PKG } diff --git a/mercurial/Pkgfile b/mercurial/Pkgfile index 4bc4efb92..c72c8a9fd 100644 --- a/mercurial/Pkgfile +++ b/mercurial/Pkgfile @@ -2,7 +2,7 @@ # URL: http://www.selenic.com/mercurial/wiki/ # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: James Mills, prologic at shortcircuit dot net dot au -# Depends on: python +# Depends on: python name=mercurial version=2.8 @@ -12,7 +12,7 @@ source=(http://www.selenic.com/$name/release/$name-$version.tar.gz) build() { cd $name-$version - python setup.py install --root=$PKG + /usr/bin/python setup.py install --root=$PKG install -d $PKG/usr/man/man{1,5} install -m 0644 doc/*.1 $PKG/usr/man/man1 diff --git a/pyparsing/Pkgfile b/pyparsing/Pkgfile index 56e0b2acc..c568734cb 100644 --- a/pyparsing/Pkgfile +++ b/pyparsing/Pkgfile @@ -11,6 +11,6 @@ source=(https://pypi.python.org/packages/source/p/pyparsing/pyparsing-$version.t build() { cd $name-$version - python setup.py install --prefix=/usr --root=$PKG + /usr/bin/python setup.py install --prefix=/usr --root=$PKG } diff --git a/tornadoweb/Pkgfile b/tornadoweb/Pkgfile index e6fa88bff..cc29b1839 100644 --- a/tornadoweb/Pkgfile +++ b/tornadoweb/Pkgfile @@ -11,6 +11,6 @@ source=(https://pypi.python.org/packages/source/t/tornado/tornado-${version}.tar build () { cd tornado-$version - python setup.py install --root=$PKG + /usr/bin/python setup.py install --root=$PKG rm $PKG/usr/lib/python2.7/site-packages/tornado/test/README } diff --git a/volatility/Pkgfile b/volatility/Pkgfile index 4c5f5b8d7..a8f3eefef 100644 --- a/volatility/Pkgfile +++ b/volatility/Pkgfile @@ -1,7 +1,7 @@ # Description: memory artifact extraction utility framework # URL: https://www.volatilesystems.com/default/volatility # Maintainer: Thomas Penteker, tek at serverop dot de -# Depends on: +# Depends on: python name=volatility version=2.1 @@ -10,7 +10,7 @@ source=(https://www.volatilesystems.com/volatility/$version/volatility-$version. build() { cd $name-$version - python setup.py install --prefix=/usr --root=$PKG + /usr/bin/python setup.py install --prefix=/usr --root=$PKG mkdir -p $PKG/usr/share/$name mv $PKG/usr/contrib/plugins $PKG/usr/share/$name