diff --git a/langchain_core-0.3.59.tar.gz b/langchain_core-0.3.59.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1e949b3b2e2b607aeb6484eb479ead59712baa9b Binary files /dev/null and b/langchain_core-0.3.59.tar.gz differ diff --git a/python-langchain-core.spec b/python-langchain-core.spec new file mode 100644 index 0000000000000000000000000000000000000000..b48a5ce25050e47bd25bd656e5c6bba81fe32e48 --- /dev/null +++ b/python-langchain-core.spec @@ -0,0 +1,71 @@ +%global _empty_manifest_terminate_build 0 +Name: python-langchain-core +Version: 0.3.59 +Release: 1 +Summary: Building applications with LLMs through composability +License: MIT +URL: https://pypi.org/project/langchain-core/ +Source0: https://files.pythonhosted.org/packages/51/78/d17dae349301712e5b1bb4c0c98ecf84c566a71666fbcb1d4006c67b043a/langchain_core-0.3.59.tar.gz +BuildArch: noarch + +Requires: (python3-langsmith<0.4 with python3-langsmith>=0.1.125) +Requires: (python3-tenacity!=8.4.0 with python3-tenacity<10.0.0 with python3-tenacity>=8.1.0) +Requires: (python3-jsonpatch<2.0 with python3-jsonpatch>=1.33) +Requires: (python3-PyYAML>=5.3) +Requires: (python3-packaging<25 with python3-packaging>=23.2) +Requires: (python3-typing-extensions>=4.7) +Requires: (python3-pydantic<3.0.0 with python3-pydantic>=2.5.2) +Requires: (python3-pydantic<3.0.0 with python3-pydantic>=2.7.4) + +%description +LangChain Core contains the base abstractions that power the rest of the LangChain ecosystem. + +%package -n python3-langchain-core +Summary: Building applications with LLMs through composability +Provides: python-langchain-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python-pdm-backend +%description -n python3-langchain-core +LangChain Core contains the base abstractions that power the rest of the LangChain ecosystem. + +%prep +%autosetup -n langchain_core-0.3.59 + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +touch filelist.lst +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-langchain-core -f filelist.lst +%{python3_sitelib}/* + +%changelog +* Sat May 10 2025 Python_Bot - 0.3.59-1 +- Package Spec generated