mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python: update to 2.6.3, add -devel subpkg.
--HG-- extra : convert_revision : 9d1d6e89f646307637b76d1828f256d42d61c20e
This commit is contained in:
parent
be70ec7ecf
commit
6a80d1f330
2 changed files with 20 additions and 9 deletions
16
templates/python/devel.template
Normal file
16
templates/python/devel.template
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'python-devel'.
|
||||||
|
#
|
||||||
|
short_desc="Python development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run python
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||||
|
}
|
|
@ -1,14 +1,13 @@
|
||||||
# Template build file for 'python'.
|
# Template build file for 'python'.
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.6.2
|
version=2.6.3
|
||||||
revision=1
|
|
||||||
wrksrc="Python-$version"
|
wrksrc="Python-$version"
|
||||||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
||||||
configure_args="--with-threads --enable-ipv6 --with-signal-module"
|
configure_args="--with-threads --enable-ipv6 --with-signal-module"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
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>"
|
||||||
checksum=a1cdc4a8f6c1f947ea3b87d097af2db4371019bac941d92c3844124c5694328b
|
checksum=4367e389d7e7b2a891b96bc031b9af58b7ca4befc316c91e65436bb822ecdc24
|
||||||
long_desc="
|
long_desc="
|
||||||
Python is an interpreted, interactive, object-oriented programming language
|
Python is an interpreted, interactive, object-oriented programming language
|
||||||
that combines remarkable power with very clear syntax. For an introduction
|
that combines remarkable power with very clear syntax. For an introduction
|
||||||
|
@ -21,6 +20,8 @@ long_desc="
|
||||||
C++. On most systems such modules may be dynamically loaded. Python is also
|
C++. On most systems such modules may be dynamically loaded. Python is also
|
||||||
adaptable as an extension language for existing applications."
|
adaptable as an extension language for existing applications."
|
||||||
|
|
||||||
|
subpackages="devel"
|
||||||
|
|
||||||
Add_dependency full glibc
|
Add_dependency full glibc
|
||||||
Add_dependency full zlib
|
Add_dependency full zlib
|
||||||
Add_dependency full readline
|
Add_dependency full readline
|
||||||
|
@ -30,9 +31,3 @@ Add_dependency full openssl
|
||||||
Add_dependency full expat
|
Add_dependency full expat
|
||||||
Add_dependency build ncurses
|
Add_dependency build ncurses
|
||||||
Add_dependency run ncurses-libs
|
Add_dependency run ncurses-libs
|
||||||
|
|
||||||
pre_configure()
|
|
||||||
{
|
|
||||||
# Pass our CFLAGS.
|
|
||||||
export OPT="${XBPS_CFLAGS}"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue