[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#991431: password-store: Please move Emacs mode in separate package



Source: password-store
Version: 1.7.4-1
Severity: wishlist
X-Debbugs-Cc: debian-emacsen@lists.debian.org
Tags: patch

Dear Colin,

please consider moving the the Emacs mode from examples into a separate
package, which integrates nicely with the Debian Emacs infrastructure.
A patch is attached. Many thanks in advance!

Cheers, Martin
diff --git a/debian/changelog b/debian/changelog
index b4c3dc6..2207e67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,9 @@
-password-store (1.7.4-1) unstable; urgency=medium
+password-store (1.7.4-1.1) UNRELEASED; urgency=medium
 
-  * New upstream release:
-    - Add support for wl-clipboard (closes: #958150).
-  * Use debhelper-compat instead of debian/compat.
+  [ Martin ]
+  * Move Emacs mode in separate package
 
- -- Colin Watson <cjwatson@debian.org>  Sun, 13 Jun 2021 11:57:38 +0100
+ -- Martin <debacle@debian.org>  Fri, 23 Jul 2021 10:18:26 +0000
 
 password-store (1.7.3-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 67500f2..84e5bae 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Colin Watson <cjwatson@debian.org>
 Section: admin
 Priority: optional
 Standards-Version: 3.9.8
-Build-Depends: debhelper-compat (= 9), gnupg, tree (>= 1.7.0), git
+Build-Depends: debhelper-compat (= 9), gnupg, tree (>= 1.7.0), git, dh-elpa
 Homepage: https://www.passwordstore.org/
 Vcs-Git: https://salsa.debian.org/debian/password-store.git
 Vcs-Browser: https://salsa.debian.org/debian/password-store
@@ -17,3 +17,10 @@ Suggests: python, python3, perl, libxml-simple-perl, ruby
 Description: lightweight directory-based password manager
  Stores, retrieves, generates, and synchronizes passwords securely using
  gpg and git.
+
+Package: elpa-password-store
+Architecture: all
+Depends: ${elpa:Depends}, ${misc:Depends}, pass
+Description: Emacs support for the lightweight directory-based password manager
+ Stores, retrieves, generates, and synchronizes passwords securely using
+ gpg and git in Emacs.
diff --git a/debian/elpa-password-store.docs b/debian/elpa-password-store.docs
new file mode 100644
index 0000000..d8b7c85
--- /dev/null
+++ b/debian/elpa-password-store.docs
@@ -0,0 +1,2 @@
+./contrib/emacs/README.md
+./contrib/emacs/CHANGELOG.md
diff --git a/debian/elpa-password-store.elpa b/debian/elpa-password-store.elpa
new file mode 100644
index 0000000..e8fde88
--- /dev/null
+++ b/debian/elpa-password-store.elpa
@@ -0,0 +1 @@
+./contrib/emacs/password-store.el
diff --git a/debian/examples b/debian/examples
index 180e762..2eb42a2 100644
--- a/debian/examples
+++ b/debian/examples
@@ -1,3 +1,2 @@
 contrib/dmenu
-contrib/emacs
 contrib/vim
diff --git a/debian/rules b/debian/rules
index 6920439..8653d72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@
+	dh $@ --with elpa
 
 override_dh_auto_test:
 	set -e; \

Reply to: