mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
29 lines
947 B
Text
29 lines
947 B
Text
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-feedparser
|
|
_pkgname=feedparser
|
|
pkgver=6.0.8
|
|
pkgrel=0
|
|
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="
|
|
1fa91f35412a86cac569eade729f922c4b742df7b7acd3822f4e41c5cbefab948af422f44da5e830c0c4555048f15a341116cab0d5d7be14e4e8b3b97fa63d1a feedparser-6.0.8.tar.gz
|
|
"
|