Merge pull request #59425 from eadwu/pythonPackages.tinycss2/1.0.2

pythonPackages.tinycss2: 0.6.1 -> 1.0.2
This commit is contained in:
worldofpeace 2019-04-14 20:43:39 -04:00 committed by GitHub
commit ef54604ce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 6 deletions

View file

@ -1,19 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, webencodings, pytest, pytestrunner, pytestcov, pytest-flake8, pytest-isort, glibcLocales }:
{ lib, buildPythonPackage, pythonOlder, fetchPypi
, webencodings
, pytest, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:
buildPythonPackage rec {
pname = "tinycss2";
version = "0.6.1";
version = "1.0.2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "7c53c2c0e914c7711c295b3101bcc78e0b7eda23ff20228a936efe11cdcc7136";
sha256 = "1kw84y09lggji4krkc58jyhsfj31w8npwhznr7lf19d0zbix09v4";
};
patches = [ ./remove-redundant-dependency.patch ];
propagatedBuildInputs = [ webencodings ];
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort glibcLocales ];
LC_ALL = "en_US.UTF-8";
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
meta = with lib; {
description = "Low-level CSS parser for Python";

View file

@ -0,0 +1,12 @@
diff --git a/setup.cfg b/setup.cfg
index b3b3c2d..480f3e6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -33,7 +33,6 @@ project_urls =
[options]
packages = find:
-setup_requires = pytest-runner
install_requires =
setuptools >= 39.2.0
webencodings >= 0.4