Unverified Commit 02a0ccf4 authored by Samuel W. Flint's avatar Samuel W. Flint Committed by Sandro Jäckel
Browse files

python310Packages.interface-meta: init at 1.3.0

parent 76c19e9e
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
From 581102ae94a7e6dfd3ad3fa5371068189b9e7c44 Mon Sep 17 00:00:00 2001
From: "Samuel W. Flint" <swflint@flintfam.org>
Date: Thu, 27 Oct 2022 12:42:07 -0500
Subject: [PATCH] fix-versions

---
 interface_meta/_version.py | 2 +-
 pyproject.toml             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface_meta/_version.py b/interface_meta/_version.py
index 3d50665..b3d3818 100644
--- a/interface_meta/_version.py
+++ b/interface_meta/_version.py
@@ -1,5 +1,5 @@
 __author__ = "Matthew Wardrop"
 __author_email__ = "mpwardrop@gmail.com"
-__version__ = "0.0.0"
+__version__ = "1.3.0"
 
 __dependencies__ = []
diff --git a/pyproject.toml b/pyproject.toml
index 43dab27..e543549 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "interface_meta"
-version = "0.0.0"
+version = "1.3.0"
 description = "`interface_meta` provides a convenient way to expose an extensible API with enforced method signatures and consistent documentation."
 authors = ["Matthew Wardrop <mpwardrop@gmail.com>"]
 license = "MIT"
-- 
2.37.0
+38 −0
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, poetry-core, poetry-dynamic-versioning }:

buildPythonPackage rec {
  pname = "interface-meta";
  version = "1.3.0";

  format = "pyproject";

  src = fetchFromGitHub {
    owner = "matthewwardrop";
    repo = "interface_meta";
    rev = "v${version}";
    sha256 = "0rzh11wnab33b11391vc2ynf8ncxn22b12wn46lmgkrc5mqza8hd";
  };

  patches = [
    ./0001-fix-version.patch
  ];

  nativeBuildInputs = [
    poetry-core
  ];

  propogatedBuildInputs = [
    poetry-dynamic-versioning
  ];

  pythonImportsCheck = [ "interface_meta" ];

  checkInputs = [ pytestCheckHook ];

  meta = {
    homepage = "https://github.com/matthewwardrop/interface_meta";
    description = "Convenient way to expose an extensible API with enforced method signatures and consistent documentation";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ swflint ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4712,6 +4712,8 @@ self: super: with self; {

  intensity-normalization = callPackage ../development/python-modules/intensity-normalization { };

  interface-meta = callPackage ../development/python-modules/interface-meta { };

  internetarchive = callPackage ../development/python-modules/internetarchive { };

  interruptingcow = callPackage ../development/python-modules/interruptingcow { };