summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/tinycss/ChangeLog12
-rw-r--r--dev-python/tinycss/tinycss-0.2-r1.ebuild35
2 files changed, 44 insertions, 3 deletions
diff --git a/dev-python/tinycss/ChangeLog b/dev-python/tinycss/ChangeLog
index e2361c476497..1eef0f6f4cba 100644
--- a/dev-python/tinycss/ChangeLog
+++ b/dev-python/tinycss/ChangeLog
@@ -1,9 +1,15 @@
# ChangeLog for dev-python/tinycss
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/tinycss/ChangeLog,v 1.1 2012/06/07 16:52:40 ssuominen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tinycss/ChangeLog,v 1.2 2013/01/16 17:31:30 idella4 Exp $
+
+*tinycss-0.2-r1 (16 Jan 2013)
+
+ 16 Jan 2013; Ian Delaney <idella4@gentoo.org> +tinycss-0.2-r1.ebuild:
+ revbump; added pypy support, test suite uncovered and addressed yielding a
+ single test fail, ref Bug 452580, deps render unsuitable for migration to -r1
+ eclass
*tinycss-0.2 (07 Jun 2012)
07 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +tinycss-0.2.ebuild:
Initial commit. Required by media-gfx/cairosvg.
-
diff --git a/dev-python/tinycss/tinycss-0.2-r1.ebuild b/dev-python/tinycss/tinycss-0.2-r1.ebuild
new file mode 100644
index 000000000000..e66fea44dcc4
--- /dev/null
+++ b/dev-python/tinycss/tinycss-0.2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tinycss/tinycss-0.2-r1.ebuild,v 1.1 2013/01/16 17:31:30 idella4 Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7 3:3.2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="2.5 2.6 3.1 *-jython"
+DISTUTILS_SRC_TEST="py.test"
+inherit distutils
+
+DESCRIPTION="A complete yet simple CSS parser for Python"
+HOMEPAGE="http://github.com/SimonSapin/tinycss/ http://packages.python.org/tinycss/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/lxml"
+DEPEND="${RDEPEND}"
+
+DOCS="CHANGES README.rst"
+
+src_test() {
+ export TINYCSS_SKIP_SPEEDUPS_TESTS=1
+ testing() {
+ for test in ${PN}/tests/test_*.py; do
+ PYTHONPATH=. py.test $test
+ done
+ }
+ python_execute_function testing
+}