forked from ports/contrib
ef2e81cdc7
Pull in fix for apr-1.7 from subversion port
31 lines
825 B
Plaintext
31 lines
825 B
Plaintext
# Description: Python bindings for subversion
|
|
# URL: https://subversion.apache.org
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
# Depends on: subversion swig
|
|
|
|
name=subversion-python
|
|
version=1.9.10
|
|
release=1
|
|
source=(https://www.apache.org/dist/subversion/subversion-$version.tar.bz2
|
|
apr-1.7.patch)
|
|
|
|
build() {
|
|
PYTHONVERSION=$(python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);")
|
|
|
|
cd subversion-$version
|
|
|
|
patch -p1 -i $SRC/apr-1.7.patch
|
|
|
|
./autogen.sh
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--disable-mod-activation \
|
|
--with-apr=/usr \
|
|
--with-apr-util=/usr
|
|
|
|
make DESTDIR=$PKG install-swig-py-lib install-swig-py \
|
|
swig_pydir=/usr/lib/python$PYTHONVERSION/site-packages/libsvn \
|
|
swig_pydir_extra=/usr/lib/python$PYTHONVERSION/site-packages/svn
|
|
}
|