Date: Wednesday, January 1, 2020 @ 21:39:00 Author: demize Revision: 545950
archrelease: copy trunk to community-any Added: python-sphinx_rtd_theme/repos/community-any/PKGBUILD (from rev 545949, python-sphinx_rtd_theme/trunk/PKGBUILD) Deleted: python-sphinx_rtd_theme/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++------------------------------------- 1 file changed, 30 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-01 21:38:56 UTC (rev 545949) +++ PKGBUILD 2020-01-01 21:39:00 UTC (rev 545950) @@ -1,44 +0,0 @@ -# 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.4.3 -pkgrel=3 - -pkgdesc="Python Sphinx Read The Docs Theme" -url='https://github.com/rtfd/sphinx_rtd_theme/' -arch=('any') -license=('MIT') - -makedepends=('python-setuptools' 'python2-setuptools') - -source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz") - -sha256sums=('728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a') - -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 -} - Copied: python-sphinx_rtd_theme/repos/community-any/PKGBUILD (from rev 545949, python-sphinx_rtd_theme/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-01 21:39:00 UTC (rev 545950) @@ -0,0 +1,30 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: eolianoe <eolianoe [at] gmail [DoT] com> +# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de> + +pkgname=python-sphinx_rtd_theme +pkgver=0.4.3 +pkgrel=4 + +pkgdesc="Python Sphinx Read The Docs Theme" +url='https://github.com/rtfd/sphinx_rtd_theme/' +arch=('any') +license=('MIT') + +makedepends=('python-setuptools' 'python2-setuptools') + +source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz") + +sha256sums=('728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a') + +build() { + cd sphinx_rtd_theme-$pkgver + python setup.py build +} + +package() { + cd sphinx_rtd_theme-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}