[Python-modules-commits] r32212 - in packages/sphinx-bootstrap-theme/trunk/debian (2 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Apr 8 15:14:40 UTC 2015


    Date: Wednesday, April 8, 2015 @ 15:14:39
  Author: morph
Revision: 32212

build binary packages

Modified:
  packages/sphinx-bootstrap-theme/trunk/debian/control
  packages/sphinx-bootstrap-theme/trunk/debian/rules

Modified: packages/sphinx-bootstrap-theme/trunk/debian/control
===================================================================
--- packages/sphinx-bootstrap-theme/trunk/debian/control	2015-04-08 15:14:01 UTC (rev 32211)
+++ packages/sphinx-bootstrap-theme/trunk/debian/control	2015-04-08 15:14:39 UTC (rev 32212)
@@ -3,8 +3,10 @@
 Priority: optional
 Maintainer: Sandro Tosi <morph at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9.0.0)
+Build-Depends: debhelper (>= 9.0.0), python, python3, dh-python
 Standards-Version: 3.9.6
+X-Python-Version: all
+X-Python3-Version: all
 Homepage: http://ryan-roemer.github.io/sphinx-bootstrap-theme/index.html
 Vcs-Svn: svn.debian.org/svn/python-modules/packages/sphinx-bootstrap-theme/trunk
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/sphinx-bootstrap-theme/trunk/
@@ -17,3 +19,14 @@
  various layout options, hierarchical menu navigation, and mobile-friendly
  responsive design. It is configurable, extensible and can use any number of
  different Bootswatch CSS themes.
+
+Package: python3-sphinx-bootstrap-theme
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: bootstrap theme for Sphinx (Python 3)
+ This Sphinx theme integrates the Bootstrap CSS / JavaScript framework with
+ various layout options, hierarchical menu navigation, and mobile-friendly
+ responsive design. It is configurable, extensible and can use any number of
+ different Bootswatch CSS themes.
+ .
+ This package contains the Python 3 version of sphinx-bootstrap-theme

Modified: packages/sphinx-bootstrap-theme/trunk/debian/rules
===================================================================
--- packages/sphinx-bootstrap-theme/trunk/debian/rules	2015-04-08 15:14:01 UTC (rev 32211)
+++ packages/sphinx-bootstrap-theme/trunk/debian/rules	2015-04-08 15:14:39 UTC (rev 32212)
@@ -5,4 +5,10 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ 
+	dh $@ --with python2,python3
+
+override_dh_auto_install:
+	python setup.py install --root=$(CURDIR)/debian/python-sphinx-bootstrap-theme --install-layout=deb
+	python3 setup.py install --root=$(CURDIR)/debian/python3-sphinx-bootstrap-theme --install-layout=deb
+
+	find $(CURDIR)/debian/*-sphinx-bootstrap-theme/usr/lib/python*/dist-packages/sphinx_bootstrap_theme/bootstrap/static/ -type f -exec chmod -x {} \;




More information about the Python-modules-commits mailing list