diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/tinycss2 | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/tinycss2')
-rw-r--r-- | dev-python/tinycss2/Manifest | 4 | ||||
-rw-r--r-- | dev-python/tinycss2/tinycss2-0.5.ebuild | 30 | ||||
-rw-r--r-- | dev-python/tinycss2/tinycss2-1.0.2.ebuild | 26 |
3 files changed, 9 insertions, 51 deletions
diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest index 3d4ea803ff11..841edb8fc1d6 100644 --- a/dev-python/tinycss2/Manifest +++ b/dev-python/tinycss2/Manifest @@ -1,7 +1,5 @@ -DIST tinycss2-0.5.tar.gz 61802 BLAKE2B 2bb6093063e6a1b2bd9f78484db73d34c2336bbb00e9aad14a9c4c589e315ca377a5ec7f1b50b8c28f91d496bb668a65032a422ae9c9fda62218bfb7560e0a46 SHA512 321af21a80dbdf8d1ad218e33c87edbe7c0b4c1bffeeb38a9b14bed9064749f71636bf70775186e8785587d5fa96e3488465a76b59f643658f84b6bdc1c5c4bd DIST tinycss2-0.6.1.tar.gz 59548 BLAKE2B 9c80ea593ce4831bb4846eadca44595a5b30247a9a4ce9608bb4c505cebe47d151936361e0d9d4af124ce9097dc664b6a4eb7f926ce28c4336aebd08450b71cf SHA512 fa064bbb06d641a497a3c1eb35118bbf8ca8c4d32fbd3d8c64bb10d6cdab24387e77cd4c3277a957f23de2bd527a407836245f4387d7f880958858bd9cc7ab89 DIST tinycss2-1.0.2.tar.gz 57728 BLAKE2B 966af74a499b9eb696beb3aca2c832d4e07641ed61415aa85a1798e30c568932875ff69f1ccf71cde8823194ea8dfbd54226fa93e718291f09645ea60620b43d SHA512 69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1 -EBUILD tinycss2-0.5.ebuild 652 BLAKE2B b911eed7b6cf082bde0747d9988636caf0b9821940fa94231c608d36358221592a2666172e4a35bfff8015dfcc34c6d9f67eca5d17fd8e8de45b1e5d2e459297 SHA512 ce27b4fd3efe0bbddcdc71817194a515503fda03b17395b616f7b6d8ec91ba043a4ad258a02e13d27d0955c8539e6fb4da8228fddea9bf5c284b58a83005b70e EBUILD tinycss2-0.6.1.ebuild 650 BLAKE2B 68e511675e3d3ab8ba2c9bcd60a0c13c65c793e5051ba49a351f94e2f611a92c2d6841768ac31ad895ea1af62c8079ce896c768c6c97273f2e8ad9fff4eb8045 SHA512 8f935a0c5496928894e0617e9024f18e75f89f58c9bad39b780c999a926bf1941b15104962a93ba80bc579f0c4205a7c7a89114ddb573bda2bef7f0bdb0bd404 -EBUILD tinycss2-1.0.2.ebuild 893 BLAKE2B 6b596622bff5ada3df982f8f51bb5ec66545250eb4435384181bacedf0c9bba790b54c35a133af9f2c0a4532533b518107b84a1836bfcec2f6f3983a96b6307a SHA512 2a29074c67adede5efaa240a71276f442af8d0fe00a1c36805ef2ab9a05596ec12bbcf3329510dc553eef7af9807aeaef05adefbb937e16f4a55d371aed83f7f +EBUILD tinycss2-1.0.2.ebuild 624 BLAKE2B 34151fd1199467fb22c6eb1cd0b7e4a7fc89afa8767d4e15b10b61ca28e85907da934da1694b3d3d43d048c30c73f557e0ca429d43d73cdc92f3c1f934a7db20 SHA512 cdb85a8e448ae05b95775fba74a4b9ff8ff8ce32a641bcd01febeee6b41f1e23435bc56e9d609ecd7facf29461bfd4dddefcd8d9631ee3c84b429aac45b25bb1 MISC metadata.xml 497 BLAKE2B 99c42dc1977fae24cf0af136eab84efc6cd86bdfce5d92f96afbe941daf9a62656232c9da866ead72f82e35a709c4850d58a793a4261d511bf2c84fac32b5eed SHA512 8004da866ba4038adacebe1eb03c7304ee7937e643babc75ecdaff33d22a13ddd9583344e239f3be50ea3eaf0026ac626813f8aa10d1b192196f524eb5cf5027 diff --git a/dev-python/tinycss2/tinycss2-0.5.ebuild b/dev-python/tinycss2/tinycss2-0.5.ebuild deleted file mode 100644 index 1ab4107d4949..000000000000 --- a/dev-python/tinycss2/tinycss2-0.5.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 - -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" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RESTRICT="test" - -RDEPEND="dev-python/webencodings[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -DOCS=( CHANGES README.rst ) - -python_test() { - py.test || die "testsuite failed under ${EPYTHON}" -} diff --git a/dev-python/tinycss2/tinycss2-1.0.2.ebuild b/dev-python/tinycss2/tinycss2-1.0.2.ebuild index dbf0755a9525..9e198b9259ec 100644 --- a/dev-python/tinycss2/tinycss2-1.0.2.ebuild +++ b/dev-python/tinycss2/tinycss2-1.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -14,23 +14,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/pytest-flake8[${PYTHON_USEDEP}] - dev-python/pytest-isort[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -DOCS=( README.rst ) - -python_test() { - py.test || die "testsuite failed under ${EPYTHON}" + +distutils_enable_tests pytest + +src_prepare() { + # junk deps + sed -i -e '/pytest-runner/d' -e '/^addopts/d' setup.cfg || die + distutils-r1_src_prepare } |