summaryrefslogtreecommitdiffstats
path: root/pym/repoman
Commit message (Collapse)AuthorAgeFilesLines
* Add src_configure and pkg_config to the list of phases in ↵Arfrever Frehtes Taifersar Arahesis2009-10-041-2/+2
| | | | | | repoman.checks.PhaseCheck.__init__(). svn path=/main/trunk/; revision=14490
* Restrict upstream.workaround to src_compile and src_install as much as possible.Mounir Lamouri2009-10-041-31/+36
| | | | | | Prevent warnings when using emake -j1 in src_test which is recommanded. svn path=/main/trunk/; revision=14489
* Bug #285191 - Remove the RDEPEND.implicit check because it is invalid.Zac Medico2009-10-011-32/+1
| | | | svn path=/main/trunk/; revision=14471
* Use list comprehensions instead of filter() or map() in some places for ↵Arfrever Frehtes Taifersar Arahesis2009-09-251-2/+2
| | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+1
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Misc unicode fixes for repoman.Zac Medico2009-09-201-7/+12
| | | | svn path=/main/trunk/; revision=14302
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-3/+6
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Bug #283292 - Fix FindPortdir() to prevent OSError: [Errno 2] from stat whenZac Medico2009-08-311-1/+1
| | | | | | $PWD is unset. Thanks to Jonathan Callen <en.ABCD@gmail.com> for this patch. svn path=/main/trunk/; revision=14174
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-2/+8
| | | | svn path=/main/trunk/; revision=14097
* Remove unused os import.Zac Medico2009-08-191-1/+0
| | | | svn path=/main/trunk/; revision=14096
* Use r'' for regex.Zac Medico2009-08-121-1/+1
| | | | svn path=/main/trunk/; revision=14013
* Bug #281133 - Fix the here-document code inside run_checks() to properlyZac Medico2009-08-121-1/+1
| | | | | | detect the end of a here-document when it is indented by whitespace. svn path=/main/trunk/; revision=14012
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-061-3/+2
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Check for redundant blank lines. Thanks to Markus Meier <maekke@gentoo.org>Zac Medico2009-06-281-1/+20
| | | | | | for this patch. svn path=/main/trunk/; revision=13725
* * Add new abstract PhaseCheck class for ebuild phase-specific checks.Zac Medico2009-06-281-41/+119
| | | | | | | | * Reimplement SrcUnpackPatches using PhaseCheck. * Add new SrcCompileEconf, Eapi3IncompatibleFuncs, and Eapi3GoneVars checks. Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13717
* Bug #274742 - Exempt $dir from quoting checks since it's a likely candidateZac Medico2009-06-211-1/+1
| | | | | | for false positives. svn path=/main/trunk/; revision=13659
* Fix SrcUnpackPatches to ignore comment lines. Thanks to Christian RuppertZac Medico2009-05-061-0/+1
| | | | | | <idl0r@g.o> for reporting. svn path=/main/trunk/; revision=13617
* Warn about sed and epatch calls which should be moved from src_unpack toZac Medico2009-04-291-1/+33
| | | | | | src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13413
* Move the here-document code from the EbuildWhitespace check to theZac Medico2009-04-291-26/+26
| | | | | | | run_checks() function, so that all checks ignore the content of here-documents. svn path=/main/trunk/; revision=13412
* Make EbuildWhitespace ignore here-documents. Thanks to Diego PettenòZac Medico2009-04-291-4/+19
| | | | | | <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=13411
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-262-1/+19
| | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13401
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-172-11/+1
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Loosen EMakeParallelDisabled.re so it can match more variations.Zac Medico2009-02-271-1/+1
| | | | svn path=/main/trunk/; revision=12719
* Add a new upstream.workaround check for hardcoded MAKEOPTS=-j1 (previouslyZac Medico2009-02-272-2/+9
| | | | | | | only emake -j1 was recognized). Thanks to Maciej Mrozowski <reavertm@poczta.fm> for this patch. svn path=/main/trunk/; revision=12718
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-122-1/+11
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12603
* Warn about WANT_AUTO(CONF|MAKE)=latest settings since they are redundant.Zac Medico2009-02-041-1/+13
| | | | | | Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12583
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDv2.2_rc23Zac Medico2009-01-181-1/+28
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Adjust the EbuildNestedDie pattern so that it only matches when ( is surroundedv2.2_rc18Zac Medico2008-12-201-1/+1
| | | | | | | | by whitespace. This filters out false positives triggered by sed expressions in net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego Pettenò <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=12265
* Simplify the InheritAutotools pattern by using \b to match word boundaries.Zac Medico2008-12-201-2/+2
| | | | svn path=/main/trunk/; revision=12264
* Bug #251591 - Adjust the InheritAutotools pattern to treat more things ↵Zac Medico2008-12-201-2/+2
| | | | | | | | similar to whitespace. Now it recognizes escaped newlines, || operators, and && operators. svn path=/main/trunk/; revision=12260
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-082-2/+2
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179
* Bug #247548 - Remove 'last' and 'lfull' commands since nobody uses them.Zac Medico2008-11-231-1/+1
| | | | | | Thanks to Alec Warner <antarus@g.o>. svn path=/main/trunk/; revision=12049
* Make the EbuildQuote check filter out matches that appear to be an argumentZac Medico2008-11-141-2/+14
| | | | | | | | to a message command. For example: false || ewarn "foo $WORKDIR/bar baz" Thanks to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for reporting this issue (currently triggered by ruby-prof-0.7.0.ebuild). svn path=/main/trunk/; revision=11913
* Make FindPortdir() fall back to have_profile_dir() checks if it can't matchZac Medico2008-11-111-6/+20
| | | | | | | | the current location with anything from PORTDIR_OVERLAY. Assume that an overlay will contain at least a "repo_name" file while a master repo (portdir) will contain at least a "profiles.desc" file. svn path=/main/trunk/; revision=11855
* Make FindPortdir() return (None, None, None) on failure, instead of raisingZac Medico2008-11-111-1/+1
| | | | | | a potentially ambiguous ValueError. svn path=/main/trunk/; revision=11853
* Inside have_profile_dir(), check for existence of profiles.desc since thatZac Medico2008-11-111-1/+1
| | | | | | makes a little more sense thatn checking for package.mask. svn path=/main/trunk/; revision=11852
* Add "subversion" to InheritAutotools._exempt_eclasses. Thanks to Arfrever.Zac Medico2008-10-231-1/+3
| | | | svn path=/main/trunk/; revision=11722
* Bug #243224 - Add an exemption to the inherit.autotools check for ebuilds thatZac Medico2008-10-221-0/+7
| | | | | | | inherit git.eclass since the GIT_BOOTSTRAP variable may be used to call one of autotools functions. svn path=/main/trunk/; revision=11719
* Adjust EMakeParallelDisabled.re to require at least one space after emake.Zac Medico2008-09-011-1/+1
| | | | svn path=/main/trunk/; revision=11482
* Check for calls to the deprecated bindnow-flags function. Thanks to DiegoZac Medico2008-08-312-1/+8
| | | | | | "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11481
* Add a warning for emake -j1 calls which disable parallelization. Thanks toZac Medico2008-08-312-1/+9
| | | | | | Diego "Flameeyes" Pettenò for the suggestion. svn path=/main/trunk/; revision=11480
* * Fix parse_metadata_use() to raise ParseError instead of the ExpatErrorZac Medico2008-08-141-1/+17
| | | | | | | | that was reported by grobian. * Define __all__. svn path=/main/trunk/; revision=11407
* Remove unused parse_use_local_desc() function.Zac Medico2008-08-051-22/+0
| | | | svn path=/main/trunk/; revision=11330
* Bug #199788 - Make repoman parse GLEP 56 USE flag descriptions fromZac Medico2008-07-181-0/+33
| | | | | | | metadata.xml (in addition to use.local.desc). Thanks to Doug Goldstein <cardoe@g.o> for this patch. svn path=/main/trunk/; revision=11126
* Fix a few typos found with pyflakes. Thanks to Cardoe for reporting.Zac Medico2008-07-111-3/+5
| | | | svn path=/main/trunk/; revision=11018
* Pass a Package instance into LineCheck.new(), and use this to avoidZac Medico2008-06-191-10/+10
| | | | | | | passing the ebuild mtime into the EbuildHeader constructor (the mtime is given when the new() method is called). svn path=/main/trunk/; revision=10725
* Refactor the 'inherit.autotools' and 'IUSE.undefined' checksZac Medico2008-06-191-26/+66
| | | | | | into classes derived from LineCheck. svn path=/main/trunk/; revision=10723