diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-09-03 19:51:44 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-09-03 19:51:44 +0000 |
commit | 4c47b11055ce8350d5d4a3b250a99358209654e0 (patch) | |
tree | d6f4451293bd2b9401cc94eb9fb4486ad4bf11fb /net-misc/identicurse | |
parent | Stable on amd64 and x86 (diff) | |
download | historical-4c47b11055ce8350d5d4a3b250a99358209654e0.tar.gz historical-4c47b11055ce8350d5d4a3b250a99358209654e0.tar.bz2 historical-4c47b11055ce8350d5d4a3b250a99358209654e0.zip |
Initial import wrt bug #381695. Ebuild written by me.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'net-misc/identicurse')
-rw-r--r-- | net-misc/identicurse/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/identicurse/Manifest | 18 | ||||
-rw-r--r-- | net-misc/identicurse/files/identicurse-config_json_path.patch | 31 | ||||
-rw-r--r-- | net-misc/identicurse/files/identicurse-gzipped_readme.patch | 15 | ||||
-rw-r--r-- | net-misc/identicurse/identicurse-0.7.3.ebuild | 33 | ||||
-rw-r--r-- | net-misc/identicurse/metadata.xml | 10 |
6 files changed, 118 insertions, 0 deletions
diff --git a/net-misc/identicurse/ChangeLog b/net-misc/identicurse/ChangeLog new file mode 100644 index 000000000000..0f359cdfd0dd --- /dev/null +++ b/net-misc/identicurse/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/identicurse +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/ChangeLog,v 1.1 2011/09/03 19:51:44 xarthisius Exp $ + +*identicurse-0.7.3 (03 Sep 2011) + + 03 Sep 2011; Kacper Kowalik <xarthisius@gentoo.org> + +identicurse-0.7.3.ebuild, +files/identicurse-config_json_path.patch, + +files/identicurse-gzipped_readme.patch, +metadata.xml: + Initial import wrt bug #381695. Ebuild written by me. + diff --git a/net-misc/identicurse/Manifest b/net-misc/identicurse/Manifest new file mode 100644 index 000000000000..e19a5ef3492f --- /dev/null +++ b/net-misc/identicurse/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX identicurse-config_json_path.patch 1816 RMD160 253c252120f9d9701b628b9a8bd1fb7601d072e9 SHA1 57bc2520c1de127119c7eabccace25c2767d1f8e SHA256 9b39ad89a4377bd241fea7528fab397acb579c85a01cb492b95683a045a60883 +AUX identicurse-gzipped_readme.patch 589 RMD160 0bf4b30cb4efdbaa2c1e1402f968fbf52ef2ae59 SHA1 955de7dc673e558856f3adfb0df8a4a45b7b4206 SHA256 ec27e9e442fa10ccc1ebaaf3b124b5d66f737375a6b669f22e718bb076da9cc5 +DIST identicurse-0.7.3.tar.bz2 51420 RMD160 8682a5376c867f6f1b1079a9e364b51be0cc1339 SHA1 40ed486d6626a45d3a44e754c62072af4520144a SHA256 de4cfbdd08d84ea15b9152f1b608208c30ba34b272b2ac524f326bb2f2b4ecdd +EBUILD identicurse-0.7.3.ebuild 810 RMD160 a75451e082964f05c0093bf067653fe12d3d5093 SHA1 746d44568ef1f05c370975b9696126337cc99ce7 SHA256 47923663f5d2a93990ab4263daa75f794e8f76dae2766707c75750045843f9e6 +MISC ChangeLog 492 RMD160 9ebea4a99d254cb4f74a2dcbd4889f8a39c37590 SHA1 30785f4e57ba6e9f48d9edaa1734aa981427f771 SHA256 ed09296820456649cde6f8e37b936b1c8b44cf1097eb712af9947c63131cd609 +MISC metadata.xml 345 RMD160 22613828510989d360cb74e2b6d39bb5ad27f953 SHA1 6ce1b59ac345e1c6808eda905425cb0dc1dd3f07 SHA256 ad6726fff7b1f72b920148c7b3cab317ed7ec6c3aee2bda4c02f81d3466b9d88 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iJwEAQEIAAYFAk5ihVoACgkQIiMqcbOVdxQSEwP8CNIZttuU9i3zH0IR8bt+4WaH +2UsYbqRjWyIOZxODj8e2w//ZnQe/93OU7WrkBbh5olz/EI8X7k3qeYoYuSAwFv9t +Ly2LLb0M74gvXB0QaCCrYDqezfZZmjOR6OvGq+fkIfNSre4fOnMdYOGSFgm7K70/ +PUv6wkOPIG9ZyP/19jA= +=RdM2 +-----END PGP SIGNATURE----- diff --git a/net-misc/identicurse/files/identicurse-config_json_path.patch b/net-misc/identicurse/files/identicurse-config_json_path.patch new file mode 100644 index 000000000000..bbd217e3c061 --- /dev/null +++ b/net-misc/identicurse/files/identicurse-config_json_path.patch @@ -0,0 +1,31 @@ +Description: IdentiCurse checks for config.json in + /usr/lib/python*/*-packages/identicurse/, change this behaviour to make it + check it in /usr/share/identicurse/. +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621895 +Author: Alessio Treglia <alessio@debian.org> +Modified: Kacper Kowalik <xarthisius@gentoo.org> + +--- a/src/identicurse/identicurse.py ++++ b/src/identicurse/identicurse.py +@@ -133,8 +133,8 @@ class IdentiCurse(object): + else: + import getpass, time + # no config yet, so let's build one +- print os.path.join(self.path, "config.json") +- config.config.load(os.path.join(self.path, "config.json")) ++ print os.path.join("/", "usr", "share", "identicurse", "config.json") ++ config.config.load(os.path.join("/", "usr", "share", "identicurse", "config.json")) + print "No config was found, so we will now run through a few quick questions to set up a basic config for you (which will be saved as %s so you can manually edit it later). If the default (where defaults are available, they're stated in []) is already fine for any question, just press Enter without typing anything, and the default will be used." % (config.config.filename) + print "This version of IdentiCurse supports OAuth login. Using OAuth to log in means that you do not need to enter your username and password." + use_oauth = raw_input("Use OAuth [Y/n]? ").upper() +--- a/setup.py ++++ b/setup.py +@@ -36,7 +36,7 @@ + + license="GPLv3+", + +- data_files=[('identicurse',['README', 'conf/config.json'])], ++ data_files=[('share/identicurse',['README','conf/config.json'])], + packages=find_packages('src'), + package_dir={'': 'src'}, + include_package_data=True, diff --git a/net-misc/identicurse/files/identicurse-gzipped_readme.patch b/net-misc/identicurse/files/identicurse-gzipped_readme.patch new file mode 100644 index 000000000000..b4575ef07b97 --- /dev/null +++ b/net-misc/identicurse/files/identicurse-gzipped_readme.patch @@ -0,0 +1,15 @@ +Description: Point the online help to /usr/share/identicurse/README. +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612976 +Author: Alessio Treglia <alessio@debian.org> + +--- a/src/identicurse/tabbage.py ++++ b/src/identicurse/tabbage.py +@@ -225,6 +225,8 @@ class Help(Tab): + def __init__(self, window, identicurse_path): + self.name = "Help" + self.path = os.path.join(identicurse_path, "README") ++ if not os.path.isfile(self.path): ++ self.path = '/usr/share/identicurse/README' + Tab.__init__(self, window) + + def update(self): diff --git a/net-misc/identicurse/identicurse-0.7.3.ebuild b/net-misc/identicurse/identicurse-0.7.3.ebuild new file mode 100644 index 000000000000..043cfa0635c9 --- /dev/null +++ b/net-misc/identicurse/identicurse-0.7.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/identicurse-0.7.3.ebuild,v 1.1 2011/09/03 19:51:44 xarthisius Exp $ + +EAPI=3 + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils versionator + +MY_PV=$(get_version_component_range 1-2) + +DESCRIPTION="A simple Identi.ca client with a curses-based UI" +HOMEPAGE="http://identicurse.net" +SRC_URI="http://identicurse.net/release/${MY_PV}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-gzipped_readme.patch \ + "${FILESDIR}"/${PN}-config_json_path.patch + distutils_src_prepare +} diff --git a/net-misc/identicurse/metadata.xml b/net-misc/identicurse/metadata.xml new file mode 100644 index 000000000000..2ce0a578a17d --- /dev/null +++ b/net-misc/identicurse/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>xarthisius@gentoo.org</email> + <name>Kacper Kowalik</name> + </maintainer> + <longdescription>A simple Identi.ca client with a curses-based UI.</longdescription> +</pkgmetadata> |