Merge pull request #275358 from fabaff/feedparser-bump

python311Packages.feedparser: 6.0.10 -> 6.0.11
This commit is contained in:
Fabian Affolter 2023-12-21 09:11:05 +01:00 committed by GitHub
commit 5d5382cb3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 17 deletions

View File

@ -1,23 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, sgmllib3k
, python
, pythonOlder
, setuptools
, sgmllib3k
}:
buildPythonPackage rec {
pname = "feedparser";
version = "6.0.10";
format = "setuptools";
version = "6.0.11";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-J9pIX0Y3znFjzeqxOoAxK5O30MG3db70pHYpoxELylE=";
hash = "sha256-ydBAe2TG8qBl0OuyksKzXAEFDMDcM3V0Yaqr3ExBhNU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
sgmllib3k
];
@ -36,8 +41,9 @@ buildPythonPackage rec {
];
meta = with lib; {
homepage = "https://github.com/kurtmckee/feedparser";
description = "Universal feed parser";
homepage = "https://github.com/kurtmckee/feedparser";
changelog = "https://feedparser.readthedocs.io/en/latest/changelog.html";
license = licenses.bsd2;
maintainers = with maintainers; [ domenkozar ];
};

View File

@ -7,11 +7,12 @@
python3.pkgs.buildPythonApplication rec {
pname = "pubs";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pubs";
repo = "pubs";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-U/9MLqfXrzYVGttFSafw4pYDy26WgdsJMCxciZzO1pw=";
};
@ -28,22 +29,26 @@ python3.pkgs.buildPythonApplication rec {
})
];
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
pyyaml
bibtexparser
python-dateutil
six
requests
configobj
beautifulsoup4
feedparser
argcomplete
beautifulsoup4
bibtexparser
configobj
feedparser
python-dateutil
pyyaml
requests
six
];
nativeCheckInputs = with python3.pkgs; [
pyfakefs
mock
ddt
mock
pyfakefs
pytestCheckHook
];
@ -57,11 +62,18 @@ python3.pkgs.buildPythonApplication rec {
disabledTests = [
# https://github.com/pubs/pubs/issues/276
"test_readme"
# AssertionError: Lists differ: ['Ini[112 chars]d to...
"test_add_non_standard"
];
pythonImportsCheck = [
"pubs"
];
meta = with lib; {
description = "Command-line bibliography manager";
homepage = "https://github.com/pubs/pubs";
changelog = "https://github.com/pubs/pubs/blob/v${version}/changelog.md";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ gebner dotlambda ];
};