python3Packages.pkg-about: 2.0.12 -> 2.3.0 (#516220)
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
docutils,
|
||||
fetchPypi,
|
||||
build,
|
||||
importlib-metadata,
|
||||
importlib-resources,
|
||||
setuptools,
|
||||
packaging,
|
||||
typing-extensions,
|
||||
@@ -14,19 +13,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pkg-about";
|
||||
version = "2.0.12";
|
||||
version = "2.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pkg_about";
|
||||
inherit version;
|
||||
hash = "sha256-WFhOMeBvAPaU/AIGoGlSziJ633TrGBgOcbfBxAm3H8E=";
|
||||
hash = "sha256-g+RduU/aLD+UwZVexONXa8+rQznVmybC5G4ZnIugPqI=";
|
||||
};
|
||||
|
||||
# tox is listed in build requirements but not actually used to build
|
||||
# keeping it as a requirement breaks the build unnecessarily
|
||||
# Unnecessarily requires the newest versions available for these
|
||||
postPatch = ''
|
||||
sed -i "/requires/s/, 'tox>=[^']*'//" pyproject.toml
|
||||
sed -i 's/"setuptools>=[^"]*"/"setuptools>=${setuptools.version}"/' pyproject.toml
|
||||
sed -i 's/"packaging>=[^"]*"/"packaging>=${packaging.version}"/' pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
@@ -35,11 +34,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
docutils
|
||||
build
|
||||
importlib-metadata
|
||||
importlib-resources
|
||||
packaging
|
||||
setuptools
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
@@ -48,6 +45,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Tries and fails to install itself via pip
|
||||
disabledTests = [ "test_about_from_setup" ];
|
||||
|
||||
pythonImportsCheck = [ "pkg_about" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user