[equo] fix package files header

This commit is contained in:
Fabio Erculiani
2009-09-20 14:35:56 +02:00
parent 1b67011140
commit 2fc1a5980f
10 changed files with 79 additions and 175 deletions
+8 -18
View File
@@ -1,25 +1,15 @@
#!/usr/bin/python -O
#!/usr/bin/python2 -O
# -*- coding: utf-8 -*-
'''
# DESCRIPTION:
# Entropy Package Manager client
"""
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}.
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 sys
sys.path.insert(0,'/usr/lib/entropy/libraries')
sys.path.insert(0,'/usr/lib/entropy/server')
+8 -18
View File
@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# Equo on-disk caching tools
# -*- 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 Client}.
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.client.interfaces import Client
def cache(options):
+8 -19
View File
@@ -1,25 +1,14 @@
# -*- coding: utf-8 -*-
"""
#!/usr/bin/python
'''
# DESCRIPTION:
# Packages configuration files handling function (etc-update alike)
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
Copyright (C) 2007-2009 Fabio Erculiani
B{Entropy Package Manager Client}.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
'''
"""
import shutil
import commands
+8 -18
View File
@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# Entropy database query tools and library
# -*- coding: utf-8 -*-
"""
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}.
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
from entropy.const import etpUi
+8 -18
View File
@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# Equo repositories handling library
# -*- 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 Client}.
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
'''
"""
########################################################
####
+8 -18
View File
@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# Equo integrity handling library
# -*- coding: utf-8 -*-
"""
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}.
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
'''
"""
########################################################
####
+8 -18
View File
@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# Equo security tools
# -*- coding: utf-8 -*-
"""
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}.
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 *
from entropy.client.interfaces import Client
+8 -18
View File
@@ -1,24 +1,14 @@
#!/usr/bin/python
'''
# DESCRIPTION:
# Entropy smart functionalities library
# -*- 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 Client}.
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 shutil
from entropy.const import *
from entropy.output import *
+8 -15
View File
@@ -1,21 +1,14 @@
#!/usr/bin/python
'''
Copyright (C) 2007-2009 Fabio Erculiani
# -*- coding: utf-8 -*-
"""
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.
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
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.
B{Entropy Package Manager Client}.
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 *
+7 -15
View File
@@ -1,22 +1,14 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Copyright (C) 2007-2009 Fabio Erculiani
"""
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.
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
@contact: lxnay@sabayonlinux.org
@copyright: Fabio Erculiani
@license: GPL-2
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.
B{Entropy Package Manager Client}.
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
'''
"""
########################################################
####