Unverified Commit ac8acb17 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

parents 03eef8d6 9d655d7c
Loading
Loading
Loading
Loading
+10 −12
Original line number Diff line number Diff line
@@ -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