diff options
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/django-endless-pagination/Manifest b/dev-python/django-endless-pagination/Manifest new file mode 100644 index 0000000..4fc8ea7 --- /dev/null +++ b/dev-python/django-endless-pagination/Manifest @@ -0,0 +1 @@ +DIST django-endless-pagination-1.1.tar.gz 31499 SHA256 9b9ed6f93313ea1d6b3af650383fc4788b3151265e3841e41681e24e66abb72e SHA512 5526e565988e8af436936ffb949c826c20b6f3af4628e34a29f735a4e7fad97f0d953d53141b34dc268be185a25a2cd236b0b3a1e5946c52e8f6b8e6a0a4f9d7 WHIRLPOOL bfb569d657b4598a47d5cd1ba9ebdd1fd62b1310b65f53a026187b519cc8d70baa763bacef9e9f54e4eeee379cb06531c5c3ce396c15af102fd4615553c9ca72 diff --git a/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild b/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild new file mode 100644 index 0000000..a71747d --- /dev/null +++ b/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +#DISTUTILS_SRC_TEST="nosetests" +inherit distutils + +DESCRIPTION="Tools supporting ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination" +HOMEPAGE="http://code.google.com/p/django-endless-pagination/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +PYTHON_MODNAME="endless_pagination" + +DEPEND="dev-python/setuptools" +RDEPEND="${DEPEND} + doc? ( dev-python/sphinx )" + +src_compile() { + distutils_src_compile + use doc && emake -C doc html +} + +src_test() { + testing() { + pushd build-"${PYTHON_ABI}"/lib > /dev/null + PYTHONPATH=. "$(PYTHON)" -d "${S}"/tests/runtests.py + popd > /dev/null + } + python_execute_function testing +} + +src_install() { + distutils_src_install + use doc && dohtml -r doc/_build/html/ +} diff --git a/dev-python/django-endless-pagination/metadata.xml b/dev-python/django-endless-pagination/metadata.xml new file mode 100644 index 0000000..62940a8 --- /dev/null +++ b/dev-python/django-endless-pagination/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer><email>tampakrap@gentoo.org</email></maintainer> + <maintainer> + <email>johneed@hotmail.com,della5@iinet.com.au</email> + <name>Ian Delaney aka idella4 proxy maintainer</name> + </maintainer> + +</pkgmetadata> |