# Maintainer: Aseem Athale # Contributor: devome # Contributor: txtsd _pkgname=langchain-core _pipname="${_pkgname//-/_}" pkgname="python-${_pkgname}" pkgver=1.2.9 pkgrel=1 pkgdesc="Building applications with LLMs through composability" arch=('any') url='https://github.com/langchain-ai/langchain/tree/master/libs/core' license=('MIT') depends=(python-jsonpatch python-langsmith python-packaging python-pydantic python-pyyaml python-tenacity python-typing_extensions) makedepends=('python-build' 'python-installer' 'python-pdm-backend' 'python-wheel' 'python-hatchling') source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pipname}-${pkgver}.tar.gz") b2sums=('1050f7407bc7825a04073c28af484c4c2d48bb2a33ece0c15bc6ed8502d9834a364d28f9d82a5ba33124c2d946b53d4c15b368e6fe1859573c4d7fd20e685244') build() { cd "${_pipname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pipname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl }