File: genbindings.sh

package info (click to toggle)
pyxb 1.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 63,792 kB
  • ctags: 48,994
  • sloc: python: 235,928; sh: 803; xml: 657; makefile: 57
file content (16 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
GEO_WSDL_URI='http://geocoder.us/dist/eg/clients/GeoCoder.wsdl'
GEO_PREFIX=GeoCoder
GEO_WSDL="${GEO_PREFIX}.wsdl"

if [ ! -f ${GEO_WSDL} ] ; then
  wget -O ${GEO_WSDL} "${GEO_WSDL_URI}"
  patch -p0 < ${GEO_WSDL}-patch
fi

rm -rf raw

pyxbgen \
  --wsdl-location=${GEO_WSDL} \
  --module=${GEO_PREFIX} \
  --write-for-customization \
  --archive-path=${PYXB_ROOT}/pyxb/bundles/wssplat//:+