mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 20:52:55 +01:00
python-langchain-core: 0.3.34-2
This commit is contained in:
parent
ac758d3d3b
commit
cc50ede72c
3 changed files with 27 additions and 9 deletions
13
.SRCINFO
13
.SRCINFO
|
|
@ -1,14 +1,21 @@
|
|||
pkgbase = python-langchain-core
|
||||
pkgdesc = null
|
||||
pkgdesc = Building applications with LLMs through composability
|
||||
pkgver = 0.3.34
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/langchain-ai/langchain/tree/master/libs/core
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-poetry-core
|
||||
makedepends = python-pdm-backend
|
||||
makedepends = python-wheel
|
||||
depends = python-jsonpatch
|
||||
depends = python-langsmith
|
||||
depends = python-packaging
|
||||
depends = python-pydantic
|
||||
depends = python-pyyaml
|
||||
depends = python-tenacity
|
||||
depends = python-typing_extensions
|
||||
source = langchain-core-0.3.34.tar.gz::https://files.pythonhosted.org/packages/source/l/langchain_core/langchain_core-0.3.34.tar.gz
|
||||
sha256sums = 26504cf1e8e6c310adad907b890d4e3c147581cfa7434114f6dc1134fe4bc6d3
|
||||
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -5,13 +5,13 @@ _pkgname=langchain-core
|
|||
_pipname="${_pkgname//-/_}"
|
||||
pkgname="python-${_pkgname}"
|
||||
pkgver=0.3.34
|
||||
pkgrel=1
|
||||
pkgdesc="null"
|
||||
pkgrel=2
|
||||
pkgdesc="Building applications with LLMs through composability"
|
||||
arch=('any')
|
||||
url='https://github.com/langchain-ai/langchain/tree/master/libs/core'
|
||||
license=('MIT')
|
||||
depends=()
|
||||
makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel')
|
||||
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')
|
||||
source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pipname::1}/${_pipname}/${_pipname}-${pkgver}.tar.gz")
|
||||
sha256sums=('26504cf1e8e6c310adad907b890d4e3c147581cfa7434114f6dc1134fe4bc6d3')
|
||||
|
||||
|
|
|
|||
15
geninfo.sh
15
geninfo.sh
|
|
@ -8,8 +8,19 @@ pkgver=$(awk -F= '/pkgver=/{print $2}' PKGBUILD)
|
|||
pytoml="src/${_pipname}-${pkgver}/pyproject.toml"
|
||||
|
||||
makepkg -do
|
||||
pkgdesc=$(yq eval -o=json "$pytoml" | jq -r '.tool.poetry.description')
|
||||
depends=$(yq eval -o=json "$pytoml" | jq '.tool.poetry.dependencies | keys' | jq -r '.[]' | tr 'A-Z' 'a-z' | sort -u | sed 's|^|python-|' | sed 's|python-python-|python-|' | sed 's|typing-extensions|typing_extensions|' | sed '/^python-python$/d' | tr '\n' ' ' | sed 's| $||')
|
||||
pkgdesc=$(yq eval -o=json "$pytoml" | jq -r '.project.description')
|
||||
depends=$(yq eval -o=json "$pytoml" |
|
||||
jq -r '.project.dependencies[]' |
|
||||
tr 'A-Z' 'a-z' |
|
||||
grep -oP '^[a-z0-9_-]+' |
|
||||
sed 's|^|python-|' |
|
||||
sed 's|python-python-|python-|' |
|
||||
sed 's|typing-extensions|typing_extensions|' |
|
||||
sed '/^python-python$/d' |
|
||||
sort -u |
|
||||
tr '\n' ' ' |
|
||||
sed 's| $||'
|
||||
)
|
||||
|
||||
sed -e "s|^pkgdesc=.*|pkgdesc=\"$pkgdesc\"|" \
|
||||
-e "s|^depends=.*|depends=(${depends})|" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue