* [gentoo-commits] gentoo-x86 commit in dev-python/pylint: pylint-0.18.1.ebuild ChangeLog pylint-0.14.0.ebuild pylint-0.15.2.ebuild
@ 2009-09-04 20:15 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-09-04 20:15 UTC (permalink / raw
To: gentoo-commits
patrick 09/09/04 20:15:35
Modified: ChangeLog
Added: pylint-0.18.1.ebuild
Removed: pylint-0.14.0.ebuild pylint-0.15.2.ebuild
Log:
Bump to 0.18.1, remove old. Tests still fail.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Revision Changes Path
1.50 dev-python/pylint/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/ChangeLog?r1=1.49&r2=1.50
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog 25 Aug 2009 15:53:35 -0000 1.49
+++ ChangeLog 4 Sep 2009 20:15:35 -0000 1.50
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pylint
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.49 2009/08/25 15:53:35 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.50 2009/09/04 20:15:35 patrick Exp $
+
+*pylint-0.18.1 (04 Sep 2009)
+
+ 04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -pylint-0.14.0.ebuild,
+ -pylint-0.15.2.ebuild, +pylint-0.18.1.ebuild:
+ Bump to 0.18.1, remove old. Tests still fail.
25 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
pylint-0.18.0.ebuild:
1.1 dev-python/pylint/pylint-0.18.1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/pylint-0.18.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylint/pylint-0.18.1.ebuild?rev=1.1&content-type=text/plain
Index: pylint-0.18.1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.18.1.ebuild,v 1.1 2009/09/04 20:15:35 patrick Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils python
DESCRIPTION="a tool to check if a Python module satisfies a coding standard"
HOMEPAGE="http://www.logilab.org/projects/pylint/"
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="doc examples html test tk"
DEPEND=">=dev-python/logilab-common-0.38
>=dev-python/astng-0.19.0"
RDEPEND="${DEPEND}
dev-lang/python[tk?]"
RESTRICT_PYTHON_ABIS="3*"
src_test() {
testing() {
local lpath="${T}/test/lib/python"
local tpath=""
rm -fr "${lpath}"
# Create testdir and copy pylint into it for testing purpose.
mkdir -p "${lpath}/logilab" || die
PYTHONPATH="${lpath}" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${T}/test" || die "test copy failed"
# To support test w/o setuptools.
if [[ -d "${lpath}/${PN}" ]]; then
tpath="${lpath}/${PN}"
else
tpath="${lpath}/${P}-py${PYTHON_ABI}.egg/${PN}"
fi
# Copy pylint unittest and logilab-{common,astng} into our temporary test
# dir.
cp -r test/ ${tpath} || die "copy tests failed"
cp -r "$(python_get_sitedir)/logilab/"{common,astng} "${lpath}/logilab" || die "copying logilab-{common,astng} failed!"
pushd "${tpath}" >/dev/null || die
PYTHONPATH="${lpath}" pytest -v || die "tests failed"
popd >/dev/null || die
}
python_execute_function testing
}
src_install() {
distutils_src_install
doman man/{pylint,pyreverse}.1 || die "doman failed"
dodoc doc/FAQ.txt || die "dodoc failed"
if use doc; then
dodoc doc/*.txt || die "dodoc failed"
fi
if use html; then
dohtml doc/*.html || die "dohtml failed"
fi
if use examples; then
docinto examples
dodoc examples/* || die "dodoc failed"
fi
}
pkg_postinst() {
if ! built_with_use dev-lang/python tk; then
ewarn "dev-lang/python has been built without tk support,"
ewarn "${PN}-gui doesn't work without Tkinter so if you really need it"
ewarn "re-install dev-lang/python with tk useflag enabled."
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-04 15:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-04 20:15 [gentoo-commits] gentoo-x86 commit in dev-python/pylint: pylint-0.18.1.ebuild ChangeLog pylint-0.14.0.ebuild pylint-0.15.2.ebuild Patrick Lauer (patrick)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox