34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'python-feedgenerator'
|
|
pkgname=python-feedgenerator
|
|
version=1.9
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="feedgenerator-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
depends="python-pytz python-six"
|
|
pycompile_module="feedgenerator"
|
|
short_desc="Python2 standalone version of django.utils.feedgenerator"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://pypi.python.org/pypi/feedgenerator/"
|
|
license="BSD"
|
|
distfiles="${PYPI_SITE}/f/feedgenerator/feedgenerator-${version}.tar.gz"
|
|
checksum=5ae05daa9cfa47fa406ee4744d0b7fa1c8a05a7a47ee0ad328ddf55327cfb106
|
|
|
|
python3-feedgenerator_package() {
|
|
noarch=yes
|
|
depends="python3-pytz python3-six"
|
|
pycompile_module="feedgenerator"
|
|
replaces="python3.4-feedgenerator>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-feedgenerator_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-feedgenerator>=${version}_${revision}"
|
|
}
|