void-packages/srcpkgs/python-feedgenerator/template
2016-04-06 19:23:14 +02:00

29 lines
947 B
Bash

# Template file for 'python-feedgenerator'
pkgname=python-feedgenerator
version=1.8
revision=1
noarch=yes
wrksrc="feedgenerator-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python 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=c00a60ee5179c99330078f4016c39924154a34677f0b84c62556b5ebc2ad7156
python3.4-feedgenerator_package() {
noarch=yes
depends="python3.4 python3.4-pytz python3.4-six"
pycompile_version="3.4"
pycompile_module="feedgenerator"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}