pythonPackages.tinycss2: 0.6.1 -> 1.0.2

This commit is contained in:
Edmund Wu 2019-04-13 18:15:34 -04:00
parent 05a53ecd82
commit 08ba4b4cb6
No known key found for this signature in database
GPG Key ID: 9C0561D4193A3AFE
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