void-packages/srcpkgs/python-feedgenerator/template
2020-03-07 10:28:17 +01:00

29 lines
849 B
Bash

# Template file for 'python-feedgenerator'
pkgname=python-feedgenerator
version=1.9.1
revision=1
archs=noarch
wrksrc="feedgenerator-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python-pytz python-six"
short_desc="Python2 standalone version of django.utils.feedgenerator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://pypi.org/project/feedgenerator/"
distfiles="${PYPI_SITE}/f/feedgenerator/feedgenerator-${version}.tar.gz"
checksum=a28a5add781509390d1a6a52d017829853ee4bef1d2e7b4d5da0e9d1b395ce54
python3-feedgenerator_package() {
archs=noarch
depends="python3-pytz python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
post_install() {
vlicense LICENSE
}