You are not logged in.
Could someone please supply (the/a) PKGBUILD for python 2.6?
Links to sources:
gzipped: http://www.python.org/ftp/python/2.6/Python-2.6b1.tgz
bzipped: http://www.python.org/ftp/python/2.6/Py … b1.tar.bz2
I assume it'll be compile stuff.
Thanks a lot in advance!
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline
Take the PKGBUILD from ABS, change version number and md5sum, remove the patches and you are done.
Offline
Take the PKGBUILD from ABS, change version number and md5sum, remove the patches and you are done.
Ok, that worked out, thanks...
For the people interested, here's the PKGBUILD modified from the python3 PKGBUILD.
pkgname=python2.6
pkgver=2.6b1
pkgrel=4
pkgdesc="Python 2.6 - successor to 2.5 ^^"
arch=("i686" "x86_64")
url="http://www.python.org/download/releases/2.6/"
license=("custom")
depends=(bzip2 openssl tk sqlite3 gdbm)
makedepends=()
options=("!emptydirs")
source=(http://www.python.org/ftp/python/2.6/Python-$pkgver.tgz)
md5sums=('b7b66dd5638b0277b17ddefa25b0ea5a')
build() {
cd $startdir/src/Python-$pkgver
[ `gcc --version | head -1 | awk '{print $3}'` = '4.3.0' ] && export CC="gcc $CFLAGS -fno-tree-vrp"
./configure --prefix=/usr --enable-shared --enable-ipv6
make || return 1
make DESTDIR=$startdir/pkg altinstall maninstall
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
cd $pkgdir/usr
#mv share/man/man1/python.1 share/man/man1/python3.1
cd bin
mv idle idle2.6
mv pydoc pydoc2.6
mv smtpd.py smtpd2.6.py
#ln -s python3.0 python3
#ln -s python3.0-config python3-config
}
# vim: ts=2
My coding blog (or an attempt at it)
Archer start page (or an attempt at it)
Offline