python3Packages.{pyppeteer-ng,price-parser,panzi-json-logic}: modernize (#467249)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
unittestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
@@ -24,6 +25,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "json_logic" ];
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Pure Python 3 JsonLogic and CertLogic implementation.";
|
||||
homepage = "https://github.com/panzi/panzi-json-logic";
|
||||
|
||||
@@ -2,16 +2,17 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
pytest-cov,
|
||||
pytest-cov-stub,
|
||||
attrs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "price-parser";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scrapinghub";
|
||||
@@ -20,15 +21,19 @@ buildPythonPackage rec {
|
||||
hash = "sha256-9f/+Yw94SVvg9fl9zYR9YEMwAgKHwySG5cysPMomnA0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ attrs ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "price_parser" ];
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Extract price amount and currency symbol from a raw text string";
|
||||
homepage = "https://github.com/scrapinghub/price-parser";
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
aiohttp,
|
||||
appdirs,
|
||||
buildPythonPackage,
|
||||
gitUpdater,
|
||||
certifi,
|
||||
diff-match-patch,
|
||||
fetchFromGitHub,
|
||||
@@ -21,7 +22,7 @@
|
||||
pyee,
|
||||
pylint,
|
||||
pytest,
|
||||
pytest-cov,
|
||||
pytest-cov-stub,
|
||||
pytest-timeout,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
@@ -43,8 +44,6 @@ buildPythonPackage rec {
|
||||
version = "2.0.0rc10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dgtlmoon";
|
||||
repo = "pyppeteer-ng";
|
||||
@@ -96,7 +95,7 @@ buildPythonPackage rec {
|
||||
pydocstyle
|
||||
pylint
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
readme-renderer
|
||||
@@ -149,6 +148,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pyppeteer" ];
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
|
||||
mainProgram = "pyppeteer-install";
|
||||
|
||||
Reference in New Issue
Block a user