From 4602dbefba3993528916ac814ad906d2a28f6b1c Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Mon, 20 Jan 2014 16:03:38 +0100 Subject: Add dev-python/dogpile-core Package-Manager: portage-2.2.7 Manifest-Sign-Key: 7B087241 --- dev-python/dogpile-core/ChangeLog | 13 ++++++++++ dev-python/dogpile-core/Manifest | 24 ++++++++++++++++++ dev-python/dogpile-core/dogpile-core-0.4.1.ebuild | 30 +++++++++++++++++++++++ dev-python/dogpile-core/metadata.xml | 16 ++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 dev-python/dogpile-core/ChangeLog create mode 100644 dev-python/dogpile-core/Manifest create mode 100644 dev-python/dogpile-core/dogpile-core-0.4.1.ebuild create mode 100644 dev-python/dogpile-core/metadata.xml diff --git a/dev-python/dogpile-core/ChangeLog b/dev-python/dogpile-core/ChangeLog new file mode 100644 index 0000000..1bae099 --- /dev/null +++ b/dev-python/dogpile-core/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-python/dogpile-core +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 18 Oct 2013; Stanislav Ochotnicky + dogpile-core-0.4.1.ebuild: + [dev-python/dogpile-core] Fix license to BSD + +*dogpile-core-0.4.1 (18 Oct 2013) + + 18 Oct 2013; Stanislav Ochotnicky + +dogpile-core-0.4.1.ebuild, +metadata.xml: + Initial ebuild for dogpile-core 0.4.1 diff --git a/dev-python/dogpile-core/Manifest b/dev-python/dogpile-core/Manifest new file mode 100644 index 0000000..f331449 --- /dev/null +++ b/dev-python/dogpile-core/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST dogpile.core-0.4.1.tar.gz 99534 SHA256 af2555702811d56846778d39451cf822b04b3f13347080c121a4977fefdfcbff SHA512 f4c37297788677afe6ab17ba5aa928f9770b0edbd1a675cd4ad512ef0c15cf1e2d765d9b7a9fe3638f0a646e0ad51d54c9b4ded33611022744226bfde1aa9896 WHIRLPOOL 09677b564eee99202e66bba97b9e8db36a75aa1c3e86616a043db8b6bff318031c2afe72f9c243e19cc106e546aa9cc422820aeee505a7f5627f64c808af1eec +EBUILD dogpile-core-0.4.1.ebuild 654 SHA256 5b08d588cdc20a6e110e4080b3235a4bd94479bf74ae06fe427fb06f28e42e55 SHA512 cf4cf854ba5d10490760935940b54fb52c0c7b45d8ee223cf56f9e1c26bb865ff9bce7e6495f8993df40b9cac9e0ec816122d8304c614456dc5073046a7af5b0 WHIRLPOOL a55277306069056d22c0acec1906be9cf9ee20321bb208d7d774ed3003e4b4063db4b5149ff8adf8235ba1cdb79398750cdf80d5a87d3d0276f3f98ba71e4ab2 +MISC ChangeLog 443 SHA256 929d4a98b143eba4a808a55a94d60f228ba577971a671509f22e6edff0e44122 SHA512 4029f8154deb0bea9259939ed0573a7a407e345c8dfc60007cd79bf9b1ba5b184e9de6ccab8118f3447590b5b3711b9a7c6ee2f68650050d21fac5c0ff53dfdb WHIRLPOOL c520733b021946f4ed72c5778b87c72167f8ca821049c970d4badc623692f1436a4e6c585a82120225b3cdeae4dc39e28e03ea8db0cf509f500123f9abc767de +MISC metadata.xml 565 SHA256 356db79a37414c0f51a4f19c2966d668e14a06ef91ed5a652b2dde5eaa1609e2 SHA512 44697138c65b0152fd73a5a411de65739e17bc0f9b27eaf54e3ccc4b069dc2e16e3ddaf4f5787ced66b696774e9641474e654c9412b19cc4688f1f78ac8d1385 WHIRLPOOL a3357fb3f49fa075a1b20ea094148cb8790b67819d8a87071bd07d81225dfdd88df881ed76347f29c63640aa11953783c121b7ca456e23f9cba6c5ddfc0ef7de +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAEBCAAGBQJS3TrKAAoJELy9dS57CHJBTA4P/ivFs5iabRGUdZTp2twH7Y3w +hwHSyqUu78gK+gfAGWqe/0kOqkoiDEHTGvN76uywa7sCbZfVYpEedWofBCoB3xZv +BtJ7ZD/U77EqhOiwJDHIKK6ncfivC9wAxIuWcpu0BszBbFvxG89E6IEorIUwoYRe +JD64WLP1JRX1xJGr8L55IqgiGPBWjDTJTeh+8Lkwu1S4me1iztMOAgOHcUAMPFeD ++8Ay6AMUw4luSG+kDnjc732GKttH7JNjXKn5FCQKX4++BG+MQtQzWmgsirEct9wg +8gcy0xQeVkoSvN+3HFbFC6Ey8Shez+L1AYLp/GwEMT+YIkXyhyxTJohkqj3B9uaw +wvlil4LN4Fn6rDuRDCWKuOF79BhXy+O5AOW7Rssr/Do49Ga/lKjY9TNAQdngL3GY +lpiKoauilK7k27lO+TmA17e9maZHLnWZ1VRqZvyM4SycNYh7QCVpPPsjxn653+Yh +4fvjZMgT1/jbSm0kzXPL+ubRsAkJvz106+/vrv633GNA5YARoGloyiGFmDY580jg +ZcOd1xq2xsPhRLrrEIIyo1JlsjTZ/TRdAP1HXg9tquANyp5HQAWx+cLBkNpmP8ia +gJgnSOrhVpDJ8ozdmHtCE3AdrYt37aaOF2ovVTllnDYtmRDJRvBoXk4LRzfp7mlB +0jriaXC7ZGJ0u5KFvNfs +=htPn +-----END PGP SIGNATURE----- diff --git a/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild b/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild new file mode 100644 index 0000000..66b0254 --- /dev/null +++ b/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild @@ -0,0 +1,30 @@ +# 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 'dogpile' lock implementation for use in dogpile.cache module" +HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.core" +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="test? ( dev-python/nose[$PYTHON_USEDEP] )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + nosetests tests || die "Testuite failed with ${EPYTHON}" +} diff --git a/dev-python/dogpile-core/metadata.xml b/dev-python/dogpile-core/metadata.xml new file mode 100644 index 0000000..a978643 --- /dev/null +++ b/dev-python/dogpile-core/metadata.xml @@ -0,0 +1,16 @@ + + + + + sochotnicky@gentoo.org + Stanislav Ochotnicky + + + A "dogpile" lock, one which allows a single thread to generate an + expensive resource while other threads use the "old" value, until the + "new" value is ready. + + Dogpile is basically the locking code extracted from the Beaker package, + for simple and generic usage. + + -- cgit v1.2.3-65-gdbad