diff --git a/debian/changelog b/debian/changelog
index d2dde8b..4acdaea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-yappi (1.4.0-2) UNRELEASED; urgency=medium
+
+ * Bump debhelper from old 10 to 13.
+ + Replace python_distutils buildsystem with pybuild.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * Update standards version to 4.6.2, no changes needed.
+ * Set upstream metadata fields: Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk> Fri, 10 Mar 2023 19:07:44 -0000
+
python-yappi (1.4.0-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/control b/debian/control
index 2509efa..d257b1b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,14 +5,14 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Uploaders:
Thomas Goirand <zigo@debian.org>,
Build-Depends:
- debhelper-compat (= 10),
+ debhelper-compat (= 13),
dh-python,
openstack-pkg-tools,
python3-all-dev,
python3-gevent,
python3-pytest,
python3-setuptools,
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/openstack-team/third-party/python-yappi
Vcs-Git: https://salsa.debian.org/openstack-team/third-party/python-yappi.git
Homepage: https://github.com/sumerc/yappi
diff --git a/debian/rules b/debian/rules
index 2761eca..ae6a950 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/sumerc/yappi
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python3
+ dh $@ --buildsystem=pybuild --with python3
override_dh_auto_clean:
for i in $$(find . -type d -name __pycache__) ; do rm -rf $$i ; done
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..939bebe
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/sumerc/yappi/issues
+Bug-Submit: https://github.com/sumerc/yappi/issues/new
+Repository: https://github.com/sumerc/yappi.git
+Repository-Browse: https://github.com/sumerc/yappi