diff options
author | Alexander Seiler | 2019-02-27 06:27:28 +0100 |
---|---|---|
committer | Alexander Seiler | 2019-02-27 06:27:28 +0100 |
commit | a9c738782ec35f922f56c81587b3e52855e0b1cf (patch) | |
tree | a976182500add0fc61c787fed17322bbd8e0c6d2 | |
download | aur-a9c738782ec35f922f56c81587b3e52855e0b1cf.tar.gz |
Initial upload: kodi-addon-checker 0.0.13-1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5783c11c445a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = kodi-addon-checker + pkgdesc = Check kodi addons or whole kodi repositories for errors and best practices. + pkgver = 0.0.13 + pkgrel = 1 + url = https://pypi.org/project/kodi-addon-checker + arch = any + license = GPL3 + makedepends = python-setuptools + depends = python + depends = python-pillow + depends = python-polib + depends = python-requests + depends = python-radon + depends = python-urllib3 + depends = python-xmlschema + depends = python-tabulate + source = https://files.pythonhosted.org/packages/source/k/kodi-addon-checker/kodi-addon-checker-0.0.13.tar.gz + sha256sums = d01b3b0ded83d92c3e78507ec79c5adca93538457114d52eb5963ec63dc0ea02 + +pkgname = kodi-addon-checker + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02caa17384f8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Alexander Seiler <seileralex@gmail.com> + +pkgname=kodi-addon-checker +pkgver=0.0.13 +pkgrel=1 +pkgdesc="Check kodi addons or whole kodi repositories for errors and best practices." +arch=('any') +url="https://pypi.org/project/${pkgname}" +license=('GPL3') +depends=('python' 'python-pillow' 'python-polib' 'python-requests' 'python-radon' 'python-urllib3' 'python-xmlschema' 'python-tabulate') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('d01b3b0ded83d92c3e78507ec79c5adca93538457114d52eb5963ec63dc0ea02') + +prepare() { + cd "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + python setup.py test +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |