Commit cb151a26 authored by Michael Fladischer's avatar Michael Fladischer

Create symlinks after dh_python3.

parent 9cafe912
......@@ -5,6 +5,7 @@ django-countries (5.3.2-1) UNRELEASED; urgency=low
* d/control: Remove ancient X-Python3-Version field
* Refresh patches.
* Bump Standards-Version to 4.2.1.
* Create symlinks after dh_python3.
-- Michael Fladischer <fladi@debian.org> Sat, 22 Sep 2018 17:52:59 +0200
......
......@@ -27,13 +27,10 @@ override_dh_python2:
dh_python2
override_dh_python3:
set -e; \
for python in $(shell py3versions -r); do \
ln -s /usr/share/python3-django-countries/locale debian/python3-django-countries/usr/lib/$$python/dist-packages/django_countries/; \
mkdir -p debian/python3-django-countries/usr/lib/$$python/dist-packages/django_countries/static; \
ln -s /usr/share/flags/countries/16x11 debian/python3-django-countries/usr/lib/$$python/dist-packages/django_countries/static/flags; \
done
dh_python3
ln -s /usr/share/python3-django-countries/locale debian/python3-django-countries/usr/lib/python3/dist-packages/django_countries/
mkdir -p debian/python3-django-countries/usr/lib/python3/dist-packages/django_countries/static
ln -s /usr/share/flags/countries/16x11 debian/python3-django-countries/usr/lib/python3/dist-packages/django_countries/static/flags
override_dh_installchangelogs:
dh_installchangelogs -- CHANGES.rst
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment