From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F0B31396D0 for ; Thu, 21 Sep 2017 06:02:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAB3E1FC0A7; Thu, 21 Sep 2017 06:02:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E7A41FC0A7 for ; Thu, 21 Sep 2017 06:02:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E73A33D3C7 for ; Thu, 21 Sep 2017 06:02:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AAD1E9064 for ; Thu, 21 Sep 2017 06:02:53 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1505973640.ec420564f81bc8988ca647f5358a21b58258b984.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/llfuse/, dev-python/llfuse/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/llfuse/Manifest dev-python/llfuse/files/llfuse-1.3-cflags.patch dev-python/llfuse/llfuse-1.3.ebuild X-VCS-Directories: dev-python/llfuse/ dev-python/llfuse/files/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: ec420564f81bc8988ca647f5358a21b58258b984 X-VCS-Branch: master Date: Thu, 21 Sep 2017 06:02:53 +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: eb90212c-6359-4ec8-adc0-1de340e8f76d X-Archives-Hash: f3d1bde3befd35253bcfcabc318b30a6 commit: ec420564f81bc8988ca647f5358a21b58258b984 Author: Tim Harder gentoo org> AuthorDate: Thu Sep 21 05:58:05 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Thu Sep 21 06:00:40 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec420564 dev-python/llfuse: version bump to 1.3 dev-python/llfuse/Manifest | 1 + dev-python/llfuse/files/llfuse-1.3-cflags.patch | 19 ++++++++++++ dev-python/llfuse/llfuse-1.3.ebuild | 41 +++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-python/llfuse/Manifest b/dev-python/llfuse/Manifest index 347aec10c8f..61e68e53512 100644 --- a/dev-python/llfuse/Manifest +++ b/dev-python/llfuse/Manifest @@ -1 +1,2 @@ DIST llfuse-1.2.tar.bz2 327967 SHA256 24d3ff1dd793db0c03cbbfb298df94a369ecdce5831f8f175ec12d647ad01586 SHA512 0c31ac385a98211f8696857654ea187c5f18b655b65199696923bcc66d079a5e2a6f7260ac4f6da17b25ed57c9cb1314ce62fabb3b538a87e4286bbd0763390b WHIRLPOOL c3c2d2cc022f6aeafc3b167e6ce4c0e8e3a2c6b302e1f9fd0bdbcfd48bf92415b41d333cb4d02f186fee2308fec9a9fa633608353190bedb39321636cd5b9c5a +DIST llfuse-1.3.tar.bz2 335418 SHA256 d1ab2c7cdaeed1c4c99882f2ad44df3906db263b832d76de18291e484c685bd2 SHA512 10d6c6dba20031106334559bd84d9477db70cf5e940f5e379716af1140bacaa4defe533cca51ac718e4d37b44414e34c7dcf48274c6fdd8ecc422f2f438552ee WHIRLPOOL ff0ab29ed312e788365da421b9f40b56edfad9cd6df5024351b29f46d41ab57844e98a9b7a4dc5e4bd157b50cc1ba8dfa7933d55f617ace3ee6ee19aa61232e0 diff --git a/dev-python/llfuse/files/llfuse-1.3-cflags.patch b/dev-python/llfuse/files/llfuse-1.3-cflags.patch new file mode 100644 index 00000000000..42e4eef82a0 --- /dev/null +++ b/dev-python/llfuse/files/llfuse-1.3-cflags.patch @@ -0,0 +1,19 @@ +Build fails under pypy(3) when enabling these flags. + +--- llfuse-1.3/setup.py ++++ llfuse-1.3/setup.py +@@ -84,12 +84,12 @@ + compile_args.append('-Wno-unused-parameter') + + # Value-changing conversions should always be explicit. +- compile_args.append('-Werror=conversion') ++ # compile_args.append('-Werror=conversion') + + # Note that (i > -1) is false if i is unsigned (-1 will be converted to + # a large positive value). We certainly don't want to do this by + # accident. +- compile_args.append('-Werror=sign-compare') ++ # compile_args.append('-Werror=sign-compare') + + # Enable all fatal warnings only when compiling from Mercurial tip. + # (otherwise we break forward compatibility because compilation with newer diff --git a/dev-python/llfuse/llfuse-1.3.ebuild b/dev-python/llfuse/llfuse-1.3.ebuild new file mode 100644 index 00000000000..761de45bf85 --- /dev/null +++ b/dev-python/llfuse/llfuse-1.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the low-level FUSE API" +HOMEPAGE="https://bitbucket.org/nikratio/python-llfuse/ https://pypi.python.org/pypi/llfuse" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +RDEPEND=">=sys-fs/fuse-2.8.0:0 + $(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' python2_7 pypy) +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-catchlog[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}"/${P}-cflags.patch ) + +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/html/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +}