diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3f65d40..8135417 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -11,6 +11,9 @@ source: sha256: 81241d74ca08df1da5786d6ea2c448cf33d394a5d180c0175bd8f8c3adf20b90 patches: - patches/0001-redirect-tomlplusplus-include-to-global-library-path.patch + # unpin pybind11 for pypy + - patches/0002-unpin-pybind11-for-pypy.patch # [python_impl == "pypy"] + # ... however, we do include the toml-test submodule; keep in sync with # https://github.com/bobfang1992/pytomlpp/tree/master/tests/ - git_url: https://github.com/BurntSushi/toml-test diff --git a/recipe/patches/0001-redirect-tomlplusplus-include-to-global-library-path.patch b/recipe/patches/0001-redirect-tomlplusplus-include-to-global-library-path.patch index a846ef9..ed5241a 100644 --- a/recipe/patches/0001-redirect-tomlplusplus-include-to-global-library-path.patch +++ b/recipe/patches/0001-redirect-tomlplusplus-include-to-global-library-path.patch @@ -1,7 +1,7 @@ -From 15abc347783872a7d5510645e822daabaf16ed58 Mon Sep 17 00:00:00 2001 +From af3b646e748f35b634edcb18e67b13d0874c41bc Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 12 Aug 2021 19:39:51 +0200 -Subject: [PATCH] redirect tomlplusplus-include to global library path +Subject: [PATCH 1/2] redirect tomlplusplus-include to global library path --- include/pytomlpp/pytomlpp.hpp | 2 +- @@ -21,5 +21,5 @@ index 96e5b5c..40d4144 100644 // namespace and type forward declarations namespace py = pybind11; -- -2.31.1.windows.1 +2.32.0.windows.2 diff --git a/recipe/patches/0002-unpin-pybind11-for-pypy.patch b/recipe/patches/0002-unpin-pybind11-for-pypy.patch new file mode 100644 index 0000000..c526951 --- /dev/null +++ b/recipe/patches/0002-unpin-pybind11-for-pypy.patch @@ -0,0 +1,26 @@ +From 96f66015ea262779d90495e4d6edcb5f7a1b91b2 Mon Sep 17 00:00:00 2001 +From: "H. Vetinari" +Date: Fri, 19 Nov 2021 00:57:57 +1100 +Subject: [PATCH 2/2] unpin pybind11 for pypy + +--- + setup.cfg | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/setup.cfg b/setup.cfg +index 972aa22..2828175 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -26,8 +26,7 @@ classifiers = + keywords = toml, parser, serilization, deserialization, serdes + + [options] +-setup_requires = +- pybind11~=2.8 ++setup_requires = pybind11 + zip_safe = false + packages = find: + package_dir = =src +-- +2.32.0.windows.2 +