summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/cached-property/ChangeLog10
-rw-r--r--dev-python/cached-property/cached-property-0.1.5.ebuild29
-rw-r--r--dev-python/cached-property/metadata.xml11
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/cached-property/ChangeLog b/dev-python/cached-property/ChangeLog
new file mode 100644
index 000000000000..b5d7d390bafe
--- /dev/null
+++ b/dev-python/cached-property/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/cached-property
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cached-property/ChangeLog,v 1.1 2015/02/05 17:40:43 cedk Exp $
+
+*cached-property-0.1.5 (05 Feb 2015)
+
+ 05 Feb 2015; Cédric Krier <cedk@gentoo.org> +cached-property-0.1.5.ebuild,
+ +metadata.xml:
+ New ebuild for cached-property
+
diff --git a/dev-python/cached-property/cached-property-0.1.5.ebuild b/dev-python/cached-property/cached-property-0.1.5.ebuild
new file mode 100644
index 000000000000..f8d7ac2f74de
--- /dev/null
+++ b/dev-python/cached-property/cached-property-0.1.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cached-property/cached-property-0.1.5.ebuild,v 1.1 2015/02/05 17:40:43 cedk Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="A cached-property for decorating methods in classes"
+HOMEPAGE="https://github.com/pydanny/cached-property"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="test? ( dev-python/pytest )"
+RDEPEND=""
+
+src_install() {
+ distutils-r1_src_install
+ dodoc README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst
+}
+
+python_test() {
+ py.test || die
+}
diff --git a/dev-python/cached-property/metadata.xml b/dev-python/cached-property/metadata.xml
new file mode 100644
index 000000000000..e9c2ce06f5a4
--- /dev/null
+++ b/dev-python/cached-property/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>
+ <email>cedk@gentoo.org</email>
+ <name>Cédric Krier</name>
+ </maintainer>
+ <longdescription lang="en">
+ A cached-property for decorating methods in classes.
+ </longdescription>
+</pkgmetadata>