diff options
author | Stanislav Ochotnicky <sochotnicky@redhat.com> | 2014-01-20 16:04:59 +0100 |
---|---|---|
committer | Stanislav Ochotnicky <sochotnicky@redhat.com> | 2014-01-20 16:04:59 +0100 |
commit | 8f776b731e04430cc544568bc554d141e558e8d8 (patch) | |
tree | 34979fba1039dd48c57b36a55d261c465dc30a86 /dev-python | |
parent | Add dev-python/dogpile-core (diff) | |
download | sochotnicky-8f776b731e04430cc544568bc554d141e558e8d8.tar.gz sochotnicky-8f776b731e04430cc544568bc554d141e558e8d8.tar.bz2 sochotnicky-8f776b731e04430cc544568bc554d141e558e8d8.zip |
Add dev-python/dogpile-cache
Package-Manager: portage-2.2.7
Manifest-Sign-Key: 7B087241
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/dogpile-cache/ChangeLog | 13 | ||||
-rw-r--r-- | dev-python/dogpile-cache/Manifest | 24 | ||||
-rw-r--r-- | dev-python/dogpile-cache/dogpile-cache-0.5.1.ebuild | 34 | ||||
-rw-r--r-- | dev-python/dogpile-cache/metadata.xml | 21 |
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/dogpile-cache/ChangeLog b/dev-python/dogpile-cache/ChangeLog new file mode 100644 index 0000000..c7322a1 --- /dev/null +++ b/dev-python/dogpile-cache/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-python/dogpile-cache +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 18 Oct 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org> + dogpile-cache-0.5.1.ebuild: + [dev-python/dogpile-cache] Fix license to BSD + +*dogpile-cache-0.5.1 (18 Oct 2013) + + 18 Oct 2013; Stanislav Ochotnicky <sochotnicky@gentoo.org> + +dogpile-cache-0.5.1.ebuild, +metadata.xml: + Initial ebuild for dogpile-cache 0.5.1 diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest new file mode 100644 index 0000000..5a1abb5 --- /dev/null +++ b/dev-python/dogpile-cache/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST dogpile.cache-0.5.1.tar.gz 169450 SHA256 1f3165222bc23418cb9d3f1a2c9d554a091f412e5bc871ea0c48a19b576d06c0 SHA512 e9b9b8b7caf269cfecc8d333bd04714d908860e1e54720ce3329fae7be14995f8de6f1225e0cf6a782d5ef53ddd3482acc36a3440eb772e03f3d5029faeecc5c WHIRLPOOL ba14fc61604c78af038b6520079bbca1a46a889abebf69305f5722142cd47a45da966d8db64ec24cc7148363a22b109d89e4200087cc235a0721aea94f5c6a2c +EBUILD dogpile-cache-0.5.1.ebuild 728 SHA256 1b22656f1a8684ba2d59fda4c01badc262aee3219fa8508c9eaa568340918a27 SHA512 005b03b004c79ec58cefb53f288608d29a58ca909046566415c8985efd329ca08f5548c474709d7c3a4b446097467d1bfaebfc1e64610ec9e42d9f60d2cdf010 WHIRLPOOL 2d09802225289f4d3e811f6a5992cfd529636cbfff5ff7fee548c7e8ae20ee43dcea08ad039b9c6095c81181be39436a64f4062736b1bc47aa073a69991c0b7c +MISC ChangeLog 449 SHA256 6a585f223aa50f13e7a54b74d9e342a3787f65b420066a385b586c9e18c87b1d SHA512 dcd839b66dcad5d985036c4e43e2ebf6fe2373bf0802e5ae52b4708239b05a3ae12e7ecd73ed52f21be62823aa185f73eb1b434a0a0de327ad58c79c5c3f2df4 WHIRLPOOL 66bdc1812564f6df225ffd6ce0757775547c769db58cb90b1577611ded7a5093bf83511b5e19c3fc9759ec0412ee81fcc0dd1948305549794466af6be27bf1e1 +MISC metadata.xml 951 SHA256 6e2515663e59e6429a48e63a3d184ef4457e6ce8a556e06cba572488da6d81eb SHA512 afeb777ea1fcdd0b3176b875cf48369cc9a5b7b3578a07cd2a878ff6420b2489fd486babd049c54ff1160e52435f5f112cd05f5284ae8ce15c208cc5631c1cca WHIRLPOOL 533a8ef536d01eb6ea1e249b15826271de6413eeb8480e047072b9ce83539412d7c724c8db6ed224d36fd9c3c5d0b6b59046113706965356827e8a5efb1a3fe4 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAEBCAAGBQJSYSBQAAoJELy9dS57CHJBCOoQAJh77Wvy81gLfoPbbtkv8KFD +xSf1jdH+gpD0B18JtPGee6v+qKj63TV3cKuULgXF/PtUiHiMmKN85TvBc/7ZgzKQ +AfQCAQWaQJY5VVygszcq6/tUR9ZVk2JkqAM96FUZu/QFiAC1IYEf5GOIedF5K6w2 +dXxZadTGayhtcTSeGPi91702kq2Go6czBlAt96dFF+Mq/do3OR4Xt7Jo+h6POFRC +9iKX7h0zcdEX9jdLNtYrKZnE2+hIqqAueFwaJ2NQEwArg0epEo5RXY2JAO0KQbyt +ObZS+pQP4sqjTE1aI7wpEGlhuKbnAJCLb01iNnfnrb7Ktbq08gLl5aTBrkRqukxj +Tpu999E8yJbV6BjPWqrRZIuL0NZwOi0aXokkSYlUzSbP7XNWDFrJcbQdTHkKm/iQ +0ZI4vtgHMLwwsLRf2XTQbhuIEGdWp1N4M86mRRoYXvs8Vdb5+lqDG+D7M5K7kdau +kAAL7oyV/Xo1WIDxzKOwjkX9TGK/ldbGPqHW0tCCJs+fsiyFiwa4O8+ABc6TIK9F +5RZk+cIVbIpvvkE1Y5D6dNUEjJyVgwdMZJlM8MYff8VSZ4/TWihgeiEKeP+FGl31 +oSppMaAmQ/KwppjnKqt1xw3vwLNtl/B2UDYnxoOMoQvHmJYG+3/J/cMz7LEEeoLz +UDwQrWlS9qzYzD9NdrYS +=WoUR +-----END PGP SIGNATURE----- diff --git a/dev-python/dogpile-cache/dogpile-cache-0.5.1.ebuild b/dev-python/dogpile-cache/dogpile-cache-0.5.1.ebuild new file mode 100644 index 0000000..be95254 --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-0.5.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +PYTHON_COMPAT=( python2_{6,7} python3_{1,2,3} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A caching API built around the concept of a dogpile lock" +HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.cache" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND=" + dev-python/dogpile-core[$PYTHON_USEDEP] + test? ( dev-python/nose[$PYTHON_USEDEP] + dev-python/mock[$PYTHON_USEDEP] + )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + nosetests tests || die "Testuite failed with ${EPYTHON}" +} diff --git a/dev-python/dogpile-cache/metadata.xml b/dev-python/dogpile-cache/metadata.xml new file mode 100644 index 0000000..d136672 --- /dev/null +++ b/dev-python/dogpile-cache/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>sochotnicky@gentoo.org</email> + <name>Stanislav Ochotnicky</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. + +dogpile.cache builds on the dogpile.core locking system, which implements the +idea of "allow one creator to write while others read" in the abstract. +Overall, dogpile.cache is intended as a replacement to the Beaker caching +system, the internals of which are written by the same author. All the ideas of +Beaker which "work" are re-implemented in dogpile.cache in a more efficient and +succinct manner, and all the cruft (Beaker's internals were first written in +2005) relegated to the trash heap. + </longdescription> +</pkgmetadata> |