diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-29 23:56:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-30 00:38:24 +0100 |
commit | dc22906fd71aa997dc286358299a5a85b117dbd9 (patch) | |
tree | 52f28716109ada0daa2d8ecdd872b675a771c94f /dev-python/tinycss2 | |
parent | dev-python/cairocffi: Bump to 1.2.0 (diff) | |
download | gentoo-dc22906fd71aa997dc286358299a5a85b117dbd9.tar.gz gentoo-dc22906fd71aa997dc286358299a5a85b117dbd9.tar.bz2 gentoo-dc22906fd71aa997dc286358299a5a85b117dbd9.zip |
dev-python/tinycss2: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/tinycss2')
-rw-r--r-- | dev-python/tinycss2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/tinycss2/tinycss2-1.1.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest index eb7f15d3df24..826ff500a1f2 100644 --- a/dev-python/tinycss2/Manifest +++ b/dev-python/tinycss2/Manifest @@ -1 +1,3 @@ +DIST css-parsing-tests-c5749e51dda3868b3e8062e65a36584c2fec8059.gh.tar.gz 35758 BLAKE2B d834011c3ac774eb79b35e2e74f3854ddc2bb871531a32194041d6f98bde3dc68db67baea25d5463a03e057197144237be69fee4eacfb8edb73167e6e4faf7be SHA512 ef44eb1144a6484f308fabe4187310b2ef0067f328bf5213969d87c475fccae3d716dc66640a0a554ab2a3d7da0efb3a168a288ac6eef7722f3ae46959943b49 DIST tinycss2-1.0.2.tar.gz 57728 BLAKE2B 966af74a499b9eb696beb3aca2c832d4e07641ed61415aa85a1798e30c568932875ff69f1ccf71cde8823194ea8dfbd54226fa93e718291f09645ea60620b43d SHA512 69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1 +DIST tinycss2-1.1.0.gh.tar.gz 28205 BLAKE2B 46ba3f705522067e5b7aa5fdbc89f8980598e7e81b39114052b428e8c21b1a90fb3a9082bd51bbc0c6719adf6f0be285683b125886afe1a957013164f3b89428 SHA512 e1ed2679c09a0814d6deca069c68521e6ceef80f4a9cc16ab359dc5ee7ef97d0c7335680702548b023b1a48c5aeb838e29bf1b55f64698913dd16ae33a478a2b diff --git a/dev-python/tinycss2/tinycss2-1.1.0.ebuild b/dev-python/tinycss2/tinycss2-1.1.0.ebuild new file mode 100644 index 000000000000..f3c7adb52c71 --- /dev/null +++ b/dev-python/tinycss2/tinycss2-1.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6..9} ) + +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.python.org/pypi/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 + 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 ~x86" + +RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pyproject.toml || die + mv "${WORKDIR}/css-parsing-tests-${CSS_TEST_COMMIT_ID}"/* \ + tests/css-parsing-tests/ || die + distutils-r1_src_prepare +} |