summaryrefslogtreecommitdiff
path: root/dev-python/tinycss2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-26 04:04:26 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-26 04:04:26 +0100
commitd0349ca0f4903608beca459a9db2068dab9fa6ea (patch)
treea69bc9c4a75f35ecabd3909a181128faf8c0e75b /dev-python/tinycss2
parentb11a5614cb96e70e116581c98abf286c2cf694ca (diff)
gentoo auto-resync : 26:10:2024 - 04:04:26
Diffstat (limited to 'dev-python/tinycss2')
-rw-r--r--dev-python/tinycss2/Manifest2
-rw-r--r--dev-python/tinycss2/tinycss2-1.4.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest
index acaaddde25a6..2f8acc9c82d6 100644
--- a/dev-python/tinycss2/Manifest
+++ b/dev-python/tinycss2/Manifest
@@ -1,4 +1,6 @@
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
EBUILD tinycss2-1.3.0.ebuild 985 BLAKE2B 27a8e4c53653e889f389ff11dae6fa5b2939856da9f4d62e6c87b7cb41fd92b2f79834c19e332cfafd96cfe8b9f034a4d2aa15b886de51ad1fd5eb2b7f126778 SHA512 098f061bc9d39e135068464b0c130d0ee135ee542ebf5966d80d0eac487dcee98e0da5b09b427fb83d29a025b2c6052110568505614f59292002a45a0181c835
+EBUILD tinycss2-1.4.0.ebuild 993 BLAKE2B 8d8946de82f980c78b82009784ba2cc65d36621257ae7b230238be26b83ac149e97afc7491afa835c9aed126b443a6e27799a96390f9885cc7629aa06215d67a SHA512 1bb4bab1c4ba4b61eea4b5283546facf5df9a836a3ed9c30d75f8e2c3afeb46a5687cfe50507fe7734267fb7b2d01554bed4f74e322608efdf358e7e94d2d598
MISC metadata.xml 523 BLAKE2B 1590e6af6e994f20bd2087eb2ad0d9a05736f983a123cf5a7373d0f8e2608dbdd8886fe90fd62d978e0abcdcb9deef30a9cf9622302fc2d3d20a137ce1d4b563 SHA512 04c0ea9aa7b4d9317a262bda5486c1495a7978b44e6c87c1c67a44f7846807c2ba5dae6a55f32c21237adb8d25426746da0b0c63dba6668ea2e0f35223859a6c
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
+}