diff --git a/magneto/src/magneto.py b/magneto/src/magneto.py index f89c29f55..88191ec8b 100755 --- a/magneto/src/magneto.py +++ b/magneto/src/magneto.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -O +#!/usr/bin/python2 -O """ @author: Fabio Erculiani diff --git a/server/activator.py b/server/activator.py index eec71941c..b0fb4482f 100644 --- a/server/activator.py +++ b/server/activator.py @@ -1,24 +1,14 @@ -#!/usr/bin/python -O -''' - # DESCRIPTION: - # Entropy mirrors syncing manager +#!/usr/bin/python2 -O +""" - Copyright (C) 2007-2008 Fabio Erculiani + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + B{Entropy Package Manager Server}. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -''' +""" import os, sys sys.path.insert(0,'../libraries') diff --git a/server/reagent.py b/server/reagent.py index 8c1672bef..52182daaa 100644 --- a/server/reagent.py +++ b/server/reagent.py @@ -1,26 +1,14 @@ -#!/usr/bin/python -O -# -*- coding: utf-8 -*- -''' - # DESCRIPTION: - # this application gets a .tbz2 file as input and creates a database entry - # with all the information needed by the Entropy client +#!/usr/bin/python2 -O +""" - Copyright (C) 2007-2008 Fabio Erculiani + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + B{Entropy Package Manager Server}. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -''' +""" import os, sys sys.path.insert(0,'../libraries') diff --git a/server/server_activator.py b/server/server_activator.py index 578eba6ed..44ae38afe 100644 --- a/server/server_activator.py +++ b/server/server_activator.py @@ -1,24 +1,14 @@ -#!/usr/bin/python -''' - # DESCRIPTION: - # activator textual interface +# -*- coding: utf-8 -*- +""" - Copyright (C) 2007-2008 Fabio Erculiani + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + B{Entropy Package Manager Server}. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -''' +""" from entropy.const import * from entropy.output import * diff --git a/server/server_query.py b/server/server_query.py index 50bad7e34..b9482c986 100644 --- a/server/server_query.py +++ b/server/server_query.py @@ -1,24 +1,14 @@ -#!/usr/bin/python -''' - # DESCRIPTION: - # server tools for querying database +# -*- coding: utf-8 -*- +""" - Copyright (C) 2007-2008 Fabio Erculiani + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + B{Entropy Package Manager Server}. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -''' +""" from entropy.output import * from entropy.const import * diff --git a/server/server_reagent.py b/server/server_reagent.py index 6bd078017..2f2850001 100644 --- a/server/server_reagent.py +++ b/server/server_reagent.py @@ -1,25 +1,14 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- -''' - # DESCRIPTION: - # textual interface for reagent +""" - Copyright (C) 2007-2008 Fabio Erculiani + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + B{Entropy Package Manager Server}. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -''' +""" import subprocess from entropy.const import * diff --git a/services/client-updates-daemon b/services/client-updates-daemon index 966bce814..b67fd57ba 100755 --- a/services/client-updates-daemon +++ b/services/client-updates-daemon @@ -1,24 +1,13 @@ -#!/usr/bin/python -O -# -*- coding: utf-8 -*- +#!/usr/bin/python2 -O """ - # DESCRIPTION: - # Entropy Client Updates daemon - Copyright (C) 2007-2009 Fabio Erculiani + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + B{Entropy Package Manager Client service}. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ from __future__ import with_statement import os diff --git a/services/repository-admin-daemon b/services/repository-admin-daemon index 73550b495..0bc74e622 100755 --- a/services/repository-admin-daemon +++ b/services/repository-admin-daemon @@ -1,4 +1,14 @@ -#!/usr/bin/python +#!/usr/bin/python2 +""" + + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 + + B{Entropy Package Manager Service}. + +""" import sys, time sys.path.insert(0,'/usr/lib/entropy/libraries') sys.path.insert(0,'/usr/lib/entropy/client') diff --git a/services/repository-services-daemon.example b/services/repository-services-daemon.example index 5133b4070..342cbbdca 100755 --- a/services/repository-services-daemon.example +++ b/services/repository-services-daemon.example @@ -1,4 +1,14 @@ -#!/usr/bin/python +#!/usr/bin/python2 +""" + + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 + + B{Entropy Package Manager Service}. + +""" import sys, time sys.path.insert(0,'/usr/lib/entropy/libraries') sys.path.insert(0,'/usr/lib/entropy/client') diff --git a/services/service-test-daemon b/services/service-test-daemon index a9276e3e0..92135015a 100755 --- a/services/service-test-daemon +++ b/services/service-test-daemon @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import sys, time sys.path.insert(0,'/usr/lib/entropy/libraries') sys.path.insert(0,'/usr/lib/entropy/client') diff --git a/sulfur/misc/entropy-repo-manager b/sulfur/misc/entropy-repo-manager index 8a053e6a1..6b55f48b0 100644 --- a/sulfur/misc/entropy-repo-manager +++ b/sulfur/misc/entropy-repo-manager @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 import subprocess rc = subprocess.call(["python2","/usr/lib/entropy/sulfur/repo-manager-client.py"]) raise SystemExit(rc) diff --git a/sulfur/misc/sulfur b/sulfur/misc/sulfur index 32d029f63..e963d12d9 100755 --- a/sulfur/misc/sulfur +++ b/sulfur/misc/sulfur @@ -1,4 +1,4 @@ -#!/usr/bin/python -O +#!/usr/bin/python2 -O import sys, os if "--debug" in sys.argv: os.environ['SULFUR_DEBUG'] = "1" diff --git a/sulfur/src/repo-manager-client.py b/sulfur/src/repo-manager-client.py index e8dfdf023..a7cf75bb1 100644 --- a/sulfur/src/repo-manager-client.py +++ b/sulfur/src/repo-manager-client.py @@ -1,21 +1,15 @@ -#!/usr/bin/python -O +#!/usr/bin/python2 -O # -*- coding: iso-8859-1 -*- -# Sulfur (Entropy Interface) -# Copyright: (C) 2007-2009 Fabio Erculiani < lxnaysabayonlinuxorg > -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +""" + + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 + + B{Entropy Package Manager Graphical Repository Administration tool}. + +""" # Base Python Imports import sys diff --git a/sulfur/src/sulfur-client.py b/sulfur/src/sulfur-client.py index d69143283..a98bfb25b 100644 --- a/sulfur/src/sulfur-client.py +++ b/sulfur/src/sulfur-client.py @@ -1,21 +1,15 @@ -#!/usr/bin/python -O +#!/usr/bin/python2 -O # -*- coding: iso-8859-1 -*- -# Sulfur (Entropy Interface) -# Copyright: (C) 2007-2009 Fabio Erculiani < lxnaysabayonlinuxorg > -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +""" + + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 + + B{Entropy Package Manager Graphical Client}. + +""" import sys import gtk diff --git a/sulfur/src/sulfur/package.py b/sulfur/src/sulfur/package.py index d8bfa7bec..2178cd19f 100644 --- a/sulfur/src/sulfur/package.py +++ b/sulfur/src/sulfur/package.py @@ -1,18 +1,13 @@ -#!/usr/bin/python -tt -# -*- coding: iso-8859-1 -*- -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Library General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" + + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 + + B{Entropy Package Manager Graphical Client}. + +""" from entropy.const import * from entropy.i18n import _ diff --git a/sulfur/src/sulfur/widgets.py b/sulfur/src/sulfur/widgets.py index 561c31ef2..693880de3 100644 --- a/sulfur/src/sulfur/widgets.py +++ b/sulfur/src/sulfur/widgets.py @@ -1,21 +1,13 @@ -#!/usr/bin/python -tt -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Library General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +""" -# Authors: -# Tim Lauridsen + @author: Fabio Erculiani + @contact: lxnay@sabayonlinux.org + @copyright: Fabio Erculiani + @license: GPL-2 + + B{Entropy Package Manager Graphical Client}. + +""" import os import gtk