Skip to content

Commit

Permalink
Merge pull request #1383 from garberg/misc_build_fixes
Browse files Browse the repository at this point in the history
Misc fixes to build system & co
  • Loading branch information
garberg authored May 23, 2024
2 parents 5097a8d + ce8c333 commit 55f5fcf
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 46 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
*.tar.gz
*.deb
docs/sphinx/_build/
nipap-www/nipap_www.egg-info
nipap/nipap.egg-info
2 changes: 1 addition & 1 deletion nipap-cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ clean:
rm -rf .pybuild/ MANIFEST dist/ debian/tmp debian/$(PROJECT) debian/files \
.pc/ debian/$(PROJECT).debhelper.log debian/$(PROJECT).postinst.debhelper \
debian/$(PROJECT).prerm.debhelper debian/$(PROJECT).substvars nipap.1 \
debian/.debhelper
debian/.debhelper debian/debhelper-build-stamp
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
4 changes: 2 additions & 2 deletions nipap-cli/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ nipap-cli (0.29.4-1) stable; urgency=medium
* Improved logging in backend (#1043, #1047)
* WSGI file moved to /etc/nipap/www (#880, #1052)

-- Lukas Garberg <lukagarb@arb> Mon, 26 Sep 2016 06:57:23 +0200
-- Lukas Garberg <[email protected]> Mon, 26 Sep 2016 06:57:23 +0200

nipap-cli (0.29.3-1) stable; urgency=medium

Expand All @@ -173,7 +173,7 @@ nipap-cli (0.29.2-1) stable; urgency=medium
#1005)
* Fix error handling in nipap-www (#1004, #1006)

-- Kristian Larsson <kll@lingloi> Fri, 09 Sep 2016 17:45:14 +0200
-- Kristian Larsson <[email protected]> Fri, 09 Sep 2016 17:45:14 +0200

nipap-cli (0.29.1-1) stable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion nipap-cli/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: nipap-cli
Maintainer: Lukas Garberg <[email protected]>
Section: python
Priority: optional
Build-Depends: python3 (>= 3.1), dh-python, debhelper (>= 9), python3-setuptools
Build-Depends: python3 (>= 3.1), dh-python, debhelper (>= 10), python3-setuptools
Standards-Version: 4.4.0

Package: nipap-cli
Expand Down
4 changes: 2 additions & 2 deletions nipap-www/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ upload:

clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST dist/ debian/$(PROJECT)* debian/files .pc/ debian/patches \
debian/.debhelper
rm -rf .pybuild/ MANIFEST dist/ debian/$(PROJECT)* debian/files .pc/ debian/patches \
debian/.debhelper nipap_www.egg-info debian/debhelper-build-stamp
find . -name '*.pyc' -delete
rm -rf data/sessions/container_file/*
rm -rf data/sessions/container_file_lock/*
Expand Down
4 changes: 2 additions & 2 deletions nipap-www/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ nipap-www (0.29.4-1) stable; urgency=medium
* Improved logging in backend (#1043, #1047)
* WSGI file moved to /etc/nipap/www (#880, #1052)

-- Lukas Garberg <lukagarb@arb> Mon, 26 Sep 2016 06:57:22 +0200
-- Lukas Garberg <[email protected]> Mon, 26 Sep 2016 06:57:22 +0200

nipap-www (0.29.3-1) stable; urgency=medium

Expand All @@ -173,7 +173,7 @@ nipap-www (0.29.2-1) stable; urgency=medium
#1005)
* Fix error handling in nipap-www (#1004, #1006)

-- Kristian Larsson <kll@lingloi> Fri, 09 Sep 2016 17:45:14 +0200
-- Kristian Larsson <[email protected]> Fri, 09 Sep 2016 17:45:14 +0200

nipap-www (0.29.1-1) stable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion nipap-www/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: nipap-www
Section: web
Priority: optional
Maintainer: Lukas Garberg <[email protected]>
Build-Depends: debhelper (>= 5.0.38), debhelper (>= 7), python3 (>= 3.6), python3-setuptools (>= 0.6b3), dh-python
Build-Depends: debhelper (>= 10), python3 (>= 3.6), python3-setuptools (>= 0.6b3), dh-python
Standards-Version: 4.4.0

Package: nipap-www
Expand Down
12 changes: 0 additions & 12 deletions nipap-www/nipap_www.egg-info/PKG-INFO

This file was deleted.

1 change: 0 additions & 1 deletion nipap-www/nipap_www.egg-info/dependency_links.txt

This file was deleted.

1 change: 0 additions & 1 deletion nipap-www/nipap_www.egg-info/not-zip-safe

This file was deleted.

2 changes: 0 additions & 2 deletions nipap-www/nipap_www.egg-info/paster_plugins.txt

This file was deleted.

3 changes: 0 additions & 3 deletions nipap-www/nipap_www.egg-info/requires.txt

This file was deleted.

1 change: 0 additions & 1 deletion nipap-www/nipap_www.egg-info/top_level.txt

This file was deleted.

20 changes: 18 additions & 2 deletions nipap-www/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
Flask
Jinja2
Flask==2.1.3
Jinja2==3.1.4
pynipap
nipap

# optional dependencies below
opentelemetry-api==1.24.0
opentelemetry-exporter-otlp==1.24.0
opentelemetry-exporter-otlp-proto-common==1.24.0
opentelemetry-exporter-otlp-proto-grpc==1.24.0
opentelemetry-exporter-otlp-proto-http==1.24.0
opentelemetry-instrumentation==0.45b0
opentelemetry-instrumentation-dbapi==0.45b0
opentelemetry-instrumentation-flask==0.45b0
opentelemetry-instrumentation-psycopg2==0.45b0
opentelemetry-instrumentation-wsgi==0.45b0
opentelemetry-proto==1.24.0
opentelemetry-sdk==1.24.0
opentelemetry-semantic-conventions==0.45b0
opentelemetry-util-http==0.45b0
4 changes: 2 additions & 2 deletions nipap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ upload:

clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST dist/ debian/tmp debian/nipap-common \
rm -rf .pybuild/ MANIFEST dist/ debian/tmp debian/nipap-common \
debian/$(PROJECT) debian/nipapd debian/files .pc/ nipapd.8* \
nipap-passwd.1* debian/nipapd.debhelper.log \
debian/nipapd.postinst.debhelper debian/nipapd.postrm.debhelper \
debian/nipapd.prerm.debhelper debian/nipapd.substvars \
debian/nipap-common.debhelper.log \
debian/nipap-common.postinst.debhelper \
debian/nipap-common.prerm.debhelper debian/nipap-common.substvars \
debian/.debhelper
debian/.debhelper debian/debhelper-build-stamp nipap.egg-info/
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
4 changes: 2 additions & 2 deletions nipap/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ nipap (0.29.4-1) stable; urgency=medium
* Improved logging in backend (#1043, #1047)
* WSGI file moved to /etc/nipap/www (#880, #1052)

-- Lukas Garberg <lukagarb@arb> Mon, 26 Sep 2016 06:57:19 +0200
-- Lukas Garberg <[email protected]> Mon, 26 Sep 2016 06:57:19 +0200

nipap (0.29.3-1) stable; urgency=medium

Expand All @@ -173,7 +173,7 @@ nipap (0.29.2-1) stable; urgency=medium
#1005)
* Fix error handling in nipap-www (#1004, #1006)

-- Kristian Larsson <kll@lingloi> Fri, 09 Sep 2016 17:45:14 +0200
-- Kristian Larsson <[email protected]> Fri, 09 Sep 2016 17:45:14 +0200

nipap (0.29.1-1) stable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion nipap/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: nipap
Maintainer: Lukas Garberg <[email protected]>
Section: python
Priority: optional
Build-Depends: python3 (>= 3.6), debhelper (>= 7.4.3), dh-python
Build-Depends: python3 (>= 3.6), debhelper (>= 10), dh-python
Standards-Version: 4.4.0


Expand Down
3 changes: 2 additions & 1 deletion pynipap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ upload:
clean:
$(PYTHON) setup.py clean
rm -rf .pybuild/ MANIFEST dist/ debian/files debian/python-pynipap* \
debian/python3-pynipap* debian/$(PROJECT).substvars debian/.debhelper
debian/python3-pynipap* debian/$(PROJECT).substvars debian/.debhelper \
debian/debhelper-build-stamp
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
4 changes: 2 additions & 2 deletions pynipap/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pynipap (0.29.4-1) stable; urgency=medium
* Improved logging in backend (#1043, #1047)
* WSGI file moved to /etc/nipap/www (#880, #1052)

-- Lukas Garberg <lukagarb@arb> Mon, 26 Sep 2016 06:57:20 +0200
-- Lukas Garberg <[email protected]> Mon, 26 Sep 2016 06:57:20 +0200

pynipap (0.29.3-1) stable; urgency=medium

Expand All @@ -173,7 +173,7 @@ pynipap (0.29.2-1) stable; urgency=medium
#1005)
* Fix error handling in nipap-www (#1004, #1006)

-- Kristian Larsson <kll@lingloi> Fri, 09 Sep 2016 17:45:14 +0200
-- Kristian Larsson <[email protected]> Fri, 09 Sep 2016 17:45:14 +0200

pynipap (0.29.1-1) stable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion pynipap/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: pynipap
Maintainer: Lukas Garberg <[email protected]>
Section: python
Priority: optional
Build-Depends: debhelper (>= 8), dh-python,
Build-Depends: debhelper (>= 10), dh-python,
python3 (>= 3.6)
X-Python3-Version: >= 3.6
Standards-Version: 4.4.0
Expand Down
2 changes: 1 addition & 1 deletion utilities/news2dch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Copy content of NEWS file into dch file.
Expand Down
5 changes: 3 additions & 2 deletions whoisd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ upload:

clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST dist/ debian/tmp debian/$(PROJECT) debian/files \
rm -rf .pybuild/ MANIFEST dist/ debian/tmp debian/$(PROJECT) debian/files \
.pc/ debian/$(PROJECT).debhelper.log debian/$(PROJECT).postinst.debhelper \
debian/$(PROJECT).prerm.debhelper debian/$(PROJECT).postrm.debhelper \
debian/$(PROJECT).substvars nipap-whoisd.8 debian/.debhelper
debian/$(PROJECT).substvars nipap-whoisd.8 debian/.debhelper \
debian/debhelper-build-stamp
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
4 changes: 2 additions & 2 deletions whoisd/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ nipap-whoisd (0.29.4-1) stable; urgency=medium
* Improved logging in backend (#1043, #1047)
* WSGI file moved to /etc/nipap/www (#880, #1052)

-- Lukas Garberg <lukagarb@arb> Mon, 26 Sep 2016 06:57:24 +0200
-- Lukas Garberg <[email protected]> Mon, 26 Sep 2016 06:57:24 +0200

nipap-whoisd (0.29.3-1) stable; urgency=medium

Expand All @@ -173,7 +173,7 @@ nipap-whoisd (0.29.2-1) stable; urgency=medium
#1005)
* Fix error handling in nipap-www (#1004, #1006)

-- Kristian Larsson <kll@lingloi> Fri, 09 Sep 2016 17:45:15 +0200
-- Kristian Larsson <[email protected]> Fri, 09 Sep 2016 17:45:15 +0200

nipap-whoisd (0.29.1-1) stable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion whoisd/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: nipap-whoisd
Maintainer: Kristian Larsson <[email protected]>
Section: python
Priority: optional
Build-Depends: python3 (>= 3.6), debhelper (>= 7), dh-python
Build-Depends: python3 (>= 3.6), debhelper (>= 10), dh-python
Standards-Version: 4.4.0

Package: nipap-whoisd
Expand Down

0 comments on commit 55f5fcf

Please sign in to comment.