I spent an hour trying to roll a barebones deb from pgadmin4.git. I got stuck here:
Exception occurred: File "/tmp/pgadmin4-X/web/pgadmin/__init__.py", line 19, in <module> from flask_htmlmin import HTMLMIN ImportError: No module named flask_htmlmin According to apt-file, flask_htmlmin isn't in Stretch. It appears to be this: https://github.com/hamidfzm/Flask-HTMLmin That puts pgadmin4 into my "too hard" basket for now. Here's where I got to before giving up: debian/changelog:pgadmin4 (1.6+53-ge506fa1-1) unstable; urgency=low debian/changelog: debian/changelog: * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> debian/changelog: debian/changelog: -- root <root@unknown> Tue, 01 Aug 2017 11:56:36 +1000 debian/clean:# FIXME: remove after calling python3 properly debian/clean:*/*.pyc debian/clean:*/*/*.pyc debian/clean:*/*/*/*.pyc debian/compat:9 debian/control:Source: pgadmin4 debian/control:Section: unknown debian/control:Priority: optional debian/control:Maintainer: root <root@unknown> debian/control:Build-Depends: debhelper (>= 9), python-flask, python-sphinx, python-flask-babel debian/control:Standards-Version: 3.9.5 debian/control:Homepage: <insert the upstream URL, if relevant> debian/control: debian/control:Package: pgadmin4 debian/control:Architecture: any debian/control:Depends: ${shlibs:Depends}, ${misc:Depends} debian/control:Description: <insert up to 60 chars description> debian/control: <insert long description, indented with spaces> debian/docs:README debian/docs:libraries.txt debian/docs:requirements.txt debian/rules:#!/usr/bin/make -f debian/rules:DPKG_EXPORT_BUILDFLAGS = 1 debian/rules:include /usr/share/dpkg/default.mk debian/rules:%: debian/rules: dh $@ debian/source/format:3.0 (quilt)
signature.asc
Description: Digital signature