33 lines
824 B
Plaintext
33 lines
824 B
Plaintext
# Description: Python bindings for subversion
|
|
# URL: https://subversion.apache.org
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
|
# Depends on: python3-py3c subversion swig
|
|
|
|
name=subversion-python
|
|
version=1.14.0
|
|
release=1
|
|
source=(https://archive.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
|
|
|
build() {
|
|
pylibdir=$(/usr/bin/python3 -c "import sysconfig; print(sysconfig.get_path('stdlib'))")
|
|
|
|
cd subversion-$version
|
|
|
|
export PYTHON="/usr/bin/python3"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-nls \
|
|
--disable-static \
|
|
--disable-mod-activation \
|
|
--without-apxs
|
|
|
|
make swig-py-lib swig-py \
|
|
swig_pydir="$pylibdir/libsvn" \
|
|
swig_pydir_extra="$pylibdir/svn"
|
|
|
|
make DESTDIR=$PKG install-swig-py-lib install-swig-py \
|
|
swig_pydir=$pylibdir/libsvn \
|
|
swig_pydir_extra=$pylibdir/svn
|
|
}
|