adust python setup.py call according to FS#975
This commit is contained in:
parent
29e0a9b7c9
commit
09eb267d46
@ -11,7 +11,7 @@ source=(http://download.sourceforge.net/$name/$name-$version.tar.gz)
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
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/writers/s5_html/themes/README.txt
|
||||||
rm $PKG/usr/lib/python2.7/site-packages/docutils/parsers/rst/include/README.txt
|
rm $PKG/usr/lib/python2.7/site-packages/docutils/parsers/rst/include/README.txt
|
||||||
}
|
}
|
||||||
|
@ -11,5 +11,5 @@ source=(http://ftp.edgewall.com/pub/genshi/Genshi-$version.tar.gz)
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd Genshi-$version
|
cd Genshi-$version
|
||||||
python setup.py install --prefix=/usr --root=$PKG
|
/usr/bin/python setup.py install --prefix=/usr --root=$PKG
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,5 @@ source=(http://pyropus.ca/software/$name/old-versions/$name-$version.tar.gz
|
|||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
patch -p1 < $SRC/$name.diff
|
patch -p1 < $SRC/$name.diff
|
||||||
python setup.py install --prefix=/usr --root=$PKG
|
/usr/bin/python setup.py install --prefix=/usr --root=$PKG
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ source=(http://www.selenic.com/$name/release/$name-$version.tar.gz)
|
|||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
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 -d $PKG/usr/man/man{1,5}
|
||||||
install -m 0644 doc/*.1 $PKG/usr/man/man1
|
install -m 0644 doc/*.1 $PKG/usr/man/man1
|
||||||
|
@ -11,6 +11,6 @@ source=(https://pypi.python.org/packages/source/p/pyparsing/pyparsing-$version.t
|
|||||||
build() {
|
build() {
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
python setup.py install --prefix=/usr --root=$PKG
|
/usr/bin/python setup.py install --prefix=/usr --root=$PKG
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,6 @@ source=(https://pypi.python.org/packages/source/t/tornado/tornado-${version}.tar
|
|||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd tornado-$version
|
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
|
rm $PKG/usr/lib/python2.7/site-packages/tornado/test/README
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Description: memory artifact extraction utility framework
|
# Description: memory artifact extraction utility framework
|
||||||
# URL: https://www.volatilesystems.com/default/volatility
|
# URL: https://www.volatilesystems.com/default/volatility
|
||||||
# Maintainer: Thomas Penteker, tek at serverop dot de
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||||
# Depends on:
|
# Depends on: python
|
||||||
|
|
||||||
name=volatility
|
name=volatility
|
||||||
version=2.1
|
version=2.1
|
||||||
@ -10,7 +10,7 @@ source=(https://www.volatilesystems.com/volatility/$version/volatility-$version.
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
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
|
mkdir -p $PKG/usr/share/$name
|
||||||
mv $PKG/usr/contrib/plugins $PKG/usr/share/$name
|
mv $PKG/usr/contrib/plugins $PKG/usr/share/$name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user