diff options
author | Matt Smith <mcs@darkregion.net> | 2011-03-23 16:44:56 -0500 |
---|---|---|
committer | Matt Smith <mcs@darkregion.net> | 2011-03-23 16:44:56 -0500 |
commit | 8754d83c62a7cfa158b41d6f506b6f00c97eaab6 (patch) | |
tree | 313519db4864e6858407d0daa520bbfe5147d9d3 /testing | |
parent | 4d7c6c841e4d3a11e4dfd422a10d1e8a8e9d26ca (diff) | |
download | aports-8754d83c62a7cfa158b41d6f506b6f00c97eaab6.tar.bz2 aports-8754d83c62a7cfa158b41d6f506b6f00c97eaab6.tar.xz |
main/py-sphinx: moved from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-sphinx/APKBUILD | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/testing/py-sphinx/APKBUILD b/testing/py-sphinx/APKBUILD deleted file mode 100644 index c8c1bb5340..0000000000 --- a/testing/py-sphinx/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Matt Smith <mcs@darkregion.net> -# Maintainer: Matt Smith <mcs@darkregion.net> -pkgname=py-sphinx -_pkgname=Sphinx -pkgver=1.0.7 -pkgrel=0 -pkgdesc="Python Documentation Generator" -url="http://sphinx.pocoo.org/" -arch="noarch" -license="BSD" -depends="python py-docutils py-jinja2 py-pygments" -makedepends="python-dev py-setuptools" -install= -subpackages="$pkgname-doc" -source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --root "$pkgdir" || return 1 -} - -doc() { - cd "$_builddir" - - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname || return 1 - for _doc in AUTHORS CHANGES EXAMPLES LICENSE README TODO; do - install -Dm644 $_doc "$subpkgdir"/usr/share/doc/$pkgname/ \ - || return 1 - done - - # Note: Documentation in the 'doc' directory (below), needs to be built - # with sphinx-build once sphinx is installed (see README for details). - # - # Leaving as-is; will be up to the individual user that's interested. - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/doc/ || return 1 - cp -R ./doc/* "$subpkgdir"/usr/share/doc/$pkgname/doc/ || return 1 - chmod -R 644 "$subpkgdir"/usr/share/doc/$pkgname/doc/ || return 1 - - # Fix subdir perms - find "$subpkgdir"/usr/share/doc/$pkgname/ -type d \ - -exec chmod 755 '{}' \; || return 1 -} - -md5sums="42c722d48e52d4888193965dd473adb5 Sphinx-1.0.7.tar.gz" |