2008-04-10 16:13:45 +02:00
|
|
|
# Description: Python bindings for subversion
|
2018-12-23 07:08:58 -05:00
|
|
|
# URL: https://subversion.apache.org
|
2018-02-17 11:07:52 -05:00
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
2020-06-28 14:21:15 -04:00
|
|
|
# Depends on: python3-py3c subversion swig
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=subversion-python
|
2020-06-28 14:21:15 -04:00
|
|
|
version=1.14.0
|
|
|
|
release=1
|
2019-11-03 06:27:22 -05:00
|
|
|
source=(https://archive.apache.org/dist/subversion/subversion-$version.tar.bz2)
|
2006-11-16 02:47:42 +10:00
|
|
|
|
2006-11-14 09:01:22 +10:00
|
|
|
build() {
|
2020-06-28 14:21:15 -04:00
|
|
|
pylibdir=$(/usr/bin/python3 -c "import sysconfig; print(sysconfig.get_path('stdlib'))")
|
2018-02-17 11:07:52 -05:00
|
|
|
|
|
|
|
cd subversion-$version
|
|
|
|
|
2020-06-28 14:21:15 -04:00
|
|
|
export PYTHON="/usr/bin/python3"
|
|
|
|
|
2018-02-17 11:07:52 -05:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2019-08-30 10:30:26 -04:00
|
|
|
--disable-nls \
|
|
|
|
--disable-static \
|
2020-06-28 14:21:15 -04:00
|
|
|
--disable-mod-activation \
|
|
|
|
--without-apxs
|
|
|
|
|
|
|
|
make swig-py-lib swig-py \
|
|
|
|
swig_pydir="$pylibdir/libsvn" \
|
|
|
|
swig_pydir_extra="$pylibdir/svn"
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2018-02-17 11:07:52 -05:00
|
|
|
make DESTDIR=$PKG install-swig-py-lib install-swig-py \
|
2020-06-28 14:21:15 -04:00
|
|
|
swig_pydir=$pylibdir/libsvn \
|
|
|
|
swig_pydir_extra=$pylibdir/svn
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|