* [gentoo-commits] proj/layman:gsoc2014 commit in: layman/overlays/, layman/overlays/modules/darcs/
@ 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: 2eb6cd7d517a14a8b80537fd1a8ca8b8ab28fe14
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 00:44:30 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=2eb6cd7d
darcs.py: Converts to plug-in module
---
layman/overlays/modules/darcs/__init__.py | 25 +++++++++++++++++++++++++
layman/overlays/{ => modules/darcs}/darcs.py | 0
2 files changed, 25 insertions(+)
diff --git a/layman/overlays/modules/darcs/__init__.py b/layman/overlays/modules/darcs/__init__.py
new file mode 100644
index 0000000..be5d267
--- /dev/null
+++ b/layman/overlays/modules/darcs/__init__.py
@@ -0,0 +1,25 @@
+# Copyright 2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+'''
+Darcs plug-in module for layman.
+'''
+
+module_spec = {
+ 'name': 'darcs',
+ 'description': __doc__,
+ 'provides':{
+ 'darcs-module': {
+ 'name': 'darcs',
+ 'class': 'DarcsOverlay',
+ 'description': __doc__,
+ 'functions': ['add', 'supported', 'sync'],
+ 'func_desc': {
+ 'add': 'Performs a darcs get on a repository',
+ 'supported': 'Confirms if overlay type is supported',
+ 'sync': 'Performs a darcs pull on the repository',
+ },
+ }
+ }
+}
+
diff --git a/layman/overlays/darcs.py b/layman/overlays/modules/darcs/darcs.py
similarity index 100%
rename from layman/overlays/darcs.py
rename to layman/overlays/modules/darcs/darcs.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/darcs/ Devan Franchini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox