diff options
author | J. Nathanael Philipp | 2023-10-04 08:32:51 +0200 |
---|---|---|
committer | J. Nathanael Philipp | 2023-10-04 08:32:51 +0200 |
commit | 17f774d76c83bce27b1d0f67a99096f3ba2b62d9 (patch) | |
tree | 92c647b64aee4cf883162403b9089895c85ddca2 | |
download | aur-17f774d76c83bce27b1d0f67a99096f3ba2b62d9.tar.gz |
Version 0.3.1
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f510bae05df0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = python-weasel + pkgdesc = A small and easy workflow system + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/explosion/weasel/ + arch = any + license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-wheel + depends = python-confection + depends = python-wasabi + depends = python-srsly + depends = python-typer + depends = python-cloudpathlib + depends = python-smart-open + depends = python-requests + depends = python-pydantic + source = python-weasel-0.3.1.tar.gz::https://github.com/explosion/weasel/archive/refs/tags/v0.3.1.tar.gz + sha256sums = f6921ebc14b900ae087eb5981a30d1ef3f5c154a57faf6849023c4a148b76406 + +pkgname = python-weasel diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f689379bb5ad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: J. Nathanael Philipp (jnphilipp) <nathanael@philipp.land> + +pkgname=python-weasel +_pkg="${pkgname#python-}" +pkgver=0.3.1 +pkgrel=1 +pkgdesc="A small and easy workflow system" +url="https://github.com/explosion/weasel/" +depends=( + 'python-confection' + 'python-wasabi' + 'python-srsly' + 'python-typer' + 'python-cloudpathlib' + 'python-smart-open' + 'python-requests' + 'python-pydantic') +makedepends=( + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel') +license=('MIT') +arch=(any) +source=("$pkgname-$pkgver.tar.gz::https://github.com/explosion/$_pkg/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=("f6921ebc14b900ae087eb5981a30d1ef3f5c154a57faf6849023c4a148b76406") + +build() { + cd ${_pkg}-${pkgver} + python -m build --wheel --no-isolation +} + +package() { + cd ${_pkg}-${pkgver} + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |