summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2018-06-03 12:14:47 +0200
committerCédric Krier <cedk@gentoo.org>2018-06-03 12:16:39 +0200
commit0460394e97198145934861b8f19ee93a0e948974 (patch)
tree2d3c6ce3fc0edddc2492caa7ec0765e1395a2050
parentnet-vpn/openvpn: stable 2.4.6 for ia64, bug #654028 (diff)
downloadgentoo-0460394e97198145934861b8f19ee93a0e948974.tar.gz
gentoo-0460394e97198145934861b8f19ee93a0e948974.tar.bz2
gentoo-0460394e97198145934861b8f19ee93a0e948974.zip
dev-python/cached-property: Version bumps
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-python/cached-property/Manifest1
-rw-r--r--dev-python/cached-property/cached-property-1.4.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/cached-property/Manifest b/dev-python/cached-property/Manifest
index 3852ce963c5..fdddda6352f 100644
--- a/dev-python/cached-property/Manifest
+++ b/dev-python/cached-property/Manifest
@@ -2,3 +2,4 @@ DIST cached-property-0.1.5.tar.gz 7434 BLAKE2B 2bd21004e896335044a3d1c08840a781c
DIST cached-property-1.0.0.tar.gz 8210 BLAKE2B 56dd60787b0ba0b5398142d755dd62e49935d06a6523bfa221a8d022c60838604035862e454182e093289fcc366e2f30e321a585fb07bea7a4c55b619d1d7bd9 SHA512 771615418853d3a2a24567fa3f6dc931a02d0013abd38c26a2822cc0ab3228972e7f03e51a69478defc617491f81b76040d34a0e6683719b09b485c85196d948
DIST cached-property-1.2.0.tar.gz 9162 BLAKE2B f064573001745872b9d0a7e6bfadfc203c36328dfd1a85ba310c1da517cb45fd166c49cb809a726d663659318a3c7120bca017a6f674aef5f98ec7630429bfe0 SHA512 0d05bad187d30b4354d8fa93d181d753c6e27e43a84891bd3bcc1c1449fe6d57d7fc1eecdbdc097f8c25e4cfa331811db5a6e23f77891848edc2817162259cd6
DIST cached-property-1.3.1.tar.gz 9648 BLAKE2B 154208108cfbec914519f2a08ecc6ad025c284726d65a001eae84701b1eb8479e127473c124b08d3b0d969f59798f9dcef473cd8209c248b1d5b016a0bc8dac6 SHA512 3349751d442ca6e7d4e792c8b076735d5308d68244af9c03044f3d72d619a5c3d7d5dbef434caa954db4b983245bfe646d4a25c99aec39f32d99751edd9e233f
+DIST cached-property-1.4.2.tar.gz 11201 BLAKE2B 1fba572e8e4e06744b230994e19a93f9004c0e2584549af2b001cf780222cbd2196b09432301f1ef8b4c4ccc93f8dedf53113c541b1189bc005c79fa9d7dadc0 SHA512 27ce49c8b71f0337e34c36ef5a45cae273a62b42c8f1b690c2c4d32d9bdf7f532a12787c99257c956ac7ff15d2e7f16868e4cebdf1417ebca493e1037c1a612f
diff --git a/dev-python/cached-property/cached-property-1.4.2.ebuild b/dev-python/cached-property/cached-property-1.4.2.ebuild
new file mode 100644
index 00000000000..3b54319a6d3
--- /dev/null
+++ b/dev-python/cached-property/cached-property-1.4.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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 ~x86"
+IUSE="test"
+
+DEPEND="test? (
+ dev-python/pytest
+ dev-python/freezegun
+ )"
+RDEPEND=""
+
+src_install() {
+ distutils-r1_src_install
+ dodoc README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst
+}
+
+python_test() {
+ local ignore=""
+ if [[ ${EPYTHON} == python2.7 ]]; then
+ ignore="--ignore=tests/test_coroutine_cached_property.py \
+ --ignore=tests/test_async_cached_property.py"
+ fi
+ if [[ ${EPYTHON} == python3.4 ]]; then
+ ignore="--ignore=test_async_cached_property.py"
+ fi
+ py.test -v ${ignore} tests/ || die
+}