python: generate python{,2} symlinks again.
This commit is contained in:
parent
a1deb41c57
commit
673934e63b
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'python'.
|
# Template build file for 'python'.
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.7.6
|
version=2.7.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Python-${version}"
|
wrksrc="Python-${version}"
|
||||||
short_desc="Interpreted, interactive, object-oriented programming language"
|
short_desc="Interpreted, interactive, object-oriented programming language"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -63,6 +63,8 @@ python_package() {
|
||||||
pycompile_dirs="usr/lib/python2.7"
|
pycompile_dirs="usr/lib/python2.7"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove all
|
vmove all
|
||||||
|
ln -sf /usr/bin/python2.7 ${PKGDESTDIR}/usr/bin/python2
|
||||||
|
ln -sf /usr/bin/python2.7 ${PKGDESTDIR}/usr/bin/python
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue