bump version to 2.0.2

This commit is contained in:
arvidn
2021-01-07 01:28:44 +01:00
committed by Arvid Norberg
parent bee27fc69c
commit ec9e7ad284
7 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,5 @@
* 2.0.2 released
* add v1() and v2() functions to torrent_info
* fix piece_layers() to work for single-piece files
* fix python binding regression in session constructor flags

View File

@ -1,4 +1,4 @@
VERSION=2.0.1
VERSION=2.0.2
NCORES=1
ifneq ($(OS),Windows_NT)

View File

@ -257,7 +257,7 @@ class LibtorrentBuildExt(BuildExtBase):
setuptools.setup(
name="python-libtorrent",
version="2.0.1",
version="2.0.2",
author="Arvid Norberg",
author_email="arvid@libtorrent.org",
description="Python bindings for libtorrent-rasterbar",

View File

@ -1 +1 @@
:Version: 2.0.1
:Version: 2.0.2

View File

@ -550,7 +550,7 @@ cpp
tos
BP
qB
LT2010
LT2020
iocontrol
getname
getpeername

View File

@ -39,27 +39,27 @@ POSSIBILITY OF SUCH DAMAGE.
#define LIBTORRENT_VERSION_MAJOR 2
#define LIBTORRENT_VERSION_MINOR 0
#define LIBTORRENT_VERSION_TINY 1
#define LIBTORRENT_VERSION_TINY 2
// the format of this version is: MMmmtt
// M = Major version, m = minor version, t = tiny version
#define LIBTORRENT_VERSION_NUM ((LIBTORRENT_VERSION_MAJOR * 10000) + (LIBTORRENT_VERSION_MINOR * 100) + LIBTORRENT_VERSION_TINY)
#define LIBTORRENT_VERSION "2.0.1.0"
#define LIBTORRENT_REVISION "7ae9b4034"
#define LIBTORRENT_VERSION "2.0.2.0"
#define LIBTORRENT_REVISION "bee27fc69"
namespace libtorrent {
// the major, minor and tiny versions of libtorrent
constexpr int version_major = 2;
constexpr int version_minor = 0;
constexpr int version_tiny = 1;
constexpr int version_tiny = 2;
// the libtorrent version in string form
constexpr char const* version_str = "2.0.1.0";
constexpr char const* version_str = "2.0.2.0";
// the git commit of this libtorrent version
constexpr std::uint64_t version_revision = 0x7ae9b4034;
constexpr std::uint64_t version_revision = 0xbee27fc69;
// returns the libtorrent version as string form in this format:
// "<major>.<minor>.<tiny>.<tag>"

View File

@ -130,7 +130,7 @@ namespace libtorrent {
SET(proxy_username, "", &session_impl::update_proxy),
SET(proxy_password, "", &session_impl::update_proxy),
SET(i2p_hostname, "", &session_impl::update_i2p_bridge),
SET(peer_fingerprint, "-LT2010-", nullptr),
SET(peer_fingerprint, "-LT2020-", nullptr),
SET(dht_bootstrap_nodes, "dht.libtorrent.org:25401", &session_impl::update_dht_bootstrap_nodes)
}});