diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-10-25 05:52:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-10-25 05:52:25 +0200 |
commit | a3d0e9c441a177361980649b311d3781f69ff60f (patch) | |
tree | 68234fdc5019c8aef66e3f26703c003516f66825 /dev-python/tinycss2 | |
parent | dev-python/sigstore: Bump to 3.5.0 (diff) | |
download | gentoo-a3d0e9c441a177361980649b311d3781f69ff60f.tar.gz gentoo-a3d0e9c441a177361980649b311d3781f69ff60f.tar.bz2 gentoo-a3d0e9c441a177361980649b311d3781f69ff60f.zip |
dev-python/tinycss2: Bump to 1.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tinycss2')
-rw-r--r-- | dev-python/tinycss2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/tinycss2/tinycss2-1.4.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest index 4aa31b3383d0..d4df55323d89 100644 --- a/dev-python/tinycss2/Manifest +++ b/dev-python/tinycss2/Manifest @@ -1,2 +1,3 @@ DIST css-parsing-tests-43e65b244133f17eb8a4d4404d5774672b94824f.gh.tar.gz 35943 BLAKE2B 69a3dd9e638d04b498c28bf8367e1d0bfe1876e8bcdfc6796f5b5715425f943e6308afa7774a5af5e6d3b3d5cd4f8424fa2809bdf0ecdadddfcfd36354986d82 SHA512 ed83bf447a595d754bbae9fcf25c3d2b4812f99b65c5e46b39d5f7ade57d49b4ffded9bc9d1cfef0a50b078f8ceb9bedb1d4f2f9ebf6db875eaad6c956b4f1d5 DIST tinycss2-1.3.0.tar.gz 67360 BLAKE2B f39eaaaafe2be20d2d420977e8d2d80c0e1817c277e14c57b155f1dafa54191ac2aed6908b038da5c03b4cbed66b626af432160699152800ebe2d7823e1685ed SHA512 d215ba2d8c580ca785bc2c3e33c8ae220c085e3ec1b932c01f81e176987c48559867af186056e2c501541d1d337b4fc33eea7ff2feba490e81076608b7c3aaee +DIST tinycss2-1.4.0.tar.gz 87085 BLAKE2B c1aa1edb8ea5ae2fc3d68d4e9efd6aa057513064c9da6c2e528c4e1b3efc5f13837cf161a793d656c13451601b9cc7825af315b74616b26b42f4d3c2e9098f5a SHA512 be0faac6fc55113c4a110d6cd23714867f3f4c33829cadcc8619b1c7b801bc009501cd0f0f7b3d21040129526633ef1f956ef6cb2ca8955d32f2b0b11f875d92 diff --git a/dev-python/tinycss2/tinycss2-1.4.0.ebuild b/dev-python/tinycss2/tinycss2-1.4.0.ebuild new file mode 100644 index 000000000000..0a3c0cdb9a70 --- /dev/null +++ b/dev-python/tinycss2/tinycss2-1.4.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +CSS_TEST_COMMIT_ID=43e65b244133f17eb8a4d4404d5774672b94824f + +DESCRIPTION="A complete yet simple CSS parser for Python" +HOMEPAGE=" + https://www.courtbouillon.org/tinycss2/ + https://github.com/Kozea/tinycss2/ + https://pypi.org/project/tinycss2/ +" +SRC_URI+=" + test? ( + https://github.com/CourtBouillon/css-parsing-tests/archive/${CSS_TEST_COMMIT_ID}.tar.gz + -> css-parsing-tests-${CSS_TEST_COMMIT_ID}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/webencodings-0.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + if use test; then + mv "${WORKDIR}/css-parsing-tests-${CSS_TEST_COMMIT_ID}"/* \ + tests/css-parsing-tests/ || die + fi + distutils-r1_src_prepare +} |