dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/

packages/dev-python/Genshi/Genshi-0.6.exheres-0 (677B) - raw

      1 # Copyright 2011 Dan Callaghan <djc@djc.id.au>
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 require distutils [ python_dep=2.4 ] pypi
      5 
      6 SUMMARY="Python toolkit for stream-based generation of output for the web"
      7 HOMEPAGE="http://genshi.edgewall.org/"
      8 DOWNLOADS="ftp://ftp.edgewall.com/pub/genshi/${PNV}.tar.gz"
      9 
     10 LICENCES="BSD"
     11 SLOT="0"
     12 PLATFORMS="~amd64 ~x86"
     13 MYOPTIONS="doc examples"
     14 
     15 BUGS_TO="djc@djc.id.au"
     16 
     17 src_test() {
     18     edo python setup.py test
     19 }
     20 
     21 src_install() {
     22     distutils_src_install
     23     if option doc ; then
     24         dodoc -r doc/*
     25     fi
     26     if option examples ; then
     27         insinto /usr/share/doc/${PNV}
     28         doins -r examples
     29     fi
     30 }