diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d13d914 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +emacs-deferred (0.4.0-1) unstable; urgency=medium + + * Initial release (Closes: #837921) + + -- Lev Lamberov Thu, 15 Sep 2016 17:43:28 +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..ef833f2 --- /dev/null +++ b/debian/control @@ -0,0 +1,47 @@ +Source: emacs-deferred +Section: lisp +Priority: optional +Maintainer: Debian Emacs addons team +Uploaders: Lev Lamberov +Build-Depends: debhelper (>= 10), + dh-elpa +Standards-Version: 3.9.8 +Testsuite: autopkgtest-pkg-elpa +Homepage: https://github.com/kiwanami/emacs-deferred +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-emacsen/pkg/emacs-deferred.git/ +Vcs-Git: https://anonscm.debian.org/git/pkg-emacsen/pkg/emacs-deferred.git + +Package: elpa-deferred +Architecture: all +Depends: ${elpa:Depends}, + ${misc:Depends}, + emacs +Recommends: emacs (>= 46.0) +Enhances: emacs, + emacs24 +Built-Using: ${misc:Built-Using} +Description: simple asynchronous functions for Emacs Lisp + It is a simple library for asynchronous tasks. + . + The API is almost the same as JSDeferred (by cho45) and Mochikit.Async + (by Bob Ippolito) in JavaScript. + +Package: elpa-concurrent +Architecture: all +Depends: ${elpa:Depends}, + ${misc:Depends}, + emacs, + elpa-deferred (= ${binary:Version}) +Recommends: emacs (>= 46.0) +Enhances: emacs, + emacs24 +Built-Using: ${misc:Built-Using} +Description: higher level library for concurrent tasks + It is a higher level library for concurrent tasks based on deferred.el. This + library has following features: + . + - Generator + - Green thread + - Semaphore + - Dataflow + - Signal/Channel diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2fcfe86 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: emacs-deferred +Source: https://github.com/kiwanami/emacs-deferred + +Files: * +Copyright: (C) 2010-2016 Masashi Sakurai +License: GPL-3+ + +Files: debian/* +Copyright: (C) 2016 Lev Lamberov +License: GPL-3+ + +License: GPL-3+ + 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 3 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 . + . + 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/elpa-concurrent.docs b/debian/elpa-concurrent.docs new file mode 100644 index 0000000..3ffc547 --- /dev/null +++ b/debian/elpa-concurrent.docs @@ -0,0 +1,3 @@ +README-concurrent.markdown +README-concurrent.ja.markdown +sample/concurrent-sample.el diff --git a/debian/elpa-concurrent.elpa b/debian/elpa-concurrent.elpa new file mode 100644 index 0000000..7a9ca9d --- /dev/null +++ b/debian/elpa-concurrent.elpa @@ -0,0 +1 @@ +concurrent.el diff --git a/debian/elpa-deferred.docs b/debian/elpa-deferred.docs new file mode 100644 index 0000000..d247baf --- /dev/null +++ b/debian/elpa-deferred.docs @@ -0,0 +1,3 @@ +README.markdown +README.ja.markdown +sample/deferred-samples.el diff --git a/debian/elpa-deferred.elpa b/debian/elpa-deferred.elpa new file mode 100644 index 0000000..26332d5 --- /dev/null +++ b/debian/elpa-deferred.elpa @@ -0,0 +1 @@ +deferred.el diff --git a/debian/patches/fix-documentation.diff b/debian/patches/fix-documentation.diff new file mode 100644 index 0000000..d1876c4 --- /dev/null +++ b/debian/patches/fix-documentation.diff @@ -0,0 +1,66 @@ +From: Lev Lamberov +Subject: Remove badge icons from README files + +This patch removes badges icons from README files. These icons are intended +rather for developers and are loaded from several external web sites. + +--- a/README-concurrent.ja.markdown ++++ b/README-concurrent.ja.markdown +@@ -1,12 +1,5 @@ + # concurrent.el # + +-[![Build Status](https://travis-ci.org/kiwanami/emacs-deferred.svg)](https://travis-ci.org/kiwanami/emacs-deferred) +-[![Coverage Status](https://coveralls.io/repos/kiwanami/emacs-deferred/badge.svg)](https://coveralls.io/r/kiwanami/emacs-deferred) +-[![MELPA](http://melpa.org/packages/concurrent-badge.svg)](http://melpa.org/#/concurrent) +-[![MELPA stable](http://stable.melpa.org/packages/concurrent-badge.svg)](http://stable.melpa.org/#/concurrent) +-[![Tag Version](https://img.shields.io/github/tag/kiwanami/emacs-deferred.svg)](https://github.com/kiwanami/emacs-deferred/tags) +-[![License](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html) +- + concurrent.elは、良くある非同期処理を抽象化したライブラリです。スレッド、セマフォ、イベント管理などがあります。他の環境のライブラリや並行プログラミングのアイデアを参考にしました。 + + ## インストール ## +--- a/README-concurrent.markdown ++++ b/README-concurrent.markdown +@@ -1,12 +1,5 @@ + # concurrent.el + +-[![Build Status](https://travis-ci.org/kiwanami/emacs-deferred.svg)](https://travis-ci.org/kiwanami/emacs-deferred) +-[![Coverage Status](https://coveralls.io/repos/kiwanami/emacs-deferred/badge.svg)](https://coveralls.io/r/kiwanami/emacs-deferred) +-[![MELPA](http://melpa.org/packages/concurrent-badge.svg)](http://melpa.org/#/concurrent) +-[![MELPA stable](http://stable.melpa.org/packages/concurrent-badge.svg)](http://stable.melpa.org/#/concurrent) +-[![Tag Version](https://img.shields.io/github/tag/kiwanami/emacs-deferred.svg)](https://github.com/kiwanami/emacs-deferred/tags) +-[![License](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html) +- + `concurrent.el` is a higher level library for asynchronous tasks, based on `deferred.el`. + + It is inspired by libraries of other environments and concurrent programing models. +--- a/README.ja.markdown ++++ b/README.ja.markdown +@@ -1,12 +1,5 @@ + # deferred.el # + +-[![Build Status](https://travis-ci.org/kiwanami/emacs-deferred.svg)](https://travis-ci.org/kiwanami/emacs-deferred) +-[![Coverage Status](https://coveralls.io/repos/kiwanami/emacs-deferred/badge.svg)](https://coveralls.io/r/kiwanami/emacs-deferred) +-[![MELPA](http://melpa.org/packages/deferred-badge.svg)](http://melpa.org/#/deferred) +-[![MELPA stable](http://stable.melpa.org/packages/deferred-badge.svg)](http://stable.melpa.org/#/deferred) +-[![Tag Version](https://img.shields.io/github/tag/kiwanami/emacs-deferred.svg)](https://github.com/kiwanami/emacs-deferred/tags) +-[![License](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html) +- + deferred.elは非同期処理を抽象化して書きやすくするためのライブラリです。APIや + 実装については + [JSDeferred](https://github.com/cho45/jsdeferred "JSDeferred") (by cho45さん)と +--- a/README.markdown ++++ b/README.markdown +@@ -1,12 +1,5 @@ + # deferred.el # + +-[![Build Status](https://travis-ci.org/kiwanami/emacs-deferred.svg)](https://travis-ci.org/kiwanami/emacs-deferred) +-[![Coverage Status](https://coveralls.io/repos/kiwanami/emacs-deferred/badge.svg)](https://coveralls.io/r/kiwanami/emacs-deferred) +-[![MELPA](http://melpa.org/packages/deferred-badge.svg)](http://melpa.org/#/deferred) +-[![MELPA stable](http://stable.melpa.org/packages/deferred-badge.svg)](http://stable.melpa.org/#/deferred) +-[![Tag Version](https://img.shields.io/github/tag/kiwanami/emacs-deferred.svg)](https://github.com/kiwanami/emacs-deferred/tags) +-[![License](http://img.shields.io/:license-gpl3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.html) +- + `deferred.el` provides facilities to manage asynchronous tasks. + + The API and implementations were translated from diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e266796 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-documentation.diff diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a540eac --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh $@ --parallel --with elpa + +override_dh_auto_build: + @echo skipping upstream build + +override_dh_elpa_test: + @echo skipping upstream tests + +.PHONY: override_dh_auto_build override_dh_elpa_test 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..477d2ae --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 + opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%emacs-deferred-$1.tar.gz%" \ + https://github.com/kiwanami/emacs-deferred/tags \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate