Codebase list golang-github-renekroon-ttlcache / debian/1.4.0+git20190429.e7780e9-1
first packaging commit Sascha Steinbiss 4 years ago
8 changed file(s) with 91 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 golang-github-renekroon-ttlcache (1.4.0+git20190429.e7780e9-1) unstable; urgency=medium
1
2 * Initial release (Closes: #928341)
3
4 -- Sascha Steinbiss <satta@debian.org> Thu, 02 May 2019 15:09:37 +0200
0 Source: golang-github-renekroon-ttlcache
1 Section: devel
2 Priority: optional
3 Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
4 Uploaders: Sascha Steinbiss <satta@debian.org>
5 Build-Depends: debhelper (>= 11),
6 dh-golang,
7 golang-any,
8 golang-github-stretchr-testify-dev
9 Standards-Version: 4.3.0
10 Homepage: https://github.com/ReneKroon/ttlcache
11 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-renekroon-ttlcache
12 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-renekroon-ttlcache.git
13 XS-Go-Import-Path: github.com/ReneKroon/ttlcache
14 Testsuite: autopkgtest-pkg-go
15
16 Package: golang-github-renekroon-ttlcache-dev
17 Architecture: all
18 Depends: ${misc:Depends},
19 golang-github-stretchr-testify-dev
20 Description: In-memory string-interface{} map with expiration for Golang
21 TTLCache is a simple key/value cache in golang with the following functions:
22 .
23 - Thread-safe
24 - Individual expiring time or global expiring time, you can choose
25 - Auto-Extending expiration on Get
26 - DNS style TTL, see SkipTtlExtensionOnHit(bool)
27 - Fast and memory efficient
28 - Can trigger callback on key expiration
29 .
30 Project TTLCache was forked from wunderlist/ttlcache to add extra functions
31 not available in the original scope. The main differences are:
32 .
33 - An item can store any kind of object, previously, only strings could be
34 saved
35 - Optionally, you can add callbacks to: check if a value should expire, be
36 notified if a value expires, and be notified when new values are added
37 to the cache
38 - The expiration can be either global or per item
39 - Can exist items without expiration time
40 - Expirations and callbacks are realtime
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: ttlcache
2 Source: https://github.com/ReneKroon/ttlcache
3 Files-Excluded:
4 Godeps/_workspace
5
6 Files: *
7 Copyright: 2018 Rene Kroon
8 License: MIT
9
10 Files: debian/*
11 Copyright: 2019 Sascha Steinbiss <satta@debian.org>
12 License: MIT
13 Comment: Debian packaging is licensed under the same terms as upstream
14
15 License: MIT
16 Permission is hereby granted, free of charge, to any person obtaining a copy
17 of this software and associated documentation files (the "Software"), to deal
18 in the Software without restriction, including without limitation the rights
19 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20 copies of the Software, and to permit persons to whom the Software is
21 furnished to do so, subject to the following conditions:
22 .
23 The above copyright notice and this permission notice shall be included in all
24 copies or substantial portions of the Software.
25 .
26 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32 SOFTWARE.
0 [DEFAULT]
1 pristine-tar = True
0 #!/usr/bin/make -f
1
2 %:
3 dh $@ --buildsystem=golang --with=golang
0 3.0 (quilt)
0 version=4
1 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/golang-github-renekroon-ttlcache-\$1\.tar\.gz/,\
2 uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/ \
3 https://github.com/ReneKroon/ttlcache/tags .*/v?(\d\S*)\.tar\.gz