From a71da7e44499634af20a161b4d4f4ed97b6e3ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 14 Dec 2022 06:53:08 +0100 Subject: [PATCH] dev-python/pyxattr: Bump to 0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyxattr/Manifest | 1 + dev-python/pyxattr/pyxattr-0.8.0.ebuild | 40 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-python/pyxattr/pyxattr-0.8.0.ebuild diff --git a/dev-python/pyxattr/Manifest b/dev-python/pyxattr/Manifest index 70f935f96eef9..5e067074c05a0 100644 --- a/dev-python/pyxattr/Manifest +++ b/dev-python/pyxattr/Manifest @@ -1 +1,2 @@ DIST pyxattr-0.7.2.tar.gz 31550 BLAKE2B 3505300d7a50dc305068740379bb8edbefa29f228c797e2e74467a51f4b0a6b740203f89b8ed461218978214213a6cd778107f58eb07a64d6b45e25d0fb769ea SHA512 fb9b36d5d2fb9ab674daf40d6f5c7dbe50d847dcb6d9955d270ef3aed2d8e3540f8feebd934009f47d63f3c55882846a20f7ed733b0d0c004e7a1984e7106206 +DIST pyxattr-0.8.0.tar.gz 35720 BLAKE2B 776cacc68a2dc3e9d60b026d9d0dd3b3ff362445c8f9eb205d1799378b1cb1ab0e6af5fe9bc4f295e428195d0431287f62f6fb735a37831e3b36b7f53f5535a6 SHA512 921af6341cdfdfccea0c46e02742d051de00c7eca75c52f9fcc1618217c41869da957dd6ce03fa7d1367b86b44b49b5263ba65de277bf2453807c6f69a67141b diff --git a/dev-python/pyxattr/pyxattr-0.8.0.ebuild b/dev-python/pyxattr/pyxattr-0.8.0.ebuild new file mode 100644 index 0000000000000..ae35e41fcdb68 --- /dev/null +++ b/dev-python/pyxattr/pyxattr-0.8.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to xattr" +HOMEPAGE=" + https://pyxattr.k1024.org/ + https://github.com/iustin/pyxattr/ + https://pypi.org/project/pyxattr/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + sys-apps/attr:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/recommonmark + +python_prepare_all() { + sed -i -e 's:, "-Werror"::' setup.py || die + # Bug 548486 + sed -e "s:html_theme = 'default':html_theme = 'classic':" \ + -i doc/conf.py || die + + distutils-r1_python_prepare_all +}