mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
https://github.com/lkiesow/python-feedgen Python module to generate ATOM feeds, RSS feeds and Podcasts. Unrelated to py3-feedgenerator.
41 lines
1,012 B
Text
41 lines
1,012 B
Text
# Maintainer: Thomas Faughnan <thomas@faughnan.net>
|
|
pkgname=py3-feedgen
|
|
pkgver=0.9.0
|
|
pkgrel=0
|
|
pkgdesc="Python module to generate ATOM feeds, RSS feeds and Podcasts"
|
|
url="https://github.com/lkiesow/python-feedgen"
|
|
arch="noarch"
|
|
license="BSD-2-Clause AND LGPL-3.0-or-later"
|
|
depends="
|
|
py3-dateutil
|
|
py3-lxml
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
source="https://github.com/lkiesow/python-feedgen/archive/v$pkgver/python-feedgen-$pkgver.tar.gz"
|
|
builddir="$srcdir/python-feedgen-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages testenv
|
|
testenv/bin/python3 -m installer dist/*.whl
|
|
testenv/bin/python3 -m unittest discover tests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
5b466d0b7e9d3b427969f0623aa92e8eb5c9eebb46e416ad767267fa52ca2fe4561ee1e7478839d372ec5c96d2333c6232e6b34a68b77f740b6b7f263d2ab8e4 python-feedgen-0.9.0.tar.gz
|
|
"
|