28 lines
802 B
Plaintext
28 lines
802 B
Plaintext
# Description: Python bindings for subversion
|
|
# URL: https://subversion.apache.org
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
# Depends on: python subversion swig
|
|
|
|
name=subversion-python
|
|
version=1.12.2
|
|
release=2
|
|
source=(https://archive.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
|
|
|
build() {
|
|
PYTHONVERSION=$(python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);")
|
|
|
|
cd subversion-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-mod-activation \
|
|
--disable-nls \
|
|
--disable-static \
|
|
--with-lz4=internal \
|
|
--with-utf8proc=internal
|
|
|
|
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
|
|
}
|