mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
added community/python-ubjson
This commit is contained in:
parent
daa85ed630
commit
3612bae3ef
1 changed files with 35 additions and 0 deletions
35
community/python-ubjson/PKGBUILD
Normal file
35
community/python-ubjson/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove makedepend on python-pypandoc
|
||||
|
||||
pkgname=python-ubjson
|
||||
pkgver=0.13.0
|
||||
pkgrel=1
|
||||
pkgdesc='Universal Binary JSON draft-12 serializer for Python'
|
||||
arch=(x86_64)
|
||||
url='https://github.com/Iotic-Labs/py-ubjson'
|
||||
license=(Apache)
|
||||
makedepends=(python-setuptools)
|
||||
depends=(python)
|
||||
source=("https://files.pythonhosted.org/packages/source/p/py-ubjson/py-ubjson-0.13.0.tar.gz"{,.asc})
|
||||
sha256sums=('fdfcb858ba281895fa77a02cc00ae8d9da306dd758a23acf28d48dd1ed25a7d5'
|
||||
'SKIP')
|
||||
validpgpkeys=(
|
||||
'A262040D27F5F4700D097A02CF651F44EF65072E' # Iotic Labs Ltd (Software release signing key) <info@iotic-labs.com>
|
||||
)
|
||||
|
||||
build() {
|
||||
cd py-ubjson-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd py-ubjson-$pkgver
|
||||
python -m unittest discover -v test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd py-ubjson-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
}
|
Loading…
Reference in a new issue