Skip to content

Commit

Permalink
#1232: add python-xxhash package and dependency so we can support scr…
Browse files Browse the repository at this point in the history
…olling detection on debian servers

git-svn-id: https://xpra.org/svn/Xpra/trunk@13496 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 29, 2016
1 parent 6c038f0 commit 431fdd0
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
,ffmpeg-xpra
# packet encoder:
,python-rencode
# fast hashing:
,python-xxhash
#depend on lz4 for those that have it, lzo otherwise:
#wheezy: ,python-lzo
#jessie: ,python-lz4
Expand Down
5 changes: 5 additions & 0 deletions debian/python-xxhash/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python-xxhash (0.6.1-1) unstable; urgency=low

* Initial release

-- Antoine Martin <antoine@devloop.org.uk> Mon, 29 Aug 2016 20:40:07 +0700
1 change: 1 addition & 0 deletions debian/python-xxhash/clean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/xxhash*.egg-info
1 change: 1 addition & 0 deletions debian/python-xxhash/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
20 changes: 20 additions & 0 deletions debian/python-xxhash/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Source: python-xxhash
Section: python
Priority: optional
Maintainer: Antoine Martin <antoine@devloop.org.uk>
Build-Depends: debhelper (>= 9), python-all-dev
X-Python-Version: >= 2.7
Standards-Version: 3.9.5
Homepage: https://github.com/Cyan4973/xxHash

Package: python-xxhash
Architecture: any
Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
Description: Extremely fast hash algorithm
xxHash is an Extremely fast Hash algorithm, running at RAM speed limits.
.
It successfully completes the SMHasher test suite which evaluates collision,
dispersion and randomness qualities of hash functions.
.
Code is highly portable, and hashes are identical on all platforms
(little / big endian).
37 changes: 37 additions & 0 deletions debian/python-xxhash/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-xxhash
Source: https://github.com/ifduyue/python-xxhash

Files: ./setup.py
./python-xxhash.c
Copyright: 2014-2016 Yue Du <ifduyue@gmail.com>
License: BSD-2-clause

Files: xxhash/*
Copyright: 2012-2014, Yann Collet
License: BSD-2-clause

Files: debian/*
Copyright: 2016 Antoine Martin <antoine@devloop.org.uk>
License: BSD-2-clause

License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
7 changes: 7 additions & 0 deletions debian/python-xxhash/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
dh $@ --with python2
1 change: 1 addition & 0 deletions debian/python-xxhash/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)

0 comments on commit 431fdd0

Please sign in to comment.