summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Lamberov <dogsleg@debian.org>2017-02-18 18:23:18 +0500
committerLev Lamberov <dogsleg@debian.org>2017-02-18 18:45:43 +0500
commit1a23f056f6dacd61196a10984661cf6dff89eb1c (patch)
tree60cf3f06a6bbac9d77ad2190e01626ceee69455e
parent21f300d45fff63945b9338cf49b952f869dd28bb (diff)
Initial packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control28
-rw-r--r--debian/copyright28
-rw-r--r--debian/docs1
-rw-r--r--debian/elpa1
-rw-r--r--debian/patches/0001-fix-documentation.diff14
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
11 files changed, 92 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..813331b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mocker-el (0.3.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #855454)
+
+ -- Lev Lamberov <dogsleg@debian.org> Sat, 18 Feb 2017 18:12:40 +0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7eab70d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: mocker-el
+Section: lisp
+Priority: optional
+Maintainer: Debian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org>
+Uploaders: Lev Lamberov <dogsleg@debian.org>
+Build-Depends: debhelper (>= 10),
+ dh-elpa
+Standards-Version: 3.9.8
+Testsuite: autopkgtest-pkg-elpa
+Homepage: https://github.com/sigma/mocker.el
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/mocker-el.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/mocker-el.git
+
+Package: elpa-mocker
+Architecture: all
+Depends: ${elpa:Depends},
+ ${misc:Depends},
+ emacsen-common (>= 2.0.8)
+Recommends: emacs (>= 46.0)
+Enhances: emacs,
+ emacs24,
+ emacs25
+Built-Using: ${misc:Built-Using}
+Description: mocking framework for Emacs
+ This package is helpful with testing Emacs Lisp code. Its single
+ entry point (`mocker-let') provides an `let' like interface to
+ defining mock objects. Actually, `mocker-let' is a wrapper around
+ `flet', which can be seen as a way to manually generate mocks.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7315be8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mocker-el
+Source: https://github.com/sigma/mocker.el
+
+Files: *
+Copyright: (C) 2011 Yann Hodique <yann.hodique@gmail.com>
+License: GPL-2+
+
+Files: debian/*
+Copyright: (C) 2017 Lev Lamberov <dogsleg@debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..8d526b9
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.markdown
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/patches/0001-fix-documentation.diff b/debian/patches/0001-fix-documentation.diff
new file mode 100644
index 0000000..a8d3442
--- /dev/null
+++ b/debian/patches/0001-fix-documentation.diff
@@ -0,0 +1,14 @@
+From: Lev Lamberov <dogsleg@debian.org>
+Subject: Remove badge icon from README file
+
+This patch removes badge icon from README file. This icon is intended
+rather for developers and is loaded from several external web sites.
+
+--- a/README.markdown
++++ b/README.markdown
+@@ -1,5 +1,3 @@
+-[![Build Status](https://travis-ci.org/sigma/mocker.el.png?branch=master)](https://travis-ci.org/sigma/mocker.el)
+-
+ Mocker.el is a mocking framework for Emacs lisp.
+
+ Its single entry point, `mocker-let` provides an `let` like interface to
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..db340cf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-documentation.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..72cdafb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with elpa
+
+override_dh_auto_build:
+ @echo skipping upstream build
+
+.PHONY: override_dh_auto_build
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..af7f3f7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/mocker-el-$1\.tar\.gz/ \
+ https://github.com/sigma/mocker.el/tags .*/v?(\d\S*)\.tar\.gz