--- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/python_append.txz/pyparsing/PlamoBuild.pyparsing-2.0.1 2019-02-27 15:47:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/pyparsing/pyparsing-2.0.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pyparsing +vers=2.0.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES LICENSE README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -53,6 +53,7 @@ make fi done + python setup.py build fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,6 +66,7 @@ make install DESTDIR=$P fi done + python setup.py install --root=$P touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +74,8 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz