Bug#924107: unblock: yubikey-manager/2.0.0-2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Please unblock package yubikey-manager, as the newest version adds a manpage
(that upstream accidentally failed to include in their release tarball) :
yubikey-manager (2.0.0-2) unstable; urgency=low
[ Nicolas Braud-Santoni ]
* Autogenerate a manpage with help2man.
This is what upstream did, though doing it in the package build avoids
having it go out-of-sync with the actual binary. (Closes: #912029)
* Switch to debhelper 12.
Compatibility level is now controlled through a Build-Depends
[ Afif Elghraoui ]
* d/control: add VCS URLs
-- Nicolas Braud-Santoni <nicoo@debian.org> Sat, 09 Mar 2019 16:41:28 +0100
Apologies for failing to do this before the freeze; I was expecting upstream to
release a new version (the latest release had issues) and waited for that...
If including a manpage for Buster is not a sufficient reason for a freeze
exception, please close the bug at your convenience.
Here is the debdiff:
diff -Nru yubikey-manager-2.0.0/debian/changelog yubikey-manager-2.0.0/debian/changelog
--- yubikey-manager-2.0.0/debian/changelog 2019-02-07 22:30:34.000000000 +0100
+++ yubikey-manager-2.0.0/debian/changelog 2019-03-09 16:41:28.000000000 +0100
@@ -1,3 +1,18 @@
+yubikey-manager (2.0.0-2) unstable; urgency=low
+
+ [ Nicolas Braud-Santoni ]
+ * Autogenerate a manpage with help2man.
+ This is what upstream did, though doing it in the package build avoids
+ having it go out-of-sync with the actual binary. (Closes: #912029)
+
+ * Switch to debhelper 12.
+ Compatibility level is now controlled through a Build-Depends
+
+ [ Afif Elghraoui ]
+ * d/control: add VCS URLs
+
+ -- Nicolas Braud-Santoni <nicoo@debian.org> Sat, 09 Mar 2019 16:41:28 +0100
+
yubikey-manager (2.0.0-1) unstable; urgency=medium
* New upstream version 2.0.0 (2019-01-09)
diff -Nru yubikey-manager-2.0.0/debian/compat yubikey-manager-2.0.0/debian/compat
--- yubikey-manager-2.0.0/debian/compat 2019-02-07 22:30:34.000000000 +0100
+++ yubikey-manager-2.0.0/debian/compat 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-11
diff -Nru yubikey-manager-2.0.0/debian/control yubikey-manager-2.0.0/debian/control
--- yubikey-manager-2.0.0/debian/control 2019-02-07 22:30:34.000000000 +0100
+++ yubikey-manager-2.0.0/debian/control 2019-03-09 16:41:28.000000000 +0100
@@ -5,8 +5,9 @@
Priority: optional
Rules-Requires-Root: no
Standards-Version: 4.3.0
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 12),
dh-python,
+ help2man, python3-venv,
python3-all,
python3-click,
python3-cryptography,
@@ -16,6 +17,8 @@
python3-usb,
python3-fido2
Homepage: https://developers.yubico.com/yubikey-manager/
+Vcs-Git: https://salsa.debian.org/auth-team/yubikey-manager.git
+Vcs-Browser: https://salsa.debian.org/auth-team/yubikey-manager
Package: python3-yubikey-manager
Architecture: all
diff -Nru yubikey-manager-2.0.0/debian/rules yubikey-manager-2.0.0/debian/rules
--- yubikey-manager-2.0.0/debian/rules 2019-02-07 22:30:34.000000000 +0100
+++ yubikey-manager-2.0.0/debian/rules 2019-03-09 16:41:28.000000000 +0100
@@ -1,10 +1,27 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_installchangelogs:
dh_installchangelogs NEWS
+# Nasty hack to autogenerate a manpage
+# This can be entirely replaced by click-man once it is packaged (see #924099)
+VENV:=$(shell mktemp -d)
+override_dh_installman:
+ python3 -m venv --system-site-packages $(VENV)
+ $(VENV)/bin/python setup.py build
+ $(VENV)/bin/python setup.py install
+
+ help2man -o debian/ykman.1 \
+ --no-info --version-string=$(DEB_VERSION_UPSTREAM) \
+ --name 'YubiKey Manager' -- $(VENV)/bin/ykman
+ rm -rf $(VENV)
+
+ dh_installman
+
override_dh_missing:
dh_missing --fail-missing
diff -Nru yubikey-manager-2.0.0/debian/yubikey-manager.manpages yubikey-manager-2.0.0/debian/yubikey-manager.manpages
--- yubikey-manager-2.0.0/debian/yubikey-manager.manpages 1970-01-01 01:00:00.000000000 +0100
+++ yubikey-manager-2.0.0/debian/yubikey-manager.manpages 2019-03-09 16:41:28.000000000 +0100
@@ -0,0 +1 @@
+debian/ykman.1
Best,
nicoo
unblock yubikey-manager/2.0.0-2
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEU7EqA8ZVHYoLJhPE5vmO4pLV7MsFAlyD5KkRHG5pY29vQGRl
Ymlhbi5vcmcACgkQ5vmO4pLV7MskBA//U0/gPrjyeAK36nJRXKc23jMxQWXWYi8l
Nh6RSA67c2VejcZGoLy7Fchz+sCrvoX1/3KeC9HwD2YHuY1sT0/iQ/sA5BLLDqe0
2UaypXVuo2n2A8k7EJSwN4U/fXFi1TXQqNam3Qe/t0+QzFXsF8XqFBfk9XK1ga9c
RDWMGGw5BwipDX2SrKFsqsQPHS0pixf5gB4Uc1srUfRrqA6jCC7QSRHfWQDDRc2y
9Tlk/PT7pFmg+7E7ksQXafuKqnhW0lBFRz307JC2jiFabvw2tA/9THMB+4A6eO30
nd4Z3LXjwbgCdM8Z1qeEJOkWeJek/Cz0fLjvibN5wqZ81HUC3kHXVN+7tNst7e53
7UPT6pAmz36RjiBPZhJ8NO+IMOCsBD+MkIGFZO3kRsl0mwNXNuKBceNcr4AuC7G7
OGDAySq6XjS+rUg7s3MS4evGzPL6d03VwawtLEjK4+CLK5Jg1GtJKhQflt6Nslp4
/B15qCauKOnttImao1fGS0F+iAS7EbGUcuwwhEzjK/MV0HOS7jJzc2VfekicnwWI
9Aj7stvf2ewy/J30PoO1bt7xOwGFVMtrprNVMnQUBY+jKhCjNoHjnuGlRFZAHsHb
aq42grMeaoOwEIKX5GXJa/m87N2Zd5EveWcJNhgwRI51/hwDRYznEL98/wEkngRf
rjQtyCP8nX0=
=XFpW
-----END PGP SIGNATURE-----
Reply to: