On Mon, Dec 19, 2016 at 09:40:36AM +0100, Sébastien Delafond wrote: > Would you maybe like to adopt python-jsbeautifier, in which case I'd > gladly hand it over ? A patch would also do of course.
No, I really can't take another package, I feel I'm already pretty full. Anyway, I saw that you did something, but I'm not sure that's correct. If I try to build what's in git (which I suppose it's also what's in NEW), I end up with files in /build/python-jsbeautifier/dev/null inside the python-jsbeautifier binary.. Attached a patch that also adds a 'jsbeautifier' binary (feel free to rename it into 'js-beautify' if you see it fit, I guess). It also: drops ${shlibs:Depends} from d/control (that's needed only for compiled binaries), and properly uses pybuild to skip the tests (even if I'm not sure why you want to do it, I haven't tried to run them). > Thanks a lot for your time, cheers, Thank you for maintaining this package :) -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
diff --git a/debian/changelog b/debian/changelog index 0b6639c..6324ec0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-jsbeautifier (1.6.4-5) UNRELEASED; urgency=medium + + * Provide a jsbeautifier package + + -- Mattia Rizzolo <mat...@debian.org> Fri, 30 Dec 2016 11:19:50 +0100 + python-jsbeautifier (1.6.4-4) unstable; urgency=medium * Provide python3 package diff --git a/debian/control b/debian/control index 5696c08..9b2bf77 100644 --- a/debian/control +++ b/debian/control @@ -10,16 +10,26 @@ Vcs-Browser: https://anonscm.debian.org/git/collab-maint/python-jsbeautifier.git Package: python-jsbeautifier Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} -Description: JavaScript unobfuscator and beautifier +Depends: ${misc:Depends}, ${python:Depends} +Description: JavaScript unobfuscator and beautifier (python2) Beautify, unpack or deobfuscate JavaScript, leveraging popular online obfuscators. + . + This is the Python 2 version of the package. Package: python3-jsbeautifier Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Depends: ${misc:Depends}, ${python3:Depends} Description: JavaScript unobfuscator and beautifier (python3) Beautify, unpack or deobfuscate JavaScript, leveraging popular online obfuscators. . This is the Python 3 version of the package. + +Package: jsbeautifier +Section: misc +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, python3-jsbeautifier +Description: JavaScript unobfuscator and beautifier + Beautify, unpack or deobfuscate JavaScript, leveraging popular online + obfuscators. diff --git a/debian/rules b/debian/rules index 7601ea5..8cf447a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,10 @@ #!/usr/bin/make -f +d = $(CURDIR)/debian/jsbeautifier/usr/bin export PYBUILD_NAME=jsbeautifier -export PYBUILD_INSTALL_ARGS_python2 = --install-scripts=/dev/null -export PYBUILD_TEST_TESTS=0 +export PYBUILD_AFTER_INSTALL_python2 = rm -rv {destdir}/usr/bin +export PYBUILD_AFTER_INSTALL_python3 = mkdir -pv $d && mv -v {destdir}/usr/bin/js-beautify $d +export PYBUILD_DISABLE=test %: dh $@ --with python2,python3 --buildsystem=pybuild - -override_dh_auto_test:
signature.asc
Description: PGP signature