[Python-modules-commits] [django-oauth-toolkit] 05/07: Add a symlink to the local bootstrap CSS file as a static asset.
Michael Fladischer
fladi at moszumanska.debian.org
Thu Aug 27 19:46:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository django-oauth-toolkit.
commit 1710ec637f2f257d87bfed5e307981dd5bd181a6
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Thu Aug 27 21:20:15 2015 +0200
Add a symlink to the local bootstrap CSS file as a static asset.
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 7263ede..81e8270 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,14 @@ export PYBUILD_NAME=django-oauth-toolkit
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+override_dh_auto_install:
+ dh_auto_install
+ set -e; \
+ for inst in debian/python*-django-oauth-toolkit/usr/lib/python*/*-packages/oauth2_provider; do \
+ mkdir -p $$inst/static/oauth2_provider; \
+ ln -s ../../../../../../share/twitter-bootstrap/files/css/bootstrap.min.css $$inst/static/oauth2_provider/bootstrap.min.css; \
+ done
+
override_dh_installchangelogs:
dh_installchangelogs -- docs/changelog.rst
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-oauth-toolkit.git
More information about the Python-modules-commits
mailing list