[entropy] update file HEADER and interpreter

This commit is contained in:
Fabio Erculiani
2009-09-20 14:43:11 +02:00
parent 2fc1a5980f
commit 2a43f44ab8
16 changed files with 112 additions and 181 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -O
#!/usr/bin/python2 -O
"""
@author: Fabio Erculiani <lxnay@sabayonlinux.org>

View File

@@ -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 <lxnay@sabayonlinux.org>
@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')

View File

@@ -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 <lxnay@sabayonlinux.org>
@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')

View File

@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# activator textual interface
# -*- coding: utf-8 -*-
"""
Copyright (C) 2007-2008 Fabio Erculiani
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@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 *

View File

@@ -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 <lxnay@sabayonlinux.org>
@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 *

View File

@@ -1,25 +1,14 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
# DESCRIPTION:
# textual interface for reagent
"""
Copyright (C) 2007-2008 Fabio Erculiani
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@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 *

View File

@@ -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 <lxnay@sabayonlinux.org>
@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

View File

@@ -1,4 +1,14 @@
#!/usr/bin/python
#!/usr/bin/python2
"""
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@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')

View File

@@ -1,4 +1,14 @@
#!/usr/bin/python
#!/usr/bin/python2
"""
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@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')

View File

@@ -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')

View File

@@ -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)

View File

@@ -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"

View File

@@ -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 < lxnay<AT>sabayonlinux<DOT>org >
#
# 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 <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
B{Entropy Package Manager Graphical Repository Administration tool}.
"""
# Base Python Imports
import sys

View File

@@ -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 < lxnay<AT>sabayonlinux<DOT>org >
#
# 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 <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
B{Entropy Package Manager Graphical Client}.
"""
import sys
import gtk

View File

@@ -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 <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
B{Entropy Package Manager Graphical Client}.
"""
from entropy.const import *
from entropy.i18n import _

View File

@@ -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 <tla@rasmil.dk>
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
B{Entropy Package Manager Graphical Client}.
"""
import os
import gtk