blob: fcdbb711e98a886eee749a2064ede6ccfaaf0705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
pkgname=python-kodi_six
pkgver=0.1.3.1
pkgrel=1
pkgdesc='Experimental library created to simplify porting Kodi Python addons to Python 3.'
url='https://github.com/romanvm/kodi.six'
license=('GPL3')
depends=('kodi' 'python')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
arch=('any')
sha256sums=('dcc69406a09a272bd98f6f523aece3cad1b385c0cbf90a1261bc7b0bea81b96d')
source=("${pkgname}-${pkgver}::${url}/archive/refs/tags/${pkgver}.tar.gz")
_srcdir="kodi.six-${pkgver}"
build() {
cd "${_srcdir}"
python -m build --wheel --no-isolation
}
package() {
cd "${_srcdir}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|