python3: removed; superseded by python3.4.
This commit is contained in:
parent
6339592918
commit
8dee9eca8d
|
@ -1 +0,0 @@
|
|||
python3
|
|
@ -1,64 +0,0 @@
|
|||
# Template build file for 'python3'.
|
||||
pkgname=python3
|
||||
version=3.3.5
|
||||
revision=2
|
||||
wrksrc="Python-${version}"
|
||||
short_desc="Interpreted, interactive, object-oriented programming language (3.x series)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.python.org"
|
||||
license="PSF"
|
||||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz"
|
||||
checksum=abe99b484434503d8b23be0f243ec27139e743a4798cd71c1dce3cf40e63b6e5
|
||||
|
||||
makedepends="libffi-devel readline-devel>=6.3 gdbm-devel openssl-devel
|
||||
expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel"
|
||||
|
||||
pre_configure() {
|
||||
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python3|" Lib/cgi.py
|
||||
rm -r Modules/expat
|
||||
rm -r Modules/zlib
|
||||
rm -r Modules/_ctypes/{darwin,libffi}*
|
||||
}
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
msg_red "${pkgname}-${version} cannot be cross compiled right now.\n"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Native build
|
||||
do_configure() {
|
||||
unset LD CC AR AS RANLIB
|
||||
|
||||
./configure ${configure_args} --with-threads --enable-ipv6 \
|
||||
--with-signal-module --enable-shared --with-system-ffi \
|
||||
--with-system-expat --with-computed-gotos \
|
||||
--with-system-expat --with-dbmliborder=gdbm:ndbm \
|
||||
ac_cv_posix_semaphores_enabled=yes
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install maninstall
|
||||
install -Dm644 LICENSE ${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
|
||||
|
||||
rm -f ${DESTDIR}/usr/bin/2to3
|
||||
|
||||
ln -sf ../../libpython3.3m.so \
|
||||
${DESTDIR}/usr/lib/python3.3/config-3.3m/libpython3.3m.so
|
||||
}
|
||||
|
||||
python3-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/bin/python*-config"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/include
|
||||
mkdir -p ${DESTDIR}/usr/include/python3.3m
|
||||
mv ${PKGDESTDIR}/usr/include/python3.3m/pyconfig.h \
|
||||
${DESTDIR}/usr/include/python3.3m
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue