summaryrefslogtreecommitdiff
path: root/dev-python/cached-property
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/cached-property
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/cached-property')
-rw-r--r--dev-python/cached-property/Manifest6
-rw-r--r--dev-python/cached-property/cached-property-1.3.1.ebuild32
-rw-r--r--dev-python/cached-property/cached-property-1.5.1.ebuild26
-rw-r--r--dev-python/cached-property/metadata.xml7
4 files changed, 13 insertions, 58 deletions
diff --git a/dev-python/cached-property/Manifest b/dev-python/cached-property/Manifest
index 7b2191b94b28..fa2e315e1e10 100644
--- a/dev-python/cached-property/Manifest
+++ b/dev-python/cached-property/Manifest
@@ -1,5 +1,3 @@
-DIST cached-property-1.3.1.tar.gz 9648 BLAKE2B 154208108cfbec914519f2a08ecc6ad025c284726d65a001eae84701b1eb8479e127473c124b08d3b0d969f59798f9dcef473cd8209c248b1d5b016a0bc8dac6 SHA512 3349751d442ca6e7d4e792c8b076735d5308d68244af9c03044f3d72d619a5c3d7d5dbef434caa954db4b983245bfe646d4a25c99aec39f32d99751edd9e233f
DIST cached-property-1.5.1.tar.gz 12791 BLAKE2B dcc75564d3b1dbb2f34ea433f4a477b2fe0454047f1fb4825cc6350458bf09509cf970b308744d79eb3b17f96c04c606ad36327c7e24f0b13f412880d9ad2ab7 SHA512 61bbedb48336af7c0b465421eb4d3b6b48155cfe4fd6270ff49caefe0d80e40b50c4801a68a5564931d316e374b69112ad14f72687a015ce81aaeade6fcf9ce3
-EBUILD cached-property-1.3.1.ebuild 635 BLAKE2B 1390784b854ac7112b54ea64c109deb5060bacce161b69a19c16afb9c97d5534f412e1058846ef211b1208cb91f497e110f1bef775f5c79ce5f1319880bff544 SHA512 2cb420fe05e82f39de442f4836bb2d72a4ad8a31eaf7b17fd1e6409457becb80e4451916e0d27566101ac67b9dbcdb0843c1626de0e11ab8f499c0894e1d5399
-EBUILD cached-property-1.5.1.ebuild 931 BLAKE2B 75a53f8b22f62a5d64d6567e2e86ed30ba130602f12742f527e0c244cd1091202a05f6c55cc1852ad466b008daefca7acac51d4753316fb1dbdf40f5a6211d1e SHA512 9b394435aa04196b4fe5f0e3ad62118f8fd6067944b6e44f92d7309cab67429e0d1fd68fe21cd25e665e1af63c2227e48fc9dc2457a9dd1a18ce70004c15f50e
-MISC metadata.xml 489 BLAKE2B 36f59b8764462acd2920868cc5b5c84e27cf2e86b1356a76a816ec60a5f69bda780a62a811aefe06639827bdc3257128cded2d6c2e53e8c4516af9d1b9769879 SHA512 cecc6d43fcd54d1a949a60380d91a313d0464e0858be0fd544a76232f04961eca2530ebddaf6daabc5f050bdfe12092c99028c4a9cd33a14f23c0b43befe7def
+EBUILD cached-property-1.5.1.ebuild 606 BLAKE2B b8449f4a1ba07484210bde520bc1c0e25c4726d9b77299df358b5f1199ee74b220aee2fa6a6c4acb3e541bac18678c89c0feaabd345f7c8810b875f02d80caed SHA512 2c95c66556fb71c1fe35334a4b22547b5b00c9091510ff6067c4ca6bbb4fa41fbda944057fe2cb9cb45b9c73fc5c9623e5c305179d539e6546c75a020000cbb8
+MISC metadata.xml 486 BLAKE2B e012a6b1d4e8ab99e6f89b18a31d548b5e26887dcf7985cf5a6c500fe4a751c7e2f4b0a055e8afa9ba09ab20af3cdd206c902521f878872e920858a3b9f649cc SHA512 8c3e98d3d89a58505c4cf4a1cb15559c43be2a184bdd4cd696b023f58001cb65064ddb938ea792c51fd29808512bbfb30580ff2ac9509aab92e0c53c4de08afc
diff --git a/dev-python/cached-property/cached-property-1.3.1.ebuild b/dev-python/cached-property/cached-property-1.3.1.ebuild
deleted file mode 100644
index 48b831e191c7..000000000000
--- a/dev-python/cached-property/cached-property-1.3.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_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"
-RESTRICT="!test? ( 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() {
- py.test || die
-}
diff --git a/dev-python/cached-property/cached-property-1.5.1.ebuild b/dev-python/cached-property/cached-property-1.5.1.ebuild
index 879fa766f1b0..01da4c80d703 100644
--- a/dev-python/cached-property/cached-property-1.5.1.ebuild
+++ b/dev-python/cached-property/cached-property-1.5.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
inherit distutils-r1
@@ -13,28 +13,16 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-DEPEND="test? (
- dev-python/pytest
- dev-python/freezegun
- )"
+DEPEND="
+ test? (
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ )"
RDEPEND=""
+distutils_enable_tests pytest
+
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
-}
diff --git a/dev-python/cached-property/metadata.xml b/dev-python/cached-property/metadata.xml
index 39f7deddac0c..d54a4c76bae3 100644
--- a/dev-python/cached-property/metadata.xml
+++ b/dev-python/cached-property/metadata.xml
@@ -5,9 +5,10 @@
<email>cedk@gentoo.org</email>
<name>Cédric Krier</name>
</maintainer>
- <longdescription lang="en">
- A cached-property for decorating methods in classes.
- </longdescription>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">cached-property</remote-id>
<remote-id type="github">pydanny/cached-property</remote-id>