python3: add security patches; misc tweaks.
This commit is contained in:
parent
7c23307f54
commit
9445045c77
3 changed files with 308 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'python3'.
|
||||
pkgname=python3
|
||||
version=3.3.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="Python-${version}"
|
||||
short_desc="Interpreted, interactive, object-oriented programming language (3.x series)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -42,14 +42,11 @@ do_build() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install
|
||||
chmod 755 ${DESTDIR}/usr/lib/libpython*.so*
|
||||
make DESTDIR=${DESTDIR} install maninstall
|
||||
install -Dm644 LICENSE ${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE
|
||||
|
||||
# Remove test files.
|
||||
rm -rf ${DESTDIR}/usr/lib/python3.3/test
|
||||
# Remove python3.3m hardlink
|
||||
rm -f ${DESTDIR}/usr/bin/python3.3m
|
||||
ln -sf ../../libpython3.3m.so \
|
||||
${DESTDIR}/usr/lib/python3.3/config-3.3m/libpython3.3m.so
|
||||
}
|
||||
|
||||
python3-devel_package() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue