aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-w3lib/APKBUILD
blob: 358744e723881634250beb86e600f92c5a2e7420 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
                 
              
             
        


                                            
                      
                 
                            
                         
                                                                                                          
                                    
 


                                                              
         
                              

 



                 
           
                                                               

 
                                                                                                                                                                  
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-w3lib
_pkgname=w3lib
pkgver=1.20.0
pkgrel=1
pkgdesc="A library of web-related functions"
url="https://github.com/scrapy/w3lib"
arch="noarch"
license="BSD-3-Clause"
depends="py3-six"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-w3lib" # Backwards compatibility
provides="py-w3lib=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d4b969e6809b57e174f8ab1997f33c3cc89e2be63ba9f51337941be9e9d711d5472a0dd01f131b81d3fb556398e49e9cf3c4da7b305019e49d67912a91332b6a  w3lib-1.20.0.tar.gz"