Change libtorrent minimum dependency to 1.1.1
* Change PPA to develop for Travis to use libtorrent 1.1
This commit is contained in:
parent
706d53ab4a
commit
3ca012ee63
@ -7,7 +7,7 @@ cache: pip
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- lsb_release -a
|
- lsb_release -a
|
||||||
- sudo add-apt-repository ppa:deluge-team/ppa -y
|
- sudo add-apt-repository ppa:deluge-team/develop -y
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
|
|||||||
2
DEPENDS
2
DEPENDS
@ -1,5 +1,5 @@
|
|||||||
=== Core ===
|
=== Core ===
|
||||||
* libtorrent (rasterbar) >= 1.0.7
|
* libtorrent (rasterbar) >= 1.1.1
|
||||||
* python >= 2.6
|
* python >= 2.6
|
||||||
* setuptools
|
* setuptools
|
||||||
* twisted >= 11.1
|
* twisted >= 11.1
|
||||||
|
|||||||
@ -23,7 +23,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
import libtorrent as lt
|
import libtorrent as lt
|
||||||
|
|
||||||
REQUIRED_VERSION = '1.0.7.0'
|
REQUIRED_VERSION = '1.1.1.0'
|
||||||
|
|
||||||
if VersionSplit(lt.__version__) < VersionSplit(REQUIRED_VERSION):
|
if VersionSplit(lt.__version__) < VersionSplit(REQUIRED_VERSION):
|
||||||
raise ImportError('Deluge %s requires libtorrent >= %s' % (get_version(), REQUIRED_VERSION))
|
raise ImportError('Deluge %s requires libtorrent >= %s' % (get_version(), REQUIRED_VERSION))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user