[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Sat May 9 19:08:23 UTC 2015
Date: Saturday, May 9, 2015 @ 21:08:23
Author: arojas
Revision: 133130
New python-sphinx checkdepends
Added:
python-sphinx_rtd_theme/
python-sphinx_rtd_theme/trunk/
python-sphinx_rtd_theme/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Added: python-sphinx_rtd_theme/trunk/PKGBUILD
===================================================================
--- python-sphinx_rtd_theme/trunk/PKGBUILD (rev 0)
+++ python-sphinx_rtd_theme/trunk/PKGBUILD 2015-05-09 19:08:23 UTC (rev 133130)
@@ -0,0 +1,42 @@
+# $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.6
+pkgrel=3
+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=('8df56a300c8c69f17e1ffbee194b2a26')
+
+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
+}
+
Property changes on: python-sphinx_rtd_theme/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list