blob: 967650f920dd8b30af39ed735567d39eff33cf38 (
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: ibrokemypie <ibrokemypie@bastardi.net>
pkgname=python-clr_loader
_name=${pkgname#python-}
pkgver=0.1.7
pkgrel=2
pkgdesc="Generic pure Python loader for .NET runtimes"
arch=('any')
url="https://github.com/pythonnet/clr-loader"
license=('MIT')
depends=('python' 'python-cffi')
makedepends=('python-setuptools' 'python-wheel' 'dotnet-sdk')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name}-$pkgver.tar.gz")
sha256sums=('bd1967d3cf80368c7d890a332704f169c5d2b5d7141635f1dae84d7d40346d51')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
|