diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-06-28 06:17:34 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-06-28 06:17:34 +0000 |
commit | a356912d55cf6af661f18c4c8188714dc737f8af (patch) | |
tree | cae412d8ea4b27ec964653d2c5789f3db33518ff /dev-python/cssselect | |
parent | Remove old versions. (diff) | |
download | historical-a356912d55cf6af661f18c4c8188714dc737f8af.tar.gz historical-a356912d55cf6af661f18c4c8188714dc737f8af.tar.bz2 historical-a356912d55cf6af661f18c4c8188714dc737f8af.zip |
Bump
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'dev-python/cssselect')
-rw-r--r-- | dev-python/cssselect/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/cssselect/cssselect-0.7.1.ebuild | 47 |
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-python/cssselect/ChangeLog b/dev-python/cssselect/ChangeLog index 132cc4f5d37f..f8998e17a3b2 100644 --- a/dev-python/cssselect/ChangeLog +++ b/dev-python/cssselect/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/cssselect # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cssselect/ChangeLog,v 1.5 2012/06/27 17:30:56 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cssselect/ChangeLog,v 1.6 2012/06/28 06:17:34 patrick Exp $ + +*cssselect-0.7.1 (28 Jun 2012) + + 28 Jun 2012; Patrick Lauer <patrick@gentoo.org> +cssselect-0.7.1.ebuild: + Bump 27 Jun 2012; Markus Meier <maekke@gentoo.org> cssselect-0.6.1.ebuild: add ~arm, bug #416099 @@ -20,4 +25,3 @@ +metadata.xml: Initial import, ebuild written by me. It's new dependency for >=dev- python/pyquery-1.2 - diff --git a/dev-python/cssselect/cssselect-0.7.1.ebuild b/dev-python/cssselect/cssselect-0.7.1.ebuild new file mode 100644 index 000000000000..c8a330800b48 --- /dev/null +++ b/dev-python/cssselect/cssselect-0.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cssselect/cssselect-0.7.1.ebuild,v 1.1 2012/06/28 06:17:34 patrick Exp $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*" + +inherit distutils + +DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE="http://packages.python.org/cssselect/ http://pypi.python.org/pypi/cssselect" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~x86 ~x86-fbsd" +IUSE="doc test" + +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx ) + test? ( dev-python/lxml )" +RDEPEND="" + +DOCS="AUTHORS CHANGES README.rst" + +src_compile() { + distutils_src_compile + if use doc ; then + "$(PYTHON -f)" setup.py build_sphinx || die + fi +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" ${PN}/tests.py -v + } + python_execute_function testing +} + +src_install() { + distutils_src_install + if use doc ; then + dohtml -r docs/_build/html/ + fi +} |