diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/NEWS | 21 | ||||
-rw-r--r-- | debian/TODO | 5 | ||||
-rw-r--r-- | debian/changelog | 233 | ||||
-rw-r--r-- | debian/clean | 3 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 31 | ||||
-rw-r--r-- | debian/copyright | 22 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/elpa | 1 | ||||
-rw-r--r-- | debian/install | 3 | ||||
-rwxr-xr-x | debian/rules | 23 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/lintian-overrides | 2 | ||||
-rw-r--r-- | debian/watch | 3 |
14 files changed, 350 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..f9623d5 --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,21 @@ +dh-elpa (0.0.20) unstable; urgency=medium + + This version of dh_elpa will try to run any ERT and Buttercup test + suites that it can find if you set the debhelper compat level to 10 + or above. If you are currently running your package's test suite + with a override_dh_auto_test stanza in debian/rules, or if there + exists an upstream test suite that you are not running, dh_elpa will + override any override_dh_auto_test stanza and try to run the test + suite. If it can't run it in its default configuration, this will + lead to your package failing to build from source. + + The easy fix is to add a line like this to the top of your debian/rules: + + export DH_AUTO_TEST_DISABLE + + If instead you would like to migrate to have dh_elpa run your test + suite and it fails to do so in its default configuration, see + dh_elpa_test(1) for how to configure dh_elpa_test to run the test + suite successfully. + + -- Sean Whitton <spwhitton@spwhitton.name> Sun, 1 May 2016 10:46:33 -0700 diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..9d18bb3 --- /dev/null +++ b/debian/TODO @@ -0,0 +1,5 @@ +-*- org -*- + +* missing features +** info + - completely untested at the moment diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ed2b292 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,233 @@ +dh-elpa (1.3~bpo8+1) jessie-backports; urgency=medium + + * Rebuild for jessie-backports. + * Relax dependency on dh-make-perl so satisfiable on jessie. + dh-elpa will disable functionality requiring newer versions of + dh-make-perl. + + -- Sean Whitton <spwhitton@spwhitton.name> Tue, 13 Sep 2016 10:56:58 -0700 + +dh-elpa (1.3) unstable; urgency=medium + + * Fix version comparison in elpa.pm. + Quote "0.90" so that the trailing 0 is not lost. + * Override debian-watch-file-in-native-package. + + -- Sean Whitton <spwhitton@spwhitton.name> Tue, 06 Sep 2016 20:38:10 -0700 + +dh-elpa (1.2) unstable; urgency=medium + + * Add generated files to debian/clean: + - dh_elpa + - dh_elpa.1 + - dh_elpa_test.1 + * Add missing dependency on debhelper. + * Declare source format 3.0 (native). + + -- Sean Whitton <spwhitton@spwhitton.name> Thu, 25 Aug 2016 07:12:14 -0700 + +dh-elpa (1.1) unstable; urgency=medium + + * Attempt to sanitise versions from DEB_* env vars so that Emacs accepts + them as ELPA package version strings. + + -- Sean Whitton <spwhitton@spwhitton.name> Fri, 12 Aug 2016 19:51:04 -0700 + +dh-elpa (1.0) unstable; urgency=medium + + [ Sean Whitton ] + * dh_elpa_test should now be configured by the config file debian/elpa-test. + - New dependency on libconfig-tiny-perl. + * The old DH_ELPA_TEST_* configuration env vars are deprecated. + * Backport prep + - Add check for dh-make-perl version before invoking dh_elpa_test + - New dependency for this check: libdpkg-perl + * Globs in ert_exclude/DH_ELPA_TEST_ERT_EXCLUDE will now be matched against + the full paths to files (relative to the root of the source package). + Previously, only the basename was matched, so it was not possible to + use a glob like "broken-tests/*.el". + - New dependency on libtext-glob-perl. + * Add --autopkgtest switch to dh_elpa_test for autodep8. + * Add example usage of ert_exclude to dh_elpa_test(1). + + [ David Bremner ] + * depend on libdebian-source-perl in preference to dh-make-perl, if the + former is available. + + [ Rémi Vanicat & Sean Whitton ] + * use DEB_UPSTREAM_VERSION or DEB_VERSION_UPSTREAM as elpa version if + there is no version line in the main "*.el" file (Closes: #829200) + * add HINTS section to dh_elpa(1) documenting this + + -- David Bremner <bremner@debian.org> Thu, 04 Aug 2016 13:44:50 +0900 + +dh-elpa (0.0.21) unstable; urgency=medium + + * Actually exclude .pc/ and debian/ directories from ERT tests. + * Fix Vcs-Git: URI. + + -- Sean Whitton <spwhitton@spwhitton.name> Fri, 13 May 2016 15:33:34 -0700 + +dh-elpa (0.0.20) unstable; urgency=medium + + [ David Bremner ] + * Tighten versioned dependency on debhelper, needed for + get_source_date_epoch + + [ Sean Whitton ] + * Add yasnippet to list of packages maintained outside of the elpa-* + binary package namespace. + * Add dh_elpa_test helper and add to elpa.pm sequencer script, plus + documentation, new dependencies and installation code. + dh_elpa can now automatically detect and run Buttercup and ERT test + suites. + * Use https for Vcs-* control file fields. + * Add myself as an uploader. + * Run wrap-and-sort -abst to deal with lengthening dependencies list. + * Bump standards version to 3.9.8; no changes required. + + -- Sean Whitton <spwhitton@spwhitton.name> Sun, 01 May 2016 13:19:11 -0700 + +dh-elpa (0.0.19) unstable; urgency=medium + + [ Sean Whitton ] + * Fix generation of *-pkg.el file to not include dependencies on dash-el + or s-el, which are currently maintained outside of the elpa-* + namespace in Debian. + + -- David Bremner <bremner@debian.org> Sun, 21 Feb 2016 09:17:51 -0400 + +dh-elpa (0.0.18) unstable; urgency=low + + * Document "--with elpa" + * Add --fix-autoload-date option (on by default) to take autoload dates + from changelog (Closes: #799168). + * Add ${elpa:Depends} substvar. Thanks to Sean Whitton for the implementation. + + -- David Bremner <bremner@debian.org> Sun, 03 Jan 2016 19:26:12 -0400 + +dh-elpa (0.0.17) unstable; urgency=medium + + * Document substvars + * Add "--with elpa" sequencer option + + -- David Bremner <bremner@debian.org> Sun, 29 Nov 2015 08:28:26 -0400 + +dh-elpa (0.0.16) unstable; urgency=medium + + * Bug fix: "Add Built-Using substvars entry", thanks to Hilko Bengen + (Closes: #803350). + * Add depends on ${perl:Depends} + + -- David Bremner <bremner@debian.org> Wed, 28 Oct 2015 22:43:59 -0300 + +dh-elpa (0.0.15) unstable; urgency=medium + + * Also ignore emacs20 + * Avoid error from find in remove script (Closes: #802963). + + -- David Bremner <bremner@debian.org> Sun, 25 Oct 2015 14:31:04 -0300 + +dh-elpa (0.0.14) unstable; urgency=medium + + * Also ignore emacs21 and emacs22 in emacsen-common helper scripts + + -- David Bremner <bremner@debian.org> Thu, 22 Oct 2015 23:05:11 -0300 + +dh-elpa (0.0.13) unstable; urgency=medium + + * remove /usr/share/${FLAVOUR}/site-lisp/elpa on last package removal. + + -- David Bremner <bremner@debian.org> Tue, 06 Oct 2015 21:21:39 -0300 + +dh-elpa (0.0.12) unstable; urgency=medium + + * Replace use of private function `autoscript_sed' from Dh_Lib + + -- David Bremner <bremner@debian.org> Fri, 25 Sep 2015 08:19:59 -0300 + +dh-elpa (0.0.11) unstable; urgency=medium + + * Fix elpa version in generated maintainer scripts (Closes: #799032) + (again). + + -- David Bremner <bremner@debian.org> Tue, 22 Sep 2015 09:14:25 -0300 + +dh-elpa (0.0.10) unstable; urgency=medium + + * Take elpa version from lisp source (Closes: #799032). + Thanks to Thomas Koch for the report. + + -- David Bremner <bremner@debian.org> Sat, 19 Sep 2015 10:49:28 -0300 + +dh-elpa (0.0.9) unstable; urgency=medium + + * Bug fix: "dh-elpa should provide substvar for depends field", thanks + to Thomas Koch (Closes: #799208). Currently we add only an unversioned + depends on emacsen-common. + * Bug fix: "an elpa package cannot require a non elpa debian package", + thanks to Remi Vanicat (Closes: #798576). As Remi suggests, use -q + instead of -Q to byte-compile files. + + -- David Bremner <bremner@debian.org> Thu, 17 Sep 2015 07:45:15 -0300 + +dh-elpa (0.0.8) unstable; urgency=medium + + * Skip binary packages with no files in their package.elpa file and or + on the command line. + + -- David Bremner <bremner@debian.org> Sat, 12 Sep 2015 20:54:05 -0300 + +dh-elpa (0.0.7) unstable; urgency=medium + + * On package uninstall remove the non-emacs-lisp symlinks as well + * Add Vcs-{Git,Browser} headers + + -- David Bremner <bremner@debian.org> Tue, 08 Sep 2015 13:54:34 -0300 + +dh-elpa (0.0.6) unstable; urgency=medium + + * Bug fix: "maintainer address bounces", thanks to Ansgar Burchardt + (Closes: #797940). + + -- David Bremner <bremner@debian.org> Thu, 03 Sep 2015 18:35:06 -0300 + +dh-elpa (0.0.5) unstable; urgency=medium + + * Use debian/.debhelper/elpa for temp files. This allows easier + debugging. + * Add a check for ${elpa_name}-pkg.el in multi-file packages + * Link all top level files/directories into flavour directory, not + just *.el + + -- David Bremner <bremner@debian.org> Tue, 01 Sep 2015 19:09:51 -0300 + +dh-elpa (0.0.4) unstable; urgency=medium + + * Fix postinst bug: s/mkdir/mkdir -p/ + + -- David Bremner <bremner@debian.org> Thu, 20 Aug 2015 11:24:54 +0200 + +dh-elpa (0.0.3) unstable; urgency=medium + + * Switch to team maintenance + * Upload to unstable + + -- David Bremner <bremner@debian.org> Thu, 20 Aug 2015 09:47:48 +0200 + +dh-elpa (0.0.2) experimental; urgency=medium + + * Clean up temporary directory + * By default install emacsen-common helper scripts to do byte + compilation and removal. It's the responsibility of packages + build-depending on dh-elpa to depend on emacsen-common unless they use + the no-byte-compile flag. + + -- David Bremner <bremner@debian.org> Fri, 17 Jul 2015 19:03:42 +0200 + +dh-elpa (0.0.1) experimental; urgency=medium + + * Initial upload, early adopters only. + + -- David Bremner <bremner@debian.org> Sat, 11 Jul 2015 15:24:57 +0200 + diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..3c63b62 --- /dev/null +++ b/debian/clean @@ -0,0 +1,3 @@ +dh_elpa.1 +dh_elpa_test.1 +dh_elpa diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c27963e --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: dh-elpa +Section: devel +Priority: optional +Maintainer: Debian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org> +Uploaders: + David Bremner <bremner@debian.org>, + Sean Whitton <spwhitton@spwhitton.name>, +Build-Depends: + debhelper (>= 9.20151004), + emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~), +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/dh-elpa.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/dh-elpa.git/ + +Package: dh-elpa +Architecture: all +Built-Using: ${misc:Built-Using} +Depends: + debhelper (>= 9.20151004), + libdebian-source-perl | dh-make-perl, + emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~), + libarray-utils-perl, + libconfig-tiny-perl, + libfile-find-rule-perl, + libdpkg-perl, + libtext-glob-perl, + ${misc:Depends}, + ${perl:Depends}, +Description: Debian helper tools for packaging emacs lisp extensions + This package provides a helper for packaging emacs lisp extensions + in a way compatible with the GNU Emacs 'elpa' package repository. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..83a9d9a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: © 2007-2015 Free Software Foundation Inc, + © 2015 David Bremner <bremner@debian.org> + © 2016 Sean Whitton <spwhitton@spwhitton.name> +License: GPL-3+ + dh-elpa is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + dh-elpa is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with dh-elpa. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..f20153b --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.org diff --git a/debian/elpa b/debian/elpa new file mode 100644 index 0000000..abf136d --- /dev/null +++ b/debian/elpa @@ -0,0 +1 @@ +*.el diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..c410d21 --- /dev/null +++ b/debian/install @@ -0,0 +1,3 @@ +elpa.pm usr/share/perl5/Debian/Debhelper/Sequence +emacsen-common usr/share/debhelper/dh_elpa +usr/bin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..554ca48 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk +export DEB_VERSION_UPSTREAM +DESTDIR=$(CURDIR)/debian/tmp + +%: + dh $@ + +override_dh_auto_build: + pod2man -c Debhelper --section=1 dh_elpa.in > dh_elpa.1 + pod2man -c Debhelper --section=1 dh_elpa_test > dh_elpa_test.1 + sed s/@HELPER_VERSION@/${DEB_VERSION_UPSTREAM}/ < dh_elpa.in > dh_elpa + chmod 755 dh_elpa dh_elpa_test + +override_dh_install: + dh_install + dh_installman dh_elpa.1 dh_elpa_test.1 + ./dh_elpa --no-byte-compile + +override_dh_auto_install: + install -m 755 -D dh_elpa $(DESTDIR)/usr/bin/dh_elpa + install -m 755 -D dh_elpa_test $(DESTDIR)/usr/bin/dh_elpa_test diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..401b3e2 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# watch file is for use with pkg-emacsen PET +debian-watch-file-in-native-package diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..dc302f9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="mode=git" https://anonscm.debian.org/git/pkg-emacsen/pkg/dh-elpa.git \ + refs/tags/debian/([\d\.\d\.]+) debian |