diff --git a/debian/changelog b/debian/changelog
index d04d8e1..ad580a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+vim-autopep8 (1.2.0-4) UNRELEASED; urgency=medium
+
+ * Bump debhelper from old 12 to 13.
+ * Update standards version to 4.6.2, no changes needed.
+ * Migrate from vim-addon-manager to dh-vim-addon.
+
+ -- Debian Janitor <janitor@jelmer.uk> Sat, 17 Jun 2023 16:08:29 -0000
+
vim-autopep8 (1.2.0-3) unstable; urgency=low
[ Debian Janitor ]
diff --git a/debian/control b/debian/control
index 10d896b..a2ee88b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,10 @@ Section: editors
Priority: optional
Maintainer: Balasankar C <balasankarc@debian.org>
Uploaders: Debian Python Team <team+python@tracker.debian.org>
-Build-Depends: debhelper-compat (= 12),
- python3-sphinx
-Standards-Version: 4.5.0
+Build-Depends: debhelper-compat (= 13),
+ python3-sphinx,
+ dh-vim-addon
+Standards-Version: 4.6.2
Homepage: https://github.com/tell-k/vim-autopep8
Vcs-Git: https://salsa.debian.org/python-team/packages/vim-autopep8.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/vim-autopep8
@@ -15,7 +16,6 @@ Package: vim-autopep8
Architecture: all
Depends: python3-autopep8 (>> 1.4.4-1),
vim,
- vim-addon-manager,
${misc:Depends},
${sphinxdoc:Depends}
Description: vim plugin to apply autopep8
diff --git a/debian/rules b/debian/rules
index dcfb111..5eab5b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,12 +3,12 @@
# main packaging script based on dh7 syntax
%:
- dh $@ --with=sphinxdoc
+ dh $@ --with=sphinxdoc,vim_addon
override_dh_auto_build:
- dh_auto_build
+ dh_auto_build --with=vim_addon
http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ debian/build/html # HTML generator
override_dh_clean:
rm -rf debian/build
- dh_clean
+ dh_clean --with=vim_addon