Merge pull request #207664 from fabaff/dparse2-bump

python310Packages.dparse2: 0.6.1 -> 0.7.0
This commit is contained in:
Fabian Affolter 2022-12-25 15:34:12 +01:00 committed by GitHub
commit 00b786dc97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 5 deletions

View File

@ -4,13 +4,13 @@
, pythonOlder
, toml
, pyyaml
, packaging
, packvers
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dparse2";
version = "0.6.1";
version = "0.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,14 +18,14 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "nexB";
repo = pname;
rev = version;
hash = "sha256-1tbNW7Gy7gvMnETdAM2ahHiwbhG9qvdYZggia1+7eGo=";
rev = "refs/tags/${version}";
hash = "sha256-JUTL+SVf1RRIXQqwFR7MnExsgGseSiO0a5YzzcqdXHw=";
};
propagatedBuildInputs = [
toml
pyyaml
packaging
packvers
];
checkInputs = [
@ -44,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Module to parse Python dependency files";
homepage = "https://github.com/nexB/dparse2";
changelog = "https://github.com/nexB/dparse2/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pretend
, pyparsing
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "packvers";
version = "21.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nexB";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-nCSYL0g7mXi9pGFt24pOXbmmYsaRuB+rRZrygf8DTLE=";
};
propagatedBuildInputs = [
pyparsing
];
checkInputs = [
pretend
pytestCheckHook
];
pythonImportsCheck = [
"packvers"
];
meta = with lib; {
description = "Module for version handling of modules";
homepage = "https://github.com/nexB/dparse2";
changelog = "https://github.com/nexB/packvers/blob/${version}/CHANGELOG.rst";
license = with licenses; [ asl20 /* and */ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6668,6 +6668,8 @@ self: super: with self; {
packet-python = callPackage ../development/python-modules/packet-python { };
packvers = callPackage ../development/python-modules/packvers { };
pafy = callPackage ../development/python-modules/pafy { };
pagelabels = callPackage ../development/python-modules/pagelabels { };