diff options
Diffstat (limited to 'dev-python/tinycss2')
-rw-r--r-- | dev-python/tinycss2/Manifest | 4 | ||||
-rw-r--r-- | dev-python/tinycss2/tinycss2-1.1.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/tinycss2/tinycss2-1.1.1.ebuild | 39 |
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest index 03d55cb2b7c7..e6d5f1ebc720 100644 --- a/dev-python/tinycss2/Manifest +++ b/dev-python/tinycss2/Manifest @@ -1,4 +1,6 @@ DIST css-parsing-tests-c5749e51dda3868b3e8062e65a36584c2fec8059.gh.tar.gz 35758 BLAKE2B d834011c3ac774eb79b35e2e74f3854ddc2bb871531a32194041d6f98bde3dc68db67baea25d5463a03e057197144237be69fee4eacfb8edb73167e6e4faf7be SHA512 ef44eb1144a6484f308fabe4187310b2ef0067f328bf5213969d87c475fccae3d716dc66640a0a554ab2a3d7da0efb3a168a288ac6eef7722f3ae46959943b49 DIST tinycss2-1.1.0.gh.tar.gz 28205 BLAKE2B 46ba3f705522067e5b7aa5fdbc89f8980598e7e81b39114052b428e8c21b1a90fb3a9082bd51bbc0c6719adf6f0be285683b125886afe1a957013164f3b89428 SHA512 e1ed2679c09a0814d6deca069c68521e6ceef80f4a9cc16ab359dc5ee7ef97d0c7335680702548b023b1a48c5aeb838e29bf1b55f64698913dd16ae33a478a2b -EBUILD tinycss2-1.1.0.ebuild 1062 BLAKE2B 30a028eb09924b12c7e524f29a0e201c485c6b2e536680fbc83857e4b94fd2d8fe42f661d9b6062156d02e2126b30ebd3080282be99c1d2360ca56ba94165662 SHA512 b20567003831017649d598d161aad76ee7bca4be6db689cfdbc73183b67ada4f9d0c1b27b9359ace5c8f7a2f7ba796527e011e15d375b3dc422c3b336b110815 +DIST tinycss2-1.1.1.gh.tar.gz 28261 BLAKE2B f86b25be62c4c107dd6dca0b9e49605bc0c04b6ec48c4283fa7a5a33249032dcc3a42bdb9910d6235da4c4ddbf581ef8ebdc404c3bb32eeca7f355c0081e6fb7 SHA512 788b57fbadd299a4d4745bcc1814a2ebf6db76e337f2de2637ffc1610a3dac5a70f01bb9ffbb2afbdb0c638a6b23cc1b2f199eebfbb77d84906a9da5dfecada6 +EBUILD tinycss2-1.1.0.ebuild 1069 BLAKE2B 431004e78de8670835cf1b90bb32a8eccfce36b4fb78b0226719868998eea642b9aa92dffd55dd74692158bababffa7304d895742329e5caa633b1fb16172cdb SHA512 5562ba67d8c6cd93ddd2e7d772a1d8db6b547067e5bda957556238e666a3405a5d00cca315722c92dc73aad6c2085a45b4b0fd4dcc0abdef4d0fb66d511d4f74 +EBUILD tinycss2-1.1.1.ebuild 1064 BLAKE2B e5219925885bc345ef01a50c122d9e0a37fb4f7a84b23889d5e25f093f53ccb4caa4c4ba47db5a6d35631e38ab1b62fdc4eafadf678c3216255531ee02ce84b8 SHA512 edb7c53e4585e795c20d2599250841c91b7a225b0c5dc1ef70c8b3d87b27190b8fc8fc9df4fcd5a8642322212bf022442a1b0b10f176f9cf7a98205a38a4b61d MISC metadata.xml 523 BLAKE2B 1590e6af6e994f20bd2087eb2ad0d9a05736f983a123cf5a7373d0f8e2608dbdd8886fe90fd62d978e0abcdcb9deef30a9cf9622302fc2d3d20a137ce1d4b563 SHA512 04c0ea9aa7b4d9317a262bda5486c1495a7978b44e6c87c1c67a44f7846807c2ba5dae6a55f32c21237adb8d25426746da0b0c63dba6668ea2e0f35223859a6c diff --git a/dev-python/tinycss2/tinycss2-1.1.0.ebuild b/dev-python/tinycss2/tinycss2-1.1.0.ebuild index 82996aa6f7a4..bd49b77c783a 100644 --- a/dev-python/tinycss2/tinycss2-1.1.0.ebuild +++ b/dev-python/tinycss2/tinycss2-1.1.0.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]" diff --git a/dev-python/tinycss2/tinycss2-1.1.1.ebuild b/dev-python/tinycss2/tinycss2-1.1.1.ebuild new file mode 100644 index 000000000000..66380276e85e --- /dev/null +++ b/dev-python/tinycss2/tinycss2-1.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +CSS_TEST_COMMIT_ID=c5749e51dda3868b3e8062e65a36584c2fec8059 + +DESCRIPTION="A complete yet simple CSS parser for Python" +HOMEPAGE="https://github.com/Kozea/tinycss2/ + https://pypi.org/project/tinycss2/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI=" + https://github.com/Kozea/tinycss2/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + test? ( + https://github.com/SimonSapin/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="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pyproject.toml || die + if use test; then + mv "${WORKDIR}/css-parsing-tests-${CSS_TEST_COMMIT_ID}"/* \ + tests/css-parsing-tests/ || die + fi + distutils-r1_src_prepare +} |