Date: Thursday, October 8, 2015 @ 14:56:19 Author: demize Revision: 143424
archrelease: copy trunk to community-any Added: python-sphinx_rtd_theme/repos/community-any/PKGBUILD (from rev 143423, python-sphinx_rtd_theme/trunk/PKGBUILD) Deleted: python-sphinx_rtd_theme/repos/community-any/PKGBUILD ----------+ PKGBUILD | 87 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-10-08 12:56:05 UTC (rev 143423) +++ PKGBUILD 2015-10-08 12:56:19 UTC (rev 143424) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: -# Contributor: eolianoe <eolianoe [at] gmail [DoT] com> -# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de> - -pkgbase=python-sphinx_rtd_theme -pkgname=(python-sphinx_rtd_theme python2-sphinx_rtd_theme) -_pyname=sphinx_rtd_theme -pkgver=0.1.8 -pkgrel=2 -arch=(any) -pkgdesc="Python Sphinx Read The Docs Theme" -url='https://github.com/snide/sphinx_rtd_theme' -license=(MIT) -makedepends=(python-setuptools python2-setuptools) -source=("https://pypi.python.org/packages/source/s/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('713ce7c53239449bdd799385577329ee') - -build() { - cp -r $_pyname-$pkgver $_pyname-$pkgver-py2 - - cd $_pyname-$pkgver - python setup.py build - - cd "$srcdir"/$_pyname-$pkgver-py2 - python2 setup.py build -} - -package_python-sphinx_rtd_theme() { - cd $_pyname-${pkgver} - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sphinx_rtd_theme() { - cd $_pyname-${pkgver}-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: python-sphinx_rtd_theme/repos/community-any/PKGBUILD (from rev 143423, python-sphinx_rtd_theme/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-10-08 12:56:19 UTC (rev 143424) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: eolianoe <eolianoe [at] gmail [DoT] com> +# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de> + +pkgbase=python-sphinx_rtd_theme +pkgname=('python-sphinx_rtd_theme' 'python2-sphinx_rtd_theme') +pkgver=0.1.9 +pkgrel=1 + +pkgdesc="Python Sphinx Read The Docs Theme" +url='https://github.com/snide/sphinx_rtd_theme' +arch=('any') +license=('MIT') + +makedepends=('python-setuptools' 'python2-setuptools') + +source=("https://pypi.python.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz") + +md5sums=('86a25c8d47147c872e42dc84cc66f97b') + +build() { + cp -r sphinx_rtd_theme-$pkgver sphinx_rtd_theme-$pkgver-py2 + + cd sphinx_rtd_theme-$pkgver + python setup.py build + + cd "$srcdir"/sphinx_rtd_theme-$pkgver-py2 + python2 setup.py build +} + +package_python-sphinx_rtd_theme() { + cd sphinx_rtd_theme-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-sphinx_rtd_theme() { + cd sphinx_rtd_theme-${pkgver}-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +