[aur-general] [PATCH] __init__.py: gnomemenu removed, prettify code
Each module is put on a separate line in alphabetical order. This makes removal and addition of modules easier to spot in the diffs. I've used split() here so that I can do without the quotes and commas in the list. Signed-off-by: Abhishek Dasgupta <abhidg@gmail.com> --- Namcap/__init__.py | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 insertions(+), 2 deletions(-) diff --git a/Namcap/__init__.py b/Namcap/__init__.py index 5100ed3..484d8a8 100644 --- a/Namcap/__init__.py +++ b/Namcap/__init__.py @@ -17,9 +17,39 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -__tarball__ = ['depends', 'directoryname', 'fileownership', 'gnomemenu', 'perllocal', 'permissions', 'symlink', 'urlpkg', 'capsnamespkg', 'emptydir', 'scrollkeeper', 'libtool', 'gnomemime', 'licensepkg', 'infodirectory', 'fhsmanpages', 'fhsinfopages'] +__tarball__ = """ + capsnamespkg + depends + directoryname + emptydir + fhsmanpages + fhsinfopages + fileownership + gnomemime + infodirectory + libtool + licensepkg + perllocal + permissions + scrollkeeper + symlink + urlpkg -__pkgbuild__ = ['md5sums', 'tags', 'url', 'invalidstartdir', 'capsnames', 'carch', 'sfurl', 'badbackups', 'license', 'arrays'] +""".split() + +__pkgbuild__ = """ + arrays + badbackups + capsnames + carch + invalidstartdir + license + md5sums + sfurl + tags + url + +""".split() __all__ = __tarball__ + __pkgbuild__ -- 1.6.2.3 -- Abhishek Dasgupta <http://abhidg.mine.nu> GPG 67972DOF pgp.mit.edu
Updated patch to remove gnomemenu from namcap.1 as well. -- Abhishek
Bump. Any opinions on this patch? 2009/5/13 Abhishek Dasgupta <abhidg@gmail.com>:
Updated patch to remove gnomemenu from namcap.1 as well.
-- Abhishek
Looks good, Abhishek. I will commit this tonight. Thanks. ;) -- Hugo
participants (2)
-
Abhishek Dasgupta
-
Hugo Doria