aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-simplejson/APKBUILD
blob: ab39d4f8ff64c81afc2547b147eeeece2a777732 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                   
                      
                   
             
        
                                                                  
                                             
          
             
                                        
                                                                                                  
                                    
 


                                                                   
         
                              


         
                             


           
                                                               
                                                                           

 
                                                                                                                                                                           
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-simplejson
_pkgname=simplejson
pkgver=3.17.0
pkgrel=1
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
url="https://pypi.python.org/pypi/simplejson"
arch="all"
license="MIT"
makedepends="py3-setuptools python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

provides="py-simplejson=$pkgver-r$pkgrel" # backwards compatibility
replaces="py-simplejson" # backwards compatiblity

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -Rf "$subpkgdir"/usr/lib/python*/site-packages/simplejson/tests/
}

sha512sums="3057edfa8c8a16fa1c2027a880ac71531afc70d087a12a6fa085b3e09705ab049850dbabe60acc6fc11f51d9e0cf98f58407be03980182dca2ca070c298fd023  py3-simplejson-3.17.0.tar.gz"