From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 623021384B4 for ; Thu, 3 Dec 2015 16:24:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A18221C06F; Thu, 3 Dec 2015 16:24:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F9AC21C06F for ; Thu, 3 Dec 2015 16:23:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D3203404A5 for ; Thu, 3 Dec 2015 16:23:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B4E4C7B for ; Thu, 3 Dec 2015 16:23:54 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1449159818.8d3b87e999002b7df8dea6eb02c00e29b56aaeee.hwoarang@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rb_libtorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/rb_libtorrent/Manifest net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild X-VCS-Directories: net-libs/rb_libtorrent/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: 8d3b87e999002b7df8dea6eb02c00e29b56aaeee X-VCS-Branch: master Date: Thu, 3 Dec 2015 16:23:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4e484d29-42e4-4b04-b333-94fda7400179 X-Archives-Hash: 21c944f2257a97116adc5dd17a33337e commit: 8d3b87e999002b7df8dea6eb02c00e29b56aaeee Author: Markos Chandras gentoo org> AuthorDate: Thu Dec 3 15:53:24 2015 +0000 Commit: Markos Chandras gentoo org> CommitDate: Thu Dec 3 16:23:38 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3b87e9 net-libs/rb_libtorrent: Version bump Package-Manager: portage-2.2.26 net-libs/rb_libtorrent/Manifest | 1 + net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild | 78 +++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest index caca87d..87ef052 100644 --- a/net-libs/rb_libtorrent/Manifest +++ b/net-libs/rb_libtorrent/Manifest @@ -3,3 +3,4 @@ DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbb DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0 SHA512 1917d1207171d23dbcbbb17f0c3afdadcec059e8e603e2009bb72a610be598f2ff5a5ebdfc5a1b0e07563a05e774b395e24e04fabb17847b6a757f47f41a2313 WHIRLPOOL acbb9658d80f42bc6fe00cbe491e58bc059b6eeb96c0e34f7c86ad549104dabc4c9e2df5c931fd719f064bff6c4d06376022cf0e221034fc5e88af88d258f8f1 DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 +DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild new file mode 100644 index 0000000..938d680 --- /dev/null +++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +PYTHON_REQ_USE="threads" +DISTUTILS_OPTIONAL=true +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils multilib distutils-r1 versionator + +MY_P=${P/rb_/} +MY_P=${MY_P/torrent/torrent-rasterbar} +MY_PV=$(replace_all_version_separators '_' ) +S=${WORKDIR}/${MY_P} + +DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" +HOMEPAGE="http://libtorrent.org" +SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc examples python ssl static-libs test" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/boost-1.53:=[threads] + sys-libs/zlib + examples? ( !net-p2p/mldonkey ) + ssl? ( dev-libs/openssl:0= ) + python? ( + ${PYTHON_DEPS} + dev-libs/boost:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.2-python.patch +) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + local myeconfargs=( + --disable-silent-rules # bug 441842 + --with-boost-libdir=/usr/$(get_libdir) + $(use_enable debug) + $(use_enable test tests) + $(use_enable examples) + $(use_enable ssl encryption) + $(use_enable python python-binding) + $(usex debug "--enable-logging=verbose" "") + ) + + use python && python_setup + + autotools-utils_src_configure + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure +} + +src_compile() { + autotools-utils_src_compile + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile +} + +src_install() { + use doc && HTML_DOCS=( "${S}"/docs/. ) + + autotools-utils_src_install + use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install +}