diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/dogpile-cache | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/dogpile-cache')
| -rw-r--r-- | dev-python/dogpile-cache/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild | 31 | ||||
| -rw-r--r-- | dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild | 30 | ||||
| -rw-r--r-- | dev-python/dogpile-cache/metadata.xml | 22 |
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest new file mode 100644 index 000000000000..d99d9b80966c --- /dev/null +++ b/dev-python/dogpile-cache/Manifest @@ -0,0 +1,2 @@ +DIST dogpile.cache-0.7.1.tar.gz 326127 BLAKE2B 358391033d1d22b2711052f1aa3003c0c5f2da42b33b3f4fbb2d582418b0b42695db5df638dabcb9ba81ba414d142ac7f52a6c80ea645f5fcba12ca21122a495 SHA512 39c0a1d3d5027bc61cc69eda46c846c72d09892b2de0ea2e9545b1f710911dce8726b4ee4a0daef0d3c409a16733920d437f6e833a5b3f55ccc80267bb0da39c +DIST dogpile.cache-0.9.1.tar.gz 329015 BLAKE2B 23a33ccf024153e39bdccebefc33c866990733432abd2bdd715a0f180f0059a2ff8315024d59d3ad9c79a01561fda3a802a867d359961d7655bdf790556c7a2f SHA512 7d84325dd7ec2d85027472f07cddd51f495b75dc9dbbcbf26bad7aaabfee8c2da99e0c247851282b228528a87e54d98e04d8451a3ca3a571e84a4a2bb33e72f2 diff --git a/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild new file mode 100644 index 000000000000..5c7a7cc3fbec --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-0.7.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value." +HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.cache" +SRC_URI="mirror://pypi/${PN:0:1}/dogpile.cache/dogpile.cache-${PV}.tar.gz" +S="${WORKDIR}/dogpile.cache-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] )" + +# This time half the doc files are missing; Do you want them? toss a coin + +python_test() { + "${EPYTHON}" ./setup.py test || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild new file mode 100644 index 000000000000..2f4d32066ff1 --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-0.9.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) + +inherit distutils-r1 + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value." +HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.cache" +SRC_URI="mirror://pypi/${PN:0:1}/dogpile.cache/dogpile.cache-${PV}.tar.gz" +S="${WORKDIR}/dogpile.cache-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/dogpile-cache/metadata.xml b/dev-python/dogpile-cache/metadata.xml new file mode 100644 index 000000000000..02f31b91893c --- /dev/null +++ b/dev-python/dogpile-cache/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <longdescription lang="en"> + A caching API built around the concept of a "dogpile lock", which allows + continued access to an expiring data value while + a single thread generates a new value. + </longdescription> + <upstream> + <remote-id type="pypi">dogpile.cache</remote-id> + <remote-id type="bitbucket">zzzeek/dogpile.cache</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
