* [gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/variables/
@ 2016-01-06 4:21 Brian Dolbec
0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2016-01-06 4:21 UTC (permalink / raw
To: gentoo-commits
commit: 21cbc58a860b0e850849567c7b561f65cca73f96
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 6 03:07:21 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 6 04:08:25 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=21cbc58a
delete no longer used eapi.py file
pym/repoman/checks/ebuilds/variables/eapi.py | 44 ----------------------------
1 file changed, 44 deletions(-)
diff --git a/pym/repoman/checks/ebuilds/variables/eapi.py b/pym/repoman/checks/ebuilds/variables/eapi.py
deleted file mode 100644
index 2f8b1cb..0000000
--- a/pym/repoman/checks/ebuilds/variables/eapi.py
+++ /dev/null
@@ -1,44 +0,0 @@
-
-'''eapi.py
-Perform checks on the EAPI variable.
-'''
-
-
-class EAPIChecks(object):
- '''Perform checks on the EAPI variable.'''
-
- def __init__(self, qatracker, repo_settings):
- '''
- @param qatracker: QATracker instance
- @param repo_settings: Repository settings
- '''
- self.qatracker = qatracker
- self.repo_settings = repo_settings
-
- def check(self, pkg, ebuild):
- '''
- @param pkg: Package in which we check (object).
- @param ebuild: Ebuild which we check (object).
- '''
- eapi = pkg._metadata["EAPI"]
-
- if not self._checkBanned(ebuild, eapi):
- self._checkDeprecated(ebuild, eapi)
-
- def _checkBanned(self, ebuild, eapi):
- if self.repo_settings.repo_config.eapi_is_banned(eapi):
- self.qatracker.add_error(
- "repo.eapi.banned", "%s: %s" % (ebuild.relative_path, eapi))
-
- return True
-
- return False
-
- def _checkDeprecated(self, ebuild, eapi):
- if self.repo_settings.repo_config.eapi_is_deprecated(eapi):
- self.qatracker.add_error(
- "repo.eapi.deprecated", "%s: %s" % (ebuild.relative_path, eapi))
-
- return True
-
- return False
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/variables/
@ 2016-01-06 4:21 Brian Dolbec
0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2016-01-06 4:21 UTC (permalink / raw
To: gentoo-commits
commit: 6feabf072a82a4703ed88c32d1371e5a2e8a2841
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 6 03:08:08 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 6 04:08:25 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6feabf07
repoman: delete no longer used checks/ebuilds/variables sub-pkg
pym/repoman/checks/ebuilds/variables/__init__.py | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/pym/repoman/checks/ebuilds/variables/__init__.py b/pym/repoman/checks/ebuilds/variables/__init__.py
deleted file mode 100644
index e69de29..0000000
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-06 4:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-06 4:21 [gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/variables/ Brian Dolbec
-- strict thread matches above, loose matches on Subject: below --
2016-01-06 4:21 Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox