diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/tinycss | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/tinycss')
-rw-r--r-- | dev-python/tinycss/Manifest | 5 | ||||
-rw-r--r-- | dev-python/tinycss/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/tinycss/tinycss-0.3.ebuild | 31 | ||||
-rw-r--r-- | dev-python/tinycss/tinycss-0.4.ebuild | 38 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/tinycss/Manifest b/dev-python/tinycss/Manifest new file mode 100644 index 000000000000..cd3778d0f851 --- /dev/null +++ b/dev-python/tinycss/Manifest @@ -0,0 +1,5 @@ +DIST tinycss-0.3.tar.gz 72860 BLAKE2B 5f87145116f779955fc9557d6c983b6fc8848a413fe5348271c9476e7dc2a841feef5366d4606c9a0619b9a93bee2a1b30b7a46a4ddc720664993928561903c3 SHA512 1fdf29777ee7b3ef39cf2169d8f464a7e5aea850de8a7976acf3ed9e73e831ea0d7ee52b4c8c9979b2263509cbffe1bde85cf6da178ddeaac9009ace7a2b4441 +DIST tinycss-0.4.tar.gz 87759 BLAKE2B 9b7691f5d5fcfb5580a9f2a0f1f50caea3dba74853917e5e46ca93cab6f35f2f8c4f5babf01d25661d05ef1b26ccc35914750917fb92b394b0ca6530a19f3514 SHA512 13a50332cddc28026fd7ecc007e14085976284e69de6ea93d1013502fd9791694092c010947b13dcd23f3a2df65f277f62410abd90d03eac16fa5af913673b0a +EBUILD tinycss-0.3.ebuild 657 BLAKE2B 54c33229308496e38f5fde053d6f5edbb312607913ed2a9ff62dc5a1bfab3a55cdf09c6d5be2014584c71f1c0d3abe1319726500177a59d15631fc82c189c376 SHA512 8894acb49eba442b13ffdbd9738857a7cce1e7b10f6f3c7c08dc86908a3b14ccef7ebc3d480825310bd442b345a67e7ccf47408e9c8b701bad1975a5e6211be4 +EBUILD tinycss-0.4.ebuild 816 BLAKE2B b000a2cf2fd769fe3a2a36218796a54b86913c1b767ec765171ef183c14f543c05314bf73c6e3d5457d7504c558746eb6040882ea778796f74fd9818fc0f867d SHA512 f1339fb8612da49211e5cd61c4c1613345cf4cde3e3b126edd8898f616c6d9dcb96a2331902ed33257158e38d70442ba08dfef2e8d8bb113ad6fdffb7a90037e +MISC metadata.xml 380 BLAKE2B f32bbbd80838a147ab80701c03462b8949aa987f47fc7bb8cb2127720937888f484b7f1ceb9cb490901d07782c2c0c261e42277b55e39d78c44a05173391282a SHA512 b5e7005f5f93ebe86cac3643711928d83456e5ccbfcccbc3dc008daca1e341285342240cc032f69042bc5a19739679ec0ae5e2e2d83c46dd57395ab9e1c12bb1 diff --git a/dev-python/tinycss/metadata.xml b/dev-python/tinycss/metadata.xml new file mode 100644 index 000000000000..ef2f9036b725 --- /dev/null +++ b/dev-python/tinycss/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">tinycss</remote-id> + <remote-id type="github">SimonSapin/tinycss</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tinycss/tinycss-0.3.ebuild b/dev-python/tinycss/tinycss-0.3.ebuild new file mode 100644 index 000000000000..103e7e45750e --- /dev/null +++ b/dev-python/tinycss/tinycss-0.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="A complete yet simple CSS parser for Python" +HOMEPAGE="https://github.com/SimonSapin/tinycss/ + https://tinycss.readthedocs.io/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +DOCS=( CHANGES README.rst ) + +python_test() { + export TINYCSS_SKIP_SPEEDUPS_TESTS=1 + local test + for test in ${PN}/tests/test_*.py; do + py.test $test + done +} diff --git a/dev-python/tinycss/tinycss-0.4.ebuild b/dev-python/tinycss/tinycss-0.4.ebuild new file mode 100644 index 000000000000..0d15e183fad5 --- /dev/null +++ b/dev-python/tinycss/tinycss-0.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="A complete yet simple CSS parser for Python" +HOMEPAGE="https://github.com/SimonSapin/tinycss/ + https://tinycss.readthedocs.io/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +DOCS=( CHANGES README.rst ) +#RESTRICT="test" + +python_prepare_all() { + rm setup.cfg || die + distutils-r1_python_prepare_all +} + +python_test() { + export TINYCSS_SKIP_SPEEDUPS_TESTS=1 + local test + for test in ${PN}/tests/test_*.py; do + py.test $test || die + done +} |