1
0
forked from ports/contrib

33 lines
824 B
Plaintext
Raw Normal View History

# Description: Python bindings for subversion
# URL: https://subversion.apache.org
# 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'))")
cd subversion-$version
2020-06-28 14:21:15 -04:00
export PYTHON="/usr/bin/python3"
./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
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
}