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/utidylib/
Date: Sat, 21 May 2022 09:09:51
Message-Id: 1653124178.7372586f3e5dc5adcbacf227b388cfe3523201ba.mgorny@gentoo
1 commit: 7372586f3e5dc5adcbacf227b388cfe3523201ba
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 21 08:46:47 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 21 09:09:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7372586f
7
8 dev-python/utidylib: Bump to 0.8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/utidylib/Manifest | 1 +
13 dev-python/utidylib/utidylib-0.8.ebuild | 36 +++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/utidylib/Manifest b/dev-python/utidylib/Manifest
17 index 04e26a3d08e7..cab22b729b09 100644
18 --- a/dev-python/utidylib/Manifest
19 +++ b/dev-python/utidylib/Manifest
20 @@ -1,2 +1,3 @@
21 DIST uTidylib-0.6.tar.gz 15771 BLAKE2B 9d4fe57d985ea6e52680bd528862d3236137221227a23fe05b886d01d240e21d7159dbf7d6da3af8020009ca45c60c2297e374bb7aa05cb6b5a8eaf444710c58 SHA512 a85506ef8824f66ee326ad651020dc3b4e00190e20dcd3814984fa27ff319f492fe5bac781b7c43c8694cbfc63409e3abda18981969c9be2c3cd023fe7a4f2f8
22 DIST utidylib-0.7.gh.tar.gz 15203 BLAKE2B c32f23ab3a94191423655f9b6a99bd85aca7072fcfea7507c5d4efb19c4ee22114afe136c6299e8322e15195c4f938094e49483b1a40d05522f2d232dd9a6acd SHA512 69b22671223cc9e1888a1be19b418e883baa79401bcf3856fa48cca441ae7fa414047c296f8fc9ff35aa7407901fa64cd8ddfcc56657a98e8e188073dfc72172
23 +DIST utidylib-0.8.gh.tar.gz 15285 BLAKE2B 85f0ec1a969f31cb952e326a5bce5f51d9a5bacdf33d7e703cc3a464621df86f568921a9dd17755be67d49c02631782cdabb4112ee7cf8e321079656bb362122 SHA512 cb9c868337e1bbfa80ac36ca1b3f85c4e35f62acb67dbd321167d568da17d9e562fdca6b777d88c08e03107401fbadc7cdebf243654bcde9825259117e36392f
24
25 diff --git a/dev-python/utidylib/utidylib-0.8.ebuild b/dev-python/utidylib/utidylib-0.8.ebuild
26 new file mode 100644
27 index 000000000000..095b63b34c3a
28 --- /dev/null
29 +++ b/dev-python/utidylib/utidylib-0.8.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="TidyLib Python wrapper"
42 +HOMEPAGE="
43 + https://cihar.com/software/utidylib/
44 + https://github.com/nijel/utidylib/
45 + https://pypi.org/project/uTidylib/
46 +"
47 +SRC_URI="
48 + https://github.com/nijel/utidylib/archive/v${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
55 +
56 +RDEPEND="
57 + >=app-text/htmltidy-5.0.0
58 +"
59 +
60 +distutils_enable_tests pytest
61 +distutils_enable_sphinx docs
62 +
63 +EPYTEST_DESELECT=(
64 + # https://github.com/nijel/utidylib/issues/9
65 + tidy/test_tidy.py::TidyTestCase::test_missing_load
66 +)