diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-05-07 09:05:23 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-05-07 09:05:23 +0000 |
commit | fba6c7dde013b66b3086d02420029c28cb5c092d (patch) | |
tree | dfc06d80b69e02b27b5576172e70ce1c19e08eca /app-emacs/twittering-mode | |
parent | Version bump to new security release and remove old. (diff) | |
download | historical-fba6c7dde013b66b3086d02420029c28cb5c092d.tar.gz historical-fba6c7dde013b66b3086d02420029c28cb5c092d.tar.bz2 historical-fba6c7dde013b66b3086d02420029c28cb5c092d.zip |
New ebuild app-emacs/twittering-mode written by me. Emacs major mode
for Twitter.
Package-Manager: portage-2.2.0_alpha31/cvs/Linux x86_64
Diffstat (limited to 'app-emacs/twittering-mode')
-rw-r--r-- | app-emacs/twittering-mode/ChangeLog | 13 | ||||
-rw-r--r-- | app-emacs/twittering-mode/Manifest | 16 | ||||
-rw-r--r-- | app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch | 39 | ||||
-rw-r--r-- | app-emacs/twittering-mode/metadata.xml | 8 | ||||
-rw-r--r-- | app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild | 48 | ||||
-rw-r--r-- | app-emacs/twittering-mode/twittering-mode-9999.ebuild | 48 |
6 files changed, 172 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/Manifest b/app-emacs/twittering-mode/Manifest new file mode 100644 index 000000000000..b4645e4b0043 --- /dev/null +++ b/app-emacs/twittering-mode/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX twittering-mode-9999-proxy-test.patch 1499 RMD160 1820f577d0eb040ef2390bd2ff969926ffc3793a SHA1 3b673309bcad5369f84079ac7867e773be29a151 SHA256 04b0f32353e00b0f2b9c553ff13281ac11a3e1517ee30388e3d7e1568a256282 +DIST twittering-mode-2.0.0.tar.gz 615223 RMD160 1247703470b35e0d1be99e9b25baaa623d50fb50 SHA1 3c2c08814ccc06597a6d5727f9922002986f8625 SHA256 164f6c46eae1e8ac65c60bdd40fb315df0044a5819ef25ce5ebc639b2b4ac1cd +EBUILD twittering-mode-2.0.0.ebuild 1012 RMD160 ce80dec9977464d8d1cb0b7f560509fb528a59e2 SHA1 a93c25ba5ca29518f40665d7a0e39f7b6634a8c3 SHA256 85e1e1b2e432793659fe791f97b43073c09eb5d15f9955d6e3d7726e4ee4e111 +EBUILD twittering-mode-9999.ebuild 1011 RMD160 68c23af808fbef72216e2bf06f347944802704e0 SHA1 0b3d1d1e6b000f3abd75d110ecc9c0b71ca42882 SHA256 d14dc26fab0c7e8384c9ee8ab7db0133a300af8afaf1ca50276264288b4c4fc3 +MISC ChangeLog 543 RMD160 f909a5d2d059b50003b4d05c7a1e38b89671bdee SHA1 86c5728cf66cbb9ac0e7ab6424372d392bcdd923 SHA256 c4e6ee4ffc692fdae3693a4faf9b7e794f9b6a755dce469a7fe8988f4e8d0959 +MISC metadata.xml 219 RMD160 41cade9174d0ed71f0dde58144f74c2012b6b210 SHA1 e65a33d1c83bed3c61fb637a64aee0b331f2635a SHA256 9761d87f8c96c0a11b7e70f79b5e9013081f5bda009290e02879c8501c3dc817 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk3FC2IACgkQGpDnPLSHuMCkVQCfSagOG9OPcUJlq20ilmGvZtUR +2EsAn3f4s9zyKwbpU2gjN+G9vBTojg1D +=/Oh0 +-----END PGP SIGNATURE----- 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 +} |