aboutsummaryrefslogblamecommitdiffstats
path: root/main/py-sphinx/APKBUILD
blob: 0e559621a4e7d86ddc657cc8914c069d6cff4786 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                             
                 
                       
            
        

                                        
             
             
                                                                            

                                                                    
                          

                                                                                              

         

                                         


           

                                                                          

 


                                                                                                                                                                  
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-sphinx
_pkgname=${pkgname#py-}
pkgver=1.4.5
pkgrel=3
pkgdesc="Python Documentation Generator"
url="http://sphinx.pocoo.org/"
arch="noarch"
license="BSD"
depends="python make py-docutils py-jinja2 py-pygments py-setuptools py2-six
	py-sphinx_rtd_theme py-alabaster py-babel py-snowballstemmer
	py-imagesize"
makedepends="$depends_dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="99cb21bafac47d56e538f865617809c1  sphinx-1.4.5.tar.gz"
sha256sums="509648ada4175b12230157aa4590bb205fe2b31333719a6fd7afb738438386af  sphinx-1.4.5.tar.gz"
sha512sums="16695bfcc7562a7be32d583c4476a117ef3417abacd21219ffda096170ab3a4c47574c02884b5d3fbcefa82c6d17882c0c19a1c892039e59c1dd5d7cb83f9850  sphinx-1.4.5.tar.gz"