python312Packages.gemfileparser2: 0.9.3 -> 0.9.4 (#336349)

This commit is contained in:
Weijia Wang 2024-09-11 16:19:07 +02:00 committed by GitHub
commit ac8acb1729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,30 +4,28 @@
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "gemfileparser2";
version = "0.9.3";
format = "pyproject";
version = "0.9.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BFKJZOf0W2b0YNbKIwnrmoKGvtP8A6R9PrUt7kYC/Dk=";
hash = "sha256-ezfioBwlZMGb1cEzzwa1afXUrTnxsgpzX0CNOTyVzgY=";
};
dontConfigure = true;
postPatch = ''
# https://github.com/nexB/gemfileparser2/pull/8
substituteInPlace setup.cfg \
--replace ">=3.6.*" ">=3.6"
'';
nativeBuildInputs = [ setuptools-scm ];
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
@ -35,8 +33,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library to parse Rubygem gemspec and Gemfile files";
homepage = "https://github.com/nexB/gemfileparser2";
changelog = "https://github.com/nexB/gemfileparser2/blob/v${version}/CHANGELOG.rst";
homepage = "https://github.com/aboutcode-org/gemfileparser2";
changelog = "https://github.com/aboutcode-org/gemfileparser2/blob/v${version}/CHANGELOG.rst";
license = with licenses; [
mit # or
gpl3Plus