* [gentoo-commits] proj/layman:gsoc2014 commit in: layman/overlays/, layman/overlays/modules/g_common/
@ 2014-08-15 22:32 Devan Franchini
0 siblings, 0 replies; only message in thread
From: Devan Franchini @ 2014-08-15 22:32 UTC (permalink / raw
To: gentoo-commits
commit: 7fe9df5d0d668734d27cb3854f99d5c10aad8939
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 00:51:20 2014 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Fri Aug 15 21:42:41 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=7fe9df5d
g_common.py: Converts to plug-in module
---
layman/overlays/modules/g_common/__init__.py | 25 ++++++++++++++++++++++
layman/overlays/{ => modules/g_common}/g_common.py | 0
2 files changed, 25 insertions(+)
diff --git a/layman/overlays/modules/g_common/__init__.py b/layman/overlays/modules/g_common/__init__.py
new file mode 100644
index 0000000..d8ea23d
--- /dev/null
+++ b/layman/overlays/modules/g_common/__init__.py
@@ -0,0 +1,25 @@
+# Copyright 2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+'''
+G-Common plug-in module for layman.
+'''
+
+module_spec = {
+ 'name': 'g-common',
+ 'description': __doc__,
+ 'provides':{
+ 'g-common-module': {
+ 'name': 'g-common',
+ 'class': 'GCommonOverlay',
+ 'description': __doc__,
+ 'functions': ['add', 'supported', 'sync'],
+ 'func_desc': {
+ 'add': 'Creates the base dir and clones a g_common repository',
+ 'supported': 'Confirms if overlay type is supported',
+ 'sync': 'Performs a sync of the repository',
+ },
+ }
+ }
+}
+
diff --git a/layman/overlays/g_common.py b/layman/overlays/modules/g_common/g_common.py
similarity index 100%
rename from layman/overlays/g_common.py
rename to layman/overlays/modules/g_common/g_common.py
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-15 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 22:32 [gentoo-commits] proj/layman:gsoc2014 commit in: layman/overlays/, layman/overlays/modules/g_common/ Devan Franchini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox