subversion-python: new maintainer. updates, fixes.
Update to 1.9.7 release. Set the makefile variables swig_pydir and swig_pydir_extra on the make command line so that the python modules get built referencing the right installation directories. This fix also removes need to move the modules around later.
This commit is contained in:
parent
3e4b5b64bd
commit
ca4cf6ffb1
@ -1 +1 @@
|
|||||||
9fcbae352a5efe73d46a88c97c6bba14 subversion-1.9.5.tar.bz2
|
05b0c677681073920f938c1f322e0be2 subversion-1.9.7.tar.bz2
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF32T+5sYrzDcYinOYnTCxPm8pe+tW7E5B1INPb7E56CVDSbVh2G2ucYJAWi2Zya33Y3HlWx0l7hon5XVFkzhBoQ8=
|
RWSagIOpLGJF37Np1+QVK4+o19Eejuu2JYPyW17LWsCORcmrYBs0EAkdZ809aYjBjCO1LFKF4y7P+dRycJIxOZkAopS56pvqwAU=
|
||||||
SHA256 (Pkgfile) = fd1c4f5bfa416ab6da01f53286ec1ad029e8efc47933c3b505d5700f217a2415
|
SHA256 (Pkgfile) = f3f28d652039de244aed28ec9c9c7be84bb3a1c445b387f9d2ed644f1d70ab3c
|
||||||
SHA256 (.footprint) = 048ad54e9c933eb087ee5f43127ca4fdf1337c493320c02fc344e513b73f96c3
|
SHA256 (.footprint) = 048ad54e9c933eb087ee5f43127ca4fdf1337c493320c02fc344e513b73f96c3
|
||||||
SHA256 (subversion-1.9.5.tar.bz2) = 8a4fc68aff1d18dcb4dd9e460648d24d9e98657fbed496c582929c6b3ce555e5
|
SHA256 (subversion-1.9.7.tar.bz2) = c3b118333ce12e501d509e66bb0a47bcc34d053990acab45559431ac3e491623
|
||||||
|
@ -1,32 +1,26 @@
|
|||||||
# Description: Python bindings for subversion
|
# Description: Python bindings for subversion
|
||||||
# URL: http://subversion.tigris.org
|
# URL: http://subversion.apache.org
|
||||||
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
||||||
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
|
||||||
# Depends on: subversion swig
|
# Depends on: subversion swig
|
||||||
|
|
||||||
name=subversion-python
|
name=subversion-python
|
||||||
version=1.9.5
|
version=1.9.7
|
||||||
release=1
|
release=1
|
||||||
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
source=(http://www.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
||||||
|
|
||||||
PYTHONVERSION=`python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);"`
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
PYTHONVERSION=$(python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);")
|
||||||
|
|
||||||
cd subversion-$version
|
cd subversion-$version
|
||||||
|
|
||||||
LDFLAGS="-L$PKG/usr/lib" \
|
./configure \
|
||||||
./configure --prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--disable-mod-activation \
|
--disable-mod-activation \
|
||||||
--with-apr=/usr \
|
--with-apr=/usr \
|
||||||
--with-apr-util=/usr
|
--with-apr-util=/usr
|
||||||
|
|
||||||
make DESTDIR=$PKG install-swig-py-lib install-swig-py
|
make DESTDIR=$PKG install-swig-py-lib install-swig-py \
|
||||||
|
swig_pydir=/usr/lib/python$PYTHONVERSION/site-packages/libsvn \
|
||||||
install -d $PKG/usr/lib/python$PYTHONVERSION/site-packages
|
swig_pydir_extra=/usr/lib/python$PYTHONVERSION/site-packages/svn
|
||||||
|
|
||||||
mv $PKG/usr/lib/svn-python/{svn,libsvn} \
|
|
||||||
$PKG/usr/lib/python$PYTHONVERSION/site-packages
|
|
||||||
|
|
||||||
rm -r $PKG/usr/lib/svn-python
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user