From d975fb97c00ceb8d56910a5e8bdc267a81ccfc05 Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Sat, 25 Feb 2012 20:36:50 +0000 Subject: Version bump, remove bundled dev-python/oauth wrt bug 405735 by Patrick Lauer . Drop old (Portage version: 2.2.0_alpha86/cvs/Linux x86_64) --- net-misc/identicurse/ChangeLog | 10 ++++++- .../identicurse/files/0.9-config_json_path.patch | 22 ++++++++++++++ .../files/identicurse-0.8.2-config_json_path.patch | 22 -------------- net-misc/identicurse/identicurse-0.8.2.ebuild | 33 --------------------- net-misc/identicurse/identicurse-0.9.ebuild | 34 ++++++++++++++++++++++ 5 files changed, 65 insertions(+), 56 deletions(-) create mode 100644 net-misc/identicurse/files/0.9-config_json_path.patch delete mode 100644 net-misc/identicurse/files/identicurse-0.8.2-config_json_path.patch delete mode 100644 net-misc/identicurse/identicurse-0.8.2.ebuild create mode 100644 net-misc/identicurse/identicurse-0.9.ebuild (limited to 'net-misc/identicurse') diff --git a/net-misc/identicurse/ChangeLog b/net-misc/identicurse/ChangeLog index 23ec25a3b82e..521945754fa8 100644 --- a/net-misc/identicurse/ChangeLog +++ b/net-misc/identicurse/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-misc/identicurse # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/ChangeLog,v 1.2 2012/01/14 18:09:46 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/ChangeLog,v 1.3 2012/02/25 20:36:50 xarthisius Exp $ + +*identicurse-0.9 (25 Feb 2012) + + 25 Feb 2012; Kacper Kowalik + +files/0.9-config_json_path.patch, +identicurse-0.9.ebuild, + -files/identicurse-0.8.2-config_json_path.patch, -identicurse-0.8.2.ebuild: + Version bump, remove bundled dev-python/oauth wrt bug 405735 by Patrick Lauer + . Drop old *identicurse-0.8.2 (14 Jan 2012) diff --git a/net-misc/identicurse/files/0.9-config_json_path.patch b/net-misc/identicurse/files/0.9-config_json_path.patch new file mode 100644 index 000000000000..08f985f1eebd --- /dev/null +++ b/net-misc/identicurse/files/0.9-config_json_path.patch @@ -0,0 +1,22 @@ +--- a/setup.py ++++ b/setup.py +@@ -42,7 +42,7 @@ + + license="GPLv3+", + +- data_files=[('identicurse',['README', 'conf/config.json'])], ++ data_files=[('share/identicurse',['conf/config.json'])], + packages=find_packages('src'), + package_dir={'': 'src'}, + include_package_data=True, +--- a/src/identicurse/identicurse.py ++++ b/src/identicurse/identicurse.py +@@ -156,7 +156,7 @@ + else: + import getpass, time + # no config yet, so let's build one +- config.config.load(os.path.join(self.path, "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() diff --git a/net-misc/identicurse/files/identicurse-0.8.2-config_json_path.patch b/net-misc/identicurse/files/identicurse-0.8.2-config_json_path.patch deleted file mode 100644 index b1178f4f17de..000000000000 --- a/net-misc/identicurse/files/identicurse-0.8.2-config_json_path.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -42,7 +42,7 @@ - - license="GPLv3+", - -- data_files=[('identicurse',['README', 'conf/config.json'])], -+ data_files=[('share/identicurse',['conf/config.json'])], - packages=find_packages('src'), - package_dir={'': 'src'}, - include_package_data=True, ---- a/src/identicurse/identicurse.py -+++ b/src/identicurse/identicurse.py -@@ -155,7 +155,7 @@ - else: - import getpass, time - # no config yet, so let's build one -- config.config.load(os.path.join(self.path, "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() diff --git a/net-misc/identicurse/identicurse-0.8.2.ebuild b/net-misc/identicurse/identicurse-0.8.2.ebuild deleted file mode 100644 index f01264e45643..000000000000 --- a/net-misc/identicurse/identicurse-0.8.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/identicurse-0.8.2.ebuild,v 1.1 2012/01/14 18:09:46 xarthisius Exp $ - -EAPI=4 - -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}"/${P}-config_json_path.patch - distutils_src_prepare -} diff --git a/net-misc/identicurse/identicurse-0.9.ebuild b/net-misc/identicurse/identicurse-0.9.ebuild new file mode 100644 index 000000000000..fb51b3bcbe77 --- /dev/null +++ b/net-misc/identicurse/identicurse-0.9.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/identicurse/identicurse-0.9.ebuild,v 1.1 2012/02/25 20:36:50 xarthisius Exp $ + +EAPI=4 + +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="dev-python/oauth" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-gzipped_readme.patch \ + "${FILESDIR}"/${PV}-config_json_path.patch + rm -rf src/oauth #405735 + distutils_src_prepare +} -- cgit v1.2.3-65-gdbad