Merge pull request #287746 from OroraTech/chore/update-pkg-about

python312Packages.pkg-about: 1.0.8 -> 1.1.5
This commit is contained in:
Mario Rodas
2024-02-10 08:08:43 -05:00
committed by GitHub
@@ -7,26 +7,26 @@
, setuptools
, packaging
, tomli
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pkg-about";
version = "1.0.8";
version = "1.1.5";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pkg_about";
inherit version;
inherit pname version;
extension = "zip";
hash = "sha256-mb43XbKypgilagXLW33kP8wXxioNsfLtl6AEnOI1WlA=";
hash = "sha256-B5u+iJuqHtv4BlGhdWqYxBfS89/S01OXmLyDOQraHfo=";
};
# tox is listed in build requirements but not actually used to build
# keeping it as a requirement breaks the build unnecessarily
postPatch = ''
sed -i "/requires/s/, 'tox>=3.25.1'//" pyproject.toml
sed -i "/requires/s/, 'tox>=[^']*'//" pyproject.toml
'';
nativeBuildInputs = [
@@ -42,8 +42,9 @@ buildPythonPackage rec {
tomli
];
# Module has no tests
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pkg_about"