addressing coding style rules

This commit is contained in:
Benedikt Hegner
2016-05-10 13:17:36 +02:00
parent aca5941a0e
commit ad42579f08
9 changed files with 41 additions and 24 deletions

View File

@@ -1,13 +1,15 @@
from spack import *
from spack import version, extends, depends_on, python
from spack import Package
class PyGenshi(Package):
"""Python toolkit for generation of output for the web"""
homepage = "https://genshi.edgewall.org/"
url = "http://ftp.edgewall.com/pub/genshi/Genshi-0.7.tar.gz"
version('0.7' , '54e64dd69da3ec961f86e686e0848a82')
version('0.7', '54e64dd69da3ec961f86e686e0848a82')
version('0.6.1', '372c368c8931110b0a521fa6091742d7')
version('0.6' , '604e8b23b4697655d36a69c2d8ef7187')
version('0.6', '604e8b23b4697655d36a69c2d8ef7187')
extends("python")
depends_on("py-setuptools")

View File

@@ -1,4 +1,6 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyAstroid(Package):
homepage = "https://www.astroid.org/"

View File

@@ -1,25 +1,27 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyJinja2(Package):
"""
Jinja2 is a template engine written in pure Python. It provides
a Django inspired non-XML syntax but supports inline expressions
a Django inspired non-XML syntax but supports inline expressions
and an optional sandboxed environment.
"""
homepage = "http://jinja.pocoo.org/"
url = "https://github.com/pallets/jinja/archive/2.8.tar.gz"
version('2.8' , '4114200650d7630594e3bc70af23f59e')
version('2.8', '4114200650d7630594e3bc70af23f59e')
version('2.7.3', '55b87bdc8e585b8b5b86734eefce2621')
version('2.7.2', '8e8f226809ae6363009b9296e30adf30')
version('2.7.1', '69b6675553c81b1087f95cae7f2179bb')
version('2.7' , 'ec70433f325051dcedacbb2465028a35')
version('2.7', 'ec70433f325051dcedacbb2465028a35')
extends("python")
depends_on("py-setuptools")
depends_on("py-markupsafe")
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)

View File

@@ -1,4 +1,6 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyLogilabCommon(Package):
"""Common modules used by Logilab projects"""

View File

@@ -1,13 +1,15 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyMarkupsafe(Package):
"""
MarkupSafe is a library for Python that implements a unicode
string that is aware of HTML escaping rules and can be used
MarkupSafe is a library for Python that implements a unicode
string that is aware of HTML escaping rules and can be used
to implement automatic string escaping. It is used by Jinja 2,
the Mako templating engine, the Pylons web framework and many more.
"""
homepage = "http://www.pocoo.org/projects/markupsafe/"
url = "https://github.com/pallets/markupsafe/archive/0.23.tar.gz"

View File

@@ -1,4 +1,6 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyMistune(Package):
"""
@@ -8,10 +10,10 @@ class PyMistune(Package):
url = "https://github.com/lepture/mistune/archive/v0.7.1.tar.gz"
version('0.7.1', '0d9c29700c670790c5b2471070d32ec2')
version('0.7' , '77750ae8b8d0d584894224a7e0c0523a')
version('0.6' , 'd4f3d4f28a69e715f82b591d5dacf9a6')
version('0.7', '77750ae8b8d0d584894224a7e0c0523a')
version('0.6', 'd4f3d4f28a69e715f82b591d5dacf9a6')
version('0.5.1', '1c6cfce28a4aa90cf125217cd6c6fe6c')
version('0.5' , '997736554f1f95eea78c66ae339b5722')
version('0.5', '997736554f1f95eea78c66ae339b5722')
extends('python')
depends_on('py-setuptools')

View File

@@ -1,9 +1,11 @@
from spack import *
from spack import depends_on, extends, python, version
from Spack import Package
class PyPrettytable(Package):
"""
PrettyTable is a simple Python library designed to make
it quick and easy to represent tabular data in visually
it quick and easy to represent tabular data in visually
appealing ASCII tables
"""
homepage = "https://code.google.com/archive/p/prettytable/"
@@ -13,6 +15,6 @@ class PyPrettytable(Package):
extends("python")
depends_on("py-setuptools")
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)

View File

@@ -1,4 +1,6 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyPy2neo(Package):
"""FIXME: put a proper description of your package here."""

View File

@@ -1,4 +1,6 @@
from spack import *
from spack import depends_on, extends, python, version
from spack import Package
class PyStorm(Package):
"""Storm is an object-relational mapper (ORM) for Python"""
@@ -12,4 +14,3 @@ class PyStorm(Package):
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)