-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1426 from garberg/repackage_www
Repackage web UI using newer tools
- Loading branch information
Showing
9 changed files
with
67 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,16 @@ Source: nipap-www | |
Section: web | ||
Priority: optional | ||
Maintainer: Lukas Garberg <[email protected]> | ||
Build-Depends: debhelper (>= 10), python3 (>= 3.6), python3-setuptools (>= 0.6b3), dh-python | ||
Standards-Version: 4.4.0 | ||
Build-Depends: debhelper-compat (= 13), | ||
python3-all, | ||
python3-setuptools, | ||
dh-python | ||
Standards-Version: 4.6.1 | ||
|
||
Package: nipap-www | ||
Architecture: all | ||
Depends: debconf, python3 (>= 3.6), ${misc:Depends}, python3-flask, python3-pynipap, nipap-common, python3-jinja2 | ||
Pre-Depends: debconf | ||
Depends: ${misc:Depends}, ${python3:Depends} | ||
XB-Python-Version: ${python:Versions} | ||
Description: web frontend for NIPAP | ||
A web UI for the NIPAP IP address planning service. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nipap-www.wsgi etc/nipap |
2 changes: 1 addition & 1 deletion
2
nipap-www/debian/pydist-overrides → nipap-www/debian/py3dist-overrides
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Jinja2 python3-jinja2 | ||
pynipap python3-pynipap | ||
nipap nipap-common | ||
Flask python3-flask (>= 2.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[project] | ||
name = "nipap-www" | ||
description = "Web frontend for NIPAP" | ||
dynamic = ["version"] | ||
license = {text = "MIT"} | ||
classifiers = [ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: System Administrators', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Operating System :: POSIX :: Linux', | ||
'Programming Language :: Python :: 3' | ||
] | ||
keywords = ["nipap"] | ||
dependencies = [ | ||
"Flask==3.0.3", | ||
"Jinja2==3.1.5", | ||
"nipap", | ||
"pynipap", | ||
] | ||
|
||
[project.optional-dependencies] | ||
instrumentation = [ | ||
"opentelemetry-api==1.29.0", | ||
"opentelemetry-exporter-otlp==1.29.0", | ||
"opentelemetry-exporter-otlp-proto-common==1.29.0", | ||
"opentelemetry-exporter-otlp-proto-grpc==1.29.0", | ||
"opentelemetry-exporter-otlp-proto-http==1.29.0", | ||
"opentelemetry-instrumentation==0.50b0", | ||
"opentelemetry-instrumentation-flask==0.50b0", | ||
"opentelemetry-instrumentation-wsgi==0.50b0", | ||
"opentelemetry-proto==1.29.0", | ||
"opentelemetry-sdk==1.29.0", | ||
"opentelemetry-semantic-conventions==0.50b0", | ||
"opentelemetry-util-http==0.50b0" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "http://SpriteLink.github.io/NIPAP" | ||
|
||
[tool.setuptools] | ||
packages = ["nipapwww"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "nipapwww.__version__"} | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools" | ||
] | ||
build-backend = "setuptools.build_meta" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
from setuptools import find_packages, setup | ||
|
||
import nipapwww | ||
from setuptools import setup | ||
|
||
setup( | ||
name='nipap-www', | ||
version=nipapwww.__version__, | ||
description='web frontend for NIPAP', | ||
author=nipapwww.__author__, | ||
author_email=nipapwww.__author_email__, | ||
url=nipapwww.__url__, | ||
install_requires=[ | ||
"Flask", | ||
"pynipap", | ||
"nipap" | ||
], | ||
license=nipapwww.__license__, | ||
packages=find_packages(exclude=['ez_setup']), | ||
include_package_data=True, | ||
package_data={'nipapwww': ['i18n/*/LC_MESSAGES/*.mo']}, | ||
data_files=[ | ||
('/etc/nipap/www', ['nipap-www.wsgi', ]), | ||
('share/nipap', ['nipap-www.wsgi', ]), | ||
], | ||
zip_safe=False, | ||
) |