blob: 58bdc2a401692240f34c102cef0d9cef89c14481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
pkgname=python-conda-inject
_name=${pkgname#python-}
pkgver=1.3.1
pkgrel=2
pkgdesc="Inject a conda environment into the current python environment"
arch=('any')
url="https://github.com/koesterlab/conda-inject"
license=('MIT')
depends=(python-yaml)
makedepends=(python-build python-installer python-wheel python-poetry-core)
source=($_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('4ec172cdea816dd78fda95cab34227c9f0c360cd80adc5fa7b60fdb6c3c85cab')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|