diff options
Diffstat (limited to 'dev-python/django-endless-pagination')
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/django-endless-pagination/Manifest b/dev-python/django-endless-pagination/Manifest new file mode 100644 index 000000000000..3dff84e2a763 --- /dev/null +++ b/dev-python/django-endless-pagination/Manifest @@ -0,0 +1,5 @@ +DIST django-endless-pagination-2.0.tar.gz 61514 SHA256 a719f9d4e4fcd312774dcc3f260e85e9f5a4ad9a21c96d243b7cc048c3329c85 SHA512 d413c3e4f46c73c47e98eeb073bdbedaea3c03931c7147190594bc170489ae09325b43edae9c1eabe56f606b62bf93777f7444b0b174ff6303a5e30453578ac3 WHIRLPOOL 65929e5500e954ec9f8eaafc1c3519f2623148c1949b6ed39b00d172a3c4470e106e9fcea10925c9f21a254bf50be90e2c48281283e7235d00ed3e2bab0c7bfd +EBUILD django-endless-pagination-2.0.ebuild 1287 SHA256 bf5957d85f79f150a566ce9bc299a99e4e3fa21a52a9565fff8cfedd816629f9 SHA512 c634c9f790a5cd3493d6c2c23ca2b2e47bcd5561816990ed34ea939ae15a22732c2ab276370762e64b00888a1ac5484349ad9934e6aa4340ecca1e4d16524b7b WHIRLPOOL 492ae2006a0bd28dfce7dc315f7098e73270ce15aa9f9ee7dfe1e9849d3241c7905df1afad6e19103ad940ff961af8aff6ce2e1d96090cc91d8b552b94b74f34 +MISC ChangeLog 2603 SHA256 20ccdc13967efa909c8a9630e106198cfd5d2fffa4d34441aefa9c5df29e21d5 SHA512 3704f4c65c46e0c2e3eb0f128f812672593ede9a95f35ce1bff42813a3df0db9911fb7ae124de52f69ace054eafe66b0f3a0a36cab7a35678b63fd80443e9f7c WHIRLPOOL a1c1dd2d2a15d931b168dd74f75adcb3b76931e75c0b45dd56377f2bdc3e562bf7dd8ea58d3b5507a896ac75f23c51e2a3e8850c25a89f15d864e8d4d0810d11 +MISC ChangeLog-2015 1641 SHA256 ac61bdbb60a259e793ea0c7bf81cc4b96331cb4bfd114b9fed98d000284f5b90 SHA512 e9ff725fb0d7040f199341a7559dff1646b9f9c7f5b9eedda4b011e437fa54ac445c03eae390665e1d5c551f8940bcaea5dbb3750f45a35f2129ece8a91674b7 WHIRLPOOL a218a07332e2aef42bc585462cc4a197e7cdfb4dd020c756459f13961551ed284f2d19dac2c2dedf1df13aec43ba490de14e8bfef6b0cc0bf55ccb87892a2692 +MISC metadata.xml 349 SHA256 6d51a99509b1a1788f38580aa7a7cb29e6e7341bc206154c62bcbf508a025116 SHA512 5aebc133700f4f4122b98ab3f547df221ab1c60fd0d78f88e52312dbef5c1b33783a5eee50b12e4c77ab8bfc74ea97218548393fb851df589b86183fb9e0ae02 WHIRLPOOL 6aa4d24e834d5d051876255e02692a3e7170de3696dfcc0f2a587d6bb303f7380e4114a6f20672fcceea506f04349c462cb060076000ff8508a5f2f89c4945a8 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..6e68885b9ba4 --- /dev/null +++ b/dev-python/django-endless-pagination/django-endless-pagination-2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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[${PYTHON_USEDEP}] + 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 +} diff --git a/dev-python/django-endless-pagination/metadata.xml b/dev-python/django-endless-pagination/metadata.xml new file mode 100644 index 000000000000..8ad15e74927e --- /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> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">frankban/django-endless-pagination</remote-id> + </upstream> +</pkgmetadata> |