diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-05-31 04:27:29 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-05-31 04:27:29 +0000 |
commit | 0765551adae97b0e5baf2d61bff11228dde65dc7 (patch) | |
tree | 2b62a14d067f0c9a43c5d3eaabdbb17e9e203b8b /dev-python/django-endless-pagination | |
parent | New package. (diff) | |
download | gentoo-2-0765551adae97b0e5baf2d61bff11228dde65dc7.tar.gz gentoo-2-0765551adae97b0e5baf2d61bff11228dde65dc7.tar.bz2 gentoo-2-0765551adae97b0e5baf2d61bff11228dde65dc7.zip |
Version bump. Make python_test do something useful.
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/django-endless-pagination')
-rw-r--r-- | dev-python/django-endless-pagination/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild | 50 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/django-endless-pagination/ChangeLog b/dev-python/django-endless-pagination/ChangeLog index 2b015973b239..eaf0c6dc8bd8 100644 --- a/dev-python/django-endless-pagination/ChangeLog +++ b/dev-python/django-endless-pagination/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/django-endless-pagination # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/ChangeLog,v 1.3 2013/05/21 15:51:11 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/ChangeLog,v 1.4 2013/05/31 04:27:29 floppym Exp $ + +*django-endless-pagination-2.0 (31 May 2013) + + 31 May 2013; Mike Gilbert <floppym@gentoo.org> + +django-endless-pagination-2.0.ebuild: + Version bump. Make python_test do something useful. *django-endless-pagination-1.1-r1 (21 May 2013) diff --git a/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild b/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild new file mode 100644 index 000000000000..171c7003db49 --- /dev/null +++ b/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild,v 1.1 2013/05/31 04:27:29 floppym Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Tools supporting ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination" +HOMEPAGE="https://github.com/frankban/django-endless-pagination" +SRC_URI="https://github.com/frankban/django-endless-pagination/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-python/django-1.3[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/django-nose[${PYTHON_USEDEP}] + dev-python/ipdb + dev-python/nose[${PYTHON_USEDEP}] + dev-python/selenium[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/xvfbwrapper[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + unset PYTHONPATH + "${PYTHON}" tests/manage.py test || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( "${S}"/doc/_build/html/. ) + + #rm all OSX fork files, Bug #450842 + pushd "${ED}" > /dev/null + rm -f $(find . -name "._*") + distutils-r1_python_install_all +} |