py-advancedhtmlparser: new package (#10867)

This commit is contained in:
Eric Martin 2019-03-13 09:06:01 -05:00 committed by Massimiliano Culpo
parent ffbc4f199e
commit 7d50567423
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyAdvancedhtmlparser(PythonPackage):
"""Fast Indexed python HTML parser which builds a DOM node tree,
providing common getElementsBy* functions for scraping, testing,
modification, and formatting"""
homepage = "https://github.com/kata198/AdvancedHTMLParser"
url = "https://pypi.io/packages/source/a/advancedhtmlparser/AdvancedHTMLParser-8.1.4.tar.gz"
version('8.1.4', sha256='21a73137026c8ec3248c654a24cc40064196029256cdf71681149f6835e9ed39')
depends_on('py-setuptools', type='build')
depends_on('py-queryablelist', type=('build', 'run'))

View File

@ -0,0 +1,18 @@
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyQueryablelist(PythonPackage):
"""Python module to add support for ORM-style filtering to any list of
items"""
homepage = "https://github.com/kata198/QueryableList"
url = "https://pypi.io/packages/source/q/queryablelist/QueryableList-3.1.0.tar.gz"
version('3.1.0', sha256='8891dccbadc69a35f5944e1826d8f8db224522aa3af913e301a7a448f5b411e9')
depends_on('py-setuptools', type='build')