[Python-modules-commits] [python-cssselect] 01/09: Import python-cssselect_0.9.2.orig.tar.gz
Ondřej Nový
onovy at moszumanska.debian.org
Fri Aug 5 21:10:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-cssselect.
commit a0da49b38ae603f002f72d8532f4340f055f0a9b
Author: Ondřej Nový <onovy at debian.org>
Date: Fri Aug 5 22:52:00 2016 +0200
Import python-cssselect_0.9.2.orig.tar.gz
---
.gitignore | 7 -----
.travis.yml | 12 ---------
AUTHORS | 3 +++
CHANGES | 11 ++++++++
PKG-INFO | 46 +++++++++++++++++++++++++++++++++
README.rst | 10 +++----
cssselect.egg-info/PKG-INFO | 46 +++++++++++++++++++++++++++++++++
cssselect.egg-info/SOURCES.txt | 19 ++++++++++++++
cssselect.egg-info/dependency_links.txt | 1 +
cssselect.egg-info/top_level.txt | 1 +
cssselect/__init__.py | 4 +--
cssselect/parser.py | 2 +-
cssselect/tests.py | 2 +-
cssselect/xpath.py | 6 ++---
docs/index.rst | 2 +-
setup.cfg | 16 +++++++++---
setup.py | 12 +++++----
17 files changed, 159 insertions(+), 41 deletions(-)
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 4c89f4c..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-*.pyc
-*.egg-info
-/.tox
-/MANIFEST
-/dist
-/docs/_build
-/.coverage
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 93ad08a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-language: python
-
-python:
- - "2.6"
- - "2.7"
- - "3.2"
- - "3.3"
-
-install:
- - pip install --use-mirrors lxml -e .
-
-script: py.test
diff --git a/AUTHORS b/AUTHORS
index bf826b9..70ca409 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,9 +1,12 @@
Daniel Graña
Ian Bicking
+James Salter
Laurence Rowe
Mikhail Korobov
+Nik Nyby
Paul Tremberth
Simon Potter
Simon Sapin
Stefan Behnel
+Thomas Grainger
Varialus
diff --git a/CHANGES b/CHANGES
index edbbaca..5ae9a39 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,17 @@
Changelog
=========
+Version 0.9.2
+-------------
+
+Released on 2016-06-15.
+
+* Distribute as universal wheel.
+* Add support for Python 3.3, 3.4 and 3.5.
+* Drop support for Python 2.5 as testing is getting difficult.
+* Improve tests on pseudo-elements.
+
+
Version 0.9.1
-------------
diff --git a/PKG-INFO b/PKG-INFO
new file mode 100644
index 0000000..ecdb2a4
--- /dev/null
+++ b/PKG-INFO
@@ -0,0 +1,46 @@
+Metadata-Version: 1.1
+Name: cssselect
+Version: 0.9.2
+Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
+Home-page: https://pythonhosted.org/cssselect/
+Author: Paul Tremberth
+Author-email: paul.tremberth at gmail.com
+License: BSD
+Description: ===================================
+ cssselect: CSS Selectors for Python
+ ===================================
+
+ *cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
+ expressions. Such expressions can be used in lxml_ or another XPath engine
+ to find the matching elements in an XML or HTML document.
+
+ This module used to live inside of lxml as ``lxml.cssselect`` before it was
+ extracted as a stand-alone project.
+
+ .. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
+ .. _XPath 1.0: https://www.w3.org/TR/xpath/
+ .. _lxml: http://lxml.de/
+
+
+ Quick facts:
+
+ * Free software: BSD licensed
+ * Compatible with Python 2.6+ and 3.2+
+ * Latest documentation `on python.org <https://pythonhosted.org/cssselect/>`_
+ * Source, issues and pull requests `on Github
+ <https://github.com/scrapy/cssselect>`_
+ * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
+ * Install with ``pip install cssselect``
+
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff --git a/README.rst b/README.rst
index f523c7f..155149d 100644
--- a/README.rst
+++ b/README.rst
@@ -9,17 +9,17 @@ to find the matching elements in an XML or HTML document.
This module used to live inside of lxml as ``lxml.cssselect`` before it was
extracted as a stand-alone project.
-.. _CSS3 Selectors: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/
-.. _XPath 1.0: http://www.w3.org/TR/xpath/
+.. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
+.. _XPath 1.0: https://www.w3.org/TR/xpath/
.. _lxml: http://lxml.de/
Quick facts:
* Free software: BSD licensed
-* Compatible with Python 2.5+ and 3.2+
-* Latest documentation `on python.org <http://packages.python.org/cssselect/>`_
+* Compatible with Python 2.6+ and 3.2+
+* Latest documentation `on python.org <https://pythonhosted.org/cssselect/>`_
* Source, issues and pull requests `on Github
- <https://github.com/SimonSapin/cssselect/>`_
+ <https://github.com/scrapy/cssselect>`_
* Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
* Install with ``pip install cssselect``
diff --git a/cssselect.egg-info/PKG-INFO b/cssselect.egg-info/PKG-INFO
new file mode 100644
index 0000000..ecdb2a4
--- /dev/null
+++ b/cssselect.egg-info/PKG-INFO
@@ -0,0 +1,46 @@
+Metadata-Version: 1.1
+Name: cssselect
+Version: 0.9.2
+Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
+Home-page: https://pythonhosted.org/cssselect/
+Author: Paul Tremberth
+Author-email: paul.tremberth at gmail.com
+License: BSD
+Description: ===================================
+ cssselect: CSS Selectors for Python
+ ===================================
+
+ *cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
+ expressions. Such expressions can be used in lxml_ or another XPath engine
+ to find the matching elements in an XML or HTML document.
+
+ This module used to live inside of lxml as ``lxml.cssselect`` before it was
+ extracted as a stand-alone project.
+
+ .. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
+ .. _XPath 1.0: https://www.w3.org/TR/xpath/
+ .. _lxml: http://lxml.de/
+
+
+ Quick facts:
+
+ * Free software: BSD licensed
+ * Compatible with Python 2.6+ and 3.2+
+ * Latest documentation `on python.org <https://pythonhosted.org/cssselect/>`_
+ * Source, issues and pull requests `on Github
+ <https://github.com/scrapy/cssselect>`_
+ * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
+ * Install with ``pip install cssselect``
+
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff --git a/cssselect.egg-info/SOURCES.txt b/cssselect.egg-info/SOURCES.txt
new file mode 100644
index 0000000..c1037d3
--- /dev/null
+++ b/cssselect.egg-info/SOURCES.txt
@@ -0,0 +1,19 @@
+.coveragerc
+AUTHORS
+CHANGES
+LICENSE
+MANIFEST.in
+README.rst
+setup.cfg
+setup.py
+tox.ini
+cssselect/__init__.py
+cssselect/parser.py
+cssselect/tests.py
+cssselect/xpath.py
+cssselect.egg-info/PKG-INFO
+cssselect.egg-info/SOURCES.txt
+cssselect.egg-info/dependency_links.txt
+cssselect.egg-info/top_level.txt
+docs/conf.py
+docs/index.rst
\ No newline at end of file
diff --git a/cssselect.egg-info/dependency_links.txt b/cssselect.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/cssselect.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/cssselect.egg-info/top_level.txt b/cssselect.egg-info/top_level.txt
new file mode 100644
index 0000000..d2a154e
--- /dev/null
+++ b/cssselect.egg-info/top_level.txt
@@ -0,0 +1 @@
+cssselect
diff --git a/cssselect/__init__.py b/cssselect/__init__.py
index 871f1b2..ed330ac 100644
--- a/cssselect/__init__.py
+++ b/cssselect/__init__.py
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
"""
CSS Selectors based on XPath
============================
@@ -18,5 +18,5 @@ from cssselect.parser import (parse, Selector, FunctionalPseudoElement,
from cssselect.xpath import GenericTranslator, HTMLTranslator, ExpressionError
-VERSION = '0.9.1'
+VERSION = '0.9.2'
__version__ = VERSION
diff --git a/cssselect/parser.py b/cssselect/parser.py
index d71fdda..d155252 100644
--- a/cssselect/parser.py
+++ b/cssselect/parser.py
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
"""
cssselect.parser
================
diff --git a/cssselect/tests.py b/cssselect/tests.py
index a1fdc9e..567e3c5 100755
--- a/cssselect/tests.py
+++ b/cssselect/tests.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# coding: utf8
+# -*- coding: utf-8 -*-
"""
Tests for cssselect
===================
diff --git a/cssselect/xpath.py b/cssselect/xpath.py
index e5e74b9..b0913ab 100644
--- a/cssselect/xpath.py
+++ b/cssselect/xpath.py
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
"""
cssselect.xpath
===============
@@ -108,7 +108,7 @@ class GenericTranslator(object):
of element names and attribute names.
"""
-
+
####
#### HERE BE DRAGONS
####
@@ -117,7 +117,7 @@ class GenericTranslator(object):
#### Until is has recieved a lot more work and review,
#### I reserve the right to change this API in backward-incompatible ways
#### with any minor version of cssselect.
- #### See https://github.com/SimonSapin/cssselect/pull/22
+ #### See https://github.com/scrapy/cssselect/pull/22
#### -- Simon Sapin.
####
diff --git a/docs/index.rst b/docs/index.rst
index 4ac7401..fe473f7 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -139,7 +139,7 @@ and their signature. You can look at the `source code`_ to see how it works.
However, be aware that this API is not very stable yet. It might change
and break your sub-class.
-.. _source code: https://github.com/SimonSapin/cssselect/blob/master/cssselect/xpath.py
+.. _source code: https://github.com/scrapy/cssselect/blob/master/cssselect/xpath.py
Namespaces
diff --git a/setup.cfg b/setup.cfg
index ccddf11..0ab3578 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,10 +1,18 @@
[build_sphinx]
source-dir = docs
-build-dir = docs/_build
-#all_files = 1
+build-dir = docs/_build
-[upload_sphinx] # Sphinx-PyPI-upload
+[upload_sphinx]
upload-dir = docs/_build/html
[pytest]
-python_files=tests.py
+python_files = tests.py
+
+[bdist_wheel]
+universal = 1
+
+[egg_info]
+tag_build =
+tag_date = 0
+tag_svn_revision = 0
+
diff --git a/setup.py b/setup.py
index bd1e385..b4d0941 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
import re
import os.path
@@ -21,12 +21,12 @@ setup(
version=VERSION,
author='Ian Bicking',
author_email='ianb at colorstudy.com',
- maintainer='Simon Sapin',
- maintainer_email='simon.sapin at exyr.org',
+ maintainer='Paul Tremberth',
+ maintainer_email='paul.tremberth at gmail.com',
description=
'cssselect parses CSS3 Selectors and translates them to XPath 1.0',
long_description=README,
- url='http://packages.python.org/cssselect/',
+ url='https://pythonhosted.org/cssselect/',
license='BSD',
packages=['cssselect'],
classifiers=[
@@ -34,11 +34,13 @@ setup(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
],
**extra_kwargs
)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-cssselect.git
More information about the Python-modules-commits
mailing list