Skip to content
Snippets Groups Projects
Commit ad42579f authored by Benedikt Hegner's avatar Benedikt Hegner
Browse files

addressing coding style rules

parent aca5941a
No related branches found
No related tags found
No related merge requests found
from spack import * from spack import version, extends, depends_on, python
from spack import Package
class PyGenshi(Package): class PyGenshi(Package):
"""Python toolkit for generation of output for the web""" """Python toolkit for generation of output for the web"""
homepage = "https://genshi.edgewall.org/" homepage = "https://genshi.edgewall.org/"
url = "http://ftp.edgewall.com/pub/genshi/Genshi-0.7.tar.gz" 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.1', '372c368c8931110b0a521fa6091742d7')
version('0.6' , '604e8b23b4697655d36a69c2d8ef7187') version('0.6', '604e8b23b4697655d36a69c2d8ef7187')
extends("python") extends("python")
depends_on("py-setuptools") depends_on("py-setuptools")
......
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyAstroid(Package): class PyAstroid(Package):
homepage = "https://www.astroid.org/" homepage = "https://www.astroid.org/"
......
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyJinja2(Package): class PyJinja2(Package):
""" """
Jinja2 is a template engine written in pure Python. It provides 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. and an optional sandboxed environment.
""" """
homepage = "http://jinja.pocoo.org/" homepage = "http://jinja.pocoo.org/"
url = "https://github.com/pallets/jinja/archive/2.8.tar.gz" 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.3', '55b87bdc8e585b8b5b86734eefce2621')
version('2.7.2', '8e8f226809ae6363009b9296e30adf30') version('2.7.2', '8e8f226809ae6363009b9296e30adf30')
version('2.7.1', '69b6675553c81b1087f95cae7f2179bb') version('2.7.1', '69b6675553c81b1087f95cae7f2179bb')
version('2.7' , 'ec70433f325051dcedacbb2465028a35') version('2.7', 'ec70433f325051dcedacbb2465028a35')
extends("python") extends("python")
depends_on("py-setuptools") depends_on("py-setuptools")
depends_on("py-markupsafe") depends_on("py-markupsafe")
def install(self, spec, prefix): def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix) python('setup.py', 'install', '--prefix=%s' % prefix)
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyLogilabCommon(Package): class PyLogilabCommon(Package):
"""Common modules used by Logilab projects""" """Common modules used by Logilab projects"""
......
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyMarkupsafe(Package): class PyMarkupsafe(Package):
""" """
MarkupSafe is a library for Python that implements a unicode MarkupSafe is a library for Python that implements a unicode
string that is aware of HTML escaping rules and can be used string that is aware of HTML escaping rules and can be used
to implement automatic string escaping. It is used by Jinja 2, to implement automatic string escaping. It is used by Jinja 2,
the Mako templating engine, the Pylons web framework and many more. the Mako templating engine, the Pylons web framework and many more.
""" """
homepage = "http://www.pocoo.org/projects/markupsafe/" homepage = "http://www.pocoo.org/projects/markupsafe/"
url = "https://github.com/pallets/markupsafe/archive/0.23.tar.gz" url = "https://github.com/pallets/markupsafe/archive/0.23.tar.gz"
......
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyMistune(Package): class PyMistune(Package):
""" """
...@@ -8,10 +10,10 @@ class PyMistune(Package): ...@@ -8,10 +10,10 @@ class PyMistune(Package):
url = "https://github.com/lepture/mistune/archive/v0.7.1.tar.gz" url = "https://github.com/lepture/mistune/archive/v0.7.1.tar.gz"
version('0.7.1', '0d9c29700c670790c5b2471070d32ec2') version('0.7.1', '0d9c29700c670790c5b2471070d32ec2')
version('0.7' , '77750ae8b8d0d584894224a7e0c0523a') version('0.7', '77750ae8b8d0d584894224a7e0c0523a')
version('0.6' , 'd4f3d4f28a69e715f82b591d5dacf9a6') version('0.6', 'd4f3d4f28a69e715f82b591d5dacf9a6')
version('0.5.1', '1c6cfce28a4aa90cf125217cd6c6fe6c') version('0.5.1', '1c6cfce28a4aa90cf125217cd6c6fe6c')
version('0.5' , '997736554f1f95eea78c66ae339b5722') version('0.5', '997736554f1f95eea78c66ae339b5722')
extends('python') extends('python')
depends_on('py-setuptools') depends_on('py-setuptools')
......
from spack import * from spack import depends_on, extends, python, version
from Spack import Package
class PyPrettytable(Package): class PyPrettytable(Package):
""" """
PrettyTable is a simple Python library designed to make 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 appealing ASCII tables
""" """
homepage = "https://code.google.com/archive/p/prettytable/" homepage = "https://code.google.com/archive/p/prettytable/"
...@@ -13,6 +15,6 @@ class PyPrettytable(Package): ...@@ -13,6 +15,6 @@ class PyPrettytable(Package):
extends("python") extends("python")
depends_on("py-setuptools") depends_on("py-setuptools")
def install(self, spec, prefix): def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix) python('setup.py', 'install', '--prefix=%s' % prefix)
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyPy2neo(Package): class PyPy2neo(Package):
"""FIXME: put a proper description of your package here.""" """FIXME: put a proper description of your package here."""
......
from spack import * from spack import depends_on, extends, python, version
from spack import Package
class PyStorm(Package): class PyStorm(Package):
"""Storm is an object-relational mapper (ORM) for Python""" """Storm is an object-relational mapper (ORM) for Python"""
...@@ -12,4 +14,3 @@ class PyStorm(Package): ...@@ -12,4 +14,3 @@ class PyStorm(Package):
def install(self, spec, prefix): def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix) python('setup.py', 'install', '--prefix=%s' % prefix)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment