summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-02 19:46:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-02 19:46:45 +0000
commit755040f94b1d6286a693d2e4d40edf40d7b107c4 (patch)
treec2dc3e4e64d57e5ad3d170a1f4f8e962bc8c6910
parentUse debian patchset, rework ebuild a bit, bug #336245 (diff)
downloadhistorical-755040f94b1d6286a693d2e4d40edf40d7b107c4.tar.gz
historical-755040f94b1d6286a693d2e4d40edf40d7b107c4.tar.bz2
historical-755040f94b1d6286a693d2e4d40edf40d7b107c4.zip
Version bump (bug #352668).
Package-Manager: portage-2.2.0_alpha29_p5/cvs/Linux x86_64
-rw-r--r--dev-python/pychecker/ChangeLog10
-rw-r--r--dev-python/pychecker/Manifest5
-rw-r--r--dev-python/pychecker/files/pychecker-0.8.19-create_script.patch13
-rw-r--r--dev-python/pychecker/pychecker-0.8.19.ebuild37
4 files changed, 62 insertions, 3 deletions
diff --git a/dev-python/pychecker/ChangeLog b/dev-python/pychecker/ChangeLog
index 732e570f0531..1f9d03411b8e 100644
--- a/dev-python/pychecker/ChangeLog
+++ b/dev-python/pychecker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pychecker
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.47 2009/10/25 14:00:33 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.48 2011/04/02 19:46:45 arfrever Exp $
+
+*pychecker-0.8.19 (02 Apr 2011)
+
+ 02 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pychecker-0.8.19.ebuild, +files/pychecker-0.8.19-create_script.patch:
+ Version bump (bug #352668).
25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pychecker-0.8.18.ebuild:
diff --git a/dev-python/pychecker/Manifest b/dev-python/pychecker/Manifest
index 288556e3da79..fa05cb9e0bff 100644
--- a/dev-python/pychecker/Manifest
+++ b/dev-python/pychecker/Manifest
@@ -1,6 +1,9 @@
AUX pychecker-0.8.17-no-data-files.patch 683 RMD160 c27905b3ceb11a917d17337c88675dc6095169d1 SHA1 b4922f581e6ff027c12185e064ac5877194f5123 SHA256 44c7aebc4e436c61961fd308447c88a4c0c57f0b44e23b96dac60d3da6a9a7b9
AUX pychecker-0.8.18-pychecker2.patch 599 RMD160 f2ac793a3e2d04cac5f28df6850f57dc9c1cd8a9 SHA1 1d7275fd7464fbc9157c645209f0c7d8f6a709bb SHA256 8f294af0029cad0acbfa9a3a7a3778f8205cf0097fe3ba397e0f676cec08d551
+AUX pychecker-0.8.19-create_script.patch 460 RMD160 d60c71ba7320738032b37e85ed6f86b2753eea14 SHA1 da65a90ddf0d026ca94d28e0f6dda8ba5b7e945a SHA256 ccbbb1575ac5bfbb85867ddfa3f5138ad75c14235bd0b3e7e6e13f2d31edaef2
DIST pychecker-0.8.18.tar.gz 145784 RMD160 e3d30443c955757cb67353888df41a10f8e8eece SHA1 fae410ab70523dfc8077eeb0fbf4ad11dee4a5f5 SHA256 6495fe464659b175cefce20b187de6904b97b065fd609445b932d9c49a75a024
+DIST pychecker-0.8.19.tar.gz 99783 RMD160 7c401f3d2025dec1438c623b161359ef9721d0bf SHA1 acbc469b4ecde0182e9be42dceeae5375a923ff3 SHA256 44fb26668f74aca3738f02d072813762a37ce1242f50dbff573720fa2e953279
EBUILD pychecker-0.8.18.ebuild 963 RMD160 4059a4969208000672c5c24127d4c6f8ddc2459b SHA1 7268b2c33b797b4b1dea78da22411eaedbc00262 SHA256 aaae169721cb02a9f4cc4c53beecc41705878a4768d9f60ef6c03ade4dd1ec41
-MISC ChangeLog 6147 RMD160 9bede5a2c110ee57ffb6425a11a797b21f93ca53 SHA1 35830de04ddad952f7ad62963ebb2b1432312329 SHA256 cd1ec5b81a33aabc638a247455f919cb4eca1e98fa41d7a37c6572f0bba15f10
+EBUILD pychecker-0.8.19.ebuild 1086 RMD160 c13ce5b7c20c877d56450a274df9d584caa5155f SHA1 27267e527b5da3c738558cacad3bb3ac5531f0b0 SHA256 514faccd898fdcd86dccec302f2b87ef8ecc620b30570015255f8ef17ab19deb
+MISC ChangeLog 6357 RMD160 e5954206ca8aae617506a20c8eeba3986216a392 SHA1 1e76f25d96a72f824594d3128e721754355010a0 SHA256 131feaf36738821ec9c0138457a3541f431a37effcee02358c7245defa4fc007
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/pychecker/files/pychecker-0.8.19-create_script.patch b/dev-python/pychecker/files/pychecker-0.8.19-create_script.patch
new file mode 100644
index 000000000000..ca4367591174
--- /dev/null
+++ b/dev-python/pychecker/files/pychecker-0.8.19-create_script.patch
@@ -0,0 +1,13 @@
+--- setup.py
++++ setup.py
+@@ -221,7 +221,9 @@
+ script_str = "%s %s %%*\n" % (sys.executable, checker_path)
+ else:
+ script_str = '#! /bin/sh\n\n%s %s "$@"\n' % (sys.executable, checker_path)
+- open(script_path, "w").write(script_str)
++ script = open(script_path, "w")
++ script.write(script_str)
++ script.close()
+ except Exception, e:
+ print "ERROR: Unable to create %s: %s" % (script_path, e)
+ raise e
diff --git a/dev-python/pychecker/pychecker-0.8.19.ebuild b/dev-python/pychecker/pychecker-0.8.19.ebuild
new file mode 100644
index 000000000000..44785bf5d01b
--- /dev/null
+++ b/dev-python/pychecker/pychecker-0.8.19.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.19.ebuild,v 1.1 2011/04/02 19:46:45 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils eutils
+
+DESCRIPTION="Python source code checking tool"
+HOMEPAGE="http://pychecker.sourceforge.net/ http://pypi.python.org/pypi/PyChecker"
+SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+DOCS="pycheckrc"
+PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/pychecker")
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Disable installation of unneeded files.
+ sed -e "/'data_files' :/d" -i setup.py || die "sed failed"
+
+ # Strip final "/" from root.
+ sed -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' -i setup.py || die "sed failed"
+
+ epatch "${FILESDIR}/${P}-create_script.patch"
+}