Add 'python-simpervisor/' from commit '998e88622958ec71b200259f074ad297a4b9c8f2'

git-subtree-dir: python-simpervisor
git-subtree-mainline: 2d0eea303e
git-subtree-split: 998e886229
This commit is contained in:
Anthony Wang 2023-11-11 19:09:18 -05:00
commit db57ad1681
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,15 @@
pkgbase = python-simpervisor
pkgdesc = Simple async process supervisor
pkgver = 1.0.0
pkgrel = 1
url = https://github.com/yuvipanda/simpervisor
arch = any
license = BSD
makedepends = python-build
makedepends = python-installer
makedepends = python-hatch-jupyter-builder
depends = python
source = https://files.pythonhosted.org/packages/source/s/simpervisor/simpervisor-1.0.0.tar.gz
sha256sums = 7eb87ca86d5e276976f5bb0290975a05d452c6a7b7f58062daea7d8369c823c1
pkgname = python-simpervisor

View file

@ -0,0 +1,25 @@
# Maintainer: Anthony Wang <a_at-exozy_dot-me>
_name='simpervisor'
pkgname="python-$_name"
pkgver='1.0.0'
pkgrel=1
pkgdesc="Simple async process supervisor"
url="https://github.com/yuvipanda/simpervisor"
depends=(python)
makedepends=(python-build python-installer python-hatch-jupyter-builder)
license=('BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('7eb87ca86d5e276976f5bb0290975a05d452c6a7b7f58062daea7d8369c823c1')
build() {
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}