mirror of
https://github.com/archlinux/aur.git
synced 2026-02-15 21:10:41 +01:00
update
This commit is contained in:
commit
3a2a771d0f
2 changed files with 56 additions and 0 deletions
30
.SRCINFO
Normal file
30
.SRCINFO
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
pkgbase = python-langchain-core
|
||||
pkgdesc = Building applications with LLMs through composability
|
||||
pkgver = 0.0.9
|
||||
pkgrel = 1
|
||||
url = https://github.com/langchain-ai/langchain
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
depends = python-jsonpatch
|
||||
depends = python-langsmith
|
||||
depends = python-pydantic
|
||||
depends = python-tenacity
|
||||
depends = python-jinja
|
||||
depends = python-transformers
|
||||
depends = python-anyio
|
||||
source = https://files.pythonhosted.org/packages/14/d4/f561beb7cd6033f7aff26d109df4566568682824bd0c1ceff9bf2952e507/langchain_core-0.0.9.tar.gz
|
||||
sha256sums = d3ba6e30ed57ba2a3cbe227daad81fc4edf29cd3d3e24b418782ba69b07cb07d
|
||||
|
||||
pkgname = python-langchain-core
|
||||
depends = python
|
||||
depends = python-jsonpatch
|
||||
depends = python-langsmith
|
||||
depends = python-pydantic
|
||||
depends = python-tenacity
|
||||
depends = python-jinja
|
||||
depends = python-transformers
|
||||
depends = python-anyio
|
||||
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
pkgbase='python-langchain-core'
|
||||
pkgname=('python-langchain-core')
|
||||
_module='langchain-core'
|
||||
_src_folder='langchain_core-0.0.9'
|
||||
pkgver='0.0.9'
|
||||
pkgrel=1
|
||||
pkgdesc="Building applications with LLMs through composability"
|
||||
url="https://github.com/langchain-ai/langchain"
|
||||
depends=(python python-jsonpatch python-langsmith python-pydantic python-tenacity)
|
||||
depends+=(python-jinja python-transformers python-anyio)
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel')
|
||||
license=('MIT')
|
||||
arch=('any')
|
||||
source=("https://files.pythonhosted.org/packages/14/d4/f561beb7cd6033f7aff26d109df4566568682824bd0c1ceff9bf2952e507/langchain_core-0.0.9.tar.gz")
|
||||
sha256sums=('d3ba6e30ed57ba2a3cbe227daad81fc4edf29cd3d3e24b418782ba69b07cb07d')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_src_folder}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
depends+=()
|
||||
cd "${srcdir}/${_src_folder}"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue