diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-23 23:23:03 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-26 19:42:33 +0100 |
commit | fc5ff4815ba18adadcf9c34283f62bc0390a03c6 (patch) | |
tree | 60c3d836d34d03363e960a2c6449ac658db8d4ca /debian | |
parent | d592880c4bc4c581d8847d96ff73bc319ca1fac2 (diff) |
Depend on libjs-jquery instead of shipping jquery files
Although they are bundled in the Python package, the jQuery files are
removed from the final Debian package. The dependency on libjs-jquery is
used to provide an up-to-date jQuery library.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/control b/debian/control index bdb5941..6cd5231 100644 --- a/debian/control +++ b/debian/control @@ -16,6 +16,6 @@ Standards-Version: 3.9.1 Package: swiftstory Architecture: all Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, ${python3:Depends}, python3-websockets, python3-pkg-resources +Depends: ${misc:Depends}, ${python3:Depends}, python3-websockets, python3-pkg-resources, libjs-jquery Description: SwiftStory game: We're not out of the woods yet. diff --git a/debian/rules b/debian/rules index 6f7eaf3..57ca10b 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,7 @@ # Thu, 18 Aug 2016 12:48:06 +0000 export PYBUILD_NAME=swiftstory export PYBUILD_TEST_PYTEST=1 +export PYBUILD_AFTER_INSTALL=rm -r {destdir}/usr/share/swiftstory/www/javascript %: dh $@ --with python3,sysuser --buildsystem=pybuild |