[arch-commits] Commit in python-sphinx_rtd_theme/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Thu Oct 8 12:56:05 UTC 2015


    Date: Thursday, October 8, 2015 @ 14:56:05
  Author: demize
Revision: 143423

upgpkg: python-sphinx_rtd_theme 0.1.9-1

Modified:
  python-sphinx_rtd_theme/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-08 12:48:31 UTC (rev 143422)
+++ PKGBUILD	2015-10-08 12:56:05 UTC (rev 143423)
@@ -1,33 +1,36 @@
 # $Id$
-# Maintainer:
+# Maintainer: Johannes Löthberg <johannes at 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)
-_pyname=sphinx_rtd_theme
-pkgver=0.1.8
-pkgrel=2
-arch=(any)
+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'
-license=(MIT)
-makedepends=(python-setuptools python2-setuptools)
-source=("https://pypi.python.org/packages/source/s/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('713ce7c53239449bdd799385577329ee')
+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 $_pyname-$pkgver $_pyname-$pkgver-py2
-  
-  cd $_pyname-$pkgver
+  cp -r sphinx_rtd_theme-$pkgver sphinx_rtd_theme-$pkgver-py2
+
+  cd sphinx_rtd_theme-$pkgver
   python setup.py build
 
-  cd "$srcdir"/$_pyname-$pkgver-py2
+  cd "$srcdir"/sphinx_rtd_theme-$pkgver-py2
   python2 setup.py build
 }
 
 package_python-sphinx_rtd_theme() {
-  cd $_pyname-${pkgver}
+  cd sphinx_rtd_theme-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
@@ -34,7 +37,7 @@
 }
 
 package_python2-sphinx_rtd_theme() {
-  cd $_pyname-${pkgver}-py2 
+  cd sphinx_rtd_theme-${pkgver}-py2 
   python2 setup.py install --root="$pkgdir" --optimize=1
 
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE



More information about the arch-commits mailing list