diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/django-endless-pagination | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/django-endless-pagination')
3 files changed, 63 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..31cd26d7262f --- /dev/null +++ b/dev-python/django-endless-pagination/Manifest @@ -0,0 +1,3 @@ +DIST django-endless-pagination-2.0.tar.gz 61514 BLAKE2B aba5ce2959825fd0fab6fc18521555eede74c1686f9f03a0c40d0c97bc84c726b70ddee0fce4ffec547ce118624d9d6637947650fdc64a8e84eef976a1b445fa SHA512 d413c3e4f46c73c47e98eeb073bdbedaea3c03931c7147190594bc170489ae09325b43edae9c1eabe56f606b62bf93777f7444b0b174ff6303a5e30453578ac3 +EBUILD django-endless-pagination-2.0.ebuild 1287 BLAKE2B aa7694ad57967226bea9d59a007cec706b3df55cd9b713183f6abf2c26b0efe7e69e2e0bf73200629fe2effcc8f98d5a29a7e18d28704f9ba98a443de964a1d4 SHA512 c634c9f790a5cd3493d6c2c23ca2b2e47bcd5561816990ed34ea939ae15a22732c2ab276370762e64b00888a1ac5484349ad9934e6aa4340ecca1e4d16524b7b +MISC metadata.xml 349 BLAKE2B 6daab4ccc506a54a891a7a7121be63ae3d71ef6d8a9401d8ac67e57bb2aa6b611d2b7ff41ca850f23392f72e16c1bfc9e46a96b1d61f30613a2864cb97bc4b42 SHA512 5aebc133700f4f4122b98ab3f547df221ab1c60fd0d78f88e52312dbef5c1b33783a5eee50b12e4c77ab8bfc74ea97218548393fb851df589b86183fb9e0ae02 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> |