summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2012-11-18 12:04:34 +0000
committerIan Delaney <idella4@gentoo.org>2012-11-18 12:04:34 +0000
commit9e9db8e6e3c844041c5f7fe219f1903de20dce55 (patch)
tree00e50ec2ab4121d44a019732adfa5f68f3a8a010 /dev-python
parentnew version of the script (diff)
downloadgentoo-2-9e9db8e6e3c844041c5f7fe219f1903de20dce55.tar.gz
gentoo-2-9e9db8e6e3c844041c5f7fe219f1903de20dce55.tar.bz2
gentoo-2-9e9db8e6e3c844041c5f7fe219f1903de20dce55.zip
New package, requested by tampakrap, initial written by me
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-endless-pagination/ChangeLog9
-rw-r--r--dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild44
-rw-r--r--dev-python/django-endless-pagination/metadata.xml9
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/django-endless-pagination/ChangeLog b/dev-python/django-endless-pagination/ChangeLog
new file mode 100644
index 000000000000..f33d6baffd98
--- /dev/null
+++ b/dev-python/django-endless-pagination/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/django-endless-pagination
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/ChangeLog,v 1.1 2012/11/18 12:04:34 idella4 Exp $
+
+*django-endless-pagination-1.1 (19 Nov 2012)
+
+ 19 Nov 2012; Ian Delaney <idella4@gentoo.org>
+ +django-endless-pagination-1.1.ebuild, +metadata.xml:
+ New package, requested by tampakrap, initial written by me
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 000000000000..598b48bfda07
--- /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: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild,v 1.1 2012/11/18 12:04:34 idella4 Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_TESTS_RESTRICTED_ABIS="2.7-pypy-1.*"
+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 000000000000..99e88438ac30
--- /dev/null
+++ b/dev-python/django-endless-pagination/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>idella4@gentoo.org</email>
+ <name>Ian Delaney</name>
+ </maintainer>
+</pkgmetadata>