summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-05-07 09:05:23 +0000
committerNaohiro Aota <naota@gentoo.org>2011-05-07 09:05:23 +0000
commite3ff900aeb748c87091afb7d7d3082154f194e85 (patch)
treebbf91802db975f9b7bf48db669655644eb683081 /app-emacs
parentVersion bump to new security release and remove old. (diff)
downloadgentoo-2-e3ff900aeb748c87091afb7d7d3082154f194e85.tar.gz
gentoo-2-e3ff900aeb748c87091afb7d7d3082154f194e85.tar.bz2
gentoo-2-e3ff900aeb748c87091afb7d7d3082154f194e85.zip
New ebuild app-emacs/twittering-mode written by me. Emacs major mode
for Twitter. (Portage version: 2.2.0_alpha31/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/twittering-mode/ChangeLog13
-rw-r--r--app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch39
-rw-r--r--app-emacs/twittering-mode/metadata.xml8
-rw-r--r--app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild48
-rw-r--r--app-emacs/twittering-mode/twittering-mode-9999.ebuild48
5 files changed, 156 insertions, 0 deletions
diff --git a/app-emacs/twittering-mode/ChangeLog b/app-emacs/twittering-mode/ChangeLog
new file mode 100644
index 000000000000..ac65cf3ab662
--- /dev/null
+++ b/app-emacs/twittering-mode/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emacs/twittering-mode
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/twittering-mode/ChangeLog,v 1.1 2011/05/07 09:05:23 naota Exp $
+
+*twittering-mode-9999 (07 May 2011)
+*twittering-mode-2.0.0 (07 May 2011)
+
+ 07 May 2011; <naota@gentoo.org> +twittering-mode-2.0.0.ebuild,
+ +twittering-mode-9999.ebuild, +files/twittering-mode-9999-proxy-test.patch,
+ +metadata.xml:
+ New ebuild app-emacs/twittering-mode written by me. Emacs major mode for
+ Twitter.
+
diff --git a/app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch b/app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch
new file mode 100644
index 000000000000..99bccdb6ae50
--- /dev/null
+++ b/app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch
@@ -0,0 +1,39 @@
+diff --git a/ChangeLog b/ChangeLog
+index 54255e0..0a9f20b 100644
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -1,3 +1,8 @@
++2011-05-07 Naohiro Aota <naota@elisp.net>
++
++ * test/test-twittering-mode.el (test-toggle-proxy): Improve proxy
++ test.
++
+ 2011-05-06 Tadashi MATSUO <tad@mymail.twin.jp>
+
+ * twittering-mode.el: Replace the symbol `us-ascii' for a
+diff --git a/test/test-twittering-mode.el b/test/test-twittering-mode.el
+index a686cf9..2b8eff6 100644
+--- a/test/test-twittering-mode.el
++++ b/test/test-twittering-mode.el
+@@ -17,7 +17,13 @@
+ (test-assert-eq nil (assocref 'quxx '((baz . qux) (foo . bar)))))
+
+ (defcase test-toggle-proxy nil nil
+- (setq twittering-proxy-use nil)
++ (setq twittering-proxy-use nil
++ twittering-http-proxy-server nil
++ twittering-http-proxy-port nil)
++ (twittering-toggle-proxy)
++ (test-assert-ok (not twittering-proxy-use))
++ (setq twittering-http-proxy-server "proxy.example.com"
++ twittering-http-proxy-port 8080)
+ (twittering-toggle-proxy)
+ (test-assert-ok twittering-proxy-use)
+ (twittering-toggle-proxy)
+@@ -565,4 +571,4 @@
+ access-token access-token-secret
+ oauth-params))
+ "OAuth oauth_nonce=\"oElnnMTQIZvqvlfXM56aBLAf5noGD0AQR3Fmi7Q6Y\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1272325550\",oauth_consumer_key=\"GDdmIQH6jhtmLUypg82g\",oauth_token=\"819797-Jxq8aYUDRmykzVKrgoLhXSq67TEa5ruc4GJC2rWimw\",oauth_version=\"1.0\",oauth_signature=\"yOahq5m0YjDDjfjxHaXEsW9D%2BX0%3D\"")
+- )
+\ No newline at end of file
++ )
diff --git a/app-emacs/twittering-mode/metadata.xml b/app-emacs/twittering-mode/metadata.xml
new file mode 100644
index 000000000000..dea4fc9df66e
--- /dev/null
+++ b/app-emacs/twittering-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild b/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
new file mode 100644
index 000000000000..553404b629b3
--- /dev/null
+++ b/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild,v 1.1 2011/05/07 09:05:23 naota Exp $
+
+EAPI=4
+
+inherit elisp elisp-common eutils
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/hayamiz/twittering-mode.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ RESTRICT="test"
+fi
+
+DESCRIPTION="Emacs major mode for Twitter."
+HOMEPAGE="http://twmode.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="app-crypt/gnupg"
+
+src_prepare() {
+ if [ "${PV}" = "9999" ]; then
+ epatch "${FILESDIR}"/${P}-proxy-test.patch
+ fi
+}
+
+src_compile() {
+ elisp-compile twittering-mode.el || die
+ use doc && emake -C doc/manual
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ use doc && dodoc doc/manual/twmode/twmode.html
+ elisp-install ${PN} twittering-mode.el *.elc || die
+}
diff --git a/app-emacs/twittering-mode/twittering-mode-9999.ebuild b/app-emacs/twittering-mode/twittering-mode-9999.ebuild
new file mode 100644
index 000000000000..85a5edece817
--- /dev/null
+++ b/app-emacs/twittering-mode/twittering-mode-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/twittering-mode/twittering-mode-9999.ebuild,v 1.1 2011/05/07 09:05:23 naota Exp $
+
+EAPI=4
+
+inherit elisp elisp-common eutils
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/hayamiz/twittering-mode.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ RESTRICT="test"
+fi
+
+DESCRIPTION="Emacs major mode for Twitter."
+HOMEPAGE="http://twmode.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="app-crypt/gnupg"
+
+src_prepare() {
+ if [ "${PV}" = "9999" ]; then
+ epatch "${FILESDIR}"/${P}-proxy-test.patch
+ fi
+}
+
+src_compile() {
+ elisp-compile twittering-mode.el || die
+ use doc && emake -C doc/manual
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ use doc && dodoc doc/manual/twmode/twmode.html
+ elisp-install ${PN} twittering-mode.el *.elc || die
+}