aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-feedparser/APKBUILD
blob: 12185234bd61d7dc94d9391301c25ecf4298de50 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
                                                              
                      
                   
            
        

                                              
                                             
             
                      
                               
                            
                                                                                                          
                                    
 


                                                                   
         
                              


           
                                                               
 
                                                                                                                                                                      
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-feedparser
_pkgname=feedparser
pkgver=6.0.2
pkgrel=2
pkgdesc="Python3 feed parser for RSS and Atom"
options="!check" # Tests are py2 only
url="https://github.com/kurtmckee/feedparser"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sgmllib3k"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="4b6d6baf6560280e0364ebe00687dd2903dede77319176a4055909390fcd6c748780e805da16e4290916c56209af290f82edd5bdd6459abca85332b4ff348891  feedparser-6.0.2.tar.gz"