diff -Nru python-xstatic-d3-3.5.17.0/debian/changelog python-xstatic-d3-3.5.17.0/debian/changelog --- python-xstatic-d3-3.5.17.0/debian/changelog 2017-11-02 13:19:38.000000000 +0000 +++ python-xstatic-d3-3.5.17.0/debian/changelog 2018-04-01 22:22:33.000000000 +0000 @@ -1,3 +1,17 @@ +python-xstatic-d3 (3.5.17.0-3) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Set Vcs-* to salsa.debian.org + + [ Thomas Goirand ] + * Add missing build-depends: dh-python. + * Standards-Version is now 4.1.3. + * Removed Python 2 support. + * Build-Depends on openstack-pkg-tools (>= 75~). + * Fixed long desc. + + -- Thomas Goirand Mon, 02 Apr 2018 00:22:33 +0200 + python-xstatic-d3 (3.5.17.0-2) unstable; urgency=medium * Uploading to unstable. diff -Nru python-xstatic-d3-3.5.17.0/debian/control python-xstatic-d3-3.5.17.0/debian/control --- python-xstatic-d3-3.5.17.0/debian/control 2017-11-02 13:19:38.000000000 +0000 +++ python-xstatic-d3-3.5.17.0/debian/control 2018-04-01 22:22:33.000000000 +0000 @@ -6,51 +6,18 @@ Thomas Goirand , Build-Depends: debhelper (>= 10), - openstack-pkg-tools, - python-all, - python-setuptools, + dh-python, + openstack-pkg-tools (>= 75~), python3-all, python3-setuptools, Build-Conflicts: python-xstatic, python3-xstatic, -Standards-Version: 4.1.0 -Vcs-Browser: https://anonscm.debian.org/cgit/openstack/xstatic/python-xstatic-d3.git -Vcs-Git: https://anonscm.debian.org/git/openstack/xstatic/python-xstatic-d3.git +Standards-Version: 4.1.3 +Vcs-Browser: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-d3 +Vcs-Git: https://salsa.debian.org/openstack-team/xstatic/python-xstatic-d3.git Homepage: https://github.com/stackforge/xstatic-d3 -Package: python-xstatic-d3 -Architecture: all -Depends: - libjs-d3 (<< 3.6), - libjs-d3 (>= 3.5.17), - python-xstatic, - ${misc:Depends}, - ${python:Depends}, -Description: D3 JS XStatic support - Python 2.x - XStatic is a packaging standard to package external (often 3rd party) static - files as a Python package, so they are easily usable on all operating systems, - with any package management system or even without one. - . - Many Python projects need to use some specific data files, like javascript, - css, java applets, images, etc. Sometimes these files belong to YOUR project - (then you may want to package them separately, but you could also just put - them into your main package). But in many other cases, those files are - maintained by someone else (like jQuery javascript library or even much bigger - js libraries or applications) and you definitely do not really want to merge - them into your project. So, you want to have static file packages, but you - don’t want to get lots of stuff you do not want. Thus, stuff required by - XStatic file packages (especially the main, toplevel XStatic package) tries to - obey to be a MINIMAL, no-fat thing. XStatic doesn't "sell" any web framework - or other stuff you don't want. Maybe there will be optional XStatic extensions - for all sorts of stuff, but they won't be required if you just want the files. - . - By having static files in packages, it is also easier to build virtual envs, - support linux/bsd/... distribution package maintainers and even windows - installs using the same mechanism. - . - This package provides D3 JS support as a Python 2.x module. - Package: python3-xstatic-d3 Architecture: all Depends: @@ -60,25 +27,10 @@ ${misc:Depends}, ${python3:Depends}, Description: D3 JS XStatic support - Python 3.x - XStatic is a packaging standard to package external (often 3rd party) static - files as a Python package, so they are easily usable on all operating systems, - with any package management system or even without one. - . - Many Python projects need to use some specific data files, like javascript, - css, java applets, images, etc. Sometimes these files belong to YOUR project - (then you may want to package them separately, but you could also just put - them into your main package). But in many other cases, those files are - maintained by someone else (like jQuery javascript library or even much bigger - js libraries or applications) and you definitely do not really want to merge - them into your project. So, you want to have static file packages, but you - don’t want to get lots of stuff you do not want. Thus, stuff required by - XStatic file packages (especially the main, toplevel XStatic package) tries to - obey to be a MINIMAL, no-fat thing. XStatic doesn't "sell" any web framework - or other stuff you don't want. Maybe there will be optional XStatic extensions - for all sorts of stuff, but they won't be required if you just want the files. - . - By having static files in packages, it is also easier to build virtual envs, - support linux/bsd/... distribution package maintainers and even windows - installs using the same mechanism. + XStatic is a Python web development tool for handling required static data + files from external projects, such as CSS, images, and JavaScript. It provides + a lightweight infrastructure to manage them via Python modules that your app + can depend on in a portable, virtualenv-friendly way instead of using embedded + copies. . This package provides D3 JS support as a Python 3.x module. diff -Nru python-xstatic-d3-3.5.17.0/debian/rules python-xstatic-d3-3.5.17.0/debian/rules --- python-xstatic-d3-3.5.17.0/debian/rules 2017-11-02 13:19:38.000000000 +0000 +++ python-xstatic-d3-3.5.17.0/debian/rules 2018-04-01 22:22:33.000000000 +0000 @@ -4,11 +4,19 @@ include /usr/share/openstack-pkg-tools/pkgos.make %: - dh $@ --buildsystem=python_distutils --with python2,python3 + dh $@ --buildsystem=python_distutils --with python3 + +override_dh_auto_clean: + python3 setup.py clean + rm -rf build + find . -iname '*.pyc' -delete + +override_dh_auto_build: + python3 setup.py build --force override_dh_auto_install: - pkgos-dh_auto_install - rm -rf $(CURDIR)/debian/python*-xstatic-d3/usr/lib/python*/dist-packages/xstatic/pkg/d3/data + pkgos-dh_auto_install --no-py2 + rm -rf $(CURDIR)/debian/python3-xstatic-d3/usr/lib/python3/dist-packages/xstatic/pkg/d3/data override_dh_clean: dh_clean -O--buildsystem=python_distutils