Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518272 - dev-python/pylint-1.3.0 version bump
Summary: dev-python/pylint-1.3.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-26 18:14 UTC by Coacher
Modified: 2014-08-12 20:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2014-07-26 18:14:26 UTC
Hello.

pylint-1.3.0 was released recently. Also requires >=dev-python/astroid-1.2.0 as per this commit https://bitbucket.org/logilab/pylint/commits/c4108f2d1643c43a061cf22c1ca96f8aa876f9bd

Please bump both.

Reproducible: Always
Comment 1 Coacher 2014-07-26 18:45:35 UTC
pypi also have only zip packed sources, logilab's ftp mirror has none yet.
Comment 2 Coacher 2014-07-26 19:11:09 UTC
(In reply to Coacher from comment #0)
> Also requires >=dev-python/astroid-1.2.0
> as per this commit
> https://bitbucket.org/logilab/pylint/commits/
> c4108f2d1643c43a061cf22c1ca96f8aa876f9bd

Though pkginfo doesn't have this dep.
Comment 3 Coacher 2014-07-26 20:40:52 UTC
Copied ebuilds for astroid and pylint seem to work well for me on amd64.

Small updates could be useful/needed.

astroid-1.2.0 has fixed this issue at least appropriate ticket was closed:

--- /var/portage/dev-python/astroid/astroid-1.1.1.ebuild        2014-05-08 13:37:16.000000000 +0400
+++ astroid-1.2.0.ebuild        2014-07-26 22:34:27.770719446 +0400
@@ -25,13 +25,6 @@
 # Required for tests
 DISTUTILS_IN_SOURCE_BUILD=1

-python_prepare_all() {
-       # https://bitbucket.org/logilab/astroid/issue/8/
-       sed -e "s/test_numpy_crash/_&/" -i test/unittest_regrtest.py
-
-       distutils-r1_python_prepare_all
-}
-
 # Restrict to test phase, required because suite fails horribly without it
 src_test() {
        local DISTUTILS_NO_PARALLEL_BUILD=1

pylint-1.3.0 ebuild needs to have SRC_URI adjusted (not sure if logilab mirror should be removed entirely):

--- /var/portage/dev-python/pylint/pylint-1.2.1.ebuild  2014-05-09 09:31:15.000000000 +0400
+++ pylint-1.3.0.ebuild 2014-07-26 22:52:22.243705928 +0400
@@ -10,17 +10,15 @@

 DESCRIPTION="Python code static checker"
 HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
-SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"

 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 IUSE="doc examples test"

-# Versions specified in __pkginfo__.py; 'logilab-common >= 0.53.0,' 'astroid >= 0.24.3'
-# New addition of atroid to portage is 1.0.1, >=dev-python/astroid-0.24.3 making limited sense
 RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
-       >=dev-python/astroid-1.1.1[${PYTHON_USEDEP}]"
+       >=dev-python/astroid-1.2.0[${PYTHON_USEDEP}]"
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
        test? ( "${RDEPEND}" )"
@@ -30,7 +28,7 @@
 # Usual. Requ'd for impl specific failures in test phase
 DISTUTILS_IN_SOURCE_BUILD=1

-python_prepare_all () {
+python_prepare_all() {
        # selection of straight html triggers a trivial annoying bug, we skirt it
        use doc && emake -C doc singlehtml
        distutils-r1_python_prepare_all
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2014-07-31 03:57:48 UTC
astroid bumped for now.  Can't get a sane result from the testsuite of bumped pylint-1.3.0. Need a cross test.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2014-07-31 07:05:36 UTC
These 2 are co-dependent.  Have to bump pylint > -1.3.0 and run the gauntlet of the apparent oddities of its testsuite.

*pylint-1.3.0 (31 Jul 2014)

  31 Jul 2014; Ian Delaney <idella4@gentoo.org> +pylint-1.3.0.ebuild:
  bump; adjust SRC_URI, update deps, fixes Bug #518272

Leaving open in anticipation
Comment 6 Coacher 2014-08-12 20:45:59 UTC
Thanks.