Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/llfuse/
Date: Wed, 01 Jun 2022 07:21:44
Message-Id: 1654068095.a1a8999729d8e4f7877968bf6e3e2ad3139ed98b.mgorny@gentoo
1 commit: a1a8999729d8e4f7877968bf6e3e2ad3139ed98b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 06:41:18 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 07:21:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a89997
7
8 dev-python/llfuse: Bump to 1.4.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/llfuse/Manifest | 1 +
13 dev-python/llfuse/llfuse-1.4.2.ebuild | 58 +++++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-python/llfuse/Manifest b/dev-python/llfuse/Manifest
17 index cdc4ca4377a7..e7b6859f1462 100644
18 --- a/dev-python/llfuse/Manifest
19 +++ b/dev-python/llfuse/Manifest
20 @@ -1 +1,2 @@
21 DIST llfuse-1.4.1.tar.gz 774540 BLAKE2B f135ff3cde6effe72f5adf1b9ed58566183775ad45acbd1906db1f5c60a38ab74f0c7b6cda949b3ff2c4b46f036c91e16f9231ede1c78359c87758e6abde9ea4 SHA512 e94045018e9d78b7b16355dd499a27694a77a70d61102d05938223b99686e4b9d90b5e14745d92a187ac8e34aa593a12d99bff1baccb19d4236d54eb66ec3e4f
22 +DIST llfuse-1.4.2.tar.gz 834763 BLAKE2B 60bdfdd4567de4aa6ab5ea6692f48e6d68572bc13976e30fa9850c96b8a2c8a77638d3750df549b827a2bba0cc2dfa2a3f2cac3c4729278515a2703ecde446a1 SHA512 6a368af9e49f8537bbea396dfcd9fc024f8b93b161d3c6167d13c4ffb0ab20b6c8393447e71b5c147c82d4d1ee590ae08c512c93ccb28df78a06ab6833ac3705
23
24 diff --git a/dev-python/llfuse/llfuse-1.4.2.ebuild b/dev-python/llfuse/llfuse-1.4.2.ebuild
25 new file mode 100644
26 index 000000000000..4abb93eee3b9
27 --- /dev/null
28 +++ b/dev-python/llfuse/llfuse-1.4.2.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python bindings for the low-level FUSE API"
41 +HOMEPAGE="
42 + https://github.com/python-llfuse/python-llfuse/
43 + https://pypi.org/project/llfuse/
44 +"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="LGPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
50 +IUSE="doc examples"
51 +
52 +RDEPEND="
53 + >=sys-fs/fuse-2.8.0:0
54 +"
55 +DEPEND="
56 + ${RDEPEND}
57 + sys-apps/attr
58 +"
59 +BDEPEND="
60 + dev-python/cython[${PYTHON_USEDEP}]
61 + virtual/pkgconfig
62 +"
63 +
64 +PATCHES=(
65 + "${FILESDIR}"/llfuse-1.3.5-cflags.patch
66 +)
67 +
68 +distutils_enable_tests pytest
69 +
70 +src_prepare() {
71 + # force regen
72 + rm src/llfuse.c || die
73 + distutils-r1_src_prepare
74 +}
75 +
76 +python_compile() {
77 + if [[ ! -f src/llfuse.c ]]; then
78 + esetup.py build_cython
79 + fi
80 + distutils-r1_python_compile
81 +}
82 +
83 +python_install_all() {
84 + use doc && local HTML_DOCS=( doc/html/. )
85 + use examples && dodoc -r examples
86 + distutils-r1_python_install_all
87 +}